Commit 3cc435c6 authored by 蔡镇泽's avatar 蔡镇泽

待遇申请管理列表

parent f678d460
package com.hungraim.ism.controller; package com.hungraim.ism.controller;
import cn.hutool.core.bean.BeanUtil;
import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hungraim.ism.pojo.vo.disable.ApplicationManagementListVO; import com.hungraim.ism.pojo.vo.disable.ApplicationManagementVO;
import com.hungraim.ism.service.DisableService; import com.hungraim.ism.service.DisableService;
import com.hungraim.ltc.pojo.entity.disable.ChDisableApplyHis;
import com.hungraim.ltc.util.Result; import com.hungraim.ltc.util.Result;
import lombok.extern.slf4j.Slf4j; import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController; import org.springframework.web.bind.annotation.RestController;
import java.util.ArrayList;
import java.util.List; import java.util.List;
/** /**
...@@ -41,16 +38,9 @@ public class DisableController { ...@@ -41,16 +38,9 @@ public class DisableController {
* @return 待遇申请管理列表 * @return 待遇申请管理列表
*/ */
@RequestMapping("/applicationManagementList") @RequestMapping("/applicationManagementList")
public Result<List<ApplicationManagementListVO>> disableList(String organId, String districtProvincial, String districtCity, String districtArea, String realName, String certiCode, Short treatmentType, Short applyStatus) { public Result<List<ApplicationManagementVO>> disableList(String organId, String districtProvincial, String districtCity, String districtArea, String realName, String certiCode, String treatmentType, String applyStatus) {
IPage<ChDisableApplyHis> iPage = disableService.listDisableInfoByPage(organId, districtProvincial, districtCity, districtArea, realName, certiCode, treatmentType, applyStatus, 1, 10); IPage<ApplicationManagementVO> iPage = disableService.applicationManagementList(organId, districtProvincial, districtCity, districtArea, realName, certiCode, treatmentType, applyStatus, 1, 10);
List<ChDisableApplyHis> records = iPage.getRecords(); return Result.success(iPage.getRecords());
List<ApplicationManagementListVO> vos = new ArrayList<>();
for (ChDisableApplyHis chDisableApplyHis : records) {
ApplicationManagementListVO applicationManagementListVO = new ApplicationManagementListVO();
BeanUtil.copyProperties(chDisableApplyHis, applicationManagementListVO);
vos.add(applicationManagementListVO);
}
return Result.success(vos);
} }
} }
package com.hungraim.ism.dao; package com.hungraim.ism.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hungraim.ism.pojo.vo.disable.ApplicationManagementInfoVO;
import com.hungraim.ism.pojo.vo.disable.ApplicationManagementVO;
import com.hungraim.ltc.pojo.entity.disable.ChDisableApplyHis; import com.hungraim.ltc.pojo.entity.disable.ChDisableApplyHis;
import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository; import org.springframework.stereotype.Repository;
...@@ -13,4 +16,19 @@ import org.springframework.stereotype.Repository; ...@@ -13,4 +16,19 @@ import org.springframework.stereotype.Repository;
@Mapper @Mapper
@Repository @Repository
public interface DisableApplyHisMapper extends BaseMapper<ChDisableApplyHis> { public interface DisableApplyHisMapper extends BaseMapper<ChDisableApplyHis> {
/**
* 查询待遇申请管理列表
*
* @param organId 机构代码
* @param provincial 省
* @param city 市
* @param area 区
* @param name 参保人员姓名
* @param certiCode 参保人身份证号码
* @param treatmentType 待遇类型
* @param applyStatus 审核状态
*/
Page<ApplicationManagementVO> applicationManagementList(Page<ApplicationManagementVO> page, String organId, String provincial, String city, String area, String name, String certiCode, String treatmentType, String applyStatus);
ApplicationManagementInfoVO selectApplicationManagementInfoById(String id);
} }
package com.hungraim.ism.service; package com.hungraim.ism.service;
import com.baomidou.mybatisplus.core.metadata.IPage; import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hungraim.ltc.pojo.entity.disable.ChDisableApplyHis; import com.hungraim.ism.pojo.vo.disable.ApplicationManagementVO;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
/** /**
...@@ -25,6 +25,6 @@ public interface DisableService { ...@@ -25,6 +25,6 @@ public interface DisableService {
* @param applyStatus 审核状态 * @param applyStatus 审核状态
* @return list * @return list
*/ */
IPage<ChDisableApplyHis> listDisableInfoByPage(String organId, String districtProvincial, String districtCity, String districtArea, String realName, String certiCode, Short treatmentType, Short applyStatus, int page, int pageSize); IPage<ApplicationManagementVO> applicationManagementList(String organId, String districtProvincial, String districtCity, String districtArea, String realName, String certiCode, String treatmentType, String applyStatus, int page, int pageSize);
} }
package com.hungraim.ism.service.impl; package com.hungraim.ism.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hungraim.ism.dao.DisableApplyHisMapper; import com.hungraim.ism.dao.DisableApplyHisMapper;
import com.hungraim.ltc.pojo.entity.disable.ChDisableApplyHis; import com.hungraim.ism.pojo.vo.disable.ApplicationManagementVO;
import com.hungraim.ism.service.DisableService; import com.hungraim.ism.service.DisableService;
import org.springframework.beans.factory.annotation.Autowired; import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service; import org.springframework.stereotype.Service;
...@@ -16,21 +14,10 @@ public class DisableServiceImpl implements DisableService { ...@@ -16,21 +14,10 @@ public class DisableServiceImpl implements DisableService {
private DisableApplyHisMapper disableApplyHisMapper; private DisableApplyHisMapper disableApplyHisMapper;
@Override @Override
public IPage<ChDisableApplyHis> listDisableInfoByPage(String organId, String districtProvincial, String districtCity, public Page<ApplicationManagementVO> applicationManagementList(String organId, String districtProvincial, String districtCity,
String districtArea, String realName, String certiCode, Short treatmentType, String districtArea, String realName, String certiCode, String treatmentType,
Short applyStatus, int page, int pageSize) { String applyStatus, int page, int pageSize) {
QueryWrapper<ChDisableApplyHis> wrapper = new QueryWrapper<>(); return disableApplyHisMapper.applicationManagementList(new Page(page, 10), organId, districtProvincial, districtCity, districtArea, realName, certiCode, treatmentType, applyStatus);
ChDisableApplyHis chDisableApplyHis = new ChDisableApplyHis();
chDisableApplyHis.setOrganId(organId);
chDisableApplyHis.setDistrictProvincial(districtProvincial);
chDisableApplyHis.setDistrictCity(districtCity);
chDisableApplyHis.setDistrictArea(districtArea);
chDisableApplyHis.setRealName(realName);
chDisableApplyHis.setCertiCode(certiCode);
chDisableApplyHis.setTreatmentType(treatmentType);
chDisableApplyHis.setApplyStatus(applyStatus);
wrapper.setEntity(chDisableApplyHis);
return disableApplyHisMapper.selectPage(new Page<>(page, pageSize), wrapper);
} }
} }
\ No newline at end of file
...@@ -31,3 +31,4 @@ server: ...@@ -31,3 +31,4 @@ server:
mybatis-plus: mybatis-plus:
configuration: configuration:
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
mapper-locations: classpath*:mapper/**/*Mapper.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.hungraim.ism.mapper.disable.chDisableApplyHisMapper">
<resultMap id="BaseResultMap" type="com.hungraim.ltc.pojo.entity.disable.ChDisableApplyHis">
<constructor>
<idArg column="APPLY_HIS_ID" javaType="java.lang.Integer" jdbcType="DECIMAL"/>
<arg column="APPLY_ID" javaType="java.lang.Integer" jdbcType="DECIMAL"/>
<arg column="ORGAN_ID" javaType="java.lang.String" jdbcType="VARCHAR"/>
<arg column="DISTRICT_PROVINCIAL" javaType="java.lang.String" jdbcType="VARCHAR"/>
<arg column="DISTRICT_CITY" javaType="java.lang.String" jdbcType="VARCHAR"/>
<arg column="DISTRICT_AREA" javaType="java.lang.String" jdbcType="VARCHAR"/>
<arg column="REAL_NAME" javaType="java.lang.String" jdbcType="VARCHAR"/>
<arg column="CERTI_CODE" javaType="java.lang.String" jdbcType="VARCHAR"/>
<arg column="BIRTHDAY" javaType="java.util.Date" jdbcType="TIMESTAMP"/>
<arg column="GENDER" javaType="java.lang.String" jdbcType="VARCHAR"/>
<arg column="TEL" javaType="java.lang.String" jdbcType="VARCHAR"/>
<arg column="ADRESS_DISTRICT_CODE" javaType="java.lang.String" jdbcType="VARCHAR"/>
<arg column="ADRESS_DETAIL" javaType="java.lang.String" jdbcType="VARCHAR"/>
<arg column="REGIST" javaType="java.lang.Integer" jdbcType="DECIMAL"/>
<arg column="DISEASE" javaType="java.lang.String" jdbcType="VARCHAR"/>
<arg column="SRV_MODE_ID" javaType="java.lang.Integer" jdbcType="DECIMAL"/>
<arg column="DISEASE_DESC" javaType="java.lang.String" jdbcType="VARCHAR"/>
<arg column="MEDICAL_TYPE" javaType="java.lang.Integer" jdbcType="DECIMAL"/>
<arg column="MEDICAL_CARD" javaType="java.lang.String" jdbcType="VARCHAR"/>
<arg column="SRV_ORGAN_ID" javaType="java.lang.Integer" jdbcType="DECIMAL"/>
<arg column="OPER_NAME" javaType="java.lang.String" jdbcType="VARCHAR"/>
<arg column="OPER_CERTI_CODE" javaType="java.lang.String" jdbcType="VARCHAR"/>
<arg column="OPER_TEL" javaType="java.lang.String" jdbcType="VARCHAR"/>
<arg column="OPER_RELATION" javaType="java.lang.String" jdbcType="VARCHAR"/>
<arg column="OPER_DISTRICT_CODE" javaType="java.lang.String" jdbcType="VARCHAR"/>
<arg column="OPER_ADDRESS" javaType="java.lang.String" jdbcType="VARCHAR"/>
<arg column="APR_CONF_ID" javaType="java.lang.Integer" jdbcType="DECIMAL"/>
<arg column="APPLY_STATUS" javaType="java.lang.Integer" jdbcType="DECIMAL"/>
<arg column="CHECK_NAME" javaType="java.lang.String" jdbcType="VARCHAR"/>
<arg column="CHECK_REMARK" javaType="java.lang.String" jdbcType="VARCHAR"/>
<arg column="CHECK_TIME" javaType="java.util.Date" jdbcType="TIMESTAMP"/>
<arg column="DEFINE_EMG" javaType="java.lang.Integer" jdbcType="DECIMAL"/>
<arg column="EFF_TIME" javaType="java.util.Date" jdbcType="TIMESTAMP"/>
<arg column="END_EMG" javaType="java.lang.Integer" jdbcType="DECIMAL"/>
<arg column="END_TIME" javaType="java.util.Date" jdbcType="TIMESTAMP"/>
<arg column="FCD" javaType="java.util.Date" jdbcType="TIMESTAMP"/>
<arg column="FCU" javaType="java.lang.Integer" jdbcType="DECIMAL"/>
<arg column="LCD" javaType="java.util.Date" jdbcType="TIMESTAMP"/>
<arg column="LCU" javaType="java.lang.Integer" jdbcType="DECIMAL"/>
<arg column="APL_ORGAN_ID" javaType="java.lang.Integer" jdbcType="DECIMAL"/>
<arg column="ADRESS_DISTRICT_PROVINCIAL" javaType="java.lang.String" jdbcType="VARCHAR"/>
<arg column="ADRESS_DISTRICT_CITY" javaType="java.lang.String" jdbcType="VARCHAR"/>
<arg column="OPER_DISTRICT_PROVINCE" javaType="java.lang.String" jdbcType="VARCHAR"/>
<arg column="OPER_DISTRICT_CITY" javaType="java.lang.String" jdbcType="VARCHAR"/>
<arg column="LAST_TASK_ID" javaType="java.lang.Integer" jdbcType="DECIMAL"/>
<arg column="DATA_FROM" javaType="java.lang.Integer" jdbcType="DECIMAL"/>
<arg column="WEB_DEFINE_EMP" javaType="java.lang.Integer" jdbcType="DECIMAL"/>
<arg column="WEB_END_EMP" javaType="java.lang.Integer" jdbcType="DECIMAL"/>
<arg column="STREET" javaType="java.lang.String" jdbcType="VARCHAR"/>
<arg column="APR_TOTAL_SCORE" javaType="java.lang.Integer" jdbcType="DECIMAL"/>
<arg column="ACPT_PROVINCIAL" javaType="java.lang.String" jdbcType="VARCHAR"/>
<arg column="ACPT_CITY" javaType="java.lang.String" jdbcType="VARCHAR"/>
<arg column="ACPT_AREA" javaType="java.lang.String" jdbcType="VARCHAR"/>
<arg column="ACPT_STREET" javaType="java.lang.String" jdbcType="VARCHAR"/>
<arg column="ACPT_ADDRESS" javaType="java.lang.String" jdbcType="VARCHAR"/>
<arg column="ACPT_TYPE" javaType="java.lang.Integer" jdbcType="DECIMAL"/>
<arg column="DISE_TYPE_F" javaType="java.lang.Integer" jdbcType="DECIMAL"/>
<arg column="DISE_TYPE_S" javaType="java.lang.Integer" jdbcType="DECIMAL"/>
<arg column="CFG_MODE_ID" javaType="java.lang.Integer" jdbcType="DECIMAL"/>
<arg column="REASONS_REVIEW" javaType="java.lang.String" jdbcType="VARCHAR"/>
<arg column="REASONS_REMARK" javaType="java.lang.String" jdbcType="VARCHAR"/>
<arg column="APPLY_METHOD" javaType="java.lang.Integer" jdbcType="DECIMAL"/>
<arg column="FIRST_APPLY_ID" javaType="java.lang.Integer" jdbcType="DECIMAL"/>
<arg column="ADDRESS_LONGITUDE" javaType="java.lang.String" jdbcType="VARCHAR"/>
<arg column="ADDRESS_LATITUDE" javaType="java.lang.String" jdbcType="VARCHAR"/>
<arg column="ACPT_LONGITUDE" javaType="java.lang.String" jdbcType="VARCHAR"/>
<arg column="ACPT_LATITUDE" javaType="java.lang.String" jdbcType="VARCHAR"/>
<arg column="OPER_STREET" javaType="java.lang.String" jdbcType="VARCHAR"/>
<arg column="AGENT_LONGITUDE" javaType="java.lang.String" jdbcType="VARCHAR"/>
<arg column="AGENT_LATITUDE" javaType="java.lang.String" jdbcType="VARCHAR"/>
<arg column="ADDRESS_ROAD_DETAIL" javaType="java.lang.String" jdbcType="VARCHAR"/>
<arg column="ADDRESS_ROAD_TYPE" javaType="java.lang.Integer" jdbcType="DECIMAL"/>
<arg column="ADDRESS_NUMBER_DETAIL" javaType="java.lang.String" jdbcType="VARCHAR"/>
<arg column="ADDRESS_NUMBER_TYPE" javaType="java.lang.Integer" jdbcType="DECIMAL"/>
<arg column="ACPT_ROAD_DETAIL" javaType="java.lang.String" jdbcType="VARCHAR"/>
<arg column="ACPT_ROAD_TYPE" javaType="java.lang.Integer" jdbcType="DECIMAL"/>
<arg column="ACPT_NUMBER_DETAIL" javaType="java.lang.String" jdbcType="VARCHAR"/>
<arg column="ACPT_NUMBER_TYPE" javaType="java.lang.Integer" jdbcType="DECIMAL"/>
<arg column="OPER_ROAD_DETAIL" javaType="java.lang.String" jdbcType="VARCHAR"/>
<arg column="OPER_ROAD_TYPE" javaType="java.lang.Integer" jdbcType="DECIMAL"/>
<arg column="OPER_NUMBER_DETAIL" javaType="java.lang.String" jdbcType="VARCHAR"/>
<arg column="OPER_NUMBER_TYPE" javaType="java.lang.Integer" jdbcType="DECIMAL"/>
<arg column="ACPT_SRV_PROVINCIAL" javaType="java.lang.String" jdbcType="VARCHAR"/>
<arg column="ACPT_SRV_CITY" javaType="java.lang.String" jdbcType="VARCHAR"/>
<arg column="ACPT_SRV_AREA" javaType="java.lang.String" jdbcType="VARCHAR"/>
<arg column="ACPT_SRV_STREET" javaType="java.lang.String" jdbcType="VARCHAR"/>
<arg column="ACPT_SRV_ROAD_DETAIL" javaType="java.lang.String" jdbcType="VARCHAR"/>
<arg column="ACPT_SRV_ROAD_TYPE" javaType="java.lang.Integer" jdbcType="DECIMAL"/>
<arg column="ACPT_SRV_NUMBER_DETAIL" javaType="java.lang.String" jdbcType="VARCHAR"/>
<arg column="ACPT_SRV_NUMBER_TYPE" javaType="java.lang.Integer" jdbcType="DECIMAL"/>
<arg column="ACPT_SRV_ADDRESS" javaType="java.lang.String" jdbcType="VARCHAR"/>
<arg column="ACPT_SRV_TYPE" javaType="java.lang.Integer" jdbcType="DECIMAL"/>
<arg column="ACPT_SRV_LONGITUDE" javaType="java.lang.String" jdbcType="VARCHAR"/>
<arg column="ACPT_SRV_LATITUDE" javaType="java.lang.String" jdbcType="VARCHAR"/>
<arg column="FIXED_TEL" javaType="java.lang.String" jdbcType="VARCHAR"/>
<arg column="REGIST_PROVINCIAL" javaType="java.lang.String" jdbcType="VARCHAR"/>
<arg column="REGIST_CITY" javaType="java.lang.String" jdbcType="VARCHAR"/>
<arg column="REGIST_AREA" javaType="java.lang.String" jdbcType="VARCHAR"/>
<arg column="REGIST_STREET" javaType="java.lang.String" jdbcType="VARCHAR"/>
<arg column="REGIST_ADDRESS" javaType="java.lang.String" jdbcType="VARCHAR"/>
<arg column="REGIST_LONGITUDE" javaType="java.lang.String" jdbcType="VARCHAR"/>
<arg column="REGIST_LATITUDE" javaType="java.lang.String" jdbcType="VARCHAR"/>
<arg column="MEDICAL_HISTORY1" javaType="java.lang.String" jdbcType="VARCHAR"/>
<arg column="MEDICAL_HISTORY2" javaType="java.lang.String" jdbcType="VARCHAR"/>
<arg column="MEDICAL_HISTORY3" javaType="java.lang.String" jdbcType="VARCHAR"/>
<arg column="HEIGHT" javaType="java.math.BigDecimal" jdbcType="DECIMAL"/>
<arg column="WEIGHT" javaType="java.math.BigDecimal" jdbcType="DECIMAL"/>
<arg column="LEFT_HAND_GRIP" javaType="java.math.BigDecimal" jdbcType="DECIMAL"/>
<arg column="RIGHT_HAND_GRIP" javaType="java.math.BigDecimal" jdbcType="DECIMAL"/>
<arg column="BODY_INCOMPLETE" javaType="java.lang.Integer" jdbcType="DECIMAL"/>
<arg column="VISION_OBSTACLE" javaType="java.lang.Integer" jdbcType="DECIMAL"/>
<arg column="HEARING_OBSTACLE" javaType="java.lang.Integer" jdbcType="DECIMAL"/>
<arg column="MEDICAL_HISTORY" javaType="java.lang.String" jdbcType="VARCHAR"/>
<arg column="HIS_TIME" javaType="java.util.Date" jdbcType="TIMESTAMP"/>
<arg column="HIS_EMP" javaType="java.lang.Integer" jdbcType="DECIMAL"/>
<arg column="OPER_FIXED_TEL" javaType="java.lang.String" jdbcType="VARCHAR"/>
<arg column="TREATMENT_TYPE" javaType="java.lang.Integer" jdbcType="DECIMAL"/>
</constructor>
</resultMap>
<sql id="Base_Column_List">
APPLY_HIS_ID, APPLY_ID, ORGAN_ID, DISTRICT_PROVINCIAL, DISTRICT_CITY, DISTRICT_AREA,
REAL_NAME, CERTI_CODE, BIRTHDAY, GENDER, TEL, ADRESS_DISTRICT_CODE, ADRESS_DETAIL,
REGIST, DISEASE, SRV_MODE_ID, DISEASE_DESC, MEDICAL_TYPE, MEDICAL_CARD, SRV_ORGAN_ID,
OPER_NAME, OPER_CERTI_CODE, OPER_TEL, OPER_RELATION, OPER_DISTRICT_CODE, OPER_ADDRESS,
APR_CONF_ID, APPLY_STATUS, CHECK_NAME, CHECK_REMARK, CHECK_TIME, DEFINE_EMG, EFF_TIME,
END_EMG, END_TIME, FCD, FCU, LCD, LCU, APL_ORGAN_ID, ADRESS_DISTRICT_PROVINCIAL,
ADRESS_DISTRICT_CITY, OPER_DISTRICT_PROVINCE, OPER_DISTRICT_CITY, LAST_TASK_ID, DATA_FROM,
WEB_DEFINE_EMP, WEB_END_EMP, STREET, APR_TOTAL_SCORE, ACPT_PROVINCIAL, ACPT_CITY,
ACPT_AREA, ACPT_STREET, ACPT_ADDRESS, ACPT_TYPE, DISE_TYPE_F, DISE_TYPE_S, CFG_MODE_ID,
REASONS_REVIEW, REASONS_REMARK, APPLY_METHOD, FIRST_APPLY_ID, ADDRESS_LONGITUDE,
ADDRESS_LATITUDE, ACPT_LONGITUDE, ACPT_LATITUDE, OPER_STREET, AGENT_LONGITUDE, AGENT_LATITUDE,
ADDRESS_ROAD_DETAIL, ADDRESS_ROAD_TYPE, ADDRESS_NUMBER_DETAIL, ADDRESS_NUMBER_TYPE,
ACPT_ROAD_DETAIL, ACPT_ROAD_TYPE, ACPT_NUMBER_DETAIL, ACPT_NUMBER_TYPE, OPER_ROAD_DETAIL,
OPER_ROAD_TYPE, OPER_NUMBER_DETAIL, OPER_NUMBER_TYPE, ACPT_SRV_PROVINCIAL, ACPT_SRV_CITY,
ACPT_SRV_AREA, ACPT_SRV_STREET, ACPT_SRV_ROAD_DETAIL, ACPT_SRV_ROAD_TYPE, ACPT_SRV_NUMBER_DETAIL,
ACPT_SRV_NUMBER_TYPE, ACPT_SRV_ADDRESS, ACPT_SRV_TYPE, ACPT_SRV_LONGITUDE, ACPT_SRV_LATITUDE,
FIXED_TEL, REGIST_PROVINCIAL, REGIST_CITY, REGIST_AREA, REGIST_STREET, REGIST_ADDRESS,
REGIST_LONGITUDE, REGIST_LATITUDE, MEDICAL_HISTORY1, MEDICAL_HISTORY2, MEDICAL_HISTORY3,
HEIGHT, WEIGHT, LEFT_HAND_GRIP, RIGHT_HAND_GRIP, BODY_INCOMPLETE, VISION_OBSTACLE,
HEARING_OBSTACLE, MEDICAL_HISTORY, HIS_TIME, HIS_EMP, OPER_FIXED_TEL, TREATMENT_TYPE
</sql>
<select id="applicationManagementList" resultType="com.hungraim.ism.pojo.vo.disable.ApplicationManagementVO">
select h.APPLY_HIS_ID applyHisId,
o.organ_name organName,
h.organ_id organId,
h.DISTRICT_PROVINCIAL provincial,
h.DISTRICT_CITY city,
h.DISTRICT_AREA area,
h.REAL_NAME name,
h.CERTI_CODE certiCode,
h.TREATMENT_TYPE treatmentTyte,
h.OPER_NAME operName,
h.OPER_CERTI_CODE operCertiCode,
h.TEL tel,
h.ADRESS_DISTRICT_CODE aderssDistrictCode,
h.ADRESS_DETAIL adressDetail
from CH_DISABLE_APPLY_HIS h,CH_APR_ORGAN o
where h.organ_id = #{organId}
<if test="provincial != null and city != null and area != null">
and h.DISTRICT_PROVINCIAL = #{provincial}
and h.DISTRICT_CITY = #{city}
and h.DISTRICT_AREA = #{area}
</if>
<if test="name != null">
and h.REAL_NAME like '%'#{name}'%'
</if>
<if test="certiCode != null">
and h.CERTI_CODE = #{certiCode}
</if>
<if test="treatmentType != null">
and h.TREATMENT_TYPE = #{treatmentType}
</if>
<if test="applyStatus != null">
and h.APPLY_STATUS = #{applyStatus}
</if>
and h.organ_id = o.organ_id
</select>
<select id="selectApplicationManagementInfoByIdno" resultType="com.hungraim.ism.pojo.vo.disable.ApplicationManagementVO">
select h.DISTRICT_PROVINCIAL provincial,
h.DISTRICT_CITY city,
h.DISTRICT_AREA area,
h.REAL_NAME name,
h.CERTI_CODE certiCode,
h.ADRESS_DETAIL adressDetail,
h.OPER_CERTI_CODE operCertiCode,
h.TEL tel,
h.OPER_RELATION relation,
h.DISEASE_DESC diseaseDesc,
o.organ_name organName,
h.EFF_TIME effTime,
h.CHECK_NAME checkName,
h.APPLY_STATUS applyStatus,
h.CHECK_REMARK checkRemark
from CH_DISABLE_APPLY_HIS h,
CH_APR_ORGAN o
where h.APPLY_HIS_ID = #{id}
and h.SRV_ORGAN_ID = o.organ_id
</select>
</mapper>
\ No newline at end of file
package com.hungraim.ism.pojo.vo.disable;
/**
* 待遇申请管理详情VO
*/
public class ApplicationManagementInfoVO {
//所在省市区
//参保人姓名
//参保人身份证号码
//居住地址
//联系人电话
//联系人身份证号码
//申请人电话
//与参保人关系
//病情描述及诊断
//意向服务机构
//提交时间
//审核人
//审核结果
//备注
}
...@@ -3,8 +3,9 @@ package com.hungraim.ism.pojo.vo.disable; ...@@ -3,8 +3,9 @@ package com.hungraim.ism.pojo.vo.disable;
/** /**
* 待遇申请管理列表VO * 待遇申请管理列表VO
*/ */
public class ApplicationManagementListVO { public class ApplicationManagementVO {
//适用机构 //适用机构
private String organName;
//机构代码 //机构代码
private String organId; private String organId;
//所在省市 //所在省市
......
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