提交 7df11f68 authored 作者: zjm's avatar zjm

合并分支 'master' 到 'dev'

Master 查看合并请求 !86
...@@ -75,8 +75,12 @@ public class AllotBillSelectController { ...@@ -75,8 +75,12 @@ public class AllotBillSelectController {
// Integer billId = taskService.get(id).getBillId(); // Integer billId = taskService.get(id).getBillId();
//set账单用户名称并添加 //set账单用户名称并添加
AllotBill allotBillEntity = allotBillService.getOne(id); AllotBill allotBillEntity = allotBillService.getOne(id);
if (allotBillEntity.getSendUseraId() != null){
allotBillEntity.setSenderUserA(userService.getOne(allotBillEntity.getSendUseraId()).getName()); allotBillEntity.setSenderUserA(userService.getOne(allotBillEntity.getSendUseraId()).getName());
allotBillEntity.setSenderUserB(allotBillEntity.getAgent()); }
if (allotBillEntity.getSendUserbId() != null){
allotBillEntity.setSenderUserB(userService.getOne(allotBillEntity.getSendUserbId()).getName());
}
if (allotBillEntity.getReceiveUseraId() != null) { if (allotBillEntity.getReceiveUseraId() != null) {
allotBillEntity.setReceiveUserA(userService.getOne(allotBillEntity.getReceiveUseraId()).getName()); allotBillEntity.setReceiveUserA(userService.getOne(allotBillEntity.getReceiveUseraId()).getName());
} }
...@@ -114,8 +118,12 @@ public class AllotBillSelectController { ...@@ -114,8 +118,12 @@ public class AllotBillSelectController {
//set账单用户名称并添 //set账单用户名称并添
// Integer billId = taskService.get(id).getBillId(); // Integer billId = taskService.get(id).getBillId();
AllotBackBill allotBillEntity = allotBackBillService.getOne(id); AllotBackBill allotBillEntity = allotBackBillService.getOne(id);
if (allotBillEntity.getSendUseraId() != null) {
allotBillEntity.setSenderUserA(userService.getOne(allotBillEntity.getSendUseraId()).getName()); allotBillEntity.setSenderUserA(userService.getOne(allotBillEntity.getSendUseraId()).getName());
allotBillEntity.setSenderUserB(allotBillEntity.getAgent()); }
if (allotBillEntity.getSendUserbId() != null) {
allotBillEntity.setSenderUserB(userService.getOne(allotBillEntity.getSendUserbId()).getName());
}
if (allotBillEntity.getReceiveUseraId() != null) { if (allotBillEntity.getReceiveUseraId() != null) {
allotBillEntity.setReceiveUserA(userService.getOne(allotBillEntity.getReceiveUseraId()).getName()); allotBillEntity.setReceiveUserA(userService.getOne(allotBillEntity.getReceiveUseraId()).getName());
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论