中扬CRM客户关系管理系统
LSH
2023-09-12 fd4a6165dab2759b8d7bc7955debb48455d1a571
src/main/java/com/zy/crm/manager/entity/PriQuoteBudget.java
@@ -95,6 +95,26 @@
    @TableField("dept_id")
    private Long deptId;
    /**
     * hostId
     */
    @ApiModelProperty(value= "hostId")
    @TableField("host_id")
    private Long hostId;
    /**
     * 进度
     */
    @ApiModelProperty(value= "进度")
    private Integer settle;
    /**
     * 流程进度
     */
    @ApiModelProperty(value= "流程进度")
    @TableField("settle_msg")
    private String settleMsg;
    public PriQuoteBudget() {}
    public PriQuoteBudget(String title,String sheetData,Date createTime,String filepath) {
@@ -104,6 +124,22 @@
        this.filepath = filepath;
    }
    public String getSettle$(){
        if (null == this.settle){ return null; }
        switch (this.settle){
            case 0:
                return "等待提交";
            case 1:
                return "等待审批";
            case 2:
                return "等待确认";
            case 3:
                return "审批通过";
            default:
                return String.valueOf(this.settle);
        }
    }
    public Long getCstmrId$(){
        CstmrService cstmrService = SpringUtils.getBean(CstmrService.class);
        Cstmr cstmr = cstmrService.selectByName(1L, this.templateName);