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
a2b017a6
Commit
a2b017a6
authored
Apr 09, 2021
by
蔡镇泽
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
失能人员信息列表省市区、机构
parent
5cde5d64
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
16 additions
and
7 deletions
+16
-7
DisableController.java
...n/java/com/hungraim/ism/controller/DisableController.java
+3
-2
DisableApplyMapper.java
...rc/main/java/com/hungraim/ism/dao/DisableApplyMapper.java
+2
-1
DisableService.java
...rc/main/java/com/hungraim/ism/service/DisableService.java
+2
-1
DisableServiceImpl.java
...ava/com/hungraim/ism/service/impl/DisableServiceImpl.java
+2
-2
ChDisableApplyMapper.xml
...ervice/src/main/resources/mapper/ChDisableApplyMapper.xml
+7
-1
No files found.
apply/apply-service/src/main/java/com/hungraim/ism/controller/DisableController.java
View file @
a2b017a6
...
@@ -54,6 +54,7 @@ public class DisableController {
...
@@ -54,6 +54,7 @@ public class DisableController {
* 失能人员信息列表
* 失能人员信息列表
*
*
* @param organId 适用机构代码
* @param organId 适用机构代码
* @param isIncludeSubsidiaries 是否包含子机构 0包含,1不包含
* @param districtProvincial 所在省
* @param districtProvincial 所在省
* @param districtCity 所在市
* @param districtCity 所在市
* @param districtArea 所在区域
* @param districtArea 所在区域
...
@@ -66,11 +67,11 @@ public class DisableController {
...
@@ -66,11 +67,11 @@ public class DisableController {
* @return 失能人员信息列表
* @return 失能人员信息列表
*/
*/
@RequestMapping
(
"/disableList"
)
@RequestMapping
(
"/disableList"
)
public
Result
<
List
<
DisableVO
>>
disableList
(
String
organId
,
String
districtProvincial
,
public
Result
<
List
<
DisableVO
>>
disableList
(
String
organId
,
String
districtProvincial
,
String
isIncludeSubsidiaries
,
String
districtCity
,
String
districtArea
,
String
districtCity
,
String
districtArea
,
String
realName
,
String
certiCode
,
String
dataFrom
,
String
realName
,
String
certiCode
,
String
dataFrom
,
String
srvOrganId
,
int
pageNum
,
int
pageSize
)
{
String
srvOrganId
,
int
pageNum
,
int
pageSize
)
{
IPage
<
DisableVO
>
iPage
=
disableService
.
disableList
(
organId
,
districtProvincial
,
IPage
<
DisableVO
>
iPage
=
disableService
.
disableList
(
organId
,
isIncludeSubsidiaries
,
districtProvincial
,
districtCity
,
districtArea
,
realName
,
certiCode
,
dataFrom
,
srvOrganId
,
pageNum
,
pageSize
);
districtCity
,
districtArea
,
realName
,
certiCode
,
dataFrom
,
srvOrganId
,
pageNum
,
pageSize
);
return
Result
.
success
(
iPage
.
getRecords
());
return
Result
.
success
(
iPage
.
getRecords
());
}
}
...
...
apply/apply-service/src/main/java/com/hungraim/ism/dao/DisableApplyMapper.java
View file @
a2b017a6
...
@@ -23,6 +23,7 @@ public interface DisableApplyMapper extends BaseMapper<ChDisableApply> {
...
@@ -23,6 +23,7 @@ public interface DisableApplyMapper extends BaseMapper<ChDisableApply> {
* 查询待遇申请管理列表
* 查询待遇申请管理列表
*
*
* @param organId 机构代码
* @param organId 机构代码
* @param isIncludeSubsidiaries 是否包含子机构 0包含,1不包含
* @param provincial 省
* @param provincial 省
* @param city 市
* @param city 市
* @param area 区
* @param area 区
...
@@ -31,7 +32,7 @@ public interface DisableApplyMapper extends BaseMapper<ChDisableApply> {
...
@@ -31,7 +32,7 @@ public interface DisableApplyMapper extends BaseMapper<ChDisableApply> {
* @param dataFrom 申请来源
* @param dataFrom 申请来源
* @param srvOrganId 护理机构
* @param srvOrganId 护理机构
*/
*/
Page
<
DisableVO
>
disableList
(
Page
<
DisableVO
>
page
,
String
organId
,
String
provincial
,
Page
<
DisableVO
>
disableList
(
Page
<
DisableVO
>
page
,
String
organId
,
String
isIncludeSubsidiaries
,
String
provincial
,
String
city
,
String
area
,
String
name
,
String
certiCode
,
String
city
,
String
area
,
String
name
,
String
certiCode
,
String
dataFrom
,
String
srvOrganId
);
String
dataFrom
,
String
srvOrganId
);
...
...
apply/apply-service/src/main/java/com/hungraim/ism/service/DisableService.java
View file @
a2b017a6
...
@@ -22,6 +22,7 @@ public interface DisableService {
...
@@ -22,6 +22,7 @@ public interface DisableService {
* 查询所有资源对应的角色
* 查询所有资源对应的角色
*
*
* @param organId 适用机构代码
* @param organId 适用机构代码
* @param isIncludeSubsidiaries 是否包含子机构 0包含,1不包含
* @param districtProvincial 所在省
* @param districtProvincial 所在省
* @param districtCity 所在市
* @param districtCity 所在市
* @param districtArea 所在区域
* @param districtArea 所在区域
...
@@ -33,7 +34,7 @@ public interface DisableService {
...
@@ -33,7 +34,7 @@ public interface DisableService {
* @param pageSize 每页几条数据
* @param pageSize 每页几条数据
* @return list
* @return list
*/
*/
Page
<
DisableVO
>
disableList
(
String
organId
,
String
districtProvincial
,
String
districtCity
,
Page
<
DisableVO
>
disableList
(
String
organId
,
String
isIncludeSubsidiaries
,
String
districtProvincial
,
String
districtCity
,
String
districtArea
,
String
realName
,
String
certiCode
,
String
dataFrom
,
String
districtArea
,
String
realName
,
String
certiCode
,
String
dataFrom
,
String
srvOrganId
,
int
pageNum
,
int
pageSize
);
String
srvOrganId
,
int
pageNum
,
int
pageSize
);
...
...
apply/apply-service/src/main/java/com/hungraim/ism/service/impl/DisableServiceImpl.java
View file @
a2b017a6
...
@@ -33,10 +33,10 @@ public class DisableServiceImpl implements DisableService {
...
@@ -33,10 +33,10 @@ public class DisableServiceImpl implements DisableService {
private
FndStreetMapper
fndStreetMapper
;
private
FndStreetMapper
fndStreetMapper
;
@Override
@Override
public
Page
<
DisableVO
>
disableList
(
String
organId
,
String
districtProvincial
,
String
districtCity
,
public
Page
<
DisableVO
>
disableList
(
String
organId
,
String
isIncludeSubsidiaries
,
String
districtProvincial
,
String
districtCity
,
String
districtArea
,
String
realName
,
String
certiCode
,
String
dataFrom
,
String
districtArea
,
String
realName
,
String
certiCode
,
String
dataFrom
,
String
srvOrganId
,
int
page
,
int
pageSize
)
{
String
srvOrganId
,
int
page
,
int
pageSize
)
{
return
disableApplyMapper
.
disableList
(
new
Page
<>(
page
,
pageSize
),
organId
,
districtProvincial
,
return
disableApplyMapper
.
disableList
(
new
Page
<>(
page
,
pageSize
),
organId
,
isIncludeSubsidiaries
,
districtProvincial
,
districtCity
,
districtArea
,
realName
,
certiCode
,
dataFrom
,
srvOrganId
);
districtCity
,
districtArea
,
realName
,
certiCode
,
dataFrom
,
srvOrganId
);
}
}
...
...
apply/apply-service/src/main/resources/mapper/ChDisableApplyMapper.xml
View file @
a2b017a6
...
@@ -21,11 +21,17 @@
...
@@ -21,11 +21,17 @@
a.eff_time effTime,
a.eff_time effTime,
a.data_from dataFrom,
a.data_from dataFrom,
a.ADRESS_DETAIL adressDetail
a.ADRESS_DETAIL adressDetail
from CH_DISABLE_APPLY a,CH_
SRV
_ORGAN o
from CH_DISABLE_APPLY a,CH_
FND
_ORGAN o
where a.organ_id = o.ORGAN_ID
where a.organ_id = o.ORGAN_ID
<if
test=
"organId != null and organId != ''"
>
<if
test=
"organId != null and organId != ''"
>
<if
test=
"isIncludeSubsidiaries == '0'"
>
and a.organ_id in (select organ_id form CH_FND_ORGAN where PARENT_ID = #{organId})
</if>
<if
test=
"isIncludeSubsidiaries != '0'"
>
and a.organ_id = #{organId}
and a.organ_id = #{organId}
</if>
</if>
</if>
<if
test=
"provincial != null and provincial != ''"
>
<if
test=
"provincial != null and provincial != ''"
>
and a.DISTRICT_PROVINCIAL = #{provincial}
and a.DISTRICT_PROVINCIAL = #{provincial}
</if>
</if>
...
...
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