From 5064c9c10569584991d549b7ac3673c3f0611181 Mon Sep 17 00:00:00 2001
From: zyx <zyx123456>
Date: 星期二, 16 四月 2024 13:42:19 +0800
Subject: [PATCH] #
---
src/main/java/com/zy/asrs/task/WorkMastScheduler.java | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/src/main/java/com/zy/asrs/task/WorkMastScheduler.java b/src/main/java/com/zy/asrs/task/WorkMastScheduler.java
index 10bffd4..34be800 100644
--- a/src/main/java/com/zy/asrs/task/WorkMastScheduler.java
+++ b/src/main/java/com/zy/asrs/task/WorkMastScheduler.java
@@ -36,6 +36,9 @@
ReturnT<String> returnT = workMastHandler.start(wrkMast);
if (!returnT.isSuccess()) {
wrkMast.setUpdMk("X");
+ if (returnT.getMsg().length() > 255) {
+ returnT.setMsg(returnT.getMsg().substring(0, 150));
+ }
wrkMast.setErrorMemo(returnT.getMsg());
wrkMast.setErrorTime(new Date());
if (!wrkMastService.updateById(wrkMast)) {
--
Gitblit v1.9.1