Explorar el Código

fix bug

release_toaliyun_real
winter hace 3 años
padre
commit
444ccf99d2
Se han modificado 1 ficheros con 6 adiciones y 0 borrados
  1. +6
    -0
      mallinkService/src/main/java/com/iformall/service/impl/WxCouponServiceImpl.java

+ 6
- 0
mallinkService/src/main/java/com/iformall/service/impl/WxCouponServiceImpl.java Ver fichero

@@ -590,6 +590,9 @@ public class WxCouponServiceImpl implements WxCouponService {

record.setCreateDate(new Date());
record.setUpdateDate(new Date());
if (null == record.getBusiness()) {
record.setBusiness(EnumBusiness.BUSINESS_ID6.getCode());
}
wxCouponMapper.insert(record);

} else {
@@ -662,6 +665,9 @@ public class WxCouponServiceImpl implements WxCouponService {
}

record.setUpdateDate(new Date());
if (null == record.getBusiness()) {
record.setBusiness(EnumBusiness.BUSINESS_ID6.getCode());
}
wxCouponMapper.updateById(record);
}



Cargando…
Cancelar
Guardar