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

失能人员信息列表省市区、机构

parent fdf3a7c2
...@@ -37,7 +37,7 @@ public interface DisableApplyMapper extends BaseMapper<ChDisableApply> { ...@@ -37,7 +37,7 @@ public interface DisableApplyMapper extends BaseMapper<ChDisableApply> {
String dataFrom, String srvOrganId); String dataFrom, String srvOrganId);
DisableExamineInfoVO selectDisableExamineInfoByApplyId(String applyHisId); DisableExamineInfoVO selectDisableExamineInfoByApplyId(String applyId);
List<ExamineRecord> listExamineRecordByApplyId(String applyHisId); List<ExamineRecord> listExamineRecordByApplyId(String applyHisId);
} }
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<select id="disableList" resultType="com.hungraim.ism.pojo.vo.disable.DisableVO"> <select id="disableList" resultType="com.hungraim.ism.pojo.vo.disable.DisableVO">
select a.APPLY_ID applyId, select a.APPLY_ID applyId,
o.SRV_ORGAN_NAME organName, o.ORGAN_NAME organName,
a.organ_id organId, a.organ_id organId,
a.DISTRICT_PROVINCIAL provincial, a.DISTRICT_PROVINCIAL provincial,
a.DISTRICT_CITY city, a.DISTRICT_CITY city,
...@@ -89,27 +89,27 @@ ...@@ -89,27 +89,27 @@
a.APPLY_METHOD applyMethod, a.APPLY_METHOD applyMethod,
a.DISEASE_DESC diseaseDesc, a.DISEASE_DESC diseaseDesc,
a.MEDICAL_CARD medicalCard, a.MEDICAL_CARD medicalCard,
a.MEDICAL_TYPE medicalType, a.MEDICAL_TYPE medicalType,
a.SRV_ORGAN_ID srvOrganId, a.SRV_ORGAN_ID srvOrganId,
o.PERMIT_ID permitId, o.PERMIT_ID permitId,
a.OPER_NAME operName, a.OPER_NAME operName,
a.OPER_CERTI_CODE operCertiCode, a.OPER_CERTI_CODE operCertiCode,
a.OPER_TEL operTel, a.OPER_TEL operTel,
a.OPER_RELATION operRelation, a.OPER_RELATION operRelation,
a.OPER_FIXED_TEL operFixedTel, a.OPER_FIXED_TEL operFixedTel,
a.OPER_DISTRICT_PROVINCE operDistrictProvince, a.OPER_DISTRICT_PROVINCE operDistrictProvince,
a.OPER_DISTRICT_CITY operDistrictCity, a.OPER_DISTRICT_CITY operDistrictCity,
a.OPER_DISTRICT_CODE operDistrictCode, a.OPER_DISTRICT_CODE operDistrictCode,
a.OPER_STREET operStreet, a.OPER_STREET operStreet,
a.OPER_ADDRESS operAddress, a.OPER_ADDRESS operAddress,
a.CHECK_NAME checkName, a.CHECK_NAME checkName,
a.APPLY_STATUS applyStatus, a.APPLY_STATUS applyStatus,
a.CHECK_REMARK checkRemark a.CHECK_REMARK checkRemark
from CH_DISABLE_APPLY a, from CH_DISABLE_APPLY a,
CH_SRV_ORGAN o CH_SRV_ORGAN o
where a.APPLY_ID = #{applyHisId} where a.APPLY_ID = #{applyId}
and a.SRV_ORGAN_ID = o.organ_code and a.SRV_ORGAN_ID = o.organ_code
</select> </select>
......
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
<select id="disableEvaluateList" resultType="com.hungraim.ism.pojo.vo.disable.DisableEvaluateVO"> <select id="disableEvaluateList" resultType="com.hungraim.ism.pojo.vo.disable.DisableEvaluateVO">
select e.evaluate_id evaluateId, select e.evaluate_id evaluateId,
o.SRV_ORGAN_NAME organName, o.ORGAN_NAME organName,
e.organ_id organId, e.organ_id organId,
e.PROVINCE_CODE provincial, e.PROVINCE_CODE provincial,
e.CITY_CODE city, e.CITY_CODE city,
...@@ -33,28 +33,28 @@ ...@@ -33,28 +33,28 @@
</select> </select>
<select id="selectDisableEvaluateInfoByEvaluateId" resultType="com.hungraim.ism.pojo.vo.disable.DisableEvaluateInfoVO"> <select id="selectDisableEvaluateInfoByEvaluateId" resultType="com.hungraim.ism.pojo.vo.disable.DisableEvaluateInfoVO">
select a.organ_id organId, select a.organ_id organId,
(select o1.organ_name from CH_SRV_ORGAN o1 where a.organ_id = o1.organ_code) organName, (select o1.organ_name from CH_FND_ORGAN o1 where a.organ_id = o1.organ_id) organName,
a.DISTRICT_PROVINCIAL provincial, a.DISTRICT_PROVINCIAL provincial,
a.DISTRICT_CITY city, a.DISTRICT_CITY city,
a.DISTRICT_AREA area, a.DISTRICT_AREA area,
a.REAL_NAME name, a.REAL_NAME name,
a.CERTI_CODE certiCode, a.CERTI_CODE certiCode,
a.BIRTHDAY birthday, a.BIRTHDAY birthday,
a.GENDER gender, a.GENDER gender,
a.TEL tel, a.TEL tel,
a.REGIST regist, a.REGIST regist,
a.FIXED_TEL fixedTel, a.FIXED_TEL fixedTel,
a.TREATMENT_TYPE treatmentType, a.TREATMENT_TYPE treatmentType,
a.ACPT_PROVINCIAL acptProvincial, a.ACPT_PROVINCIAL acptProvincial,
a.ACPT_CITY acptCity, a.ACPT_CITY acptCity,
a.ACPT_AREA acptArea, a.ACPT_AREA acptArea,
a.ACPT_STREET acptStreet, a.ACPT_STREET acptStreet,
a.ACPT_ADDRESS acptAddress, a.ACPT_ADDRESS acptAddress,
a.ACPT_SRV_PROVINCIAL acptSrvProvincial, a.ACPT_SRV_PROVINCIAL acptSrvProvincial,
a.ACPT_SRV_CITY acptSrvCity, a.ACPT_SRV_CITY acptSrvCity,
a.ACPT_SRV_AREA acptSrvArea, a.ACPT_SRV_AREA acptSrvArea,
a.ACPT_SRV_STREET acptSrvStreet, a.ACPT_SRV_STREET acptSrvStreet,
a.ACPT_SRV_ROAD_DETAIL acptSrvRoadDetail, a.ACPT_SRV_ROAD_DETAIL acptSrvRoadDetail,
a.ADRESS_DISTRICT_PROVINCIAL adressDistrictProvincial, a.ADRESS_DISTRICT_PROVINCIAL adressDistrictProvincial,
a.ADRESS_DISTRICT_CITY adressDistrictCity, a.ADRESS_DISTRICT_CITY adressDistrictCity,
...@@ -64,29 +64,29 @@ ...@@ -64,29 +64,29 @@
a.DISEASE disease, a.DISEASE disease,
a.APPLY_METHOD applyMethod, a.APPLY_METHOD applyMethod,
a.DISEASE_DESC diseaseDesc, a.DISEASE_DESC diseaseDesc,
a.MEDICAL_CARD medicalCard, a.MEDICAL_CARD medicalCard,
a.MEDICAL_TYPE medicalType, a.MEDICAL_TYPE medicalType,
a.SRV_ORGAN_ID srvOrganId, a.SRV_ORGAN_ID srvOrganId,
o.PERMIT_ID permitId, o.PERMIT_ID permitId,
a.OPER_NAME operName, a.OPER_NAME operName,
a.OPER_CERTI_CODE operCertiCode, a.OPER_CERTI_CODE operCertiCode,
a.OPER_TEL operTel, a.OPER_TEL operTel,
a.OPER_RELATION operRelation, a.OPER_RELATION operRelation,
a.OPER_FIXED_TEL operFixedTel, a.OPER_FIXED_TEL operFixedTel,
a.OPER_DISTRICT_PROVINCE operDistrictProvince, a.OPER_DISTRICT_PROVINCE operDistrictProvince,
a.OPER_DISTRICT_CITY operDistrictCity, a.OPER_DISTRICT_CITY operDistrictCity,
a.OPER_DISTRICT_CODE operDistrictCode, a.OPER_DISTRICT_CODE operDistrictCode,
a.OPER_STREET operStreet, a.OPER_STREET operStreet,
a.OPER_ADDRESS operAddress, a.OPER_ADDRESS operAddress,
a.CHECK_NAME checkName, a.CHECK_NAME checkName,
a.APPLY_STATUS applyStatus, a.APPLY_STATUS applyStatus,
a.CHECK_REMARK checkRemark a.CHECK_REMARK checkRemark
from CH_DISABLE_APPLY a, from ch_disable_evaluate a,
CH_SRV_ORGAN o CH_SRV_ORGAN o
where a.APPLY_ID = #{applyHisId} where a.EVALUATE_ID = #{evaluateId}
and a.SRV_ORGAN_ID = o.organ_code and a.SRV_ORGAN_ID = o.organ_code
</select> </select>
......
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