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
ff83f8b8
Commit
ff83f8b8
authored
Sep 15, 2021
by
zhangch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改失能人员信息修改页面信息详情接口
parent
6f30b4e9
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
29 additions
and
44 deletions
+29
-44
DisableController.java
...n/java/com/hungraim/ltc/controller/DisableController.java
+4
-4
DisableService.java
...rc/main/java/com/hungraim/ltc/service/DisableService.java
+2
-2
DisableServiceImpl.java
...ava/com/hungraim/ltc/service/impl/DisableServiceImpl.java
+18
-15
DisableExamineInfoVO.java
...om/hungraim/ltc/pojo/vo/disable/DisableExamineInfoVO.java
+5
-23
No files found.
apply/apply-service/src/main/java/com/hungraim/ltc/controller/DisableController.java
View file @
ff83f8b8
...
...
@@ -191,12 +191,12 @@ public class DisableController {
/**
* 失能审核信息详情
*
* @param
applyId 申请
id
* @return 失能
审核
信息详情
* @param
disabInfoId 失能人员
id
* @return 失能信息详情
*/
@RequestMapping
(
"/disableExamineInfo"
)
public
Result
<
DisableExamineInfoVO
>
disableExamineInfo
(
String
apply
Id
)
{
DisableExamineInfoVO
disableExamineInfoVO
=
disableService
.
disableExamineInfo
(
apply
Id
);
public
Result
<
DisableExamineInfoVO
>
disableExamineInfo
(
String
disabInfo
Id
)
{
DisableExamineInfoVO
disableExamineInfoVO
=
disableService
.
disableExamineInfo
(
disabInfo
Id
);
return
Result
.
success
(
disableExamineInfoVO
);
}
...
...
apply/apply-service/src/main/java/com/hungraim/ltc/service/DisableService.java
View file @
ff83f8b8
...
...
@@ -25,10 +25,10 @@ public interface DisableService {
/**
* 失能审核信息详情
*
* @param
applyId 申请
id
* @param
disabInfoId 失能人员
id
* @return 失能审核信息详情
*/
DisableExamineInfoVO
disableExamineInfo
(
String
apply
Id
);
DisableExamineInfoVO
disableExamineInfo
(
String
disabInfo
Id
);
Result
addDisable
(
ChDisableApply
chDisableApply
);
...
...
apply/apply-service/src/main/java/com/hungraim/ltc/service/impl/DisableServiceImpl.java
View file @
ff83f8b8
...
...
@@ -101,23 +101,26 @@ public class DisableServiceImpl implements DisableService {
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Override
public
DisableExamineInfoVO
disableExamineInfo
(
String
applyId
)
{
DisableExamineInfoVO
disableExamineInfoVO
=
disableApplyMapper
.
selectDisableExamineInfoByApplyId
(
applyId
);
List
<
ExamineRecord
>
examineRecords
=
disableApplyMapper
.
listExamineRecordByApplyId
(
applyId
);
disableExamineInfoVO
.
setExamineRecords
(
examineRecords
);
try
{
// zhangch 20210525 新增返回对应的附件列表
Result
<
List
<
ChFndAttach
>>
listResult
=
attachFeignService
.
selectAttachs
(
Long
.
valueOf
(
applyId
),
AttachType
.
DISABLE
.
getUploadType
());
if
(
listResult
.
getCode
().
equals
(
ResultCode
.
SUCCESS
.
getCode
()))
{
disableExamineInfoVO
.
setFileDataList
(
listResult
.
getData
());
}
else
{
log
.
info
(
"请求获取附件列表错误:错误码{},错误信息:{}"
,
listResult
.
getCode
(),
listResult
.
getMsg
());
public
DisableExamineInfoVO
disableExamineInfo
(
String
disabInfoId
)
{
ChDisableInfo
chDisableInfo
=
disableInfoMapper
.
selectOne
(
new
LambdaQueryWrapper
<
ChDisableInfo
>().
eq
(
ChDisableInfo:
:
getDisabInfoId
,
disabInfoId
));
if
(
chDisableInfo
!=
null
)
{
DisableExamineInfoVO
disableExamineInfoVO
=
new
DisableExamineInfoVO
();
BeanUtils
.
copyProperties
(
chDisableInfo
,
disableExamineInfoVO
);
try
{
// TODO 需要确认信息表的附件类型
Result
<
List
<
ChFndAttach
>>
listResult
=
attachFeignService
.
selectAttachs
(
Long
.
valueOf
(
disabInfoId
),
AttachType
.
DISABLE
.
getUploadType
());
if
(
listResult
.
getCode
().
equals
(
ResultCode
.
SUCCESS
.
getCode
()))
{
disableExamineInfoVO
.
setFileDataList
(
listResult
.
getData
());
}
else
{
log
.
info
(
"请求获取附件列表错误:错误码{},错误信息:{}"
,
listResult
.
getCode
(),
listResult
.
getMsg
());
}
}
catch
(
Exception
e
)
{
log
.
error
(
e
.
getMessage
());
e
.
printStackTrace
();
}
}
catch
(
Exception
e
)
{
log
.
error
(
e
.
getMessage
());
e
.
printStackTrace
();
return
disableExamineInfoVO
;
}
return
disableExamineInfoVO
;
return
null
;
}
@Transactional
(
rollbackFor
=
Exception
.
class
)
...
...
common/common-core/src/main/java/com/hungraim/ltc/pojo/vo/disable/DisableExamineInfoVO.java
View file @
ff83f8b8
...
...
@@ -11,8 +11,10 @@ import java.util.List;
*/
@Data
public
class
DisableExamineInfoVO
{
// 失能人员id
private
Long
applyId
;
// 失能人员信息id
private
Integer
disabInfoId
;
// // 失能人员id
// private Long applyId;
//***失能人员个人信息
//机构
private
String
organId
;
...
...
@@ -60,24 +62,6 @@ public class DisableExamineInfoVO {
//现住址类型(0:接受评定地址;1:接受服务地址;2:其他)
private
Short
addressType
;
//***失能人员医疗及失能信息
//诊断疾病
private
String
disease
;
private
Integer
diseTypeF
;
private
Integer
diseTypeS
;
//申请服务方式
private
Integer
srvModeId
;
//病情描述及诊断
private
String
diseaseDesc
;
//社会保障卡号
private
String
medicalCard
;
//医保类型
private
String
medicalType
;
//意向服务机构
private
Long
srvOrganId
;
//意向服务机构执业许可证登记号
private
String
permitId
;
//***代办人信息
//姓名
private
String
operName
;
...
...
@@ -96,8 +80,6 @@ public class DisableExamineInfoVO {
private
String
operStreet
;
private
String
operAddress
;
//***审核记录
private
List
<
ExamineRecord
>
examineRecords
;
//***审核结果
//审核人
...
...
@@ -110,6 +92,6 @@ public class DisableExamineInfoVO {
private
String
reasonsReview
;
// 复评备注
private
String
reasonsRemark
;
// 附件列表
private
List
<
ChFndAttach
>
fileDataList
;
}
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