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

Commit 20dc9510 authored by 胡佳晨's avatar 胡佳晨

修改 演出 统计库存

parent 9b3858c7
...@@ -9,6 +9,8 @@ import java.time.format.DateTimeFormatter; ...@@ -9,6 +9,8 @@ import java.time.format.DateTimeFormatter;
@Data @Data
public class PerformancePartnerListParam { public class PerformancePartnerListParam {
@ApiModelProperty(value = "第三方用户id", example = "1")
private String merchantId;
@ApiModelProperty(value = "演出名称", example = "") @ApiModelProperty(value = "演出名称", example = "")
private String title; private String title;
@ApiModelProperty(value = "-2全部(不包括未提交)0未发布演出列表;3审核通过;6上线;7下架;8已结束;", example = "0") @ApiModelProperty(value = "-2全部(不包括未提交)0未发布演出列表;3审核通过;6上线;7下架;8已结束;", example = "0")
...@@ -45,18 +47,22 @@ public class PerformancePartnerListParam { ...@@ -45,18 +47,22 @@ public class PerformancePartnerListParam {
case 1: { case 1: {
orderItem = "created_at"; orderItem = "created_at";
orderSc = "desc"; orderSc = "desc";
break;
} }
case 2: { case 2: {
orderItem = "created_at"; orderItem = "created_at";
orderSc = "asc"; orderSc = "asc";
break;
} }
case 3: { case 3: {
orderItem = "time_start"; orderItem = "time_start";
orderSc = "desc"; orderSc = "desc";
break;
} }
case 4: { case 4: {
orderItem = "time_start"; orderItem = "time_start";
orderSc = "asc"; orderSc = "asc";
break;
} }
} }
......
...@@ -9,9 +9,9 @@ import java.math.BigDecimal; ...@@ -9,9 +9,9 @@ import java.math.BigDecimal;
@ApiModel @ApiModel
@Data @Data
public class TicketMemberAuditParam { public class TicketMemberAuditParam {
@ApiModelProperty(value = "演出id") @ApiModelProperty(value = "id")
private String ticketsId; private String ticketsId;
@ApiModelProperty(value = "演出名称") @ApiModelProperty(value = "演出名称",hidden = true)
private String title; private String title;
@ApiModelProperty(value = "会员优惠价格") @ApiModelProperty(value = "会员优惠价格")
private BigDecimal priceDiscountMember; private BigDecimal priceDiscountMember;
......
...@@ -137,6 +137,7 @@ ...@@ -137,6 +137,7 @@
<if test="status=='0'"> <if test="status=='0'">
AND ps.STATUS = #{status} AND ps.STATUS = #{status}
</if> </if>
AND pr.merchant_id = #{merchantId}
</where> </where>
ORDER BY #{orderItem} #{orderSc} ORDER BY #{orderItem} #{orderSc}
</select> </select>
......
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