Przeglądaj źródła

status统一保存为integer

chenyongxing 7 lat temu
rodzic
commit
6283029931

+ 4 - 4
svr/svr-wlyy/src/main/java/com/yihu/jw/wlyy/entity/agreement/WlyyAgreement.java

@ -30,10 +30,10 @@ public class WlyyAgreement extends IdEntity implements Serializable{
    private String type;//类型
    private Date createTime;
    private Date updateTime;
    private String status;//状态 -1删除 0 冻结 1可用
    private Integer status;//状态 -1删除 0 冻结 1可用
    private String createUser;
    public WlyyAgreement(String code, String parentCode, String saasId, String name, BigDecimal price, String posterPic, String remark, String type, Date createTime, Date updateTime, String status, String createUser) {
    public WlyyAgreement(String code, String parentCode, String saasId, String name, BigDecimal price, String posterPic, String remark, String type, Date createTime, Date updateTime, Integer status, String createUser) {
        this.code = code;
        this.parentCode = parentCode;
        this.saasId = saasId;
@ -143,11 +143,11 @@ public class WlyyAgreement extends IdEntity implements Serializable{
    }
    @Column(name = "status")
    public String getStatus() {
    public Integer getStatus() {
        return status;
    }
    public void setStatus(String status) {
    public void setStatus(Integer status) {
        this.status = status;
    }

+ 3 - 3
svr/svr-wlyy/src/main/java/com/yihu/jw/wlyy/entity/agreement/WlyySignFamily.java

@ -33,7 +33,7 @@ public class WlyySignFamily extends IdEntity{
    private Date end;//签约结束日期
    private String images;//签约图片附件URL,多图以逗号分隔
    private String groupCode;//分组标识
    private int status;//签约状态(-1患者已取消,-2已拒绝,-3已解约,-4已到期,0待签约,1已签约,2患者申请取消签约,3医生申请取消签约
    private Integer status;//签约状态(-1患者已取消,-2已拒绝,-3已解约,-4已到期,0待签约,1已签约,2患者申请取消签约,3医生申请取消签约
    private String reason;//解决原因
    private Date czrq;//操作时间
    private String teamCode;//所属团队code 关联wlyy_doctor_team
@ -218,11 +218,11 @@ public class WlyySignFamily extends IdEntity{
    }
    @Column(name = "status")
    public int getStatus() {
    public Integer getStatus() {
        return status;
    }
    public void setStatus(int status) {
    public void setStatus(Integer status) {
        this.status = status;
    }

+ 3 - 3
svr/svr-wlyy/src/main/java/com/yihu/jw/wlyy/entity/patient/WlyyAdvertisement.java

@ -22,7 +22,7 @@ public class WlyyAdvertisement extends IdEntity implements Serializable {
    private String picture;//展示的图片
    private String url;//链接
    private Integer sort;//排序( 数字越小排越前面)
    private String status;//状态 -1 删除 0 禁用 1可用
    private Integer status;//状态 -1 删除 0 禁用 1可用
    private String createUser;//创建人
    private String createUserName;////创建人名
    private Date createTime;//创建时间
@ -93,11 +93,11 @@ public class WlyyAdvertisement extends IdEntity implements Serializable {
    
    @Column(name = "status")
    public String getStatus() {
    public Integer getStatus() {
        return status;
    }
    public void setStatus(String status) {
    public void setStatus(Integer status) {
        this.status = status;
    }