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

Commit 0a968ba5 authored by 胡佳晨's avatar 胡佳晨

修改列表接口

parent 236a2cd6
...@@ -23,7 +23,7 @@ public class PerformancePartnerListParam { ...@@ -23,7 +23,7 @@ public class PerformancePartnerListParam {
@ApiModelProperty(value = "排序类型 1创建时间倒序 2创建时间正序 3演出时间倒序 4演出时间正序", example = "0") @ApiModelProperty(value = "排序类型 1创建时间倒序 2创建时间正序 3演出时间倒序 4演出时间正序", example = "0")
@NotNull(message = "不能为空") @NotNull(message = "不能为空")
private int orderType; private int orderType;
@ApiModelProperty(value = "停售时间", example = "2000-01-01 12:00:00") @ApiModelProperty(value = "停售时间(单位天)", example = "-1全部")
private String stopSellTime; private String stopSellTime;
@ApiModelProperty(value = "页数", example = "0") @ApiModelProperty(value = "页数", example = "0")
@NotNull(message = "不能为空") @NotNull(message = "不能为空")
......
...@@ -79,4 +79,11 @@ public interface IKylinTicketsPartnerService extends IService<KylinTickets> { ...@@ -79,4 +79,11 @@ public interface IKylinTicketsPartnerService extends IService<KylinTickets> {
* @return vo * @return vo
*/ */
TicketPartnerVo getTicketsMongo(String ticketsId); TicketPartnerVo getTicketsMongo(String ticketsId);
//票 上线
//票 下线
//购票须知
} }
...@@ -113,7 +113,7 @@ ...@@ -113,7 +113,7 @@
) AS ot ON ot.performance_id = p.performances_id ) AS ot ON ot.performance_id = p.performances_id
<where> <where>
<if test="title!=''"> <if test="title!=''">
AND title LIKE LIKE concat('%', #{title}, '%') AND title LIKE concat('%', #{title}, '%')
</if> </if>
<if test="status!='-2'"> <if test="status!='-2'">
AND ps.STATUS = #{status} AND ps.STATUS = #{status}
...@@ -182,10 +182,10 @@ ...@@ -182,10 +182,10 @@
) AS ot ON ot.performance_id = p.performances_id ) AS ot ON ot.performance_id = p.performances_id
<where> <where>
<if test="title!=''"> <if test="title!=''">
AND title LIKE LIKE concat('%', #{title}, '%') AND title LIKE concat('%', #{title}, '%')
</if> </if>
<if test="cityName!=''"> <if test="cityName!=''">
AND city_name LIKE LIKE concat('%', #{cityName}, '%') AND city_name LIKE concat('%', #{cityName}, '%')
</if> </if>
<if test="status!='-2'"> <if test="status!='-2'">
AND ps.STATUS = #{status} AND ps.STATUS = #{status}
...@@ -199,7 +199,7 @@ ...@@ -199,7 +199,7 @@
<if test="auditStatus=='-2'"> <if test="auditStatus=='-2'">
AND (ps.audit_status = 0 or ps.audit_status = 2) AND (ps.audit_status = 0 or ps.audit_status = 2)
</if> </if>
<if test="stopSellTime!=''"> <if test="stopSellTime!=-1'">
AND p.time_end LIKE concat('%', #{stopSellTime}, '%') AND p.time_end LIKE concat('%', #{stopSellTime}, '%')
</if> </if>
</where> </where>
......
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