!231 adding filter coupon logic

Merge pull request !231 from Admin/sit-Carl
This commit is contained in:
Admin 2022-03-15 03:45:47 +00:00 committed by Gitee
commit c3f2d66a10
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -66,6 +66,7 @@ public class CouponService {
for(int g = 0 ;g<productCode.length;g++) {
if ((jsonResult.get("productCodes") != null ? jsonResult.get("productCodes").toString().indexOf(productCode[g]) : "".indexOf(productCode[g])) != -1 || jsonResult.get("productCodes") == null) {
afterFilterArrary.add(jsonResult);
break;
}
}
}