소스 검색

门店供应链物品管理/记录

zhangkaikai 1 년 전
부모
커밋
5333e36525
1개의 변경된 파일2개의 추가작업 그리고 0개의 파일을 삭제
  1. 2 0
      mp-admin/src/main/java/com/qs/mp/web/controller/api/channel/ChannelCouponVerifyController.java

+ 2 - 0
mp-admin/src/main/java/com/qs/mp/web/controller/api/channel/ChannelCouponVerifyController.java

@@ -163,11 +163,13 @@ public class ChannelCouponVerifyController extends BaseApiController {
      */
     @PostMapping("coupon/verify/log/list")
     public TableDataInfo list(@RequestBody JSONObject jsonObject) {
+        int discountType = jsonObject.getIntValue("discountType");
         Long channelId = SecurityUtils.getLoginUser().getChannelId();
         startPage();
         List<ChannelCouponVerifyLog> verifyLogList = channelCouponVerifyLogService.list(
             new LambdaQueryWrapper<ChannelCouponVerifyLog>()
                 .eq(ChannelCouponVerifyLog::getChannelId, channelId)
+                    .eq(ChannelCouponVerifyLog::getDiscountType,discountType)
                 .orderByDesc(ChannelCouponVerifyLog::getVerifyTime));
         return getDataTable(verifyLogList);
     }