Просмотр исходного кода

[A端][修复]:新建停车券保存出错的问题

release_toaliyun_real
hupeng 7 лет назад
Родитель
Сommit
04f62a9e00
3 измененных файлов: 2 добавлений и 3 удалений
  1. +1
    -1
      mallinkAdmin/src/main/java/com/iformall/controller/WxCarController.java
  2. +1
    -1
      mallinkService/src/main/java/com/iformall/service/impl/MarkingDataReportServiceImpl.java
  3. +0
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxCouponOrderServiceImpl.java

+ 1
- 1
mallinkAdmin/src/main/java/com/iformall/controller/WxCarController.java Просмотреть файл

@@ -227,7 +227,7 @@ public class WxCarController extends BaseController {
String[] arys = coupon.getBusiness().split(",");
wxCoupon.setBusiness(JSON.toJSONString(arys));
}
if(coupon.getId() > 0) {
if(coupon.getId() != null && coupon.getId().longValue() > 0) {
wxCoupon.setId(coupon.getId());
}
wxCoupon.setType(coupon.getType());


+ 1
- 1
mallinkService/src/main/java/com/iformall/service/impl/MarkingDataReportServiceImpl.java Просмотреть файл

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



+ 0
- 1
mallinkService/src/main/java/com/iformall/service/impl/WxCouponOrderServiceImpl.java Просмотреть файл

@@ -185,7 +185,6 @@ public class WxCouponOrderServiceImpl implements WxCouponOrderService {

@Override
public ResultData listCUserVoAsPage(WxCouponOrderCVo record, Integer pageIndex, Integer pageSize) {

return new ResultData(PageHelper.startPage(pageIndex, pageSize).doSelectPageInfo(() -> wxCouponOrderMapper.findListOfCUser(record)));
}



Загрузка…
Отмена
Сохранить