From 27fcef09b5af8d6816babf3cf063a8d62726e1d0 Mon Sep 17 00:00:00 2001
From: zhoushihao <zsh19950802@163.com>
Date: 星期五, 19 四月 2024 09:18:01 +0800
Subject: [PATCH] 1、下片模块新增多数据源sqlserver配置 可供其他模块有需要配置的参考 2、 a、需要在各自pom文件中添加sqlserver依赖     b、在对应mapper文件中加入DS注解     c、在配置文件中配置数据源     d、主库不需要要添加DS注解指定数据库

---
 UnLoadGlassModule/src/main/java/com/mes/entity/DownWorkstation.java |   56 ++++++++++++++++++++++++++++++++++++++++++++++----------
 1 files changed, 46 insertions(+), 10 deletions(-)

diff --git a/UnLoadGlassModule/src/main/java/com/mes/entity/DownWorkstation.java b/UnLoadGlassModule/src/main/java/com/mes/entity/DownWorkstation.java
index 524d865..3c15a9d 100644
--- a/UnLoadGlassModule/src/main/java/com/mes/entity/DownWorkstation.java
+++ b/UnLoadGlassModule/src/main/java/com/mes/entity/DownWorkstation.java
@@ -1,20 +1,56 @@
 package com.mes.entity;
 
 import com.baomidou.mybatisplus.annotation.IdType;
-        import com.baomidou.mybatisplus.annotation.TableId;
-        import lombok.Data;
+import com.baomidou.mybatisplus.annotation.TableField;
+import com.baomidou.mybatisplus.annotation.TableId;
+import lombok.Data;
 
 @Data
 public class DownWorkstation {
 
+    /**
+     * // 涓嬬墖宸ヤ綅琛�
+     */
     @TableId(type = IdType.AUTO)
-    private int id; // 涓嬬墖宸ヤ綅琛╥d
-    private Integer workstationId; // 宸ヤ綅id
-    private String flowCardId; // 娴佺▼鍗″彿
-    private Integer deviceId; // 璁惧id
-    private Integer enableState; // 鍚敤鐘舵��
-    private Integer workState; // 宸ヤ綔鐘舵��
-    private Integer racks_number; // 宸茶惤鏋舵暟閲�
-    private Integer total_quantity; // 鎬绘暟閲�
+    private int id;
+
+    /**
+     * // 宸ヤ綅id
+     */
+    private Integer workstationId;
+
+    /**
+     *  // 娴佺▼鍗″彿
+     */
+    private String flowCardId;
+
+    /**
+     *  // 璁惧id
+     */
+    private Integer deviceId;
+
+    /**
+     *   // 鍚敤鐘舵��
+     */
+    private Integer enableState;
+
+
+
+    /**
+     *    // 宸ヤ綔鐘舵��
+     */
+    private Integer workState;
+
+    /**
+     *  // 宸茶惤鏋舵暟閲�
+     */
+    @TableField(value = "racks_number")
+    private int racksnumber;
+
+    /**
+     *     // 鎬绘暟閲�
+     */
+    @TableField(value = "total_quantity")
+    private Integer totalquantity;
 
 }
\ No newline at end of file

--
Gitblit v1.8.0