From f4e1da85cc178df398200f49f099dac9bb94c60e Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@163.com>
Date: 星期四, 15 四月 2021 09:53:37 +0800
Subject: [PATCH] #

---
 src/main/java/com/zy/asrs/entity/WrkMast.java |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/main/java/com/zy/asrs/entity/WrkMast.java b/src/main/java/com/zy/asrs/entity/WrkMast.java
index af7fb57..ca90c09 100644
--- a/src/main/java/com/zy/asrs/entity/WrkMast.java
+++ b/src/main/java/com/zy/asrs/entity/WrkMast.java
@@ -927,6 +927,9 @@
     }
 
     public void setErrorMemo(String errorMemo) {
+        if (errorMemo.length() > 255) {
+            errorMemo = errorMemo.substring(0, 150);
+        }
         this.errorMemo = errorMemo;
     }
 

--
Gitblit v1.9.1