Browse Source

[SQL优化][优化]:title为空时,不传此参数

release_toaliyun_real
Stormeye Wu 7 years ago
parent
commit
f8155fa130
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      mallinkService/src/main/java/com/iformall/service/impl/MarkingDataReportServiceImpl.java

+ 1
- 1
mallinkService/src/main/java/com/iformall/service/impl/MarkingDataReportServiceImpl.java View File

@@ -247,7 +247,7 @@ public class MarkingDataReportServiceImpl implements MarkingDataReportService {
if(markingCouponDataReportDto.getCouponType()!=null){
params.put("couponType", markingCouponDataReportDto.getCouponType());
}
if(markingCouponDataReportDto.getCouponTitle()!=null){
if(StringUtils.isNotBlank(markingCouponDataReportDto.getCouponTitle())){
params.put("couponTitle", markingCouponDataReportDto.getCouponTitle());
}



Loading…
Cancel
Save