Commit 21e1d1af authored by 蔡镇泽's avatar 蔡镇泽

Merge remote-tracking branch 'origin/master'

parents dd7acf9a e30d535d
......@@ -211,4 +211,5 @@ public class DisableController {
return Result.success();
}
}
......@@ -3,6 +3,7 @@ package com.hungraim.ism.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hungraim.ltc.pojo.entity.disable.ChSrvOrgan;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;
/**
......@@ -13,4 +14,5 @@ import org.springframework.stereotype.Repository;
@Mapper
@Repository
public interface SrvOrganMapper extends BaseMapper<ChSrvOrgan> {
}
......@@ -4,6 +4,7 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hungraim.ism.pojo.vo.disable.DisableExamineInfoVO;
import com.hungraim.ism.pojo.vo.disable.DisableVO;
import com.hungraim.ltc.pojo.entity.disable.*;
import com.hungraim.ltc.pojo.entity.serviceManage.ChSrvProgram;
import org.springframework.stereotype.Service;
import java.util.List;
......
......@@ -10,7 +10,7 @@ spring:
nacos:
discovery:
server-addr: qw.hungraim.com:31158
namespace: 353e9334-5b6c-4d44-9f5c-daf26e414898
namespace: 879ae966-eaf8-43fe-ae6f-34ee7aa186ba
config:
namespace: 87d6f6f1-6583-46ea-ad02-7e8125f03c90
server-addr: qw.hungraim.com:31158
......@@ -32,3 +32,4 @@ mybatis-plus:
configuration:
log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
mapper-locations: classpath*:mapper/*Mapper.xml
......@@ -116,6 +116,7 @@
from CH_DISABLE_APPLY a
LEFT JOIN CH_SRV_ORGAN o ON a.SRV_ORGAN_ID = o.SRV_ORGAN_ID
where a.APPLY_ID = #{applyId}
order by APPLY_ID desc
</select>
<select id="listExamineRecordByApplyId" resultType="com.hungraim.ism.pojo.vo.disable.ExamineRecord">
......
......@@ -10,7 +10,7 @@ spring:
nacos:
discovery:
server-addr: qw.hungraim.com:31158
namespace: 353e9334-5b6c-4d44-9f5c-daf26e414898
namespace: 879ae966-eaf8-43fe-ae6f-34ee7aa186ba
config:
namespace: 87d6f6f1-6583-46ea-ad02-7e8125f03c90
server-addr: qw.hungraim.com:31158
......
......@@ -10,7 +10,7 @@ spring:
nacos:
discovery:
server-addr: qw.hungraim.com:31158
namespace: 353e9334-5b6c-4d44-9f5c-daf26e414898
namespace: 879ae966-eaf8-43fe-ae6f-34ee7aa186ba
config:
namespace: 87d6f6f1-6583-46ea-ad02-7e8125f03c90
server-addr: qw.hungraim.com:31158
......
package com.hungraim.ism.pojo.vo.disable;
import lombok.Data;
import java.util.Date;
/**
* 失能审核信息详情VO
*/
@Data
public class DisableEvaluateInfoVO {
//***失能人员个人信息
//机构
......
package com.hungraim.ism.pojo.vo.disable;
import com.hungraim.ltc.pojo.entity.PageInfo;
import java.io.Serializable;
import java.util.Date;
/**
* 失能评定列表VO
*/
public class DisableEvaluateVO {
public class DisableEvaluateVO extends PageInfo implements Serializable {
//id
private String evaluateId;
//适用机构
......
package com.hungraim.ism.pojo.vo.disable;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 失能人员信息列表VO
*/
@Data
public class DisableVO {
@TableName("")
public class DisableVO implements Serializable {
//id
private String applyId;
//适用机构
private String organName;
//机构代码
private String organId;
private String organiId;
//所在省市
private String provincial;
private String city;
......@@ -27,27 +30,27 @@ public class DisableVO {
//待遇类型
private String treatmentTyte;
//联系人姓名
private String operName;
private String opername;
//年龄
@JsonFormat(pattern = "yyyy-MM-dd")
private Date birthday;
//性别
private String gender;
//失能人员身份证号码
private String operCertiCode;
private String opercertiCode;
//失能人员手机号
private String tel;
//失能人员固话
private String fixedTel;
private String fixedtel;
//申请服务方式
private String srvModeName;
private String srvmodeName;
//诊断疾病
private String disease;
//申请时间
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date effTime;
private Date efftime;
//申请来源 网厅:0,核心:1,手机端:2,待遇申请:3
private String dataFrom;
private String datafrom;
//审核状态
private String applyStatus;
}
package com.hungraim.ltc.pojo.entity;
import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;
import lombok.experimental.FieldDefaults;
import java.io.Serializable;
@Data
public class PageInfo implements Serializable {
@TableField(exist = false)
private int current;
@TableField(exist = false)
private int limit;
}
......@@ -4,6 +4,7 @@ import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.KeySequence;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.hungraim.ltc.pojo.entity.PageInfo;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
......@@ -17,7 +18,7 @@ import java.util.Date;
@Data
@TableName("CH_DISABLE_APPLY")
@KeySequence(value = "SEQ_CH_DISABLE_APPLY")
public class ChDisableApply implements Serializable {
public class ChDisableApply extends PageInfo implements Serializable {
/**
* 失能申请id
......
package com.hungraim.ltc.pojo.entity.disable;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;
import java.math.BigDecimal;
import java.util.Date;
@Data
@TableName("CH_DISABLE_APPLY_TEST")
public class ChDisableApplyTest {
/**
* 失能申请id
*/
private Long applyId;
/**
* 机构代码
*/
private String organId;
/**
* 所在省份
*/
private String districtProvincial;
/**
* 所在城市
*/
private String districtCity;
/**
* 所在区域
*/
private String districtArea;
/**
* 姓名
*/
private String realName;
/**
* 身份证号
*/
private String certiCode;
/**
* 出生年月
*/
@DateTimeFormat(pattern = "yyyy-MM-dd")
private Date birthday;
/**
* 性别 男:M;女:F;不确定 N
*/
private String gender;
/**
* 电话
*/
private String tel;
/**
* 现住地址区域
*/
private String adressDistrictCode;
/**
* 住址详情
*/
private String adressDetail;
/**
* 户籍 本市:0;非本市:1
*/
private Short regist;
/**
* 疾病
*/
private String disease;
/**
* 服务方式
*/
private Long srvModeId;
/**
* 疾病描述
*/
private String diseaseDesc;
/**
* 医保类型 城镇:1;非城镇:0
*/
private Short medicalType;
/**
* 社保卡号
*/
private String medicalCard;
/**
* 意向护理机构
*/
private Long srvOrganId;
/**
* 代办人姓名
*/
private String operName;
/**
* 代办人身份证号
*/
private String operCertiCode;
/**
* 代办人手机号
*/
private String operTel;
/**
* 与失能人员关系 子女:0;父母:1配偶:2其他:3
*/
private String operRelation;
/**
* 代办人住址区域
*/
private String operDistrictCode;
/**
* 代办人住址详情
*/
private String operAddress;
/**
* 鉴定标准配置id
*/
private Long aprConfId;
/**
* 申请状态 未提交:0;待审核:1;审核通过:2;不通过:3;删除:4;撤销:5
*/
private Short applyStatus;
/**
* 审核人
*/
private String checkName;
/**
* 审核备注
*/
private String checkRemark;
/**
* 审核时间
*/
private Date checkTime;
/**
* 创建人
*/
private Long defineEmg;
/**
* 创建时间
*/
private Date effTime;
/**
* 终止人
*/
private Long endEmg;
/**
* 终止人终止时间
*/
private Date endTime;
/**
* 首次操作时间
*/
private Date fcd;
/**
* 首次操作人
*/
private Long fcu;
/**
* 末次操作时间
*/
private Date lcd;
/**
* 末次操作人
*/
private Long lcu;
/**
* 申请机构
*/
private Long aplOrganId;
/**
* 现住地址省份
*/
private String adressDistrictProvincial;
/**
* 现住地址城市
*/
private String adressDistrictCity;
/**
* 代办人住址省份
*/
private String operDistrictProvince;
/**
* 代办人住址城市
*/
private String operDistrictCity;
/**
* 最新鉴定任务ID
*/
private Long lastTaskId;
/**
* 数据来源 网厅:0,核心:1,微信:2
*/
private Short dataFrom;
/**
* 网厅创建人
*/
private Long webDefineEmp;
/**
* 网厅终止人
*/
private Long webEndEmp;
/**
* 现住址街道
*/
private String street;
/**
* 鉴定分数总计
*/
private Short aprTotalScore;
/**
* 接受评定省
*/
private String acptProvincial;
/**
* 接受评定市
*/
private String acptCity;
/**
* 接受评定区
*/
private String acptArea;
/**
* 接受评定街道
*/
private String acptStreet;
/**
* 接受评定详细地址
*/
private String acptAddress;
/**
* 接受评定类型 现在址:0,机构地址:1,其他:2
*/
private Short acptType;
/**
* 疾病大类
*/
private Long diseTypeF;
/**
* 疾病小类
*/
private Long diseTypeS;
/**
* 服务配置模式ID
*/
private Long cfgModeId;
/**
* 复评原因
*/
private String reasonsReview;
/**
* 复评备注
*/
private String reasonsRemark;
/**
* 申请方式
*/
private Short applyMethod;
/**
* 首次申请ID
*/
private Long firstApplyId;
/**
* 现住址经度
*/
private String addressLongitude;
/**
* 现住址纬度
*/
private String addressLatitude;
/**
* 接受评定地址经度
*/
private String acptLongitude;
/**
* 接受评定地址纬度
*/
private String acptLatitude;
/**
* 代办人街道
*/
private String operStreet;
/**
* 代办人地址经度
*/
private String agentLongitude;
/**
* 代办人地址纬度
*/
private String agentLatitude;
/**
* 现住地址路街
*/
private String addressRoadDetail;
/**
* 现住地址路/街(0路,1街,2村)
*/
private Short addressRoadType;
/**
* 现住地址号弄
*/
private String addressNumberDetail;
/**
* 现住地址号/弄(0弄,1号)
*/
private Short addressNumberType;
/**
* 接受评定地址路街
*/
private String acptRoadDetail;
/**
* 接受评定地址路/街(0路,1街,2村)
*/
private Short acptRoadType;
/**
* 接受评定地址号弄
*/
private String acptNumberDetail;
/**
* 接受评定地址号/弄(0弄,1号)
*/
private Short acptNumberType;
/**
* 代办人现住止路街
*/
private String operRoadDetail;
/**
* 代办人现住止路/街(0路,1街,2村)
*/
private Short operRoadType;
/**
* 代办人现住止号弄
*/
private String operNumberDetail;
/**
* 代办人现住止号/弄(0弄,1号)
*/
private Short operNumberType;
/**
* 接受服务地址省
*/
private String acptSrvProvincial;
/**
* 接受服务地址市
*/
private String acptSrvCity;
/**
* 接受服务地址区
*/
private String acptSrvArea;
/**
* 接受服务地址街道
*/
private String acptSrvStreet;
/**
* 接受服务地址路街
*/
private String acptSrvRoadDetail;
/**
* 接受服务地址路/街(0路,1街,2村)
*/
private Short acptSrvRoadType;
/**
* 接受服务地址号弄
*/
private String acptSrvNumberDetail;
/**
* 接受服务地址号/弄(0弄,1号)
*/
private Short acptSrvNumberType;
/**
* 接受服务地址详细地址
*/
private String acptSrvAddress;
/**
* 接受服务地址类型(现在址:0,护理机构地址:1,其他:2,接受评定地址:3)
*/
private Short acptSrvType;
/**
* 接受服务地址经度
*/
private String acptSrvLongitude;
/**
* 接受服务地址纬度
*/
private String acptSrvLatitude;
/**
* 失能人员电话
*/
private String fixedTel;
/**
* 所在户籍地址省
*/
private String registProvincial;
/**
* 所在户籍地址市
*/
private String registCity;
/**
* 所在户籍地址区
*/
private String registArea;
/**
* 所在户籍地址街道
*/
private String registStreet;
/**
* 所在户籍地址详细地址
*/
private String registAddress;
/**
* 所在户籍地址经度
*/
private String registLongitude;
/**
* 所在户籍地址纬度
*/
private String registLatitude;
/**
* 病史简述1
* 1. 曾患的重大疾病、外伤史、传染病史
*/
private String medicalHistory1;
/**
* 病史简述2 2. 现有的疾病和病症
*/
private String medicalHistory2;
/**
* 病史简述3 3. 目前正在治疗的疾病和病症
*/
private String medicalHistory3;
/**
* 身高
*/
private BigDecimal height;
/**
* 体重
*/
private BigDecimal weight;
/**
* 左手握力
*/
private BigDecimal leftHandGrip;
/**
* 右手握力
*/
private BigDecimal rightHandGrip;
/**
* 肢体残缺 0有,1无
*/
private Short bodyIncomplete;
/**
* 视力障碍 0有,1无
*/
private Short visionObstacle;
/**
* 听力障碍 0有,1无
*/
private Short hearingObstacle;
/**
* 病史简述
*/
private String medicalHistory;
/**
* 历史操作时间
*/
//private Date hisTime;
/**
* 历史操作人
*/
// private Long hisEmp;
/**
* 代办人固话
*/
private String operFixedTel;
/**
* 现住址类型(0:接受评定地址;1:接受服务地址;2:其他)
*/
private Short addressType;
/**
* 待遇类型(1失能、0失智)
*/
private Short treatmentType;
private static final long serialVersionUID = 1L;
}
package com.hungraim.ltc.pojo.entity.disable;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* 失能评定
*/
@Data
@TableName("CH_DISABLE_EVALUATE")
public class ChDisableEvaluate implements Serializable {
private Integer evaluateId;
private String certiCode;
private Integer medicalType;
private String diseaseDesc;
private String checkName;
private String accName;
private String cardType;
private String areaCode;
private String provinceCode;
private Integer diseaseLevel1;
private Integer diseaseLevel2;
private String bankNo;
private Integer operRelation;
private Integer sTATUS;
private Date allotTime;
private Integer webEndEmp;
private Integer srvOrgenId;
private Integer webDefineEmp;
private String districtArea;
private String bankRemark;
private Integer modeId;
private Date evaluateTime;
private String addressResidential;
private String contactName;
private String bankDistrictWebsite;
private String cityCode;
private Integer checkStatus;
private String districtProvince;
private String addressDetail;
private Date fCD;
private Integer srvModeId;
private String contactTel;
private Date lCD;
private String realName;
private Integer treatmentType;
private String streetCode;
private Integer dataFrom;
private String organId;
private String districtCity;
private String contactCertiCode;
private String bankDistrictCity;
private String refuseRemark;
private Integer fCU;
private String bankAccCode;
private String tEL;
private String bankDistrictProvincial;
private String checkRemark;
private Integer lCU;
public ChDisableEvaluate() {
super();
}
public ChDisableEvaluate(Integer evaluateId, String certiCode, Integer medicalType, String diseaseDesc, String checkName, String accName, String cardType, String areaCode, String provinceCode, Integer diseaseLevel1, Integer diseaseLevel2, String bankNo, Integer operRelation, Integer sTATUS, java.util.Date allotTime, Integer webEndEmp, Integer srvOrgenId, Integer webDefineEmp, String districtArea, String bankRemark, Integer modeId, java.util.Date evaluateTime, String addressResidential, String contactName, String bankDistrictWebsite, String cityCode, Integer checkStatus, String districtProvince, String addressDetail, java.util.Date fCD, Integer srvModeId, String contactTel, java.util.Date lCD, String realName, Integer treatmentType, String streetCode, Integer dataFrom, String organId, String districtCity, String contactCertiCode, String bankDistrictCity, String refuseRemark, Integer fCU, String bankAccCode, String tEL, String bankDistrictProvincial, String checkRemark, Integer lCU) {
super();
this.evaluateId = evaluateId;
this.certiCode = certiCode;
this.medicalType = medicalType;
this.diseaseDesc = diseaseDesc;
this.checkName = checkName;
this.accName = accName;
this.cardType = cardType;
this.areaCode = areaCode;
this.provinceCode = provinceCode;
this.diseaseLevel1 = diseaseLevel1;
this.diseaseLevel2 = diseaseLevel2;
this.bankNo = bankNo;
this.operRelation = operRelation;
this.sTATUS = sTATUS;
this.allotTime = allotTime;
this.webEndEmp = webEndEmp;
this.srvOrgenId = srvOrgenId;
this.webDefineEmp = webDefineEmp;
this.districtArea = districtArea;
this.bankRemark = bankRemark;
this.modeId = modeId;
this.evaluateTime = evaluateTime;
this.addressResidential = addressResidential;
this.contactName = contactName;
this.bankDistrictWebsite = bankDistrictWebsite;
this.cityCode = cityCode;
this.checkStatus = checkStatus;
this.districtProvince = districtProvince;
this.addressDetail = addressDetail;
this.fCD = fCD;
this.srvModeId = srvModeId;
this.contactTel = contactTel;
this.lCD = lCD;
this.realName = realName;
this.treatmentType = treatmentType;
this.streetCode = streetCode;
this.dataFrom = dataFrom;
this.organId = organId;
this.districtCity = districtCity;
this.contactCertiCode = contactCertiCode;
this.bankDistrictCity = bankDistrictCity;
this.refuseRemark = refuseRemark;
this.fCU = fCU;
this.bankAccCode = bankAccCode;
this.tEL = tEL;
this.bankDistrictProvincial = bankDistrictProvincial;
this.checkRemark = checkRemark;
this.lCU = lCU;
}
public Integer getEvaluateId() {
return this.evaluateId;
}
public void setEvaluateId(Integer evaluateId) {
this.evaluateId = evaluateId;
}
public String getCertiCode() {
return this.certiCode;
}
public void setCertiCode(String certiCode) {
this.certiCode = certiCode;
}
public Integer getMedicalType() {
return this.medicalType;
}
public void setMedicalType(Integer medicalType) {
this.medicalType = medicalType;
}
public String getDiseaseDesc() {
return this.diseaseDesc;
}
public void setDiseaseDesc(String diseaseDesc) {
this.diseaseDesc = diseaseDesc;
}
public String getCheckName() {
return this.checkName;
}
public void setCheckName(String checkName) {
this.checkName = checkName;
}
public String getAccName() {
return this.accName;
}
public void setAccName(String accName) {
this.accName = accName;
}
public String getCardType() {
return this.cardType;
}
public void setCardType(String cardType) {
this.cardType = cardType;
}
public String getAreaCode() {
return this.areaCode;
}
public void setAreaCode(String areaCode) {
this.areaCode = areaCode;
}
public String getProvinceCode() {
return this.provinceCode;
}
public void setProvinceCode(String provinceCode) {
this.provinceCode = provinceCode;
}
public Integer getDiseaseLevel1() {
return this.diseaseLevel1;
}
public void setDiseaseLevel1(Integer diseaseLevel1) {
this.diseaseLevel1 = diseaseLevel1;
}
public Integer getDiseaseLevel2() {
return this.diseaseLevel2;
}
public void setDiseaseLevel2(Integer diseaseLevel2) {
this.diseaseLevel2 = diseaseLevel2;
}
public String getBankNo() {
return this.bankNo;
}
public void setBankNo(String bankNo) {
this.bankNo = bankNo;
}
public Integer getOperRelation() {
return this.operRelation;
}
public void setOperRelation(Integer operRelation) {
this.operRelation = operRelation;
}
public Integer getSTATUS() {
return this.sTATUS;
}
public void setSTATUS(Integer sTATUS) {
this.sTATUS = sTATUS;
}
public java.util.Date getAllotTime() {
return this.allotTime;
}
public void setAllotTime(java.util.Date allotTime) {
this.allotTime = allotTime;
}
public Integer getWebEndEmp() {
return this.webEndEmp;
}
public void setWebEndEmp(Integer webEndEmp) {
this.webEndEmp = webEndEmp;
}
public Integer getSrvOrgenId() {
return this.srvOrgenId;
}
public void setSrvOrgenId(Integer srvOrgenId) {
this.srvOrgenId = srvOrgenId;
}
public Integer getWebDefineEmp() {
return this.webDefineEmp;
}
public void setWebDefineEmp(Integer webDefineEmp) {
this.webDefineEmp = webDefineEmp;
}
public String getDistrictArea() {
return this.districtArea;
}
public void setDistrictArea(String districtArea) {
this.districtArea = districtArea;
}
public String getBankRemark() {
return this.bankRemark;
}
public void setBankRemark(String bankRemark) {
this.bankRemark = bankRemark;
}
public Integer getModeId() {
return this.modeId;
}
public void setModeId(Integer modeId) {
this.modeId = modeId;
}
public java.util.Date getEvaluateTime() {
return this.evaluateTime;
}
public void setEvaluateTime(java.util.Date evaluateTime) {
this.evaluateTime = evaluateTime;
}
public String getAddressResidential() {
return this.addressResidential;
}
public void setAddressResidential(String addressResidential) {
this.addressResidential = addressResidential;
}
public String getContactName() {
return this.contactName;
}
public void setContactName(String contactName) {
this.contactName = contactName;
}
public String getBankDistrictWebsite() {
return this.bankDistrictWebsite;
}
public void setBankDistrictWebsite(String bankDistrictWebsite) {
this.bankDistrictWebsite = bankDistrictWebsite;
}
public String getCityCode() {
return this.cityCode;
}
public void setCityCode(String cityCode) {
this.cityCode = cityCode;
}
public Integer getCheckStatus() {
return this.checkStatus;
}
public void setCheckStatus(Integer checkStatus) {
this.checkStatus = checkStatus;
}
public String getDistrictProvince() {
return this.districtProvince;
}
public void setDistrictProvince(String districtProvince) {
this.districtProvince = districtProvince;
}
public String getAddressDetail() {
return this.addressDetail;
}
public void setAddressDetail(String addressDetail) {
this.addressDetail = addressDetail;
}
public java.util.Date getFCD() {
return this.fCD;
}
public void setFCD(java.util.Date fCD) {
this.fCD = fCD;
}
public Integer getSrvModeId() {
return this.srvModeId;
}
public void setSrvModeId(Integer srvModeId) {
this.srvModeId = srvModeId;
}
public String getContactTel() {
return this.contactTel;
}
public void setContactTel(String contactTel) {
this.contactTel = contactTel;
}
public java.util.Date getLCD() {
return this.lCD;
}
public void setLCD(java.util.Date lCD) {
this.lCD = lCD;
}
public String getRealName() {
return this.realName;
}
public void setRealName(String realName) {
this.realName = realName;
}
public Integer getTreatmentType() {
return this.treatmentType;
}
public void setTreatmentType(Integer treatmentType) {
this.treatmentType = treatmentType;
}
public String getStreetCode() {
return this.streetCode;
}
public void setStreetCode(String streetCode) {
this.streetCode = streetCode;
}
public Integer getDataFrom() {
return this.dataFrom;
}
public void setDataFrom(Integer dataFrom) {
this.dataFrom = dataFrom;
}
public String getOrganId() {
return this.organId;
}
public void setOrganId(String organId) {
this.organId = organId;
}
public String getDistrictCity() {
return this.districtCity;
}
public void setDistrictCity(String districtCity) {
this.districtCity = districtCity;
}
public String getContactCertiCode() {
return this.contactCertiCode;
}
public void setContactCertiCode(String contactCertiCode) {
this.contactCertiCode = contactCertiCode;
}
public String getBankDistrictCity() {
return this.bankDistrictCity;
}
public void setBankDistrictCity(String bankDistrictCity) {
this.bankDistrictCity = bankDistrictCity;
}
public String getRefuseRemark() {
return this.refuseRemark;
}
public void setRefuseRemark(String refuseRemark) {
this.refuseRemark = refuseRemark;
}
public Integer getFCU() {
return this.fCU;
}
public void setFCU(Integer fCU) {
this.fCU = fCU;
}
public String getBankAccCode() {
return this.bankAccCode;
}
public void setBankAccCode(String bankAccCode) {
this.bankAccCode = bankAccCode;
}
public String getTEL() {
return this.tEL;
}
public void setTEL(String tEL) {
this.tEL = tEL;
}
public String getBankDistrictProvincial() {
return this.bankDistrictProvincial;
}
public void setBankDistrictProvincial(String bankDistrictProvincial) {
this.bankDistrictProvincial = bankDistrictProvincial;
}
public String getCheckRemark() {
return this.checkRemark;
}
public void setCheckRemark(String checkRemark) {
this.checkRemark = checkRemark;
}
public Integer getLCU() {
return this.lCU;
}
public void setLCU(Integer lCU) {
this.lCU = lCU;
}
}
package com.hungraim.ltc.pojo.entity.disable;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.hungraim.ltc.pojo.entity.PageInfo;
import lombok.Data;
import java.io.Serializable;
/**
* 护理机构表
*/
@Data
@TableName("CH_SRV_ORGAN")
public class ChSrvOrgan {
public class ChSrvOrgan extends PageInfo implements Serializable {
@TableId("srv_organ_id")
private Integer srvOrganId;
private String acptRoadDetail;
private String acptLongitude;
......
......@@ -9,7 +9,7 @@ spring:
nacos:
discovery:
server-addr: qw.hungraim.com:31158
namespace: 353e9334-5b6c-4d44-9f5c-daf26e414898
namespace: 879ae966-eaf8-43fe-ae6f-34ee7aa186ba
config:
namespace: 87d6f6f1-6583-46ea-ad02-7e8125f03c90
server-addr: qw.hungraim.com:31158
......
package com.hungraim.ltc.governance.controller;
import com.hungraim.ltc.governance.service.IBuildBedService;
import cn.hutool.core.util.StrUtil;
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.hungraim.ism.pojo.vo.disable.DisableEvaluateVO;
import com.hungraim.ltc.governance.service.*;
import com.hungraim.ltc.pojo.entity.disable.ChDisableApply;
import com.hungraim.ltc.pojo.entity.disable.ChSrvOrgan;
import com.hungraim.ltc.pojo.entity.governance.ChSrvBuildBed;
import com.hungraim.ltc.pojo.vo.governance.BuildBedSearchReq;
import com.hungraim.ltc.util.Result;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletRequest;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
* @author jiaguokai
......@@ -18,6 +30,15 @@ import javax.annotation.Resource;
public class BuildBedController {
@Resource
private IBuildBedService buildBedService;
@Resource
private ApplyService applyService;
@Resource
private CrvService crvService;
@Resource
private DisableEvaluateService disableEvaluateService;
@PostMapping("/searchOrgBed")
public Result searchOrgBed(@RequestBody BuildBedSearchReq req) {
......@@ -25,8 +46,175 @@ public class BuildBedController {
}
@PostMapping("/addBuild")
public Result buildBed(ChSrvBuildBed buildBed) {
public Result<Boolean> buildBed(ChSrvBuildBed buildBed) {
boolean b = buildBedService.save(buildBed);
return Result.success(b);
}
/**
* 功能描述: 服务分配信息检索条件查询
*/
@GetMapping("/pageFuwuCondition")
public Result pageFuwuCondition(HttpServletRequest request,
@RequestBody(required = false) ChDisableApply disableApply) {
// 创建一个page对象
Page<ChDisableApply> disableApplyPage = new Page<ChDisableApply>(disableApply.getCurrent(), disableApply.getLimit());
// 构建条件
QueryWrapper<ChDisableApply> queryWrapper = new QueryWrapper<>();
// 多条件组合查询
// 机构id
String organid = disableApply.getOrganId();
// 失能人员姓名
String name = disableApply.getRealName();
// 失能人员手机号码
String tel = disableApply.getTel();
// 省
String provincial = disableApply.getDistrictProvincial();
// 市
String city = disableApply.getDistrictCity();
// 县
String area = disableApply.getDistrictArea();
// 失能人员身份证号码
String certiCode = disableApply.getCertiCode();
// 意向护理机构
Long srvOrganId = disableApply.getSrvOrganId();
// 服务方式
Long srvModeId = disableApply.getSrvModeId();
// 状态
Short applyStatus = disableApply.getApplyStatus();
if (!StrUtil.isEmpty(organid)) {
queryWrapper.like("organ_id", organid);
}
if (!StrUtil.isEmpty(name)) {
queryWrapper.like("real_name", name);
}
if (!StrUtil.isEmpty(tel)) {
queryWrapper.like("tel", tel);
}
if (!StrUtil.isEmpty(city)) {
queryWrapper.like("district_City", city);
}
if (!StrUtil.isEmpty(provincial)) {
queryWrapper.like("district_Provincial", provincial);
}
if (!StrUtil.isEmpty(area)) {
queryWrapper.like("district_Area", area);
}
if (!StrUtil.isEmpty(certiCode)) {
queryWrapper.like("certi_Code", certiCode);
}
if (srvOrganId != null) {
queryWrapper.like("srv_Organ_Id", srvOrganId);
}
if (srvModeId != null) {
queryWrapper.like("srv_Mode_Id", srvModeId);
}
if (applyStatus != null) {
queryWrapper.like("apply_Status", applyStatus);
}
// 调用方法实现分页查询
Page<ChDisableApply> page = applyService.seletPage(disableApplyPage, queryWrapper);
//buildBedService.
// 总记录数
long total = disableApplyPage.getTotal();
List<ChDisableApply> records = disableApplyPage.getRecords();
Map map = new HashMap<>();
map.put("total", total);
map.put("recors", records);
return Result.success(map);
}
/**
* 根据id查询失能人员的评定信息
*/
@GetMapping("/queryEvaluateById")
public Result queryEvaluateById (@ModelAttribute ChDisableApply chDisableApply){
String organId = chDisableApply.getOrganId();
Long srvOrganId = chDisableApply.getSrvOrganId();
String realName = chDisableApply.getRealName();
String certiCode = chDisableApply.getCertiCode();
IPage<DisableEvaluateVO> disableEvaluateVOIPage = disableEvaluateService.disableEvaluateList(organId, srvOrganId, realName, certiCode, chDisableApply.getCurrent(), chDisableApply.getLimit());
ChDisableApply page = applyService.selectById(chDisableApply.getApplyId());
// 查询是能人员最新评定信息
Map map = new HashMap<>();
map.put("disableEvaluate", disableEvaluateVOIPage.getRecords());
map.put("chDisableApply", page);
return Result.success(map);
}
/**
*护理机构及服务方式檢索
*/
@GetMapping("/PageCrv")
public Result PageCrv(HttpServletRequest request,
@RequestBody(required = false) ChSrvOrgan chSrvOrgan){
// 创建一个page对象
Page<ChSrvOrgan> chSrvOrganPage = new Page<ChSrvOrgan>(chSrvOrgan.getCurrent(), chSrvOrgan.getLimit());
// 构建条件
QueryWrapper<ChSrvOrgan> queryWrapper = new QueryWrapper<>();
// 多条件组合查询
// 机构id
String srvid = chSrvOrgan.getOrganId();
// 机构名称
String srvOrganName = chSrvOrgan.getSrvOrganName();
// 社会信用代码
String code = chSrvOrgan.getUnifiedSocialCreditCode();
if (!StrUtil.isEmpty(srvid)) {
queryWrapper.like("organ_id", srvid);
}
if (!StrUtil.isEmpty(srvOrganName)) {
queryWrapper.like("srv_Organ_Name", srvOrganName);
}
if (!StrUtil.isEmpty(code)) {
queryWrapper.like("unified_social_credit_code", code);
}
// 调用方法实现分页查询
Page<ChSrvOrgan> page = crvService.seletPage(chSrvOrganPage, queryWrapper);
//buildBedService.
// 总记录数
long total = chSrvOrganPage.getTotal();
List<ChSrvOrgan> records = chSrvOrganPage.getRecords();
Map map = new HashMap<>();
map.put("total", total);
map.put("recors", records);
return Result.success(map);
}
/**
*提交分配机构
*/
@PostMapping("/submit")
public Result submit(@RequestBody(required = false) ChDisableApply chDisableApply){
// 判斷參數是否存在
if (chDisableApply.getApplyId()==null){
return Result.failed("机构id無效");
}
// 查出失能人員相關信息
ChDisableApply apply = applyService.selectById(chDisableApply.getApplyId());
ChSrvOrgan chSrvOrgan = new ChSrvOrgan();
apply.setOrganId(chDisableApply.getOrganId());
apply.setDistrictProvincial(chDisableApply.getDistrictProvincial());
apply.setDistrictCity(chDisableApply.getDistrictCity());
apply.setDistrictArea(chDisableApply.getDistrictArea());
apply.setSrvModeId(chDisableApply.getSrvModeId());
// apply.setSrvOrganName(chDisableApply.getSrvOrganName());
// apply.setOrganTypeId(chSrvOrgan.getOrganTypeId());
// apply.setUnifiedSocialCreditCode(chSrvOrgan.getUnifiedSocialCreditCode());
// apply.setSrvType(chSrvOrgan.getSrvType());
apply.setEndTime(chDisableApply.getEndTime());
apply.setAcptRoadDetail(chDisableApply.getAcptRoadDetail());
// apply.setAcptRoadType(chSrvOrgan.getAcptRoadType());
// crvService.updateById(apply);
applyService.updateById(apply);
return Result.success(apply);
}
}
......@@ -32,4 +32,6 @@ public class RemoveBedController {
return Result.success(removeBedService.removeOne(removeBed));
}
}
package com.hungraim.ltc.governance.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hungraim.ism.pojo.vo.disable.DisableVO;
import com.hungraim.ltc.pojo.entity.disable.ChDisableApply;
import com.hungraim.ltc.pojo.entity.disable.ChDisableInfo;
import org.apache.ibatis.annotations.Mapper;
@Mapper
public interface ApplyMapper extends BaseMapper<ChDisableApply> {
}
package com.hungraim.ltc.governance.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hungraim.ism.pojo.vo.disable.DisableVO;
import com.hungraim.ltc.pojo.entity.governance.ChSrvBuildBed;
import com.hungraim.ltc.pojo.vo.governance.BuildBedSearchReq;
import com.hungraim.ltc.pojo.vo.governance.BuildBedSearchRsp;
......@@ -18,4 +20,9 @@ import org.springframework.stereotype.Repository;
public interface BuildBedMapper extends BaseMapper<ChSrvBuildBed> {
Page<BuildBedSearchRsp> searchOrgBed(Page<BuildBedSearchRsp> page, @Param("req") BuildBedSearchReq req);
IPage<DisableVO> disableList(String organId, String organname, String tel,
String srvmodename, String area, String city,
String certicode, String applystatus, int pageNum, int pageSize);
}
package com.hungraim.ltc.governance.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.hungraim.ltc.pojo.entity.disable.ChDisableApply;
import com.hungraim.ltc.pojo.entity.disable.ChDisableEvaluate;
import com.hungraim.ltc.pojo.entity.disable.ChSrvOrgan;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;
import java.util.List;
@Mapper
public interface CrvMapper extends BaseMapper<ChSrvOrgan> {
}
package com.hungraim.ltc.governance.dao;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hungraim.ism.pojo.vo.disable.DisableEvaluateInfoVO;
import com.hungraim.ism.pojo.vo.disable.DisableEvaluateVO;
import com.hungraim.ism.pojo.vo.disable.DisableVO;
import com.hungraim.ltc.pojo.entity.disable.ChDisableEvaluate;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;
/**
* 失能人员申请历史Mapper
*
* @author czz
*/
@Mapper
@Repository
public interface DisableEvaluateMapper extends BaseMapper<ChDisableEvaluate> {
/**
* 查询失能评定列表
*
* @param organId 适用机构代码
* @param srvOrganId 护理机构
* @param realName 失能人员姓名
* @param certiCode 失能人员身份证号码
*/
Page<DisableEvaluateVO> disableEvaluateList(Page<DisableVO> page, String organId, Long srvOrganId, String realName, String certiCode);
DisableEvaluateInfoVO selectDisableEvaluateInfoByEvaluateId(String evaluateId);
}
package com.hungraim.ltc.governance.service;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hungraim.ism.pojo.vo.disable.DisableVO;
import com.hungraim.ltc.pojo.entity.disable.ChDisableApply;
import com.hungraim.ltc.pojo.entity.disable.ChDisableInfo;
import org.springframework.beans.factory.annotation.Autowired;
import java.util.List;
public interface ApplyService extends IService<ChDisableApply> {
Page<ChDisableApply> seletPage(Page<ChDisableApply> disableApplyPage, QueryWrapper<ChDisableApply> queryWrapper);
ChDisableApply selectById(Long applyId);
}
package com.hungraim.ltc.governance.service;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hungraim.ltc.pojo.entity.disable.ChDisableApply;
import com.hungraim.ltc.pojo.entity.disable.ChSrvOrgan;
public interface CrvService extends IService<ChSrvOrgan> {
Page<ChSrvOrgan> seletPage(Page<ChSrvOrgan> chSrvOrganPage, QueryWrapper<ChSrvOrgan> queryWrapper);
ChSrvOrgan selectById(long applyId);
}
package com.hungraim.ltc.governance.service;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.hungraim.ism.pojo.vo.disable.DisableEvaluateInfoVO;
import com.hungraim.ism.pojo.vo.disable.DisableEvaluateVO;
import com.hungraim.ltc.pojo.entity.disable.ChDisableEvaluate;
import org.springframework.stereotype.Service;
/**
* 失能申请Service
*
* @author czz
*/
@Service
public interface DisableEvaluateService {
/**
* 失能评定列表
*
* @param organId 适用机构代码
* @param srvOrganId 护理机构
* @param realName 失能人员姓名
* @param certiCode 失能人员身份证号码
* @param pageNum 当前页
* @param pageSize 每页几条数据
* @return
*/
IPage<DisableEvaluateVO> disableEvaluateList(String organId, Long srvOrganId, String realName, String certiCode, int pageNum, int pageSize);
/**
* 失能评定详情
*
* @param evaluateId 评定id
* @return 失能评定详情
*/
DisableEvaluateInfoVO disableEvaluateInfo(String evaluateId);
void addEvaluate(ChDisableEvaluate disableEvaluate);
void disableEvaluate(String applyId, String checkName, Short applyStatus, String checkRemark);
}
package com.hungraim.ltc.governance.service;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.hungraim.ism.pojo.vo.disable.DisableVO;
import com.hungraim.ltc.governance.dao.BuildBedMapper;
import com.hungraim.ltc.pojo.entity.disable.ChDepositAcct;
import com.hungraim.ltc.pojo.entity.disable.ChDisableApply;
import com.hungraim.ltc.pojo.entity.governance.ChSrvBuildBed;
import com.hungraim.ltc.pojo.vo.governance.BuildBedSearchReq;
import com.hungraim.ltc.util.Result;
import org.springframework.beans.factory.annotation.Autowired;
/**
* @author jiaguokai
*/
public interface IBuildBedService extends IService<ChSrvBuildBed> {
Result searchOrgBed(BuildBedSearchReq req);
}
package com.hungraim.ltc.governance.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hungraim.ltc.governance.dao.ApplyMapper;
import com.hungraim.ltc.governance.service.ApplyService;
import com.hungraim.ltc.pojo.entity.disable.ChDisableApply;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
@Service
public class ApplyServiceImpl extends ServiceImpl<ApplyMapper, ChDisableApply> implements ApplyService {
@Resource
private ApplyMapper applyMapper;
@Override
public Page<ChDisableApply> seletPage(Page<ChDisableApply> disableApplyPage, QueryWrapper<ChDisableApply> queryWrapper) {
return applyMapper.selectPage(disableApplyPage, queryWrapper);
}
@Override
public ChDisableApply selectById(Long applyId) {
return applyMapper.selectById(applyId);
}
}
......@@ -2,8 +2,11 @@ package com.hungraim.ltc.governance.service.impl;
import cn.hutool.core.util.StrUtil;
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.service.impl.ServiceImpl;
import com.hungraim.ism.pojo.vo.disable.DisableEvaluateInfoVO;
import com.hungraim.ism.pojo.vo.disable.DisableVO;
import com.hungraim.ltc.governance.dao.BuildBedMapper;
import com.hungraim.ltc.governance.service.IBuildBedService;
import com.hungraim.ltc.pojo.entity.governance.ChSrvBuildBed;
......@@ -15,6 +18,10 @@ import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/**
* @author jiaguokai
......@@ -46,4 +53,6 @@ public class BuildBedServiceImpl extends ServiceImpl<BuildBedMapper, ChSrvBuildB
Page page = buildBedMapper.searchOrgBed(new Page<>(req.getPageNum(), req.getPageSize()), req);
return Result.success(page);
}
}
package com.hungraim.ltc.governance.service.impl;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hungraim.ltc.governance.dao.CrvMapper;
import com.hungraim.ltc.governance.service.CrvService;
import com.hungraim.ltc.pojo.entity.disable.ChDisableApply;
import com.hungraim.ltc.pojo.entity.disable.ChSrvOrgan;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
@Service
public class CrvServiceImpl extends ServiceImpl<CrvMapper, ChSrvOrgan> implements CrvService {
@Resource
private CrvMapper crvMapper;
@Override
public Page<ChSrvOrgan> seletPage(Page<ChSrvOrgan> chSrvOrganPage, QueryWrapper<ChSrvOrgan> queryWrapper) {
return crvMapper.selectPage(chSrvOrganPage,queryWrapper);
}
@Override
public ChSrvOrgan selectById(long applyId) {
return crvMapper.selectById(applyId);
}
}
package com.hungraim.ltc.governance.service.impl;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hungraim.ism.pojo.vo.disable.DisableEvaluateInfoVO;
import com.hungraim.ism.pojo.vo.disable.DisableEvaluateVO;
import com.hungraim.ltc.governance.dao.DisableEvaluateMapper;
import com.hungraim.ltc.governance.service.DisableEvaluateService;
import com.hungraim.ltc.pojo.entity.disable.ChDisableEvaluate;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
@Service
public class DisableEvaluateServiceImpl implements DisableEvaluateService {
@Autowired
private DisableEvaluateMapper disableEvaluateList;
@Override
public IPage<DisableEvaluateVO> disableEvaluateList(String organId, Long srvOrganId, String realName, String certiCode, int pageNum, int pageSize) {
return disableEvaluateList.disableEvaluateList(new Page(pageNum, pageSize), organId, srvOrganId,realName, certiCode );
}
@Override
public DisableEvaluateInfoVO disableEvaluateInfo(String evaluateId) {
return disableEvaluateList.selectDisableEvaluateInfoByEvaluateId(evaluateId);
}
@Override
public void addEvaluate(ChDisableEvaluate disableEvaluate) {
disableEvaluateList.insert(disableEvaluate);
}
@Override
public void disableEvaluate(String applyId, String checkName, Short applyStatus, String checkRemark) {
/*ChDisableApply chDisableApply = disableEvaluateList.selectById(applyId);
chDisableApply.setCheckName(checkName);
chDisableApply.setApplyStatus(applyStatus);
chDisableApply.setCheckRemark(checkRemark);*/
}
}
\ No newline at end of file
......@@ -9,7 +9,7 @@ spring:
nacos:
discovery:
server-addr: qw.hungraim.com:31158
namespace: 353e9334-5b6c-4d44-9f5c-daf26e414898
namespace: 879ae966-eaf8-43fe-ae6f-34ee7aa186ba
config:
namespace: 87d6f6f1-6583-46ea-ad02-7e8125f03c90
server-addr: qw.hungraim.com:31158
......
<?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.ltc.governance.dao.DisableEvaluateMapper">
<select id="disableEvaluateList" resultType="com.hungraim.ism.pojo.vo.disable.DisableEvaluateVO">
select e.evaluate_id evaluateId,
o.ORGAN_NAME organName,
e.organ_id organId,
e.PROVINCE_CODE provincial,
e.CITY_CODE city,
e.AREA_CODE area,
e.REAL_NAME realName,
e.CERTI_CODE certiCode,
e.DISEASE_DESC diseaseDesc,
e.TEL tel,
e.SRV_ORGEN_ID srvOrgenId,
e.MODE_ID modeId,
e.EVALUATE_TIME evaluateTime
from CH_DISABLE_EVALUATE e,CH_FND_ORGAN o
where e.organ_id = o.ORGAN_ID
<if test="organId != null">
and e.organ_Id = #{organId}
</if>
<if test="srvOrganId != null">
and e.srv_Organ_Id = #{srvOrganId}
</if>
<if test="realName != null">
and e.real_Name like '%'#{realName}'%'
</if>
<if test="certiCode != null">
and e.certi_Code = #{certiCode}
</if>
</select>
<select id="selectDisableEvaluateInfoByEvaluateId" resultType="com.hungraim.ism.pojo.vo.disable.DisableEvaluateInfoVO">
select a.organ_id organId,
(select o1.organ_name from CH_FND_ORGAN o1 where a.organ_id = o1.organ_id) organName,
a.DISTRICT_PROVINCIAL provincial,
a.DISTRICT_CITY city,
a.DISTRICT_AREA area,
a.REAL_NAME name,
a.CERTI_CODE certiCode,
a.BIRTHDAY birthday,
a.GENDER gender,
a.TEL tel,
a.REGIST regist,
a.FIXED_TEL fixedTel,
a.TREATMENT_TYPE treatmentType,
a.ACPT_PROVINCIAL acptProvincial,
a.ACPT_CITY acptCity,
a.ACPT_AREA acptArea,
a.ACPT_STREET acptStreet,
a.ACPT_ADDRESS acptAddress,
a.ACPT_SRV_PROVINCIAL acptSrvProvincial,
a.ACPT_SRV_CITY acptSrvCity,
a.ACPT_SRV_AREA acptSrvArea,
a.ACPT_SRV_STREET acptSrvStreet,
a.ACPT_SRV_ROAD_DETAIL acptSrvRoadDetail,
a.ADRESS_DISTRICT_PROVINCIAL adressDistrictProvincial,
a.ADRESS_DISTRICT_CITY adressDistrictCity,
a.ADRESS_DISTRICT_CODE adressDistrictCode,
a.ADDRESS_ROAD_DETAIL addressRoadDetail,
a.ADDRESS_NUMBER_DETAIL addressNumberDetail,
a.DISEASE disease,
a.APPLY_METHOD applyMethod,
a.DISEASE_DESC diseaseDesc,
a.MEDICAL_CARD medicalCard,
a.MEDICAL_TYPE medicalType,
a.SRV_ORGAN_ID srvOrganId,
o.PERMIT_ID permitId,
a.OPER_NAME operName,
a.OPER_CERTI_CODE operCertiCode,
a.OPER_TEL operTel,
a.OPER_RELATION operRelation,
a.OPER_FIXED_TEL operFixedTel,
a.OPER_DISTRICT_PROVINCE operDistrictProvince,
a.OPER_DISTRICT_CITY operDistrictCity,
a.OPER_DISTRICT_CODE operDistrictCode,
a.OPER_STREET operStreet,
a.OPER_ADDRESS operAddress,
a.CHECK_NAME checkName,
a.APPLY_STATUS applyStatus,
a.CHECK_REMARK checkRemark
from ch_disable_evaluate a,
CH_SRV_ORGAN o
where a.EVALUATE_ID = #{evaluateId}
and a.SRV_ORGAN_ID = o.organ_code
</select>
</mapper>
\ No newline at end of file
......@@ -197,7 +197,7 @@ public class UserController {
/**
* 新增用户
* 修改用户
*/ @PostMapping("/updateUser")
public Result updateUser(ReqUserInfo reqUserInfo) {
if (reqUserInfo.getId() == null || reqUserInfo.getId() == 0) {
......@@ -216,10 +216,6 @@ public class UserController {
systemUser.setAccount(reqUserInfo.getAccount());
flag = true;
}
// if (!reqUserInfo.getAvatar().equals(systemUser.getAvatar())) {
// systemUser.setAvatar(reqUserInfo.getAvatar());
// flag = true;
// }
if (!reqUserInfo.getGender().equals(systemUser.getGender())) {
systemUser.setGender(reqUserInfo.getGender());
flag = true;
......@@ -228,12 +224,10 @@ public class UserController {
systemUser.setUserId(reqUserInfo.getId());
flag = true;
}
if (flag) {
systemUser.setUpdatedTime(new Date());
userInfoService.save(systemUser);
}
//查询该角色下所有的资源数据
List<SystemUserRole> roleResources = userRoleService.list(new LambdaQueryWrapper<SystemUserRole>().eq(SystemUserRole::getUserId, reqUserInfo.getId()));
......@@ -255,7 +249,6 @@ public class UserController {
return systemRoleResource;
}).collect(Collectors.toList());
userRoleService.saveBatch(newRoleResources);
List<Long> deleteRoleResources = roleResources.stream()
.map(SystemUserRole::getRoleId).filter(id -> !reqUserInfo.getRoleIds().contains(id))
.collect(Collectors.toList());
......
......@@ -10,7 +10,7 @@ spring:
nacos:
discovery:
server-addr: qw.hungraim.com:31158
namespace: 353e9334-5b6c-4d44-9f5c-daf26e414898
namespace: 879ae966-eaf8-43fe-ae6f-34ee7aa186ba
config:
namespace: 87d6f6f1-6583-46ea-ad02-7e8125f03c90
server-addr: qw.hungraim.com:31158
......
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