Commit 9988a33b authored by 蔡镇泽's avatar 蔡镇泽

失能人员信息列表

parent bcbb7dd0
...@@ -31,10 +31,10 @@ public class DisableController { ...@@ -31,10 +31,10 @@ public class DisableController {
* @param districtProvincial 所在省 * @param districtProvincial 所在省
* @param districtCity 所在市 * @param districtCity 所在市
* @param districtArea 所在区域 * @param districtArea 所在区域
* @param realName 参保人员姓名 * @param realName 失能人员姓名
* @param certiCode 参保人身份证号码 * @param certiCode 失能人员身份证号码
* @param treatmentType 待遇类型 * @param dataFrom 申请来源
* @param applyStatus 审核状态 * @param srvOrganId 护理机构
* @param pageNum 当前页 * @param pageNum 当前页
* @param pageSize 每页几条数据 * @param pageSize 每页几条数据
* @return 失能人员信息列表 * @return 失能人员信息列表
...@@ -42,10 +42,10 @@ public class DisableController { ...@@ -42,10 +42,10 @@ public class DisableController {
@RequestMapping("/disableList") @RequestMapping("/disableList")
public Result<List<DisableVO>> disableList(String organId, String districtProvincial, public Result<List<DisableVO>> disableList(String organId, String districtProvincial,
String districtCity, String districtArea, String districtCity, String districtArea,
String realName, String certiCode, String treatmentType, String realName, String certiCode, String dataFrom,
String applyStatus, int pageNum, int pageSize) { String srvOrganId, int pageNum, int pageSize) {
IPage<DisableVO> iPage = disableService.disableList(organId, districtProvincial, IPage<DisableVO> iPage = disableService.disableList(organId, districtProvincial,
districtCity, districtArea, realName, certiCode, treatmentType, applyStatus, pageNum, pageSize); districtCity, districtArea, realName, certiCode, dataFrom, srvOrganId, pageNum, pageSize);
return Result.success(iPage.getRecords()); return Result.success(iPage.getRecords());
} }
......
...@@ -25,10 +25,12 @@ public interface DisableApplyHisMapper extends BaseMapper<ChDisableApplyHis> { ...@@ -25,10 +25,12 @@ public interface DisableApplyHisMapper extends BaseMapper<ChDisableApplyHis> {
* @param area 区 * @param area 区
* @param name 参保人员姓名 * @param name 参保人员姓名
* @param certiCode 参保人身份证号码 * @param certiCode 参保人身份证号码
* @param treatmentType 待遇类型 * @param dataFrom 申请来源
* @param applyStatus 审核状态 * @param srvOrganId 护理机构
*/ */
Page<DisableVO> disableList(Page<DisableVO> page, String organId, String provincial, String city, String area, String name, String certiCode, String treatmentType, String applyStatus); Page<DisableVO> disableList(Page<DisableVO> page, String organId, String provincial,
String city, String area, String name, String certiCode,
String dataFrom, String srvOrganId);
ApplicationManagementInfoVO selectApplicationManagementInfoById(String id); ApplicationManagementInfoVO selectApplicationManagementInfoById(String id);
} }
...@@ -19,12 +19,16 @@ public interface DisableService { ...@@ -19,12 +19,16 @@ public interface DisableService {
* @param districtProvincial 所在省 * @param districtProvincial 所在省
* @param districtCity 所在市 * @param districtCity 所在市
* @param districtArea 所在区域 * @param districtArea 所在区域
* @param realName 参保人员姓名 * @param realName 失能人员姓名
* @param certiCode 参保人身份证号码 * @param certiCode 失能人员身份证号码
* @param treatmentType 待遇类型 * @param dataFrom 申请来源
* @param applyStatus 审核状态 * @param srvOrganId 护理机构
* @param pageNum 当前页
* @param pageSize 每页几条数据
* @return list * @return list
*/ */
Page<DisableVO> disableList(String organId, String districtProvincial, String districtCity, String districtArea, String realName, String certiCode, String treatmentType, String applyStatus, int page, int pageSize); Page<DisableVO> disableList(String organId, String districtProvincial, String districtCity,
String districtArea, String realName, String certiCode, String dataFrom,
String srvOrganId, int pageNum, int pageSize);
} }
...@@ -15,9 +15,10 @@ public class DisableServiceImpl implements DisableService { ...@@ -15,9 +15,10 @@ public class DisableServiceImpl implements DisableService {
@Override @Override
public Page<DisableVO> disableList(String organId, String districtProvincial, String districtCity, public Page<DisableVO> disableList(String organId, String districtProvincial, String districtCity,
String districtArea, String realName, String certiCode, String treatmentType, String districtArea, String realName, String certiCode, String dataFrom,
String applyStatus, int page, int pageSize) { String srvOrganId, int page, int pageSize) {
return disableApplyHisMapper.disableList(new Page(page, pageSize), organId, districtProvincial, districtCity, districtArea, realName, certiCode, treatmentType, applyStatus); return disableApplyHisMapper.disableList(new Page(page, pageSize), organId, districtProvincial,
districtCity, districtArea, realName, certiCode, dataFrom, srvOrganId);
} }
} }
\ No newline at end of file
...@@ -155,12 +155,19 @@ ...@@ -155,12 +155,19 @@
h.CERTI_CODE certiCode, h.CERTI_CODE certiCode,
h.TREATMENT_TYPE treatmentTyte, h.TREATMENT_TYPE treatmentTyte,
h.OPER_NAME operName, h.OPER_NAME operName,
h.gender gender,
h.OPER_CERTI_CODE operCertiCode, h.OPER_CERTI_CODE operCertiCode,
h.TEL tel, h.fixed_tel fixedTel,
h.ADRESS_DISTRICT_CODE aderssDistrictCode, h.srv_mode_id srvModeId,
h.disease disease,
h.eff_time effTime,
h.data_from dataFrom,
h.ADRESS_DETAIL adressDetail h.ADRESS_DETAIL adressDetail
from CH_DISABLE_APPLY_HIS h,CH_APR_ORGAN o from CH_DISABLE_APPLY_HIS h,CH_APR_ORGAN o
where h.organ_id = #{organId} where h.organ_id = o.organ_code
<if test="provincial != null and city != null and area != null">
and h.organ_id = #{organId}
</if>
<if test="provincial != null and city != null and area != null"> <if test="provincial != null and city != null and area != null">
and h.DISTRICT_PROVINCIAL = #{provincial} and h.DISTRICT_PROVINCIAL = #{provincial}
and h.DISTRICT_CITY = #{city} and h.DISTRICT_CITY = #{city}
...@@ -172,15 +179,14 @@ ...@@ -172,15 +179,14 @@
<if test="certiCode != null"> <if test="certiCode != null">
and h.CERTI_CODE = #{certiCode} and h.CERTI_CODE = #{certiCode}
</if> </if>
<if test="treatmentType != null"> <if test="dataFrom != null">
and h.TREATMENT_TYPE = #{treatmentType} and h.DATA_FROM = #{dataFrom}
</if> </if>
<if test="applyStatus != null"> <if test="srvOrganId != null">
and h.APPLY_STATUS = #{applyStatus} and h.srvOrganId = #{srvOrganId}
</if> </if>
and h.organ_id = o.organ_code
</select> </select>
<select id="selectApplicationManagementInfoByIdno" resultType="com.hungraim.ism.pojo.vo.disable.DisableVO"> <select id="selectApplicationManagementInfoById" resultType="com.hungraim.ism.pojo.vo.disable.ApplicationManagementInfoVO">
select h.DISTRICT_PROVINCIAL provincial, select h.DISTRICT_PROVINCIAL provincial,
h.DISTRICT_CITY city, h.DISTRICT_CITY city,
h.DISTRICT_AREA area, h.DISTRICT_AREA area,
......
...@@ -14,20 +14,29 @@ public class DisableVO { ...@@ -14,20 +14,29 @@ public class DisableVO {
private String provincial; private String provincial;
private String city; private String city;
private String area; private String area;
//参保人姓名 //失能人员姓名
private String name; private String name;
//参保人身份证号码 //失能人员身份证号码
private String certiCode; private String certiCode;
//待遇类型 //待遇类型
private String treatmentTyte; private String treatmentTyte;
//联系人姓名 //联系人姓名
private String operName; private String operName;
//联系人身份证号码 //年龄
//性别
private String gender;
//失能人员身份证号码
private String operCertiCode; private String operCertiCode;
//申请人电话 //失能人员联系方式
private String tel; private String fixedTel;
//居住地址 //申请服务方式
private String aderssDistrictCode; private String srvModeId;
//诊断疾病
private String disease;
//申请时间
private String effTime;
//申请来源
private String dataFrom;
//审核状态 //审核状态
private String adressDetail; private String adressDetail;
...@@ -119,27 +128,59 @@ public class DisableVO { ...@@ -119,27 +128,59 @@ public class DisableVO {
this.operCertiCode = operCertiCode; this.operCertiCode = operCertiCode;
} }
public String getTel() { public String getAdressDetail() {
return tel; return adressDetail;
} }
public void setTel(String tel) { public void setAdressDetail(String adressDetail) {
this.tel = tel; this.adressDetail = adressDetail;
} }
public String getAderssDistrictCode() { public String getGender() {
return aderssDistrictCode; return gender;
} }
public void setAderssDistrictCode(String aderssDistrictCode) { public void setGender(String gender) {
this.aderssDistrictCode = aderssDistrictCode; this.gender = gender;
} }
public String getAdressDetail() { public String getFixedTel() {
return adressDetail; return fixedTel;
} }
public void setAdressDetail(String adressDetail) { public void setFixedTel(String fixedTel) {
this.adressDetail = adressDetail; this.fixedTel = fixedTel;
}
public String getSrvModeId() {
return srvModeId;
}
public void setSrvModeId(String srvModeId) {
this.srvModeId = srvModeId;
}
public String getDisease() {
return disease;
}
public void setDisease(String disease) {
this.disease = disease;
}
public String getEffTime() {
return effTime;
}
public void setEffTime(String effTime) {
this.effTime = effTime;
}
public String getDataFrom() {
return dataFrom;
}
public void setDataFrom(String dataFrom) {
this.dataFrom = dataFrom;
} }
} }
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