中扬CRM客户关系管理系统
#
Junjie
2023-09-08 479856d9964ebe0cf39e182dd0035a42e4a80c9c
src/main/java/com/zy/crm/manager/entity/Order.java
@@ -138,9 +138,9 @@
    private String files;
    /**
     * 状态 1: 正常  0: 禁用
     * 项目状态{0:跟踪中,1:完成,2:关闭}
     */
    @ApiModelProperty(value= "状态 1: 正常  0: 禁用  ")
    @ApiModelProperty(value= "项目状态{0:跟踪中,1:完成,2:关闭}")
    private Integer status;
    /**
@@ -178,16 +178,22 @@
    @TableField("step")
    private int step;
    /**
     * 注释
     */
    @ApiModelProperty(value= "注释")
    private String memo;
    /**
     * 预计成交率
     */
    @ApiModelProperty(value= "预计成交率")
    private String transactionRate;
    public Order() {}
    public Order(Long hostId,Long deptId,Long userId,Long cstmrId,String uuid,String name,Double money,Long company,String remarks,Long director,String province,String city,String district,String town,String addr,String files,Integer status,Long createBy,Date createTime,Long updateBy,Date updateTime,Integer step,String memo) {
    public Order(Long id, Long hostId, Long deptId, Long userId, Long cstmrId, String uuid, String name, Double money, Long company, String remarks, Long director, String province, String city, String district, String town, String addr, String files, Integer status, Long createBy, Date createTime, Long updateBy, Date updateTime, int step, String memo, String transactionRate, String pcd) {
        this.id = id;
        this.hostId = hostId;
        this.deptId = deptId;
        this.userId = userId;
@@ -211,6 +217,8 @@
        this.updateTime = updateTime;
        this.step = step;
        this.memo = memo;
        this.transactionRate = transactionRate;
        this.pcd = pcd;
    }
//    Order order = new Order(
@@ -295,10 +303,12 @@
    public String getStatus$(){
        if (null == this.status){ return null; }
        switch (this.status){
            case 1:
                return "正常";
            case 0:
                return "禁用";
                return "跟踪中";
            case 1:
                return "完成";
            case 2:
                return "关闭";
            default:
                return String.valueOf(this.status);
        }