From a2b65545aaf06ab33560e340eb6a88d7800d938c Mon Sep 17 00:00:00 2001
From: zjj <3272660260@qq.com>
Date: 星期四, 25 七月 2024 16:24:35 +0800
Subject: [PATCH] #

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

diff --git a/src/main/java/com/zy/asrs/entity/WrkMast.java b/src/main/java/com/zy/asrs/entity/WrkMast.java
index f33acd0..4aeb57c 100644
--- a/src/main/java/com/zy/asrs/entity/WrkMast.java
+++ b/src/main/java/com/zy/asrs/entity/WrkMast.java
@@ -481,12 +481,12 @@
         return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.errorTime);
     }
 
-    public void setErrorMemo(String errorMemo) {
-        if (errorMemo.length() > 255) {
-            errorMemo = errorMemo.substring(0, 150);
-        }
-        this.errorMemo = errorMemo;
-    }
+//    public void setErrorMemo(String errorMemo) {
+//        if (errorMemo.length() > 255) {
+//            errorMemo = errorMemo.substring(0, 150);
+//        }
+//        this.errorMemo = errorMemo;
+//    }
 
     public String getLogErrTime$(){
         if (Cools.isEmpty(this.logErrTime)){
@@ -495,6 +495,15 @@
         return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.logErrTime);
     }
 
-
+    public Long getWrkStsComplete(){
+        if (Cools.isEmpty(this.wrkSts)){
+            return this.wrkSts;
+        }
+        if (this.ioType>10){
+            return this.wrkSts+2;
+        }else {
+            return this.wrkSts+2;
+        }
+    }
 
 }

--
Gitblit v1.9.1