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
49abf715
Commit
49abf715
authored
Sep 06, 2021
by
wzs162
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
失能人员信息变更-查看/修改
parent
0c190e52
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
33 additions
and
14 deletions
+33
-14
DisableController.java
...n/java/com/hungraim/ltc/controller/DisableController.java
+13
-10
ChDisableInfoChangeMapper.java
.../java/com/hungraim/ltc/dao/ChDisableInfoChangeMapper.java
+1
-1
DisableService.java
...rc/main/java/com/hungraim/ltc/service/DisableService.java
+6
-1
DisableServiceImpl.java
...ava/com/hungraim/ltc/service/impl/DisableServiceImpl.java
+10
-2
DisableInfoChangeMapper.xml
...ice/src/main/resources/mapper/DisableInfoChangeMapper.xml
+3
-0
No files found.
apply/apply-service/src/main/java/com/hungraim/ltc/controller/DisableController.java
View file @
49abf715
...
@@ -9,10 +9,7 @@ import com.hungraim.ltc.util.Result;
...
@@ -9,10 +9,7 @@ import com.hungraim.ltc.util.Result;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.apache.commons.lang.StringUtils
;
import
org.apache.commons.lang.StringUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestParam
;
import
org.springframework.web.bind.annotation.RestController
;
import
java.util.List
;
import
java.util.List
;
...
@@ -350,9 +347,9 @@ public class DisableController {
...
@@ -350,9 +347,9 @@ public class DisableController {
*/
*/
@PostMapping
(
"/listDisInfoChangeExamine"
)
@PostMapping
(
"/listDisInfoChangeExamine"
)
public
Result
<
List
<
DisableInfoChangeVo
>>
getListDisInfoChangeExamine
(
String
organId
,
String
districtProvince
,
boolean
ishasLowOrgan
public
Result
<
List
<
DisableInfoChangeVo
>>
getListDisInfoChangeExamine
(
String
organId
,
String
districtProvince
,
boolean
ishasLowOrgan
,
String
districtCity
,
String
districtArea
,
String
realName
,
String
certifNum
,
String
aplOrganId
){
,
String
districtCity
,
String
districtArea
,
String
realName
,
String
certifNum
,
String
aplOrganId
,
Short
applyStatus
){
return
Result
.
success
(
disableService
.
ListDisInfoChangeExamine
(
organId
,
districtProvince
,
ishasLowOrgan
return
Result
.
success
(
disableService
.
ListDisInfoChangeExamine
(
organId
,
districtProvince
,
ishasLowOrgan
,
districtCity
,
districtArea
,
realName
,
certifNum
,
aplOrganId
));
,
districtCity
,
districtArea
,
realName
,
certifNum
,
aplOrganId
,
applyStatus
));
}
}
/**
/**
...
@@ -364,10 +361,16 @@ public class DisableController {
...
@@ -364,10 +361,16 @@ public class DisableController {
disableService
.
DisableInfoChangeExamine
(
changeId
,
checkName
,
applyStatus
,
checkRemark
);
disableService
.
DisableInfoChangeExamine
(
changeId
,
checkName
,
applyStatus
,
checkRemark
);
}
}
/**
/**
* 失能人员信息变更-列表
* 失能人员信息变更-列表-查看修改
*/
* 通过身份证搜索
/**
* 失能人员信息变更-查看修改详情页
*/
*/
@GetMapping
(
"/searchByCertifNum"
)
public
Result
<
ChDisableInfo
>
searchByCertifNum
(
String
certifNum
){
ChDisableInfo
chDisableInfo
=
disableService
.
searchChangeByCertifNum
(
certifNum
);
if
(
chDisableInfo
!=
null
){
return
Result
.
success
(
chDisableInfo
);
}
return
Result
.
failed
(
"数据不一致"
);
}
}
}
apply/apply-service/src/main/java/com/hungraim/ltc/dao/ChDisableInfoChangeMapper.java
View file @
49abf715
...
@@ -11,5 +11,5 @@ public interface ChDisableInfoChangeMapper extends BaseMapper<ChDisableInfoChang
...
@@ -11,5 +11,5 @@ public interface ChDisableInfoChangeMapper extends BaseMapper<ChDisableInfoChang
* 失能人员信息变更-审核列表
* 失能人员信息变更-审核列表
*/
*/
List
<
DisableInfoChangeVo
>
getListDisableInfoChange
(
String
organId
,
String
districtProvince
,
boolean
ishasLowOrgan
List
<
DisableInfoChangeVo
>
getListDisableInfoChange
(
String
organId
,
String
districtProvince
,
boolean
ishasLowOrgan
,
String
districtCity
,
String
districtArea
,
String
realName
,
String
certifNum
,
String
aplOrganId
);
,
String
districtCity
,
String
districtArea
,
String
realName
,
String
certifNum
,
String
aplOrganId
,
Short
applyStatus
);
}
}
apply/apply-service/src/main/java/com/hungraim/ltc/service/DisableService.java
View file @
49abf715
...
@@ -113,5 +113,10 @@ public interface DisableService {
...
@@ -113,5 +113,10 @@ public interface DisableService {
* 失能人员信息变更-审核列表
* 失能人员信息变更-审核列表
*/
*/
List
<
DisableInfoChangeVo
>
ListDisInfoChangeExamine
(
String
organId
,
String
districtProvince
,
boolean
ishasLowOrgan
List
<
DisableInfoChangeVo
>
ListDisInfoChangeExamine
(
String
organId
,
String
districtProvince
,
boolean
ishasLowOrgan
,
String
districtCity
,
String
districtArea
,
String
realName
,
String
certifNum
,
String
aplOrganId
);
,
String
districtCity
,
String
districtArea
,
String
realName
,
String
certifNum
,
String
aplOrganId
,
Short
applyStatus
);
/**
* 失能人员信息变更-查看修改
*/
ChDisableInfo
searchChangeByCertifNum
(
String
certifNum
);
}
}
apply/apply-service/src/main/java/com/hungraim/ltc/service/impl/DisableServiceImpl.java
View file @
49abf715
...
@@ -370,9 +370,16 @@ public class DisableServiceImpl implements DisableService {
...
@@ -370,9 +370,16 @@ public class DisableServiceImpl implements DisableService {
@Override
@Override
public
List
<
DisableInfoChangeVo
>
ListDisInfoChangeExamine
(
String
organId
,
String
districtProvince
,
boolean
ishasLowOrgan
public
List
<
DisableInfoChangeVo
>
ListDisInfoChangeExamine
(
String
organId
,
String
districtProvince
,
boolean
ishasLowOrgan
,
String
districtCity
,
String
districtArea
,
String
realName
,
String
certifNum
,
String
aplOrganId
)
{
,
String
districtCity
,
String
districtArea
,
String
realName
,
String
certifNum
,
String
aplOrganId
,
Short
applyStatus
)
{
List
<
DisableInfoChangeVo
>
listDisableInfoChange
=
chDisableInfoChangeMapper
.
getListDisableInfoChange
(
organId
,
districtProvince
,
ishasLowOrgan
List
<
DisableInfoChangeVo
>
listDisableInfoChange
=
chDisableInfoChangeMapper
.
getListDisableInfoChange
(
organId
,
districtProvince
,
ishasLowOrgan
,
districtCity
,
districtArea
,
realName
,
certifNum
,
aplOrganId
);
,
districtCity
,
districtArea
,
realName
,
certifNum
,
aplOrganId
,
applyStatus
);
return
listDisableInfoChange
;
return
listDisableInfoChange
;
}
}
@Override
public
ChDisableInfo
searchChangeByCertifNum
(
String
certifNum
)
{
return
disableInfoMapper
.
selectOne
(
new
LambdaQueryWrapper
<
ChDisableInfo
>().
eq
(
ChDisableInfo:
:
getCertiCode
,
certifNum
));
}
}
}
\ No newline at end of file
apply/apply-service/src/main/resources/mapper/DisableInfoChangeMapper.xml
View file @
49abf715
...
@@ -45,6 +45,9 @@
...
@@ -45,6 +45,9 @@
<if
test=
"aplOrganId != null and aplOrganId != ''"
>
<if
test=
"aplOrganId != null and aplOrganId != ''"
>
and change.APL_ORGAN_ID = #{aplOrganId}
and change.APL_ORGAN_ID = #{aplOrganId}
</if>
</if>
<if
test=
"applyStatus != null and applyStatus != ''"
>
and change.APPLY_STATUS = #{applyStatus}
</if>
</where>
</where>
</select>
</select>
...
...
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