From 461b3bf8e289e1c076d805d47f5f1a9b5c195ce8 Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@63.com>
Date: 星期二, 24 八月 2021 16:40:03 +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