From 1b643b838311137a4bb7cb5cced2d7f95bcb9921 Mon Sep 17 00:00:00 2001
From: 王佳豪 <g675230687@126.com>
Date: 星期四, 03 六月 2021 14:28:17 +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