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
0965d34b
Commit
0965d34b
authored
Sep 26, 2021
by
zhangch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
失能人员信息变更审核接口修改联调
parent
8a9ad506
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
10 deletions
+27
-10
DisableController.java
...n/java/com/hungraim/ltc/controller/DisableController.java
+2
-1
DisableServiceImpl.java
...ava/com/hungraim/ltc/service/impl/DisableServiceImpl.java
+25
-9
No files found.
apply/apply-service/src/main/java/com/hungraim/ltc/controller/DisableController.java
View file @
0965d34b
...
...
@@ -368,8 +368,9 @@ public class DisableController {
* 审核通过再更新到info表
*/
@PostMapping
(
"/doDisInfoChangeExamine"
)
public
void
doDisInfoChangeExamine
(
String
changeId
,
String
checkName
,
Short
applyStatus
,
String
checkRemark
)
{
public
Result
doDisInfoChangeExamine
(
String
changeId
,
String
checkName
,
Short
applyStatus
,
String
checkRemark
)
{
disableService
.
DisableInfoChangeExamine
(
changeId
,
checkName
,
applyStatus
,
checkRemark
);
return
Result
.
success
();
}
/**
...
...
apply/apply-service/src/main/java/com/hungraim/ltc/service/impl/DisableServiceImpl.java
View file @
0965d34b
...
...
@@ -410,25 +410,41 @@ public class DisableServiceImpl implements DisableService {
chDisableInfoChangeMapper
.
updateById
(
chDisableInfoChange
);
//审核通过
if
(
applyStatus
.
equals
(
Short
.
valueOf
(
"2"
)))
{
//修改失能人员信息,首次申请只需新建
List
<
ChDisableInfo
>
disableInfoList
=
disableInfoMapper
.
selectList
(
new
LambdaQueryWrapper
<
ChDisableInfo
>()
.
eq
(
ChDisableInfo:
:
getRealName
,
chDisableInfoChange
.
getRealName
())
.
eq
(
ChDisableInfo:
:
getCertiCode
,
chDisableInfoChange
.
getCertifNum
()));
if
(
disableInfoList
.
size
()
!=
0
)
{
ChDisableInfo
chDisableInfo
=
disableInfoList
.
get
(
0
);
//新建disable_info_his表的一条数据
// 查询出旧的失能信息
ChDisableInfo
chDisableInfo
=
disableInfoMapper
.
selectById
(
chDisableInfoChange
.
getDisabInfoId
());
// 新建disable_info_his表的一条数据,保存历史失能信息记录
ChDisableInfoHis
chDisableInfoHis
=
new
ChDisableInfoHis
();
BeanUtil
.
copyProperties
(
chDisableInfo
,
chDisableInfoHis
);
disableInfoHisMapper
.
insert
(
chDisableInfoHis
);
//更新info
ChDisableInfo
newDisableInfo
=
new
ChDisableInfo
();
newDisableInfo
.
setDisabInfoId
(
chDisableInfo
.
getDisabInfoId
());
BeanUtil
.
copyProperties
(
chDisableInfoChange
,
newDisableInfo
);
// TODO
// 手动设置一些字段不一样的
// 所在省
newDisableInfo
.
setDistrictProvincial
(
chDisableInfoChange
.
getDistrictProvince
());
// 身份证号
newDisableInfo
.
setCertiCode
(
chDisableInfoChange
.
getCertifNum
());
// 现住址省市区街道详细地址
newDisableInfo
.
setAdressDistrictProvincial
(
chDisableInfoChange
.
getAddressProvincial
());
newDisableInfo
.
setAdressDistrictCity
(
chDisableInfoChange
.
getAddressCity
());
newDisableInfo
.
setAdressDistrictCode
(
chDisableInfoChange
.
getAddressArea
());
newDisableInfo
.
setStreet
(
chDisableInfoChange
.
getAddressStreet
());
newDisableInfo
.
setAdressDetail
(
chDisableInfoChange
.
getAddressDetail
());
// 接收评定详细地址
newDisableInfo
.
setAcptAddress
(
chDisableInfoChange
.
getAcptDetail
());
// 代办人身份证号
newDisableInfo
.
setOperCertiCode
(
chDisableInfoChange
.
getOperCertiNum
());
// 代办人省市区
newDisableInfo
.
setOperDistrictProvincial
(
chDisableInfoChange
.
getOperProvincial
());
newDisableInfo
.
setOperDistrictCity
(
chDisableInfoChange
.
getOperCity
());
newDisableInfo
.
setOperDistrictCode
(
chDisableInfoChange
.
getOperArea
());
newDisableInfo
.
setDisabInfoId
(
chDisableInfo
.
getDisabInfoId
());
newDisableInfo
.
setDataFrom
(
1
);
//数据来源设置为1-信息变更
disableInfoMapper
.
updateById
(
newDisableInfo
);
}
}
}
@Override
public
Page
<
DisableInfoChangeVo
>
ListDisInfoChangeExamine
(
Page
<
DisableInfoChangeVo
>
page
,
...
...
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