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
9ddfcbac
Commit
9ddfcbac
authored
Apr 09, 2021
by
zhangch
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
查询筛选条件护理机构变更
parent
a6f26dce
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
9 deletions
+10
-9
DisableController.java
...n/java/com/hungraim/ism/controller/DisableController.java
+2
-2
DisableApplyMapper.java
...rc/main/java/com/hungraim/ism/dao/DisableApplyMapper.java
+2
-2
DisableServiceImpl.java
...ava/com/hungraim/ism/service/impl/DisableServiceImpl.java
+2
-2
ChDisableApplyMapper.xml
...ervice/src/main/resources/mapper/ChDisableApplyMapper.xml
+4
-3
No files found.
apply/apply-service/src/main/java/com/hungraim/ism/controller/DisableController.java
View file @
9ddfcbac
...
...
@@ -70,9 +70,9 @@ public class DisableController {
public
Result
<
List
<
DisableVO
>>
disableList
(
String
organId
,
String
districtProvincial
,
String
isIncludeSubsidiaries
,
String
districtCity
,
String
districtArea
,
String
realName
,
String
certiCode
,
String
dataFrom
,
String
srvOrgan
Id
,
int
pageNum
,
int
pageSize
)
{
String
srvOrgan
Name
,
int
pageNum
,
int
pageSize
)
{
IPage
<
DisableVO
>
iPage
=
disableService
.
disableList
(
organId
,
isIncludeSubsidiaries
,
districtProvincial
,
districtCity
,
districtArea
,
realName
,
certiCode
,
dataFrom
,
srvOrgan
Id
,
pageNum
,
pageSize
);
districtCity
,
districtArea
,
realName
,
certiCode
,
dataFrom
,
srvOrgan
Name
,
pageNum
,
pageSize
);
return
Result
.
success
(
iPage
.
getRecords
());
}
...
...
apply/apply-service/src/main/java/com/hungraim/ism/dao/DisableApplyMapper.java
View file @
9ddfcbac
...
...
@@ -30,11 +30,11 @@ public interface DisableApplyMapper extends BaseMapper<ChDisableApply> {
* @param name 参保人员姓名
* @param certiCode 参保人身份证号码
* @param dataFrom 申请来源
* @param srvOrgan
Id
护理机构
* @param srvOrgan
Name
护理机构
*/
Page
<
DisableVO
>
disableList
(
Page
<
DisableVO
>
page
,
List
<
String
>
organIds
,
String
isIncludeSubsidiaries
,
String
provincial
,
String
city
,
String
area
,
String
name
,
String
certiCode
,
String
dataFrom
,
String
srvOrgan
Id
);
String
dataFrom
,
String
srvOrgan
Name
);
DisableExamineInfoVO
selectDisableExamineInfoByApplyId
(
String
applyId
);
...
...
apply/apply-service/src/main/java/com/hungraim/ism/service/impl/DisableServiceImpl.java
View file @
9ddfcbac
...
...
@@ -59,7 +59,7 @@ public class DisableServiceImpl implements DisableService {
@Override
public
Page
<
DisableVO
>
disableList
(
String
organId
,
String
isIncludeSubsidiaries
,
String
districtProvincial
,
String
districtCity
,
String
districtArea
,
String
realName
,
String
certiCode
,
String
dataFrom
,
String
srvOrgan
Id
,
int
page
,
int
pageSize
)
{
String
srvOrgan
Name
,
int
page
,
int
pageSize
)
{
// 没有organId参数的时候,这个集合就为null
List
<
String
>
organIds
=
null
;
if
(
StrUtil
.
isNotBlank
(
organId
))
{
...
...
@@ -89,7 +89,7 @@ public class DisableServiceImpl implements DisableService {
}
}
return
disableApplyMapper
.
disableList
(
new
Page
<>(
page
,
pageSize
),
organIds
,
isIncludeSubsidiaries
,
districtProvincial
,
districtCity
,
districtArea
,
realName
,
certiCode
,
dataFrom
,
srvOrgan
Id
);
districtCity
,
districtArea
,
realName
,
certiCode
,
dataFrom
,
srvOrgan
Name
);
}
@Override
...
...
apply/apply-service/src/main/resources/mapper/ChDisableApplyMapper.xml
View file @
9ddfcbac
...
...
@@ -26,6 +26,7 @@
from CH_DISABLE_APPLY a
LEFT JOIN CH_FND_ORGAN o ON a.organ_id = o.ORGAN_ID
LEFT JOIN CH_FND_SRV_MODE m ON a.srv_mode_id = m.SRV_MODE_ID
LEFT JOIN CH_SRV_ORGAN s ON a.SRV_ORGAN_ID = s.SRV_ORGAN_ID
<where>
<if
test=
"organIds != null"
>
and a.organ_id in
...
...
@@ -43,7 +44,7 @@
and a.DISTRICT_AREA = #{area}
</if>
<if
test=
"name != null and name != ''"
>
and a.REAL_NAME like CONCAT(
'%',#{name}
,'%')
and a.REAL_NAME like CONCAT(
CONCAT('%',#{name})
,'%')
</if>
<if
test=
"certiCode != null and certiCode != ''"
>
and a.CERTI_CODE = #{certiCode}
...
...
@@ -51,8 +52,8 @@
<if
test=
"dataFrom != null and dataFrom != ''"
>
and a.DATA_FROM = #{dataFrom}
</if>
<if
test=
"srvOrgan
Id != null and srvOrganId
!= ''"
>
and
a.srvOrganId = #{srvOrganId}
<if
test=
"srvOrgan
Name != null and srvOrganName
!= ''"
>
and
s.SRV_ORGAN_NAME like CONCAT(CONCAT('%',#{srvOrganName}) ,'%')
</if>
</where>
</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