Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
chuanshan_gov_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
廖旭伟
chuanshan_gov_platform
Commits
17ce4982
Commit
17ce4982
authored
May 27, 2023
by
廖旭伟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
事项申请列表查询条件增加工作人员用户id
parent
c124018d
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
single-matter/src/main/java/com/mortals/xhx/module/apply/service/impl/ApproverServiceImpl.java
...ls/xhx/module/apply/service/impl/ApproverServiceImpl.java
+3
-2
No files found.
single-matter/src/main/java/com/mortals/xhx/module/apply/service/impl/ApproverServiceImpl.java
View file @
17ce4982
...
@@ -19,6 +19,7 @@ import lombok.extern.slf4j.Slf4j;
...
@@ -19,6 +19,7 @@ import lombok.extern.slf4j.Slf4j;
import
org.springframework.util.CollectionUtils
;
import
org.springframework.util.CollectionUtils
;
import
org.springframework.util.ObjectUtils
;
import
org.springframework.util.ObjectUtils
;
import
java.util.Date
;
import
java.util.List
;
import
java.util.List
;
/**
/**
...
@@ -46,7 +47,6 @@ public class ApproverServiceImpl extends AbstractCRUDServiceImpl<ApproverDao, Ap
...
@@ -46,7 +47,6 @@ public class ApproverServiceImpl extends AbstractCRUDServiceImpl<ApproverDao, Ap
if
(
ObjectUtils
.
isEmpty
(
tempUser
))
{
if
(
ObjectUtils
.
isEmpty
(
tempUser
))
{
//新增
//新增
ApproverEntity
approverEntity
=
new
ApproverEntity
();
ApproverEntity
approverEntity
=
new
ApproverEntity
();
approverEntity
.
initAttrValue
();
approverEntity
.
setFullName
(
phpPdu
.
getUser_name
());
approverEntity
.
setFullName
(
phpPdu
.
getUser_name
());
approverEntity
.
setLoginName
(
phpPdu
.
getAccount
());
approverEntity
.
setLoginName
(
phpPdu
.
getAccount
());
try
{
try
{
...
@@ -56,13 +56,13 @@ public class ApproverServiceImpl extends AbstractCRUDServiceImpl<ApproverDao, Ap
...
@@ -56,13 +56,13 @@ public class ApproverServiceImpl extends AbstractCRUDServiceImpl<ApproverDao, Ap
}
}
approverEntity
.
setPhoneNumber
(
phpPdu
.
getMobile
());
approverEntity
.
setPhoneNumber
(
phpPdu
.
getMobile
());
approverEntity
.
setSiteId
(
1
l
);
approverEntity
.
setSiteId
(
1
l
);
approverEntity
.
setCreateTime
(
new
Date
());
dao
.
insert
(
approverEntity
);
dao
.
insert
(
approverEntity
);
}
else
{
}
else
{
//更新
//更新
ApproverEntity
approverEntity
=
new
ApproverEntity
();
ApproverEntity
approverEntity
=
new
ApproverEntity
();
approverEntity
.
setId
(
tempUser
.
getId
());
approverEntity
.
setId
(
tempUser
.
getId
());
approverEntity
.
initAttrValue
();
approverEntity
.
setFullName
(
phpPdu
.
getUser_name
());
approverEntity
.
setFullName
(
phpPdu
.
getUser_name
());
approverEntity
.
setLoginName
(
phpPdu
.
getAccount
());
approverEntity
.
setLoginName
(
phpPdu
.
getAccount
());
try
{
try
{
...
@@ -71,6 +71,7 @@ public class ApproverServiceImpl extends AbstractCRUDServiceImpl<ApproverDao, Ap
...
@@ -71,6 +71,7 @@ public class ApproverServiceImpl extends AbstractCRUDServiceImpl<ApproverDao, Ap
throw
new
AppException
(
"密码转换异常!"
,
e
);
throw
new
AppException
(
"密码转换异常!"
,
e
);
}
}
approverEntity
.
setPhoneNumber
(
phpPdu
.
getMobile
());
approverEntity
.
setPhoneNumber
(
phpPdu
.
getMobile
());
approverEntity
.
setUpdateTime
(
new
Date
());
dao
.
update
(
approverEntity
);
dao
.
update
(
approverEntity
);
}
}
}
}
...
...
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