From f5c900c58513bad824381e69750ac7667ef35de0 Mon Sep 17 00:00:00 2001
From: wlzboy <66905212@qq.com>
Date: 星期四, 26 二月 2026 22:29:46 +0800
Subject: [PATCH] feat: 修改增另任务单查询,使用单号查询
---
ruoyi-system/src/main/java/com/ruoyi/system/domain/SysTaskEmergency.java | 46 +++++++++++++++++++++++++++++++++++++++++++++-
1 files changed, 45 insertions(+), 1 deletions(-)
diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/SysTaskEmergency.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/SysTaskEmergency.java
index 3d641c5..4e19487 100644
--- a/ruoyi-system/src/main/java/com/ruoyi/system/domain/SysTaskEmergency.java
+++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/SysTaskEmergency.java
@@ -156,15 +156,35 @@
/** 鏄惁骞垮窞鎬婚儴鎺ㄩ�侊紙0鍚� 1鏄級 */
private String fromHq2Is;
+
+ /** 鍙栨秷鍘熷洜锛堝叧鑱旀暟鎹瓧鍏竧ask_cancel_reason锛� */
+ private String cancelReason;
+
+ /** 鍙栨秷浜� */
+ private String cancelBy;
+
+ /** 鍙栨秷鏃堕棿 */
+ private java.util.Date cancelTime;
+ /**
+ * 鏈嶅姟鍗曠紪鍙�
+ * @return
+ */
public String getServiceCode(){
if(this.legacyServiceOrdClass!=null && this.legacyServiceNsTime!=null && this.legacyServiceOrdNo!=null) {
String nstime = DateUtils.parseDateToStr(DateUtils.YYYYMMDD, this.legacyServiceNsTime);
- return this.legacyServiceOrdClass + nstime +'-'+ this.legacyServiceOrdNo;
+ //serviceOrdNo 杩欎釜鏄暟瀛楋紝鍥哄畾3浣嶆暟 锛屽皢32锛岃浆鎴�032锛涘皢1杞垚001
+ Integer intServiceNo = Integer.valueOf(this.legacyServiceOrdNo);
+ String ordNoStr = String.format("%03d", intServiceNo);
+ return this.legacyServiceOrdClass + nstime +'-'+ ordNoStr;
}
return null;
}
+ /**
+ * 璋冨害鍗曠紪鍙�
+ * @return
+ */
public String getDispatchCode(){
if(this.legacyDispatchOrdClass!=null && this.legacyDispatchNsTime!=null && this.legacyDispatchOrdNo!=null) {
String nstime = DateUtils.parseDateToStr(DateUtils.YYYYMMDD, this.legacyDispatchNsTime);
@@ -562,6 +582,30 @@
this.fromHq2Is = fromHq2Is;
}
+ public String getCancelReason() {
+ return cancelReason;
+ }
+
+ public void setCancelReason(String cancelReason) {
+ this.cancelReason = cancelReason;
+ }
+
+ public String getCancelBy() {
+ return cancelBy;
+ }
+
+ public void setCancelBy(String cancelBy) {
+ this.cancelBy = cancelBy;
+ }
+
+ public java.util.Date getCancelTime() {
+ return cancelTime;
+ }
+
+ public void setCancelTime(java.util.Date cancelTime) {
+ this.cancelTime = cancelTime;
+ }
+
@Override
public String toString() {
return "SysTaskEmergency{" +
--
Gitblit v1.9.1