|
@@ -402,6 +402,7 @@ public class FinancialExpenditureServiceImpl extends BaseServiceImpl<Long, Finan
|
|
Object o = hashMap.get(inputDto.getModel());
|
|
Object o = hashMap.get(inputDto.getModel());
|
|
if (Objects.nonNull(o) && StringUtils.isNotEmpty(o.toString())) {
|
|
if (Objects.nonNull(o) && StringUtils.isNotEmpty(o.toString())) {
|
|
financialExpenditure.setAmount(financialExpenditure.getAmount().add(new BigDecimal(Double.parseDouble(o.toString()))));
|
|
financialExpenditure.setAmount(financialExpenditure.getAmount().add(new BigDecimal(Double.parseDouble(o.toString()))));
|
|
|
|
+ financialExpenditure.setCurrentAmount(financialExpenditure.getAmount());
|
|
continue;
|
|
continue;
|
|
}
|
|
}
|
|
} else if (name.contains("情况说明") || name.contains("事由")) {
|
|
} else if (name.contains("情况说明") || name.contains("事由")) {
|
|
@@ -537,6 +538,7 @@ public class FinancialExpenditureServiceImpl extends BaseServiceImpl<Long, Finan
|
|
Object o = formData.get(oaInputDto.getModel());
|
|
Object o = formData.get(oaInputDto.getModel());
|
|
if(Objects.nonNull(o) && StringUtils.isNotEmpty(o.toString())){
|
|
if(Objects.nonNull(o) && StringUtils.isNotEmpty(o.toString())){
|
|
financialExpenditure.setAmount(new BigDecimal(Double.parseDouble(o.toString())));
|
|
financialExpenditure.setAmount(new BigDecimal(Double.parseDouble(o.toString())));
|
|
|
|
+ financialExpenditure.setCurrentAmount(financialExpenditure.getAmount());
|
|
continue;
|
|
continue;
|
|
}
|
|
}
|
|
}else if(name.contains("情况说明")){
|
|
}else if(name.contains("情况说明")){
|
|
@@ -630,6 +632,7 @@ public class FinancialExpenditureServiceImpl extends BaseServiceImpl<Long, Finan
|
|
Object o = hashMap.get(inputDto.getModel());
|
|
Object o = hashMap.get(inputDto.getModel());
|
|
if(Objects.nonNull(o) && StringUtils.isNotEmpty(o.toString())){
|
|
if(Objects.nonNull(o) && StringUtils.isNotEmpty(o.toString())){
|
|
financialExpenditure.setAmount(new BigDecimal(Double.parseDouble(o.toString())));
|
|
financialExpenditure.setAmount(new BigDecimal(Double.parseDouble(o.toString())));
|
|
|
|
+ financialExpenditure.setCurrentAmount(financialExpenditure.getAmount());
|
|
continue;
|
|
continue;
|
|
}
|
|
}
|
|
}
|
|
}
|