From a8a841000119370ec34a59a7f4f51dc2f8ee0976 Mon Sep 17 00:00:00 2001
From: liuxm <liuxm_a@163.com>
Date: 星期四, 13 六月 2024 14:22:02 +0800
Subject: [PATCH] 去掉原controller 中的try catch 和BindingResult

---
 pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/pojoPlt/PltProductionLine.java |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/pojoPlt/PltProductionLine.java b/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/pojoPlt/PltProductionLine.java
index 07c98b0..f54d0c8 100644
--- a/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/pojoPlt/PltProductionLine.java
+++ b/pms-parent/pms-global/src/main/java/com/dy/pmsGlobal/pojoPlt/PltProductionLine.java
@@ -1,5 +1,7 @@
 package com.dy.pmsGlobal.pojoPlt;
 
+import com.alibaba.fastjson2.annotation.JSONField;
+import com.alibaba.fastjson2.writer.ObjectWriterImplToString;
 import com.baomidou.mybatisplus.annotation.IdType;
 import com.baomidou.mybatisplus.annotation.TableId;
 import com.baomidou.mybatisplus.annotation.TableName;
@@ -24,6 +26,7 @@
     /**
      * 
      */
+    @JSONField(serializeUsing= ObjectWriterImplToString.class)
     @TableId(type = IdType.AUTO)
     public Long id;
 
@@ -65,6 +68,10 @@
     public String installTime;
 
     /**
+     * 鏄惁绂佺敤锛�1鏄紝0鍚�
+     */
+    public Boolean disabled;
+    /**
      * 鏄惁鍒犻櫎锛�1鏄紝0鍚�
      */
     public Boolean deleted;

--
Gitblit v1.8.0