From 4d730af0447c686133130d0116a0fa3dd82c2dca Mon Sep 17 00:00:00 2001
From: BAOLH <baolh@yhzhg.cn>
Date: Tue, 10 Nov 2026 01:41:03 +0000
Subject: [PATCH] Merge branch 'wcd-2411-update' into wcd
---
eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/task/domain/TaskDaliy.java | 53 +++++++++++++++++++++++++++++++++++++++++++----------
1 files changed, 43 insertions(+), 10 deletions(-)
diff --git a/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/task/domain/TaskDaliy.java b/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/task/domain/TaskDaliy.java
index b56fd94..4d57fbd 100644
--- a/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/task/domain/TaskDaliy.java
+++ b/eladmin-master/eladmin-system/src/main/java/me/zhengjie/modules/task/domain/TaskDaliy.java
@@ -15,16 +15,22 @@
*/
package me.zhengjie.modules.task.domain;
-import lombok.Data;
-import cn.hutool.core.bean.BeanUtil;
-import io.swagger.annotations.ApiModelProperty;
-import cn.hutool.core.bean.copier.CopyOptions;
-import me.zhengjie.base.BaseEntity;
-
-import javax.persistence.*;
-import javax.validation.constraints.*;
-import java.sql.Timestamp;
import java.io.Serializable;
+import java.util.Date;
+
+import javax.persistence.Column;
+import javax.persistence.Entity;
+import javax.persistence.GeneratedValue;
+import javax.persistence.GenerationType;
+import javax.persistence.Id;
+import javax.persistence.Table;
+import javax.validation.constraints.NotNull;
+
+import cn.hutool.core.bean.BeanUtil;
+import cn.hutool.core.bean.copier.CopyOptions;
+import io.swagger.annotations.ApiModelProperty;
+import lombok.Data;
+import me.zhengjie.base.BaseEntity;
/**
* @website https://eladmin.vip
@@ -53,6 +59,11 @@
@ApiModelProperty(value = "任务ID")
private Long taskId;
+ @Column(name = "`task_inner_id`",nullable = false)
+ @NotNull
+ @ApiModelProperty(value = "任务连番")
+ private Long taskInnerId;
+
@Column(name = "`user_id`",nullable = false)
@NotNull
@ApiModelProperty(value = "员工ID")
@@ -61,7 +72,7 @@
@Column(name = "`fill_date`",nullable = false)
@NotNull
@ApiModelProperty(value = "填写日期")
- private Timestamp fillDate;
+ private Date fillDate;
@Column(name = "`consumed_hours`",nullable = false)
@NotNull
@@ -72,10 +83,32 @@
@ApiModelProperty(value = "消耗工作量")
private Double consumedWorkload;
+ @Column(name = "`task_progress`",nullable = false)
+ @NotNull
+ @ApiModelProperty(value = "任务进度")
+ private Double taskProgress;
+
+ @Column(name = "`settlement_status`",nullable = false)
+ @NotNull
+ @ApiModelProperty(value = "结算状态")
+ private String settlementStatus;
+
@Column(name = "`remarks`")
@ApiModelProperty(value = "备注")
private String remarks;
+ @Column(name = "`task_seconds`")
+ @ApiModelProperty(value = "秒数(任务耗时)")
+ private Integer taskSeconds;
+
+ @Column(name = "`points_consumed`")
+ @ApiModelProperty(value = "消耗积分")
+ private Integer pointsConsumed;
+
+ @Column(name = "`issue_count`")
+ @ApiModelProperty(value = "问题数量")
+ private Integer issueCount;
+
public void copy(TaskDaliy source){
BeanUtil.copyProperties(source,this, CopyOptions.create().setIgnoreNullValue(true));
}
--
Gitblit v1.9.3