Min пре 10 месеци
родитељ
комит
ab1f388127

+ 4 - 2
fhKeeper/formulahousekeeper/management-workshop/src/main/java/com/management/platform/task/TimingTask.java

@@ -518,8 +518,10 @@ public class TimingTask {
                     if(title.getJSONObject(0).getString("text").contains("结算总额")){
                         if(control.equals("Formula")){
                             JSONObject formula = value.getJSONObject("formula");
-                            double formulaDoubleValue = formula.getDoubleValue("value");
-                            plan.setMoneyOfJob(new BigDecimal(formulaDoubleValue));
+                            if(!formula.getString("value").equals("")){
+                                double formulaDoubleValue = formula.getDoubleValue("value");
+                                plan.setMoneyOfJob(new BigDecimal(formulaDoubleValue));
+                            }
                         }
                     }
                     if(title.getJSONObject(0).getString("text").equals("备注")){