From 8d6b17bfa56fd767c6f9de666eb0dd44c6b032cd Mon Sep 17 00:00:00 2001
From: 廖井涛 <2265517004@qq.com>
Date: 星期四, 22 五月 2025 15:42:38 +0800
Subject: [PATCH] Merge branch 'master' of http://10.153.19.25:10101/r/ERP_override
---
north-glass-erp/src/main/java/com/example/erp/entity/pp/ReportingWork.java | 65 ++++++++++++++++++++++++++------
1 files changed, 53 insertions(+), 12 deletions(-)
diff --git a/north-glass-erp/src/main/java/com/example/erp/entity/pp/ReportingWork.java b/north-glass-erp/src/main/java/com/example/erp/entity/pp/ReportingWork.java
index d12051e..a1c945e 100644
--- a/north-glass-erp/src/main/java/com/example/erp/entity/pp/ReportingWork.java
+++ b/north-glass-erp/src/main/java/com/example/erp/entity/pp/ReportingWork.java
@@ -1,10 +1,17 @@
package com.example.erp.entity.pp;
import com.baomidou.mybatisplus.annotation.IdType;
+import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
+import com.example.erp.entity.sd.Order;
+import com.example.erp.entity.sd.OrderDetail;
+import com.example.erp.entity.sd.OrderGlassDetail;
+import com.fasterxml.jackson.annotation.JsonFormat;
+import lombok.Data;
-import java.time.LocalDate;
+import java.time.LocalDateTime;
+@Data
public class ReportingWork {
@TableId(type = IdType.AUTO)
//鑷id
@@ -28,19 +35,19 @@
//鏈伐搴�
private String thisProcess;
//涓婂伐搴忔暟閲�
- private Integer thisProcessQuantity;
+ private int thisProcessQuantity;
//鏈伐搴忓畬宸ユ暟閲�
- private Integer thisCompletedQuantity;
+ private int thisCompletedQuantity;
//鏈伐搴忔鐮存暟閲�
- private Integer thisWornQuantity;
+ private int thisWornQuantity;
//涓嬪伐搴�
private String nextProcess;
//鐝
private String classes;
//鐝粍缂栧彿
- private String teamsgroupsId;
+ private String teamsGroupsId;
//鐝粍鍚嶇О
- private String teamsgroupsName;
+ private String teamsGroupsName;
//鎶ュ伐鐘舵��
private Integer reportingWorkState;
//瀹℃牳浜�
@@ -50,20 +57,54 @@
//澶囨敞
private String notes;
//璐ㄦ鍛�
- private String qualityInsPector;
+ private String qualityInspector;
//鍖呰鏂瑰紡
private String packagingMethod;
//鎶ュ伐鏃堕棿
- private LocalDate reportingWorkTime;
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
+ private LocalDateTime reportingWorkTime;
//瀹℃牳鏃堕棿
- private LocalDate examineTime;
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
+ private LocalDateTime examineTime;
//璐ㄦ鏃堕棿
- private LocalDate qualityInsTime;
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
+ private LocalDateTime qualityInsTime;
//寤虹珛鏃堕棿
- private LocalDate createTime;
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
+ private LocalDateTime createTime;
//淇敼鏃堕棿
- private LocalDate updateTime;
+ @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
+ private LocalDateTime updateTime;
+ //鍒涘缓鑰�
+ private String creatorId ;
+ private String creator ;
+
+
+ @TableField(select = false,exist= false)
+ private Order order;
//澶栭敭娴佺▼鍗¤〃
+ @TableField(select = false,exist= false)
private FlowCard flowCard;
+// @TableField(select = false,exist= false)
+// private ReportingWork reportingWork;
+ @TableField(select = false,exist= false)
+ private ReportingWorkDetail reportingWorkDetail;
+
+ @TableField(select = false,exist= false)
+ private OrderGlassDetail orderGlassDetail;
+
+ @TableField(select = false,exist= false)
+ private DamageDetails damageDetails;
+
+ @TableField(select = false,exist= false)
+ private OrderDetail orderDetail ;
+
+
+ //瀹氫箟鐨勫畬宸ラ潰绉�
+ @TableField(select = false,exist= false)
+ private String completedArea;
+ //娆$牬闈㈢Н
+ @TableField(select = false,exist= false)
+ private String wornArea;
}
--
Gitblit v1.8.0