From 14f37814a441d795ae7a15dfe4b7be05aa49f96f Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期四, 23 一月 2025 16:30:28 +0800
Subject: [PATCH] 最新版本541200007

---
 server/visits/dmvisit_service/src/main/java/com/doumee/dao/business/model/PlatformJob.java |   40 ++++++++++++++++++++++++++--------------
 1 files changed, 26 insertions(+), 14 deletions(-)

diff --git a/server/visits/dmvisit_service/src/main/java/com/doumee/dao/business/model/PlatformJob.java b/server/visits/dmvisit_service/src/main/java/com/doumee/dao/business/model/PlatformJob.java
index a4809fe..8e07e9c 100644
--- a/server/visits/dmvisit_service/src/main/java/com/doumee/dao/business/model/PlatformJob.java
+++ b/server/visits/dmvisit_service/src/main/java/com/doumee/dao/business/model/PlatformJob.java
@@ -43,6 +43,8 @@
 
     @ApiModelProperty(value = "鏄惁鍒犻櫎0鍚� 1鏄�", example = "1")
     private Integer isdeleted;
+    @ApiModelProperty(value = "浣滀笟鏉ユ簮锛�0鑷缓 1wms鎺ㄩ��", example = "1")
+    private Integer origin;
 
     @ApiModelProperty(value = "鍚嶇О")
     private String name;
@@ -260,6 +262,10 @@
     @TableField(exist = false)
     private String finishTimeStr;
 
+    @ApiModelProperty(value = "浣滀笟鏈堝彴缂栫爜")
+    @TableField(exist = false)
+    private String platformCode;
+
     @ApiModelProperty(value = "浣滀笟鏈堝彴鍚嶇О")
     @TableField(exist = false)
     private String platformName ;
@@ -340,6 +346,14 @@
     @JsonFormat(pattern = "yyyy-MM-dd")
     @TableField(exist = false)
     private Date beginWorkDateStart;
+    @ApiModelProperty(value = "寮�濮嬫椂闂磋捣")
+    @JsonFormat(pattern = "yyyy-MM-dd")
+    @TableField(exist = false)
+    private Date createDateStart;
+    @ApiModelProperty(value = "寮�濮嬫椂闂存")
+    @TableField(exist = false)
+    @JsonFormat(pattern = "yyyy-MM-dd")
+    private Date createDateEnd;
 
     @ApiModelProperty(value = "寮�濮嬩綔涓氭椂闂存")
     @JsonFormat(pattern = "yyyy-MM-dd")
@@ -356,14 +370,6 @@
     @TableField(exist = false)
     private Date beginDoneDateEnd;
 
-
-    @ApiModelProperty(value = "鍒涘缓鏃堕棿璧�")
-    @TableField(exist = false)
-    private Date createDateStart;
-
-    @ApiModelProperty(value = "鍒涘缓鏃堕棿姝�")
-    @TableField(exist = false)
-    private Date createDateEnd;
 
     @ApiModelProperty(value = "鏈堝彴缁勫悕绉�")
     @TableField(exist = false)
@@ -394,6 +400,9 @@
     @ApiModelProperty(value = "浣滀笟绫诲瀷鏌ヨ 澶氫釜浠�,鍒嗗壊")
     @TableField(exist = false)
     private String queryType;
+    @ApiModelProperty(value = "wms鍚堝悓鍙�")
+    @TableField(exist = false)
+    private String wmsContractNum;
 
     @ApiModelProperty(value = "鐢靛瓙閿佺姸鎬侊細0=鏈笂閿� 1=閮ㄥ垎涓婇攣 2=鍏ㄩ儴涓婇攣")
     @TableField(exist = false)
@@ -406,18 +415,21 @@
 
     public void dealTime(){
         if(Constants.equalsInteger(this.getStatus(),Constants.PlatformJobStatus.WAIT_CONFIRM.getKey())
-                || Constants.equalsInteger(this.getStatus(),Constants.PlatformJobStatus.WART_SIGN_IN.getKey())
-         ){
+                || Constants.equalsInteger(this.getStatus(),Constants.PlatformJobStatus.WART_SIGN_IN.getKey()) ){
             return;
         }
         if(Constants.equalsInteger(this.getStatus(),Constants.PlatformJobStatus.WAIT_CALL.getKey())){
-            this.setOptTime(this.getSignDate().getTime());
+            if(this.getSignDate()!=null)
+                this.setOptTime(this.getSignDate().getTime());
         }else if(Constants.equalsInteger(this.getStatus(),Constants.PlatformJobStatus.IN_WAIT.getKey())){
-            this.setOptTime(this.getInwaitDate().getTime());
+            if(this.getInwaitDate()!=null)
+                this.setOptTime(this.getInwaitDate().getTime());
         }else if(Constants.equalsInteger(this.getStatus(),Constants.PlatformJobStatus.CALLED.getKey())){
-            this.setOptTime(this.getCallDate().getTime());
+            if(this.getCallDate()!=null)
+                this.setOptTime(this.getCallDate().getTime());
         }else if(Constants.equalsInteger(this.getStatus(),Constants.PlatformJobStatus.WORKING.getKey())){
-            this.setOptTime(this.getStartDate().getTime());
+            if(this.getStartDate()!=null)
+                this.setOptTime(this.getStartDate().getTime());
         }
     }
 

--
Gitblit v1.9.3