From 69cd9f59a0fabf12f8c9147fcba7f69817a870b3 Mon Sep 17 00:00:00 2001
From: jiazx0107@163.com <jiazx0107@163.com>
Date: 星期一, 06 十一月 2023 23:40:59 +0800
Subject: [PATCH] 更新仓内抓拍2

---
 igds-recir/src/main/java/com/ld/igds/models/DrugLogApply.java |   40 +++++++++++++++++++++++++++++-----------
 1 files changed, 29 insertions(+), 11 deletions(-)

diff --git a/igds-recir/src/main/java/com/ld/igds/models/DrugLogApply.java b/igds-recir/src/main/java/com/ld/igds/models/DrugLogApply.java
index 6d03bad..8c9a79c 100644
--- a/igds-recir/src/main/java/com/ld/igds/models/DrugLogApply.java
+++ b/igds-recir/src/main/java/com/ld/igds/models/DrugLogApply.java
@@ -20,11 +20,10 @@
 public class DrugLogApply implements Serializable {
 
     @Id
-    @Column(name = "ID_", length = 4)
-    @PropertyDef(label = "鐔忚捀澶囨缂栧彿", description = "4浣嶉『搴忓彿")
-    private String id;
+    @Column(name = "xzbm", length = 12)
+    @PropertyDef(label = "鐔忚捀澶囨缂栧彿", description = "濉姤鏃ユ湡yyyyMMdd+4浣嶉『搴忓彿")
+    private String xzbm;
 
-    @Id
     @Column(name = "DEPT_ID_", length = 21)
     @PropertyDef(label = "搴撳尯浠g爜")
     private String deptId;
@@ -60,11 +59,11 @@
     private String xcfzr;
 
     @Column(name = "fzrzw", length = 10)
-    @PropertyDef(label = "璐熻矗浜鸿亴鍔�")
-    private String fzrzw;
+    @PropertyDef(label = "鐜板満璐熻矗浜鸿亴鍔�")
+    private String xcfzrzw;
 
     @Column(name = "xcfzrdh", length = 11)
-    @PropertyDef(label = "鐜板満璐熻矗浜�")
+    @PropertyDef(label = "鐜板満璐熻矗浜虹數璇�")
     private String xcfzrdh;
 
     @Column(name = "tbr", length = 20)
@@ -139,15 +138,25 @@
     @PropertyDef(label = "棰嗗彇浜�")
     private String lqr;
 
+    @Column(name = "lqsj")
+    @PropertyDef(label = "棰嗗彇鏃堕棿")
+    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
+    private Date lqsj;
+
     @Column(name = "UPDATE_TIME_")
     @PropertyDef(label = "鏇存柊鏃堕棿")
     private Date updateTime;
 
+
     /**
      * 鍌ㄧ伯绮儏鏄庣粏琛�
      */
-//    @Transient
-//    private List<DrugLogDtl> drugLogDtls;
+    @Transient
+    private List<DrugLogDtl> drugLogDtls;
+
+    @Column(name = "DTL_ID_", length = 40)
+    @PropertyDef(label = "dtlId")
+    private String dtlId;
 
     @Column(name = "DEPOT_ID_", length = 50)
     @PropertyDef(label = "浠撴埧/娌圭綈浠g爜")
@@ -180,6 +189,10 @@
     @Column(name = "lw", precision = 20, scale = 3)
     @PropertyDef(label = "绮俯")
     private Double lw;
+    
+    @Column(name = "cw", precision = 20, scale = 3)
+    @PropertyDef(label = "浠撴俯")
+    private Double cw;
 
     @Column(name = "cnsd", precision = 20, scale = 3)
     @PropertyDef(label = "浠撳唴婀垮害")
@@ -245,8 +258,13 @@
     /**
      * 鐔忚捀澶囨鏂瑰紡
      */
-//    @Transient
-//    private List<DrugLogWay> drugLogWays;
+    @Transient
+    private List<DrugLogWay> drugLogWays;
+
+    @Column(name = "Way_ID_", length = 40)
+    @PropertyDef(label = "wayId")
+    private String wayId;
+
     @Column(name = "xznd", precision = 20, scale = 3)
     @PropertyDef(label = "璁惧畾鐔忚捀娴撳害", description = "鍗曚綅锛歮l/m鲁")
     private Double xznd;

--
Gitblit v1.9.3