From d5bc6abfb16dd8b89ec7db077878fea2fa570b45 Mon Sep 17 00:00:00 2001 From: luxiaotao1123 <t1341870251@63.com> Date: 星期四, 29 七月 2021 14:59:13 +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