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
9eec07a7
Commit
9eec07a7
authored
Sep 03, 2021
by
wzs162
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
复评审核代码修改
parent
b3e5075e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
6 deletions
+12
-6
ReTaskServiceImpl.java
...java/com/hungraim/ltc/service/impl/ReTaskServiceImpl.java
+12
-6
ChDisableInfoHis.java
...hungraim/ltc/pojo/entity/assessment/ChDisableInfoHis.java
+0
-0
No files found.
assessment/assessment-service/src/main/java/com/hungraim/ltc/service/impl/ReTaskServiceImpl.java
View file @
9eec07a7
...
@@ -92,12 +92,18 @@ public class ReTaskServiceImpl extends ServiceImpl<TaskMapper, ChAprTask> implem
...
@@ -92,12 +92,18 @@ public class ReTaskServiceImpl extends ServiceImpl<TaskMapper, ChAprTask> implem
//审核通过
//审核通过
if
(
applyStatus
.
equals
(
Short
.
valueOf
(
"2"
)))
{
if
(
applyStatus
.
equals
(
Short
.
valueOf
(
"2"
)))
{
//修改失能人员信息,首次申请只需新建
//修改失能人员信息,首次申请只需新建
ChDisableInfo
chDisableInfo
=
disableInfoMapper
.
selectOne
(
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
()));
BeanUtil
.
copyProperties
(
chDisableApply
,
chDisableInfo
);
ChDisableInfo
newDisableInfo
=
null
;
chDisableInfo
.
setDataFrom
(
0
);
//数据来源设置为0-申请
if
(
disableInfoList
.
size
()!=
0
)
{
disableInfoMapper
.
updateById
(
chDisableInfo
);
ChDisableInfo
chDisableInfo
=
disableInfoList
.
get
(
0
);
newDisableInfo
=
new
ChDisableInfo
();
newDisableInfo
.
setDisabInfoId
(
chDisableInfo
.
getDisabInfoId
());
BeanUtil
.
copyProperties
(
chDisableApply
,
newDisableInfo
);
newDisableInfo
.
setDataFrom
(
0
);
//数据来源设置为0-申请
disableInfoMapper
.
updateById
(
newDisableInfo
);
}
/* //添加失能人员信息
/* //添加失能人员信息
ChDisableInfo chDisableInfo = new ChDisableInfo();
ChDisableInfo chDisableInfo = new ChDisableInfo();
...
@@ -105,7 +111,7 @@ public class ReTaskServiceImpl extends ServiceImpl<TaskMapper, ChAprTask> implem
...
@@ -105,7 +111,7 @@ public class ReTaskServiceImpl extends ServiceImpl<TaskMapper, ChAprTask> implem
disableInfoMapper.insert(chDisableInfo);*/
disableInfoMapper.insert(chDisableInfo);*/
//新建disable_info_his表的一条数据
//新建disable_info_his表的一条数据
ChDisableInfoHis
chDisableInfoHis
=
new
ChDisableInfoHis
();
ChDisableInfoHis
chDisableInfoHis
=
new
ChDisableInfoHis
();
BeanUtil
.
copyProperties
(
ch
DisableInfo
,
chDisableInfoHis
);
BeanUtil
.
copyProperties
(
new
DisableInfo
,
chDisableInfoHis
);
disableInfoHisMapper
.
insert
(
chDisableInfoHis
);
disableInfoHisMapper
.
insert
(
chDisableInfoHis
);
//添加失能评定信息
//添加失能评定信息
...
@@ -118,7 +124,7 @@ public class ReTaskServiceImpl extends ServiceImpl<TaskMapper, ChAprTask> implem
...
@@ -118,7 +124,7 @@ public class ReTaskServiceImpl extends ServiceImpl<TaskMapper, ChAprTask> implem
chAprTask
.
setLastAprDate
(
cd
.
getTime
());
//鉴定截至日期
chAprTask
.
setLastAprDate
(
cd
.
getTime
());
//鉴定截至日期
}
}
BeanUtil
.
copyProperties
(
chDisableApply
,
chAprTask
);
BeanUtil
.
copyProperties
(
chDisableApply
,
chAprTask
);
chAprTask
.
setDisableInfoId
(
ch
DisableInfo
.
getDisabInfoId
());
//失能人员id
chAprTask
.
setDisableInfoId
(
new
DisableInfo
.
getDisabInfoId
());
//失能人员id
chAprTask
.
setReAprStatus
(
0
);
chAprTask
.
setReAprStatus
(
0
);
chAprTask
.
setEffTime
(
new
Date
());
chAprTask
.
setEffTime
(
new
Date
());
chAprTask
.
setFcd
(
null
);
chAprTask
.
setFcd
(
null
);
...
...
common/common-core/src/main/java/com/hungraim/ltc/pojo/entity/assessment/ChDisableInfoHis.java
View file @
9eec07a7
This diff is collapsed.
Click to expand it.
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