Przeglądaj źródła

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

zhangkaikai 1 rok temu
rodzic
commit
5333e36525

+ 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);
     }