From e89a0bdd6041774d77408744993ba3b98a1e1c97 Mon Sep 17 00:00:00 2001 From: LSH Date: 星期二, 22 八月 2023 14:32:02 +0800 Subject: [PATCH] #报销完善 --- src/main/java/com/zy/crm/manager/entity/ReimburseOnline.java | 19 +++++++++++++++---- 1 files changed, 15 insertions(+), 4 deletions(-) diff --git a/src/main/java/com/zy/crm/manager/entity/ReimburseOnline.java b/src/main/java/com/zy/crm/manager/entity/ReimburseOnline.java index 5ca5422..2d7ab4b 100644 --- a/src/main/java/com/zy/crm/manager/entity/ReimburseOnline.java +++ b/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琛ㄦ暟鎹� -- Gitblit v1.9.1