|
@@ -808,7 +808,10 @@ public class ZxtdReportServiceImpl implements ZxtdReportService {
|
|
for (Map pay : payList) {
|
|
for (Map pay : payList) {
|
|
Map formData = (Map) pay.get("formData");
|
|
Map formData = (Map) pay.get("formData");
|
|
if (Objects.nonNull(formData.get("textField_lqvpypje"))){
|
|
if (Objects.nonNull(formData.get("textField_lqvpypje"))){
|
|
- String month = formData.get("textField_lqvpypje").toString().substring(6);
|
|
|
|
|
|
+ String month = formData.get("textField_lqvpypje").toString().substring(5);
|
|
|
|
+ if (month.substring(0,1).equals("0")){
|
|
|
|
+ month = month.substring(1);
|
|
|
|
+ }
|
|
String amt = getBigDecimalStringAmt(formData.get("numberField_lp82nads"));
|
|
String amt = getBigDecimalStringAmt(formData.get("numberField_lp82nads"));
|
|
ReflectUtil.invoke(accounts1, "setAmt"+month, NumberUtil.sub(ReflectUtil.invoke(accounts1,"getAmt"+month),amt).setScale(2,BigDecimal.ROUND_HALF_UP).toString());
|
|
ReflectUtil.invoke(accounts1, "setAmt"+month, NumberUtil.sub(ReflectUtil.invoke(accounts1,"getAmt"+month),amt).setScale(2,BigDecimal.ROUND_HALF_UP).toString());
|
|
}
|
|
}
|