|
@@ -518,8 +518,10 @@ public class TimingTask {
|
|
if(title.getJSONObject(0).getString("text").contains("结算总额")){
|
|
if(title.getJSONObject(0).getString("text").contains("结算总额")){
|
|
if(control.equals("Formula")){
|
|
if(control.equals("Formula")){
|
|
JSONObject formula = value.getJSONObject("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("备注")){
|
|
if(title.getJSONObject(0).getString("text").equals("备注")){
|