Kaynağa Gözat

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

release_toaliyun_real
Stormeye.Wu 7 yıl önce
ebeveyn
işleme
56730acd55
1 değiştirilmiş dosya ile 3 ekleme ve 3 silme
  1. +3
    -3
      mallinkAdmin/src/main/java/com/simple/controller/WxCarController.java

+ 3
- 3
mallinkAdmin/src/main/java/com/simple/controller/WxCarController.java Dosyayı Görüntüle

@@ -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(",");


Yükleniyor…
İptal
Kaydet