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
2e204012
Commit
2e204012
authored
Sep 03, 2021
by
zhangch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
复评审核修改
parent
8925f35d
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 @
2e204012
...
@@ -46,6 +46,7 @@ public class ReTaskServiceImpl extends ServiceImpl<TaskMapper, ChAprTask> implem
...
@@ -46,6 +46,7 @@ public class ReTaskServiceImpl extends ServiceImpl<TaskMapper, ChAprTask> implem
private
final
AprTaskMapper
aprTaskMapper
;
private
final
AprTaskMapper
aprTaskMapper
;
private
final
DisableInfoMapper
disableInfoMapper
;
private
final
DisableInfoMapper
disableInfoMapper
;
private
final
DisableInfoHisMapper
disableInfoHisMapper
;
private
final
DisableInfoHisMapper
disableInfoHisMapper
;
@Override
@Override
public
Page
<
ReTaskDistributionVO
>
reTaskDistributionList
(
Page
<
ReTaskDistributionVO
>
page
,
Long
organId
,
Boolean
isIncluded
,
String
acptProvincial
,
String
acptCity
,
String
acptCrea
,
String
realName
,
String
certiCode
)
{
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
;
Result
<
List
<
Long
>>
organChild
=
null
;
...
@@ -62,7 +63,7 @@ public class ReTaskServiceImpl extends ServiceImpl<TaskMapper, ChAprTask> implem
...
@@ -62,7 +63,7 @@ public class ReTaskServiceImpl extends ServiceImpl<TaskMapper, ChAprTask> implem
@Override
@Override
public
ChDisableApplyVo
reassmentDetailById
(
String
applyId
)
{
public
ChDisableApplyVo
reassmentDetailById
(
String
applyId
)
{
ChDisableApplyVo
chDisableApplyVo
=
null
;
ChDisableApplyVo
chDisableApplyVo
=
null
;
chDisableApplyVo
=
chDisableApplyMapper
.
getReassmentDetailById
(
applyId
);
chDisableApplyVo
=
chDisableApplyMapper
.
getReassmentDetailById
(
applyId
);
return
chDisableApplyVo
;
return
chDisableApplyVo
;
}
}
...
@@ -95,24 +96,18 @@ public class ReTaskServiceImpl extends ServiceImpl<TaskMapper, ChAprTask> implem
...
@@ -95,24 +96,18 @@ public class ReTaskServiceImpl extends ServiceImpl<TaskMapper, ChAprTask> implem
List
<
ChDisableInfo
>
disableInfoList
=
disableInfoMapper
.
selectList
(
new
LambdaQueryWrapper
<
ChDisableInfo
>()
List
<
ChDisableInfo
>
disableInfoList
=
disableInfoMapper
.
selectList
(
new
LambdaQueryWrapper
<
ChDisableInfo
>()
.
eq
(
ChDisableInfo:
:
getRealName
,
checkName
)
.
eq
(
ChDisableInfo:
:
getRealName
,
checkName
)
.
eq
(
ChDisableInfo:
:
getCertiCode
,
chDisableApply
.
getCertiCode
()));
.
eq
(
ChDisableInfo:
:
getCertiCode
,
chDisableApply
.
getCertiCode
()));
ChDisableInfo
newDisableInfo
=
null
;
if
(
disableInfoList
.
size
()
!=
0
)
{
if
(
disableInfoList
.
size
()!=
0
)
{
ChDisableInfo
chDisableInfo
=
disableInfoList
.
get
(
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
);
BeanUtil
.
copyProperties
(
chDisableApply
,
newDisableInfo
);
newDisableInfo
.
setDisabInfoId
(
chDisableInfo
.
getDisabInfoId
());
newDisableInfo
.
setDataFrom
(
0
);
//数据来源设置为0-申请
newDisableInfo
.
setDataFrom
(
0
);
//数据来源设置为0-申请
disableInfoMapper
.
updateById
(
newDisableInfo
);
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
();
ChAprTask
chAprTask
=
new
ChAprTask
();
...
@@ -133,4 +128,5 @@ public class ReTaskServiceImpl extends ServiceImpl<TaskMapper, ChAprTask> implem
...
@@ -133,4 +128,5 @@ public class ReTaskServiceImpl extends ServiceImpl<TaskMapper, ChAprTask> implem
aprTaskMapper
.
insert
(
chAprTask
);
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