Commit 309c1e10 authored by wzs162's avatar wzs162

修改修改

parent ced95151
...@@ -4,7 +4,8 @@ ...@@ -4,7 +4,8 @@
<select id="getListDisableInfoChange" resultType="com.hungraim.ltc.pojo.vo.disable.DisableInfoChangeVo"> <select id="getListDisableInfoChange" resultType="com.hungraim.ltc.pojo.vo.disable.DisableInfoChangeVo">
select select
(select ORGAN_NAME from CH_FND_ORGAN organ where change.ORGAN_ID=organ.ORGAN_ID )organName, change.CHANGE_ID changeId,
organ.ORGAN_NAME organName,
change.ORGAN_ID organId, change.ORGAN_ID organId,
change.DISTRICT_PROVINCE districtProvince, change.DISTRICT_PROVINCE districtProvince,
change.DISTRICT_CITY districtCity, change.DISTRICT_CITY districtCity,
...@@ -21,6 +22,7 @@ ...@@ -21,6 +22,7 @@
change.APPLY_STATUS applyStatus change.APPLY_STATUS applyStatus
from CH_DISABLE_INFO_CHANGE change from CH_DISABLE_INFO_CHANGE change
left join CH_DISABLE_INFO disinfo on change.DISAB_INFO_ID=disinfo.DISAB_INFO_ID left join CH_DISABLE_INFO disinfo on change.DISAB_INFO_ID=disinfo.DISAB_INFO_ID
left join CH_FND_ORGAN organ on change.ORGAN_ID=organ.ORGAN_ID
<where> <where>
and task.APR_TYPE = 0 and task.APR_TYPE = 0
<if test="organId != null"> <if test="organId != null">
......
...@@ -7,39 +7,42 @@ ...@@ -7,39 +7,42 @@
apply.APPLY_ID applyId, apply.APPLY_ID applyId,
apply.ORGAN_ID organId, apply.ORGAN_ID organId,
fndOrgan.ORGAN_NAME organName, fndOrgan.ORGAN_NAME organName,
(select DISTRICT_NAME from CH_FND_DISTRICT dis where apply.ACPT_PROVINCIAL= dis.DISTRICT_CODE) districtProvincial, apply.ACPT_PROVINCIAL districtProvincial,
(select DISTRICT_NAME from CH_FND_DISTRICT dis where apply.ACPT_CITY = dis.DISTRICT_CODE) districtCity, apply.ACPT_CITY districtCity,
(select DISTRICT_NAME from CH_FND_DISTRICT dis where apply.ACPT_AREA = dis.DISTRICT_CODE) districtArea, apply.ACPT_AREA districtArea,
(select STREET_NAME from CH_FND_STREET dis where apply.ACPT_STREET=dis.STREET_CODE)acptStreet, apply.ACPT_STREET acptStreet,
apply.REAL_NAME realName,apply.CERTI_CODE certiCode,apply.BIRTHDAY birthday,apply.GENDER gender,apply.TEL tel, apply.REAL_NAME realName,apply.CERTI_CODE certiCode,apply.BIRTHDAY birthday,apply.GENDER gender,apply.TEL tel,
apply.FIXED_TEL fixedTel,apply.REGIST regist, apply.FIXED_TEL fixedTel,apply.REGIST regist,
(select DISTRICT_NAME from CH_FND_DISTRICT dis where apply.ACPT_SRV_PROVINCIAL= dis.DISTRICT_CODE) acptSrvProvincial, apply.ACPT_SRV_PROVINCIAL acptSrvProvincial,
(select DISTRICT_NAME from CH_FND_DISTRICT dis where apply.ACPT_SRV_CITY = dis.DISTRICT_CODE) acptSrvCity, apply.ACPT_SRV_CITY acptSrvCity,
(select DISTRICT_NAME from CH_FND_DISTRICT dis where apply.ACPT_SRV_AREA = dis.DISTRICT_CODE) acptSrvArea, apply.ACPT_SRV_AREA acptSrvArea,
(select STREET_NAME from CH_FND_STREET dis where apply.ACPT_SRV_STREET=dis.STREET_CODE)acptSrvStreet, apply.ACPT_SRV_STREET acptSrvStreet,
(select DISTRICT_NAME from CH_FND_DISTRICT dis where apply.ADRESS_DISTRICT_PROVINCIAL= dis.DISTRICT_CODE) adressDistrictProvincial, apply.ADRESS_DISTRICT_PROVINCIAL adressDistrictProvincial,
(select DISTRICT_NAME from CH_FND_DISTRICT dis where apply.ADRESS_DISTRICT_CITY = dis.DISTRICT_CODE) adressDistrictCity, apply.ADRESS_DISTRICT_CITY adressDistrictCity,
(select DISTRICT_NAME from CH_FND_DISTRICT dis where apply.ADRESS_DISTRICT_CODE = dis.DISTRICT_CODE) adressDistrictCode, apply.ADRESS_DISTRICT_CODE adressDistrictCode,
(select STREET_NAME from CH_FND_STREET dis where apply.ADDRESS_ROAD_DETAIL=dis.STREET_CODE)addressRoadDetail, apply.ADDRESS_ROAD_DETAIL addressRoadDetail,
apply.DISE_TYPE_F diseTypeF,
(select DISE_TYPE_CODE from CH_FND_DISEASE_TYPE cfdt where apply.DISE_TYPE_F = cfdt.DISE_TYPE_ID) diseTypeF, apply.DISE_TYPE_S diseTypeS,
(select DISE_TYPE_CODE from CH_FND_DISEASE_TYPE cfdt where apply.DISE_TYPE_S = cfdt.DISE_TYPE_ID) diseTypeS, srvMode.SRV_MODE_NAME srvModeName,
(select SRV_MODE_NAME from CH_FND_SRV_MODE cfdt where apply.SRV_MODE_ID=cfdt.SRV_MODE_ID)srvModeName,
apply.DISEASE_DESC diseaseDesc, apply.DISEASE_DESC diseaseDesc,
(select MDC_NAME from CH_FND_MEDICAL_TYPE where apply.MEDICAL_TYPE=MDC_TYPE)mdcName, medicalType.MDC_NAME mdcName,
(select SRV_ORGAN_NAME from CH_SRV_ORGAN where apply.SRV_ORGAN_ID=CH_SRV_ORGAN.SRV_ORGAN_ID)srvOrganName, srvOrgan.SRV_ORGAN_NAME srvOrganName,
apply.OPER_NAME operName,apply.OPER_CERTI_CODE operCertiCode,apply.OPER_TEL operTel,apply.OPER_RELATION operRelation, apply.OPER_NAME operName,apply.OPER_CERTI_CODE operCertiCode,apply.OPER_TEL operTel,apply.OPER_RELATION operRelation,
apply.OPER_FIXED_TEL operFixedTel, apply.OPER_FIXED_TEL operFixedTel,
(select DISTRICT_NAME from CH_FND_DISTRICT dis where apply.OPER_DISTRICT_PROVINCE= dis.DISTRICT_CODE) operDistrictProvince, apply.OPER_DISTRICT_PROVINCE operDistrictProvince,
(select DISTRICT_NAME from CH_FND_DISTRICT dis where apply.OPER_DISTRICT_CITY = dis.DISTRICT_CODE) operDistrictCity, apply.OPER_DISTRICT_CITY operDistrictCity,
(select DISTRICT_NAME from CH_FND_DISTRICT dis where apply.OPER_DISTRICT_CODE = dis.DISTRICT_CODE) operDistrictCode, apply.OPER_DISTRICT_CODE operDistrictCode,
(select STREET_NAME from CH_FND_STREET dis where apply.OPER_ROAD_DETAIL=dis.STREET_CODE)operRoadDetail, apply.OPER_ROAD_DETAIL operRoadDetail,
apply.REASONS_REVIEW reasonsReview, apply.REASONS_REVIEW reasonsReview,
apply.APPLY_STATUS applyStatus, apply.APPLY_STATUS applyStatus,
(select APL_STATUS_NAME from CH_FND_APPLY_STATUS_TYPE where apply.APPLY_STATUS=APL_STATUS_TYPE)applyStatusName, applyStatusType.APL_STATUS_NAME applyStatusName,
apply.REASONS_REMARK reasonsRemark apply.REASONS_REMARK reasonsRemark
from CH_DISABLE_APPLY apply from CH_DISABLE_APPLY apply
left join CH_FND_ORGAN fndOrgan on apply.ORGAN_ID=fndOrgan.ORGAN_ID left join CH_FND_ORGAN fndOrgan on apply.ORGAN_ID=fndOrgan.ORGAN_ID
left join CH_FND_SRV_MODE srvMode on apply.SRV_MODE_ID=srvMode.SRV_MODE_ID
left join CH_FND_MEDICAL_TYPE medicalType on apply.MEDICAL_TYPE=medicalType.MDC_TYPE
left join SRV_ORGAN_NAME srvOrgan on apply.SRV_ORGAN_ID=srvOrgan.SRV_ORGAN_ID
left join CH_FND_APPLY_STATUS_TYPE applyStatusType on apply.APPLY_STATUS=applyStatusType.APL_STATUS_TYPE
where apply.APPLY_ID = #{applyId} where apply.APPLY_ID = #{applyId}
</select> </select>
......
package com.hungraim.ltc.pojo.vo.disable; package com.hungraim.ltc.pojo.vo.disable;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data; import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat; import org.springframework.format.annotation.DateTimeFormat;
...@@ -47,7 +48,7 @@ public class ChDisableApplyVo { ...@@ -47,7 +48,7 @@ public class ChDisableApplyVo {
/** /**
* 出生年月 * 出生年月
*/ */
@DateTimeFormat(pattern = "yyyy-MM-dd") @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
private Date birthday; private Date birthday;
/** /**
......
package com.hungraim.ltc.pojo.vo.disable; package com.hungraim.ltc.pojo.vo.disable;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data; import lombok.Data;
import java.util.Date;
@Data @Data
public class DisableInfoChangeDetailVo { public class DisableInfoChangeDetailVo {
/** /**
...@@ -39,7 +42,8 @@ public class DisableInfoChangeDetailVo { ...@@ -39,7 +42,8 @@ public class DisableInfoChangeDetailVo {
/** /**
* 出生年月 * 出生年月
*/ */
private String birthday; @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
private Date birthday;
/** /**
* 性别 * 性别
*/ */
...@@ -113,7 +117,7 @@ public class DisableInfoChangeDetailVo { ...@@ -113,7 +117,7 @@ public class DisableInfoChangeDetailVo {
/** /**
* 审核结果 * 审核结果
*/ */
private short applyStatus; private Short applyStatus;
/** /**
* 备注 * 备注
*/ */
......
package com.hungraim.ltc.pojo.vo.disable; package com.hungraim.ltc.pojo.vo.disable;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data; import lombok.Data;
import java.util.Date; import java.util.Date;
...@@ -47,6 +48,7 @@ public class DisableInfoChangeVo { ...@@ -47,6 +48,7 @@ public class DisableInfoChangeVo {
/** /**
* 出生年月 * 出生年月
*/ */
@JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
private Date birthday; private Date birthday;
/** /**
...@@ -69,6 +71,7 @@ public class DisableInfoChangeVo { ...@@ -69,6 +71,7 @@ public class DisableInfoChangeVo {
/** /**
* 申请提交时间 * 申请提交时间
*/ */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
private Date effTime; private Date effTime;
/** /**
* 审核状态 * 审核状态
......
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