|
@@ -485,8 +485,8 @@ public class RepalCustomerServiceImpl extends ServiceImpl<RepalCustomerMapper, R
|
|
billMoneyChange.setName(t.getOperUserName());
|
|
billMoneyChange.setName(t.getOperUserName());
|
|
billMoneyChange.setChangeAmt(t.getTransMoney().setScale(2).toString());
|
|
billMoneyChange.setChangeAmt(t.getTransMoney().setScale(2).toString());
|
|
billMoneyChange.setRepalChangeRecordId(t.getId());
|
|
billMoneyChange.setRepalChangeRecordId(t.getId());
|
|
- StringBuilder desc = new StringBuilder(t.getOperUserName());
|
|
|
|
- String repalBillTypeDesc = "";
|
|
|
|
|
|
+ StringBuilder desc = new StringBuilder();
|
|
|
|
+ String repalBillTypeDesc;
|
|
if (repalBillTypeMap.containsKey(t.getRepalBillId())) {
|
|
if (repalBillTypeMap.containsKey(t.getRepalBillId())) {
|
|
repalBillTypeDesc = RepalBillTypeEnum.RECEIVABLE.getCode().equals(repalBillTypeMap.get(t.getRepalBillId())) ? "回" : "付";
|
|
repalBillTypeDesc = RepalBillTypeEnum.RECEIVABLE.getCode().equals(repalBillTypeMap.get(t.getRepalBillId())) ? "回" : "付";
|
|
} else {
|
|
} else {
|
|
@@ -497,8 +497,9 @@ public class RepalCustomerServiceImpl extends ServiceImpl<RepalCustomerMapper, R
|
|
desc.append(Objects.isNull(t.getTimeModified()) ? "增加" : "编辑").append(repalBillTypeDesc);
|
|
desc.append(Objects.isNull(t.getTimeModified()) ? "增加" : "编辑").append(repalBillTypeDesc);
|
|
} else {
|
|
} else {
|
|
desc.append("删除").append(repalBillTypeDesc);
|
|
desc.append("删除").append(repalBillTypeDesc);
|
|
|
|
+ billMoneyChange.setRepalChangeRecordId(null);
|
|
}
|
|
}
|
|
- billMoneyChange.setOperTypeDesc(desc.toString());
|
|
|
|
|
|
+ billMoneyChange.setOperTypeDesc(desc.append("款").toString());
|
|
return billMoneyChange;
|
|
return billMoneyChange;
|
|
}).collect(Collectors.toList()));
|
|
}).collect(Collectors.toList()));
|
|
}
|
|
}
|