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
78da3a59
Commit
78da3a59
authored
Apr 14, 2021
by
zhangch
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://129.211.99.254:8088/hg-hubin/long-tern-care-service
parents
89995acc
deb53c80
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
16 deletions
+20
-16
ChDisableApplyMapper.xml
...ervice/src/main/resources/mapper/ChDisableApplyMapper.xml
+5
-5
ChDisableEvaluateMapper.xml
...ice/src/main/resources/mapper/ChDisableEvaluateMapper.xml
+15
-11
No files found.
apply/apply-service/src/main/resources/mapper/ChDisableApplyMapper.xml
View file @
78da3a59
...
@@ -6,9 +6,9 @@
...
@@ -6,9 +6,9 @@
select a.APPLY_ID applyId,
select a.APPLY_ID applyId,
o.ORGAN_NAME organName,
o.ORGAN_NAME organName,
a.organ_id organId,
a.organ_id organId,
a.DISTRICT_PROVINCIAL
provincial,
(select DISTRICT_NAME from CH_FND_DISTRICT dis where a.DISTRICT_PROVINCIAL = dis.DISTRICT_CODE)
provincial,
a.DISTRICT_CITY
city,
(select DISTRICT_NAME from CH_FND_DISTRICT dis where a.DISTRICT_CITY = dis.DISTRICT_CODE)
city,
a.DISTRICT_AREA
area,
(select DISTRICT_NAME from CH_FND_DISTRICT dis where a.DISTRICT_AREA = dis.DISTRICT_CODE)
area,
a.REAL_NAME name,
a.REAL_NAME name,
a.birthday birthday,
a.birthday birthday,
a.CERTI_CODE certiCode,
a.CERTI_CODE certiCode,
...
@@ -29,9 +29,9 @@
...
@@ -29,9 +29,9 @@
LEFT JOIN CH_SRV_ORGAN s ON a.SRV_ORGAN_ID = s.SRV_ORGAN_ID
LEFT JOIN CH_SRV_ORGAN s ON a.SRV_ORGAN_ID = s.SRV_ORGAN_ID
<where>
<where>
<if
test=
"organIds != null"
>
<if
test=
"organIds != null"
>
and
a.organ_id in
and a.organ_id in
<foreach
collection=
"organIds"
item=
"organId"
open=
"("
close=
")"
separator=
","
>
<foreach
collection=
"organIds"
item=
"organId"
open=
"("
close=
")"
separator=
","
>
#{organId}
#{organId}
</foreach>
</foreach>
</if>
</if>
<if
test=
"provincial != null and provincial != ''"
>
<if
test=
"provincial != null and provincial != ''"
>
...
...
assessment/assessment-service/src/main/resources/mapper/ChDisableEvaluateMapper.xml
View file @
78da3a59
...
@@ -8,19 +8,19 @@
...
@@ -8,19 +8,19 @@
task.apply_id applyId,
task.apply_id applyId,
organ.organ_name organName,
organ.organ_name organName,
task.apr_organ_id aprOrganId,
task.apr_organ_id aprOrganId,
task.district_provincial
districtProvincial,
(select DISTRICT_NAME from CH_FND_DISTRICT dis where task.DISTRICT_PROVINCIAL = dis.DISTRICT_CODE)
districtProvincial,
task.district_city
districPity,
(select DISTRICT_NAME from CH_FND_DISTRICT dis where task.DISTRICT_CITY = dis.DISTRICT_CODE)
districPity,
task.district_area
districtArea,
(select DISTRICT_NAME from CH_FND_DISTRICT dis where task.DISTRICT_AREA = dis.DISTRICT_CODE)
districtArea,
disable.real_name realName,
disable.real_name realName,
task.fcd fcd,
task.fcd fcd,
disable.certi_code certiCode,
disable.certi_code certiCode,
(select DISE_TYPE_CODE from CH_FND_DISEASE_TYPE where disable.DISE_TYPE_F = DISE_TYPE_ID) diseTypeF,
(select DISE_TYPE_CODE from CH_FND_DISEASE_TYPE where disable.DISE_TYPE_F = DISE_TYPE_ID) diseTypeF,
(select DISE_TYPE_CODE from CH_FND_DISEASE_TYPE where disable.DISE_TYPE_S = DISE_TYPE_ID) diseTypeS,
(select DISE_TYPE_CODE from CH_FND_DISEASE_TYPE where disable.DISE_TYPE_S = DISE_TYPE_ID) diseTypeS,
disable.tel tel,
disable.tel tel,
disable.ACPT_PROVINCIAL
acptProvincial,
(select DISTRICT_NAME from CH_FND_DISTRICT dis where disable.ACPT_PROVINCIAL = dis.DISTRICT_CODE)
acptProvincial,
disable.ACPT_CITY
acptCity,
(select DISTRICT_NAME from CH_FND_DISTRICT dis where disable.ACPT_CITY = dis.DISTRICT_CODE)
acptCity,
disable.ACPT_AREA
acptArea,
(select DISTRICT_NAME from CH_FND_DISTRICT dis where disable.ACPT_AREA = dis.DISTRICT_CODE)
acptArea,
disable.ACPT_STREET
acptStreet,
(select DISTRICT_NAME from CH_FND_STREET street where disable.ACPT_AREA = street.STREET_CODE)
acptStreet,
disable.end_time endTime,
disable.end_time endTime,
emp.real_name empRealName,
emp.real_name empRealName,
emp.tel emoTel,
emp.tel emoTel,
...
@@ -35,9 +35,10 @@
...
@@ -35,9 +35,10 @@
left join ch_disable_info disable on task.disable_info_id = disable.disab_info_id
left join ch_disable_info disable on task.disable_info_id = disable.disab_info_id
left join ch_apr_emp emp on task.apr_emp_id = emp.emp_id
left join ch_apr_emp emp on task.apr_emp_id = emp.emp_id
left join ch_apr_task_push push on task.task_id = push.task_id
left join ch_apr_task_push push on task.task_id = push.task_id
left join ch_apr_task_emp cate on task.task_id = cate.task_id
<where>
<where>
<if
test=
"organIds != null"
>
<if
test=
"organIds != null"
>
and
task.apr_organ_id in
and task.apr_organ_id in
<foreach
collection=
"organIds"
item=
"organId"
open=
"("
close=
")"
separator=
","
>
<foreach
collection=
"organIds"
item=
"organId"
open=
"("
close=
")"
separator=
","
>
#{organId}
#{organId}
</foreach>
</foreach>
...
@@ -67,13 +68,16 @@
...
@@ -67,13 +68,16 @@
and emp.tel = #{taskTel}
and emp.tel = #{taskTel}
</if>
</if>
<if
test=
"daysRemaining != null and daysRemaining != ''"
>
<if
test=
"daysRemaining != null and daysRemaining != ''"
>
#and s.SRV_ORGAN_NAME = #{taskName
}
and (to_date(to_char(task.last_apr_date,'yyyy-MM-dd'),'yyyy-MM-dd') - to_date(to_char(sysdate,'yyyy-MM-dd'),'yyyy-MM-dd')) + 1
<
= #{daysRemaining
}
</if>
</if>
<if
test=
"status != null and status != ''"
>
<if
test=
"status != null and status != ''"
>
and task.TASK_STATUS = #{status}
and task.TASK_STATUS = #{status}
</if>
</if>
<if
test=
"isReturn != null and isReturn != ''"
>
<if
test=
"isReturn != null and isReturn == '0'"
>
#and s.SRV_ORGAN_NAME = #{taskName}
and cate.is_valid = 1 and task.task_status in (0,4,5)
</if>
<if
test=
"isReturn != null and isReturn == '1'"
>
(and cate.is_valid = 0 or cate.is_valid is null)
</if>
</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