Authored by chenchao

fix bug

... ... @@ -12,3 +12,4 @@ deploy/.gitignore
product/.gitignore
*/.factorypath
.vscode/
target/
... ...
... ... @@ -182,9 +182,9 @@ public class CouponConvert {
couponSimpleBo.setEndTime(DateUtil.formatDate(coupon.getEndTime(), DateUtil.YYYY_MM_DD_DOT));
//
if (Objects.nonNull(userCoupon)){
couponSimpleBo.setReceive("Y");
}else{
couponSimpleBo.setReceive("N");
}else{
couponSimpleBo.setReceive("Y");
}
return couponSimpleBo;
}
... ...
... ... @@ -124,7 +124,7 @@ public class CollectiveCouponService {
}
couponInfoListBo.forEach(bo->{
if (Objects.nonNull(couponIdUserCouponMap.get(bo.getCouponId()))){
bo.setReceive("Y");
bo.setReceive("N");
}
});
}
... ...