plf 3 سال پیش
والد
کامیت
2c54ca80ef
1فایلهای تغییر یافته به همراه2 افزوده شده و 1 حذف شده
  1. 2 1
      src/main/java/com/caimei/modules/order/web/CmPayShopController.java

+ 2 - 1
src/main/java/com/caimei/modules/order/web/CmPayShopController.java

@@ -224,7 +224,8 @@ public class CmPayShopController extends BaseController {
             cmChangePayShopRecond.setRemarkImage(substring);
         }
         cmChangePayShopRecondService.save(cmChangePayShopRecond);
-        if (!shopOrder.getShopOtherFee().equals(thirdPartyFee)) {
+        double shopOtherFee = shopOrder.getShopOtherFee() == null ? 0d : shopOrder.getShopOtherFee();
+        if (shopOtherFee != thirdPartyFee) {
             //保存付第三方备注
             ChangePayShopOther payShopOther = new ChangePayShopOther();
             payShopOther.setShopOrderId(newShopOrder.getShopOrderID());