Commit fb468ac3 authored by 蔡镇泽's avatar 蔡镇泽

评定列表

parent 4f24dab8
......@@ -22,15 +22,14 @@ public interface DisableApplyMapper extends BaseMapper<ChDisableApply> {
/**
* 查询待遇申请管理列表
*
* @param organIds 机构代码集合
* @param isIncludeSubsidiaries 是否包含子机构 0包含,1不包含
* @param provincial 省
* @param city 市
* @param area 区
* @param name 参保人员姓名
* @param certiCode 参保人身份证号码
* @param dataFrom 申请来源
* @param srvOrganName 护理机构
* @param organIds 机构代码集合
* @param provincial 省
* @param city 市
* @param area 区
* @param name 参保人员姓名
* @param certiCode 参保人身份证号码
* @param dataFrom 申请来源
* @param srvOrganName 护理机构
*/
Page<DisableVO> disableList(Page<DisableVO> page, List<String> organIds, String provincial,
String city, String area, String name, String certiCode,
......
......@@ -20,7 +20,7 @@
(select DISTRICT_NAME from CH_FND_DISTRICT dis where disable.ACPT_PROVINCIAL = dis.DISTRICT_CODE) acptProvincial,
(select DISTRICT_NAME from CH_FND_DISTRICT dis where disable.ACPT_CITY = dis.DISTRICT_CODE) acptCity,
(select DISTRICT_NAME from CH_FND_DISTRICT dis where disable.ACPT_AREA = dis.DISTRICT_CODE) acptArea,
(select DISTRICT_NAME from CH_FND_STREET street where disable.ACPT_AREA = street.STREET_CODE) acptStreet,
(select STREET_NAME from CH_FND_STREET street where disable.ACPT_AREA = street.STREET_CODE) acptStreet,
disable.end_time endTime,
emp.real_name empRealName,
emp.tel empTel,
......@@ -83,22 +83,22 @@
</select>
<select id="taskReportList" resultType="com.hungraim.ltc.pojo.vo.assessment.TaskReportVO">
SELECT report.REPORT_ID reportId,
task.APR_ORGAN_ID organId,
organ.ORGAN_NAME organName,
(SELECT DISTRICT_NAME FROM CH_FND_DISTRICT dis WHERE task.DISTRICT_PROVINCIAL = dis.DISTRICT_CODE) districtProvincial,
(SELECT DISTRICT_NAME FROM CH_FND_DISTRICT dis WHERE task.DISTRICT_CITY = dis.DISTRICT_CODE) districPity,
(SELECT DISTRICT_NAME FROM CH_FND_DISTRICT dis WHERE task.DISTRICT_AREA = dis.DISTRICT_CODE) districtArea,
info.REAL_NAME realName,
info.CERTI_CODE certiCode,
(SELECT DISE_TYPE_CODE FROM CH_FND_DISEASE_TYPE WHERE info.DISE_TYPE_F = DISE_TYPE_ID) diseTypeF,
(SELECT DISE_TYPE_CODE FROM CH_FND_DISEASE_TYPE WHERE info.DISE_TYPE_S = DISE_TYPE_ID) diseTypeS,
info.tel tel,
(SELECT DISTRICT_NAME FROM CH_FND_DISTRICT dis WHERE info.ACPT_PROVINCIAL = dis.DISTRICT_CODE) acptProvincial,
(SELECT DISTRICT_NAME FROM CH_FND_DISTRICT dis WHERE info.ACPT_CITY = dis.DISTRICT_CODE) acptCity,
(SELECT DISTRICT_NAME FROM CH_FND_DISTRICT dis WHERE info.ACPT_AREA = dis.DISTRICT_CODE) acptArea,
lev.RISK_LEVEL riskLevel,
report.EFF_TIME effTime
SELECT report.REPORT_ID reportId,
task.APR_ORGAN_ID organId,
organ.ORGAN_NAME organName,
(SELECT dis.DISTRICT_NAME FROM CH_FND_DISTRICT dis WHERE task.DISTRICT_PROVINCIAL = dis.DISTRICT_CODE) districtProvincial,
(SELECT dis.DISTRICT_NAME FROM CH_FND_DISTRICT dis WHERE task.DISTRICT_CITY = dis.DISTRICT_CODE) districPity,
(SELECT dis.DISTRICT_NAME FROM CH_FND_DISTRICT dis WHERE task.DISTRICT_AREA = dis.DISTRICT_CODE) districtArea,
info.REAL_NAME realName,
info.CERTI_CODE certiCode,
(SELECT DISE_TYPE_CODE FROM CH_FND_DISEASE_TYPE WHERE info.DISE_TYPE_F = DISE_TYPE_ID) diseTypeF,
(SELECT DISE_TYPE_CODE FROM CH_FND_DISEASE_TYPE WHERE info.DISE_TYPE_S = DISE_TYPE_ID) diseTypeS,
info.tel tel,
(SELECT dis.DISTRICT_NAME FROM CH_FND_DISTRICT dis WHERE info.ACPT_PROVINCIAL = dis.DISTRICT_CODE) acptProvincial,
(SELECT dis.DISTRICT_NAME FROM CH_FND_DISTRICT dis WHERE info.ACPT_CITY = dis.DISTRICT_CODE) acptCity,
(SELECT dis.DISTRICT_NAME FROM CH_FND_DISTRICT dis WHERE info.ACPT_AREA = dis.DISTRICT_CODE) acptArea,
lev.RISK_LEVEL riskLevel,
report.EFF_TIME effTime
FROM ch_apr_report report
LEFT JOIN CH_APR_TASK task ON report.TASK_ID = task.TASK_ID
LEFT JOIN CH_DISABLE_INFO info ON task.disable_info_id = info.disab_info_id
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment