记得上下班打卡 | git大法好,push需谨慎

Commit 73d36bd9 authored by 胡佳晨's avatar 胡佳晨

修改 演出列表置顶

parent e0f5ae39
...@@ -39,7 +39,7 @@ public class SmileShowController { ...@@ -39,7 +39,7 @@ public class SmileShowController {
@PostMapping("/sort") @PostMapping("/sort")
@ApiOperation("演出排序") @ApiOperation("演出排序")
public AjaxResult sort(ShowSort showSort) { public AjaxResult sort(@RequestBody ShowSort showSort) {
return smileShowService.sort(showSort); return smileShowService.sort(showSort);
} }
......
...@@ -593,40 +593,40 @@ WHERE performance_id = #{performancesId} ...@@ -593,40 +593,40 @@ WHERE performance_id = #{performancesId}
GROUP BY user_mobile; GROUP BY user_mobile;
</select> </select>
<select id="getPerformanceSimpleByTicketId" resultType="com.liquidnet.service.kylin.dao.PerformanceSimpleAllDao"> <select id="getPerformanceSimpleByTicketId" resultType="com.liquidnet.service.kylin.dao.PerformanceSimpleAllDao">
<!-- select kp.performances_id as performancesId,--> <!-- select kp.performances_id as performancesId,-->
<!-- kp.title,--> <!-- kp.title,-->
<!-- ktt.ticket_times_id as timeId,--> <!-- ktt.ticket_times_id as timeId,-->
<!-- ktt.title as timeTitle,--> <!-- ktt.title as timeTitle,-->
<!-- kt.tickets_id as ticketId,--> <!-- kt.tickets_id as ticketId,-->
<!-- kt.title as ticketTitle--> <!-- kt.title as ticketTitle-->
<!-- from kylin_performances kp--> <!-- from kylin_performances kp-->
<!-- left join kylin_ticket_time_relation kttr on kttr.performance_id = kp.performances_id--> <!-- left join kylin_ticket_time_relation kttr on kttr.performance_id = kp.performances_id-->
<!-- left join kylin_ticket_times ktt on kttr.times_id = ktt.ticket_times_id--> <!-- left join kylin_ticket_times ktt on kttr.times_id = ktt.ticket_times_id-->
<!-- left join kylin_ticket_relations ktr on ktr.times_id = kttr.times_id--> <!-- left join kylin_ticket_relations ktr on ktr.times_id = kttr.times_id-->
<!-- left join kylin_tickets kt on kt.tickets_id = ktr.ticket_id--> <!-- left join kylin_tickets kt on kt.tickets_id = ktr.ticket_id-->
<!-- <where>--> <!-- <where>-->
<!-- <if test="scope != null and scope == '1'">--> <!-- <if test="scope != null and scope == '1'">-->
<!-- kp.performances_id=#{id}--> <!-- kp.performances_id=#{id}-->
<!-- </if>--> <!-- </if>-->
<!-- <if test="scope != null and scope == '2'">--> <!-- <if test="scope != null and scope == '2'">-->
<!-- ktr.times_id=#{id}--> <!-- ktr.times_id=#{id}-->
<!-- </if>--> <!-- </if>-->
<!-- <if test="scope != null and scope == '3'">--> <!-- <if test="scope != null and scope == '3'">-->
<!-- ktr.ticket_id=#{id}--> <!-- ktr.ticket_id=#{id}-->
<!-- </if>--> <!-- </if>-->
<!-- </where>--> <!-- </where>-->
<!-- limit 1--> <!-- limit 1-->
select kp.performances_id as performancesId, select kp.performances_id as performancesId,
kp.title, kp.title,
ktt.ticket_times_id as timeId, ktt.ticket_times_id as timeId,
ktt.title as timeTitle, ktt.title as timeTitle,
kt.tickets_id as ticketId, kt.tickets_id as ticketId,
kt.title as ticketTitle kt.title as ticketTitle
from kylin_performances kp from kylin_performances kp
left join kylin_ticket_time_relation kttr on kttr.performance_id = kp.performances_id left join kylin_ticket_time_relation kttr on kttr.performance_id = kp.performances_id
left join kylin_ticket_times ktt on kttr.times_id = ktt.ticket_times_id left join kylin_ticket_times ktt on kttr.times_id = ktt.ticket_times_id
left join kylin_ticket_relations ktr on ktr.times_id = kttr.times_id left join kylin_ticket_relations ktr on ktr.times_id = kttr.times_id
left join kylin_tickets kt on kt.tickets_id = ktr.ticket_id left join kylin_tickets kt on kt.tickets_id = ktr.ticket_id
where ktr.ticket_id = #{ticketId} where ktr.ticket_id = #{ticketId}
</select> </select>
<select id="getPerformanceSimpleByTimesId" resultType="com.liquidnet.service.kylin.dao.PerformanceSimpleAllDao"> <select id="getPerformanceSimpleByTimesId" resultType="com.liquidnet.service.kylin.dao.PerformanceSimpleAllDao">
...@@ -639,18 +639,19 @@ GROUP BY user_mobile; ...@@ -639,18 +639,19 @@ GROUP BY user_mobile;
left join kylin_ticket_times ktt on kttr.times_id = ktt.ticket_times_id left join kylin_ticket_times ktt on kttr.times_id = ktt.ticket_times_id
where ktt.ticket_times_id = #{timesId} where ktt.ticket_times_id = #{timesId}
</select> </select>
<select id="getPerformanceSimpleByPerformancesId" resultType="com.liquidnet.service.kylin.dao.PerformanceSimpleAllDao"> <select id="getPerformanceSimpleByPerformancesId"
resultType="com.liquidnet.service.kylin.dao.PerformanceSimpleAllDao">
select kp.performances_id as performancesId, select kp.performances_id as performancesId,
kp.title kp.title
from kylin_performances kp from kylin_performances kp
where kp.performances_id = #{performancesId} where kp.performances_id = #{performancesId}
</select> </select>
<update id="updateComment" > <update id="updateComment">
update kylin_performances set `comment` = null where `comment` = #{sort}; update kylin_performances set `comment` = null where `comment` = #{sort};
</update> </update>
<update id="updateCommentByPer" > <update id="updateCommentByPer">
update kylin_performances set `comment` = #{sort} where `performances_id` = #{performancesId}; update kylin_performances set `comment` = #{sort} where `performances_id` = #{performancesId};
</update> </update>
...@@ -666,7 +667,7 @@ GROUP BY user_mobile; ...@@ -666,7 +667,7 @@ GROUP BY user_mobile;
inner join kylin_ticket_status as kts on kts.ticket_id = ktr.ticket_id inner join kylin_ticket_status as kts on kts.ticket_id = ktr.ticket_id
where kts.is_agent = 1 where kts.is_agent = 1
group by kp.performances_id group by kp.performances_id
order by kp.comment, kp.time_start asc order by kp.comment desc, kp.time_start asc
</select> </select>
<select id="selectTicketIdByPerId" resultType="com.liquidnet.service.kylin.dao.KylinPerformancesDao"> <select id="selectTicketIdByPerId" resultType="com.liquidnet.service.kylin.dao.KylinPerformancesDao">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment