中扬CRM客户关系管理系统
Junjie
2023-09-06 a07cbc9c54891faef8c356ff1ac53a4b71b28271
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;
    /**
@@ -173,6 +173,12 @@
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    @ApiModelProperty(value= "项目进度流程{1:项目创建,2:核价处理,3:产品费用明细,4:报价预算单,5:报价单}")
    @TableField("step")
    private int step;
    /**
     * 注释
     */
@@ -181,7 +187,7 @@
    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,String memo) {
    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) {
        this.hostId = hostId;
        this.deptId = deptId;
        this.userId = userId;
@@ -203,6 +209,7 @@
        this.createTime = createTime;
        this.updateBy = updateBy;
        this.updateTime = updateTime;
        this.step = step;
        this.memo = memo;
    }
@@ -288,10 +295,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);
        }
@@ -310,7 +319,7 @@
        if (Cools.isEmpty(this.createTime)){
            return "";
        }
        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.createTime);
        return new SimpleDateFormat("yyyy-MM-dd HH:mm").format(this.createTime);
    }
    public String getUpdateBy$(){
@@ -326,7 +335,7 @@
        if (Cools.isEmpty(this.updateTime)){
            return "";
        }
        return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.updateTime);
        return new SimpleDateFormat("yyyy-MM-dd HH:mm").format(this.updateTime);
    }
    @TableField(exist = false)