From 4d0d1312f0782bd90cec598a6125fe503b0fd727 Mon Sep 17 00:00:00 2001
From: 1 <1>
Date: 星期三, 15 十月 2025 09:28:30 +0800
Subject: [PATCH] #
---
src/main/java/com/zy/asrs/entity/WrkMastSta.java | 26 +++++++++++++++++++++++++-
1 files changed, 25 insertions(+), 1 deletions(-)
diff --git a/src/main/java/com/zy/asrs/entity/WrkMastSta.java b/src/main/java/com/zy/asrs/entity/WrkMastSta.java
index 7093f24..e403997 100644
--- a/src/main/java/com/zy/asrs/entity/WrkMastSta.java
+++ b/src/main/java/com/zy/asrs/entity/WrkMastSta.java
@@ -128,6 +128,8 @@
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date bignTime;
+ private Integer mk;
+
public WrkMastSta() {
}
@@ -135,12 +137,13 @@
this.wrkNo = wrkMast.getWrkNo().longValue();
this.wrkStart = wrkMast.getSourceStaNo();
this.wrkEnd = wrkMast.getStaNo();
- this.staStart = basDevp.getDevNo();
+ this.staStart = getStaSta(basDevp.getDevNo());
this.staEnd = getStaEnd(wrkMast.getStaNo());
this.createTime = now;
this.updateTime = now;
this.wrkSts = 0;
this.bignTime = now;
+ this.mk = 0;
}
public WrkMastSta(Date now, Integer staStart) {
@@ -220,6 +223,27 @@
}
}
+ public Integer getStaSta(Integer souSta) {
+ switch (souSta) {
+ case 1043: return 1042;
+ case 1104: return 1105;
+ case 1005: return 1007;
+ case 1008: return 1010;
+ case 1019: return 1021;
+ case 1022: return 1024;
+ case 1029: return 1031;
+ case 2001: return 2003;
+ case 2007: return 2009;
+ case 2013: return 2015;
+ case 2019: return 2021;
+ case 2025: return 2027;
+ default:
+ return souSta;
+ }
+ }
+
+
+
public String getType$() {
if (Cools.isEmpty(this.type)) {
return "";
--
Gitblit v1.9.1