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
0c190e52
Commit
0c190e52
authored
Sep 03, 2021
by
wzs162
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/master' into master
parents
c2180962
2e204012
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
15 deletions
+11
-15
ReTaskServiceImpl.java
...java/com/hungraim/ltc/service/impl/ReTaskServiceImpl.java
+11
-15
No files found.
assessment/assessment-service/src/main/java/com/hungraim/ltc/service/impl/ReTaskServiceImpl.java
View file @
0c190e52
...
...
@@ -46,6 +46,7 @@ public class ReTaskServiceImpl extends ServiceImpl<TaskMapper, ChAprTask> implem
private
final
AprTaskMapper
aprTaskMapper
;
private
final
DisableInfoMapper
disableInfoMapper
;
private
final
DisableInfoHisMapper
disableInfoHisMapper
;
@Override
public
Page
<
ReTaskDistributionVO
>
reTaskDistributionList
(
Page
<
ReTaskDistributionVO
>
page
,
Long
organId
,
Boolean
isIncluded
,
String
acptProvincial
,
String
acptCity
,
String
acptCrea
,
String
realName
,
String
certiCode
)
{
Result
<
List
<
Long
>>
organChild
=
null
;
...
...
@@ -62,7 +63,7 @@ public class ReTaskServiceImpl extends ServiceImpl<TaskMapper, ChAprTask> implem
@Override
public
ChDisableApplyVo
reassmentDetailById
(
String
applyId
)
{
ChDisableApplyVo
chDisableApplyVo
=
null
;
ChDisableApplyVo
chDisableApplyVo
=
null
;
chDisableApplyVo
=
chDisableApplyMapper
.
getReassmentDetailById
(
applyId
);
return
chDisableApplyVo
;
}
...
...
@@ -95,24 +96,18 @@ public class ReTaskServiceImpl extends ServiceImpl<TaskMapper, ChAprTask> implem
List
<
ChDisableInfo
>
disableInfoList
=
disableInfoMapper
.
selectList
(
new
LambdaQueryWrapper
<
ChDisableInfo
>()
.
eq
(
ChDisableInfo:
:
getRealName
,
chDisableApply
.
getRealName
())
.
eq
(
ChDisableInfo:
:
getCertiCode
,
chDisableApply
.
getCertiCode
()));
ChDisableInfo
newDisableInfo
=
null
;
if
(
disableInfoList
.
size
()!=
0
)
{
if
(
disableInfoList
.
size
()
!=
0
)
{
ChDisableInfo
chDisableInfo
=
disableInfoList
.
get
(
0
);
newDisableInfo
=
new
ChDisableInfo
();
newDisableInfo
.
setDisabInfoId
(
chDisableInfo
.
getDisabInfoId
());
// 先保存历史失能人员信息
ChDisableInfoHis
chDisableInfoHis
=
new
ChDisableInfoHis
();
BeanUtil
.
copyProperties
(
chDisableInfo
,
chDisableInfoHis
);
disableInfoHisMapper
.
insert
(
chDisableInfoHis
);
ChDisableInfo
newDisableInfo
=
new
ChDisableInfo
();
BeanUtil
.
copyProperties
(
chDisableApply
,
newDisableInfo
);
newDisableInfo
.
setDisabInfoId
(
chDisableInfo
.
getDisabInfoId
());
newDisableInfo
.
setDataFrom
(
0
);
//数据来源设置为0-申请
disableInfoMapper
.
updateById
(
newDisableInfo
);
}
/* //添加失能人员信息
ChDisableInfo chDisableInfo = new ChDisableInfo();
BeanUtil.copyProperties(chDisableApply, chDisableInfo);
disableInfoMapper.insert(chDisableInfo);*/
//新建disable_info_his表的一条数据
ChDisableInfoHis
chDisableInfoHis
=
new
ChDisableInfoHis
();
BeanUtil
.
copyProperties
(
newDisableInfo
,
chDisableInfoHis
);
disableInfoHisMapper
.
insert
(
chDisableInfoHis
);
//添加失能评定信息
ChAprTask
chAprTask
=
new
ChAprTask
();
...
...
@@ -133,4 +128,5 @@ public class ReTaskServiceImpl extends ServiceImpl<TaskMapper, ChAprTask> implem
aprTaskMapper
.
insert
(
chAprTask
);
}
}
}
}
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