Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gassafety
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
耿迪迪
gassafety
Commits
d8c0b241
Commit
d8c0b241
authored
Jul 20, 2021
by
王晓倩
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
工单基础信息列表异常处理
parent
486a0990
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
TWorkOrderServiceImpl.java
...com/zehong/system/service/impl/TWorkOrderServiceImpl.java
+4
-2
No files found.
gassafety-system/src/main/java/com/zehong/system/service/impl/TWorkOrderServiceImpl.java
View file @
d8c0b241
...
...
@@ -98,15 +98,17 @@ public class TWorkOrderServiceImpl implements ITWorkOrderService
BeanUtils
.
copyProperties
(
workOrder
,
workOrderVo
);
// 获取巡检员姓名
SysUser
appointInspector
=
sysUserMapper
.
selectUserById
(
tW
orkOrder
.
getAppointInspector
());
SysUser
appointInspector
=
sysUserMapper
.
selectUserById
(
w
orkOrder
.
getAppointInspector
());
workOrderVo
.
setAppointInspectorName
(
appointInspector
.
getNickName
());
if
(
tWorkOrder
.
getActualInspector
()
!=
tWorkOrder
.
getAppointInspector
()
&&
tW
orkOrder
.
getActualInspector
()
!=
null
){
if
(
workOrder
.
getActualInspector
()
!=
workOrder
.
getAppointInspector
()
&&
w
orkOrder
.
getActualInspector
()
!=
null
){
SysUser
actualInspector
=
sysUserMapper
.
selectUserById
(
tWorkOrder
.
getActualInspector
());
workOrderVo
.
setActualInspectorName
(
actualInspector
.
getNickName
());
}
else
{
workOrderVo
.
setActualInspectorName
(
appointInspector
.
getNickName
());
}
workOrderVoList
.
add
(
workOrderVo
);
}
}
return
workOrderVoList
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment