更新了写真预约模块

This commit is contained in:
chen-xin-zhi 2025-02-19 16:30:53 +08:00
parent 5f75e5dada
commit c515ca0b32

View File

@ -372,7 +372,6 @@ public class CouponController {
Map<String, Object> fieldConditions = new HashMap<>(); Map<String, Object> fieldConditions = new HashMap<>();
fieldConditions.put("userId", userId); fieldConditions.put("userId", userId);
fieldConditions.put("isUsed", 0); fieldConditions.put("isUsed", 0);
fieldConditions.put("status", "可用");
List<UserCoupon> userCouponList = commonService.findByFieldEqTargetFields(fieldConditions, userCouponService); List<UserCoupon> userCouponList = commonService.findByFieldEqTargetFields(fieldConditions, userCouponService);
userCouponList = userCouponList.stream().filter(userCoupon -> userCoupon.getCouponVO().getStatus().equals("可用")).toList(); userCouponList = userCouponList.stream().filter(userCoupon -> userCoupon.getCouponVO().getStatus().equals("可用")).toList();