中扬CRM客户关系管理系统
#
LSH
2023-11-10 96bea93e9591de5bd6e632b7bf9bb1e920f371ed
src/main/java/com/zy/crm/manager/entity/Cstmr.java
@@ -254,6 +254,25 @@
    public Cstmr() {}
    public Cstmr(Cstmr cstmr) {
        this.hostId = cstmr.getHostId();
        this.deptId = cstmr.getDeptId();
        this.userId = cstmr.getUserId();
        this.cstmrType = cstmr.getCstmrType();
        this.director = cstmr.getDirector();
        this.province = cstmr.getProvince();
        this.city = cstmr.getCity();
        this.district = cstmr.getDistrict();
        this.town = cstmr.getTown();
        this.addr = cstmr.getAddr();
        this.type = cstmr.getType();
        this.status = cstmr.getStatus();
        this.createBy = cstmr.getCreateBy();
        this.createTime = cstmr.getCreateTime();
        this.updateBy = cstmr.getUpdateBy();
        this.updateTime = cstmr.getUpdateTime();
    }
    public Cstmr(Long hostId,Long deptId,Long userId,Long cstmrType,String uuid,String name,String simple,String rela,String tel,String contacts,String remarks,Long director,String province,String city,String district,String town,String addr,Integer type,String files,Integer status,Long createBy,Date createTime,Long updateBy,Date updateTime,String memo) {
        this.hostId = hostId;
        this.deptId = deptId;
@@ -347,6 +366,7 @@
    }
    public String getDirector$(){
        if (Cools.isEmpty(this.director)) return null;
        UserService service = SpringUtils.getBean(UserService.class);
        User user = service.selectById(this.director);
        if (!Cools.isEmpty(user)){