中扬CRM客户关系管理系统
#
LSH
2023-10-06 96bb312dcb807358167866b2e05572ac10090ca8
src/main/java/com/zy/crm/manager/entity/ReimburseOnline.java
@@ -74,6 +74,10 @@
    @TableField("dept_id")
    private Long deptId;
    @ApiModelProperty(value= "")
    @TableField("host_id")
    private Long hostId;
    @ApiModelProperty(value= "状态{0:未完成,1:已完成}")
    @TableField("status")
    private Integer status;
@@ -118,6 +122,13 @@
    @TableField("settle_msg")
    private String settleMsg;
    /**
     * 客户名称
     */
    @ApiModelProperty(value= "客户名称")
    @TableField("name")
    private String name;
    public ReimburseOnline() {}
    public ReimburseOnline(String title, String sheetData, Date createTime, String filepath) {
@@ -138,6 +149,17 @@
        this.updateUserId = user.getId();
    }
    public ReimburseOnline(Long itemId,String orderNum,Date createTime,User user,Integer settle) {
        this.itemId = itemId;
        this.orderNum = orderNum;
        this.createTime = createTime;
        this.updateTime = createTime;
        this.userId = user.getId();
        this.deptId = user.getDeptId();
        this.status = 0;
        this.updateUserId = user.getId();
        this.settle = settle;
    }
//    PriOnline priOnline = new PriOnline(
//            null,    // excel表标题
@@ -145,6 +167,30 @@
//            null    // 创建时间
//    );
    public String getSettle$(){
        if (null == this.settle){ return null; }
        switch (this.settle){
            case 0:
                return "待提交";
            case 1:
                return "等待部门经理审核";
            case 2:
                return "等待结点3审核";
            case 3:
                return "等待结点4审核";
            case 4:
                return "等待结点5审核";
            case 5:
                return "等待结点6审核";
            case 6:
                return "申请通过";
            case 7:
                return "申请通过";
            default:
                return String.valueOf(this.settle);
        }
    }
    public String getCreateTime$(){
        if (Cools.isEmpty(this.createTime)){
            return "";