中扬CRM客户关系管理系统
LSH
2023-08-22 e89a0bdd6041774d77408744993ba3b98a1e1c97
src/main/java/com/zy/crm/manager/entity/ReimburseOnline.java
@@ -7,7 +7,6 @@
import com.core.common.Cools;
import com.core.common.SpringUtils;
import com.zy.crm.manager.service.OrderService;
import com.zy.crm.manager.service.PlanService;
import com.zy.crm.system.entity.User;
import com.zy.crm.system.service.UserService;
import io.swagger.annotations.ApiModelProperty;
@@ -55,7 +54,7 @@
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @ApiModelProperty(value= "项目id{man_item}")
    @ApiModelProperty(value= "项目id{man_item}/planId")
    @TableField("item_id")
    private Long itemId;
@@ -63,7 +62,7 @@
    @TableField("order_num")
    private String orderNum;
    @ApiModelProperty(value= "模板名")
    @ApiModelProperty(value= "报销类型")
    @TableField("template_name")
    private String templateName;
@@ -84,7 +83,7 @@
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
    @ApiModelProperty(value= "上传报价excel数据")
    @ApiModelProperty(value= "是否冲账")
    @TableField("check_data")
    private String checkData;
@@ -109,6 +108,18 @@
        this.filepath = filepath;
    }
    public ReimburseOnline(Long itemId,String orderNum,Date createTime,User user) {
        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();
    }
//    PriOnline priOnline = new PriOnline(
//            null,    // excel表标题
//            null,    // excel表数据