Explorar el Código

[停车券金额][修复]:修复金额丢失问题

release_toaliyun_real
Stormeye.Wu hace 7 años
padre
commit
56730acd55
Se han modificado 1 ficheros con 3 adiciones y 3 borrados
  1. +3
    -3
      mallinkAdmin/src/main/java/com/simple/controller/WxCarController.java

+ 3
- 3
mallinkAdmin/src/main/java/com/simple/controller/WxCarController.java Ver fichero

@@ -217,13 +217,13 @@ public class WxCarController extends BaseController
wxCoupon.setTenantId(user.getTenantId());
wxCoupon.setMerchantId(coupon.getMerchantId());
if(StringUtils.isNotEmpty(coupon.getSalePriceStr())){
wxCoupon.setSalePrice((int)Double.parseDouble(coupon.getSalePriceStr())*100);
wxCoupon.setSalePrice((int)(Double.parseDouble(coupon.getSalePriceStr())*100));
}
if(StringUtils.isNotEmpty(coupon.getUsePriceStr())){
wxCoupon.setUsePrice((int)Double.parseDouble(coupon.getUsePriceStr())*100);
wxCoupon.setUsePrice((int)(Double.parseDouble(coupon.getUsePriceStr())*100));
}
if(StringUtils.isNotEmpty(coupon.getPriceStr())){
wxCoupon.setPrice((int)Double.parseDouble(coupon.getPriceStr())*100);
wxCoupon.setPrice((int)(Double.parseDouble(coupon.getPriceStr())*100));
}
if(StringUtils.isNotBlank(coupon.getBusiness())) {
String[] arys = coupon.getBusiness().split(",");


Cargando…
Cancelar
Guardar