mirror of
https://gitee.com/elegant_wings/dbd-meeting.git
synced 2025-06-22 02:29:36 +08:00
工单详情填充数据
This commit is contained in:
parent
c3523508ed
commit
0c28d4fea9
@ -220,7 +220,22 @@ public class RepairServiceImpl implements IRepairService {
|
|||||||
*/
|
*/
|
||||||
@Override
|
@Override
|
||||||
public Repair selectRepairById(Long id) {
|
public Repair selectRepairById(Long id) {
|
||||||
return repairMapper.selectRepairById(id);
|
Repair repair = repairMapper.selectRepairById(id);
|
||||||
|
if (repair.getPerUserId() != null && repair.getPerUserId() > 0) {
|
||||||
|
IcsCustomerStaff perUser = customerStaffMapper.selectIcsCustomerStaffById(repair.getPerUserId());
|
||||||
|
repair.setPerUserName(perUser.getUsername());
|
||||||
|
}
|
||||||
|
if (repair.getRepairUserId() != null && repair.getRepairUserId() > 0) {
|
||||||
|
IcsCustomerStaff repairUser = customerStaffMapper.selectIcsCustomerStaffById(repair.getRepairUserId());
|
||||||
|
repair.setRepairUserName(repairUser.getUsername());
|
||||||
|
}
|
||||||
|
if (repair.getEvalUserId() != null && repair.getEvalUserId() > 0) {
|
||||||
|
IcsCustomerStaff evalUser = customerStaffMapper.selectIcsCustomerStaffById(repair.getEvalUserId());
|
||||||
|
repair.setEvalUserName(evalUser.getUsername());
|
||||||
|
}
|
||||||
|
IcsCustomerStaff createUser = customerStaffMapper.selectIcsCustomerStaffById(Long.valueOf(repair.getCreateBy()));
|
||||||
|
repair.setExt2(createUser.getUsername());
|
||||||
|
return repair;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -72,8 +72,8 @@ dfs:
|
|||||||
#path: /Users/lihongyuan/IdeaProjects/saas-ics/ics/
|
#path: /Users/lihongyuan/IdeaProjects/saas-ics/ics/
|
||||||
# domain: http://222.184.49.22:9227
|
# domain: http://222.184.49.22:9227
|
||||||
# path: D:/ruoyi/uploadPath
|
# path: D:/ruoyi/uploadPath
|
||||||
domain: http://192.168.0.11:9227
|
domain: http://127.0.0.1:9227
|
||||||
path: F:/ruoyi/uploadPath
|
path: E:/ruoyi/uploadPath
|
||||||
|
|
||||||
# 公众号配置(必填)
|
# 公众号配置(必填)
|
||||||
wx:
|
wx:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user