Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
long-tern-care-service
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
hubin
long-tern-care-service
Commits
35fa1596
Commit
35fa1596
authored
Apr 17, 2023
by
zhangwanglin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
解决合并冲突代码
parent
14af107b
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
SrvOrganEmpServiceImpl.java
...com/hungraim/ltc/service/impl/SrvOrganEmpServiceImpl.java
+8
-8
No files found.
apply/apply-service/src/main/java/com/hungraim/ltc/service/impl/SrvOrganEmpServiceImpl.java
View file @
35fa1596
...
@@ -125,8 +125,8 @@ public class SrvOrganEmpServiceImpl implements SrvOrganEmpService {
...
@@ -125,8 +125,8 @@ public class SrvOrganEmpServiceImpl implements SrvOrganEmpService {
@Override
@Override
public
int
saveOrUpdateSrvOrganEmp
(
SrvOrganEmpVo
srvOrganEmpVo
)
{
public
int
saveOrUpdateSrvOrganEmp
(
SrvOrganEmpVo
srvOrganEmpVo
)
{
Long
empId
=
srvOrganEmpVo
.
getEmpId
();
Long
empId
=
srvOrganEmpVo
.
getEmpId
();
ChSrvOrganEmp
Apply
chSrvOrganEmpApply
=
new
ChSrvOrganEmpApply
();
ChSrvOrganEmp
chSrvOrganEmp
=
new
ChSrvOrganEmp
();
BeanUtils
.
copyProperties
(
srvOrganEmpVo
,
chSrvOrganEmp
Apply
);
BeanUtils
.
copyProperties
(
srvOrganEmpVo
,
chSrvOrganEmp
);
int
queryResult
=
0
;
int
queryResult
=
0
;
if
(
null
==
empId
)
{
if
(
null
==
empId
)
{
QueryWrapper
<
ChSrvOrganEmp
>
queryWrapper
=
new
QueryWrapper
<>();
QueryWrapper
<
ChSrvOrganEmp
>
queryWrapper
=
new
QueryWrapper
<>();
...
@@ -137,20 +137,20 @@ public class SrvOrganEmpServiceImpl implements SrvOrganEmpService {
...
@@ -137,20 +137,20 @@ public class SrvOrganEmpServiceImpl implements SrvOrganEmpService {
return
queryResult
;
return
queryResult
;
}
}
// 新增
// 新增
chSrvOrganEmp
Apply
.
setEffTime
(
new
Date
());
chSrvOrganEmp
.
setEffTime
(
new
Date
());
chSrvOrganEmp
Apply
.
setIsLock
((
short
)
0
);
chSrvOrganEmp
.
setIsLock
((
short
)
0
);
chSrvOrganEmp
ApplyMapper
.
insert
(
chSrvOrganEmpApply
);
chSrvOrganEmp
Mapper
.
insert
(
chSrvOrganEmp
);
updateAttachs
(
srvOrganEmpVo
,
chSrvOrganEmp
Apply
.
getEmpId
());
updateAttachs
(
srvOrganEmpVo
,
chSrvOrganEmp
.
getEmpId
());
ChSrvempRiskLevel
chSrvempRiskLevel
=
new
ChSrvempRiskLevel
();
ChSrvempRiskLevel
chSrvempRiskLevel
=
new
ChSrvempRiskLevel
();
chSrvempRiskLevel
.
setRiskLevel
(
0L
);
chSrvempRiskLevel
.
setRiskLevel
(
0L
);
chSrvempRiskLevel
.
setSrvEmpId
(
Long
.
valueOf
(
chSrvOrganEmp
Apply
.
getEmpId
()));
chSrvempRiskLevel
.
setSrvEmpId
(
Long
.
valueOf
(
chSrvOrganEmp
.
getEmpId
()));
chSrvempRiskLevel
.
setStatus
(
0
);
chSrvempRiskLevel
.
setStatus
(
0
);
chSrvempRiskLevel
.
setFcd
(
new
Date
());
chSrvempRiskLevel
.
setFcd
(
new
Date
());
chSrvempRiskLevelMapper
.
insert
(
chSrvempRiskLevel
);
chSrvempRiskLevelMapper
.
insert
(
chSrvempRiskLevel
);
}
else
{
}
else
{
// 修改
// 修改
chSrvOrganEmp
ApplyMapper
.
updateById
(
chSrvOrganEmpApply
);
chSrvOrganEmp
Mapper
.
updateById
(
chSrvOrganEmp
);
updateAttachs
(
srvOrganEmpVo
,
empId
);
updateAttachs
(
srvOrganEmpVo
,
empId
);
}
}
return
queryResult
;
return
queryResult
;
...
...
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