mirror of
https://gitee.com/lab1024/smart-admin.git
synced 2025-10-01 17:56:39 +08:00
commit
741c77672d
@ -64,8 +64,7 @@ public class CouponService {
|
||||
Date compareDate = SmartDateUtil.parseYMD(jsonResult.get("fValidTo").toString());
|
||||
//优惠券有效开始时间
|
||||
Date startDate = SmartDateUtil.parseYMD(jsonResult.get("fValidFrom").toString());
|
||||
if ("H5".equals(jsonResult.getString("udf2"))&&"".equals(productCode)&&compareDate.compareTo(currentDate)!=-1
|
||||
&& startDate.compareTo(nowDate) != 1) {
|
||||
if ("H5".equals(jsonResult.getString("udf2"))&&"".equals(productCode)) {
|
||||
afterFilterArrary.add(jsonResult);
|
||||
}else if ("H5".equals(jsonResult.getString("udf2"))&&!"".equals(productCode)&&compareDate.compareTo(currentDate)!=-1
|
||||
&& startDate.compareTo(nowDate) != 1){
|
||||
|
Loading…
Reference in New Issue
Block a user