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