中扬CRM客户关系管理系统
#
lsh
2024-04-15 13a34d2197b001799ef8f0f09e5b48af2add0926
src/main/java/com/zy/crm/manager/entity/WeeklyDailyReality.java
@@ -5,6 +5,7 @@
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.annotations.TableField;
import com.zy.crm.manager.service.CstmrService;
import com.zy.crm.manager.service.WeeklyCostTypesService;
import com.zy.crm.system.entity.*;
import com.zy.crm.system.service.*;
@@ -151,6 +152,36 @@
    private String weeklyMatter;
    /**
     * 省
     */
    @ApiModelProperty(value= "省")
    private String province;
    /**
     * 市
     */
    @ApiModelProperty(value= "市")
    private String city;
    /**
     * 县
     */
    @ApiModelProperty(value= "县")
    private String district;
    /**
     * 镇
     */
    @ApiModelProperty(value= "镇")
    private String town;
    /**
     * 详细地址
     */
    @ApiModelProperty(value= "详细地址")
    private String addr;
    /**
     * 负责人
     */
    @ApiModelProperty(value= "负责人")
@@ -185,6 +216,13 @@
    @TableId(value = "cstmr_id", type = IdType.INPUT)
    @TableField("cstmr_id")
    private Long cstmrId;
    /**
     * 甲方单位ID
     */
    @ApiModelProperty(value= "甲方单位ID")
    @TableField("cstmr_name")
    private String cstmrName;
    /**
     * 星期
@@ -296,6 +334,15 @@
        return null;
    }
    public String getCstmrId$(){
        CstmrService service = SpringUtils.getBean(CstmrService.class);
        Cstmr cstmr = service.selectById(this.cstmrId);
        if (!Cools.isEmpty(cstmr)){
            return String.valueOf(cstmr.getName());
        }
        return null;
    }
    public String getStatus$(){
        if (null == this.status){ return null; }
        switch (this.status){