Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
attendance-performance-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
attendance-performance-platform
Commits
fd32a241
Commit
fd32a241
authored
Jan 30, 2024
by
廖旭伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
窗口人员自评汇总
parent
6554c38f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
attendance-performance-manager/src/main/java/com/mortals/xhx/module/window/service/impl/WindowWorkmanPerformServiceImpl.java
.../window/service/impl/WindowWorkmanPerformServiceImpl.java
+10
-10
No files found.
attendance-performance-manager/src/main/java/com/mortals/xhx/module/window/service/impl/WindowWorkmanPerformServiceImpl.java
View file @
fd32a241
...
@@ -59,7 +59,7 @@ public class WindowWorkmanPerformServiceImpl extends AbstractCRUDServiceImpl<Win
...
@@ -59,7 +59,7 @@ public class WindowWorkmanPerformServiceImpl extends AbstractCRUDServiceImpl<Win
@Override
@Override
protected
void
saveBefore
(
WindowWorkmanPerformEntity
entity
,
Context
context
)
throws
AppException
{
protected
void
saveBefore
(
WindowWorkmanPerformEntity
entity
,
Context
context
)
throws
AppException
{
buildWindowInfo
(
entity
);
//
buildWindowInfo(entity);
StaffEntity
staff
=
staffService
.
get
(
entity
.
getOwnerId
());
StaffEntity
staff
=
staffService
.
get
(
entity
.
getOwnerId
());
if
(
staff
!=
null
){
if
(
staff
!=
null
){
entity
.
setDeptId
(
staff
.
getDeptId
());
entity
.
setDeptId
(
staff
.
getDeptId
());
...
@@ -67,13 +67,13 @@ public class WindowWorkmanPerformServiceImpl extends AbstractCRUDServiceImpl<Win
...
@@ -67,13 +67,13 @@ public class WindowWorkmanPerformServiceImpl extends AbstractCRUDServiceImpl<Win
entity
.
setSalaId
(
staff
.
getSalaId
());
entity
.
setSalaId
(
staff
.
getSalaId
());
entity
.
setSalaName
(
staff
.
getSalaName
());
entity
.
setSalaName
(
staff
.
getSalaName
());
}
}
if
(
entity
.
getWindowId
()!=
null
)
{
//
if(entity.getWindowId()!=null) {
WindowOwnerDetailEntity
windowOwnerDetailEntity
=
windowOwnerDetailService
.
selectOne
(
new
WindowOwnerDetailQuery
().
windowId
(
entity
.
getWindowId
()));
//
WindowOwnerDetailEntity windowOwnerDetailEntity = windowOwnerDetailService.selectOne(new WindowOwnerDetailQuery().windowId(entity.getWindowId()));
if
(
windowOwnerDetailEntity
!=
null
){
//
if(windowOwnerDetailEntity!=null){
entity
.
setWindowCode
(
windowOwnerDetailEntity
.
getWindowCode
());
//
entity.setWindowCode(windowOwnerDetailEntity.getWindowCode());
entity
.
setWindowName
(
windowOwnerDetailEntity
.
getWindowName
());
//
entity.setWindowName(windowOwnerDetailEntity.getWindowName());
}
//
}
}
//
}
super
.
saveBefore
(
entity
,
context
);
super
.
saveBefore
(
entity
,
context
);
}
}
...
@@ -89,7 +89,7 @@ public class WindowWorkmanPerformServiceImpl extends AbstractCRUDServiceImpl<Win
...
@@ -89,7 +89,7 @@ public class WindowWorkmanPerformServiceImpl extends AbstractCRUDServiceImpl<Win
@Override
@Override
protected
void
updateBefore
(
WindowWorkmanPerformEntity
entity
,
Context
context
)
throws
AppException
{
protected
void
updateBefore
(
WindowWorkmanPerformEntity
entity
,
Context
context
)
throws
AppException
{
buildWindowInfo
(
entity
);
//
buildWindowInfo(entity);
super
.
updateBefore
(
entity
,
context
);
super
.
updateBefore
(
entity
,
context
);
}
}
...
@@ -144,7 +144,7 @@ public class WindowWorkmanPerformServiceImpl extends AbstractCRUDServiceImpl<Win
...
@@ -144,7 +144,7 @@ public class WindowWorkmanPerformServiceImpl extends AbstractCRUDServiceImpl<Win
BeanUtils
.
copyProperties
(
entity
,
perform
,
BeanUtil
.
getNullPropertyNames
(
entity
));
BeanUtils
.
copyProperties
(
entity
,
perform
,
BeanUtil
.
getNullPropertyNames
(
entity
));
perform
.
setId
(
null
);
perform
.
setId
(
null
);
perform
.
setRecordId
(
entity
.
getId
());
perform
.
setRecordId
(
entity
.
getId
());
perform
.
setWindowName
(
entity
.
getWindowName
()+
"("
+
entity
.
getWindowCode
()+
")"
);
//
perform.setWindowName(entity.getWindowName()+"("+entity.getWindowCode()+")");
perform
.
setFromName
(
"市政务服务大厅窗口工作人员考核汇总表"
);
perform
.
setFromName
(
"市政务服务大厅窗口工作人员考核汇总表"
);
perform
.
setSubmitDate
(
entity
.
getFillDate
());
perform
.
setSubmitDate
(
entity
.
getFillDate
());
perform
.
setUpdateTime
(
null
);
perform
.
setUpdateTime
(
null
);
...
...
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