From 78474bd1c29790ef08919e141acfa12157dbb6cf Mon Sep 17 00:00:00 2001
From: zhangc <zc@123>
Date: 星期三, 08 一月 2025 15:49:53 +0800
Subject: [PATCH] 优化异常信息及版本更新

---
 src/main/java/com/zy/asrs/entity/Order.java |  159 ++++++++++++++++++++++++++++++----------------------
 1 files changed, 92 insertions(+), 67 deletions(-)

diff --git a/src/main/java/com/zy/asrs/entity/Order.java b/src/main/java/com/zy/asrs/entity/Order.java
index 99abc64..a4ba061 100644
--- a/src/main/java/com/zy/asrs/entity/Order.java
+++ b/src/main/java/com/zy/asrs/entity/Order.java
@@ -27,243 +27,259 @@
     /**
      * ID
      */
-    @ApiModelProperty(value= "ID")
+    @ApiModelProperty(value = "ID")
     @TableId(value = "id", type = IdType.AUTO)
     private Long id;
 
     /**
      * 缂栧彿
      */
-    @ApiModelProperty(value= "缂栧彿")
+    @ApiModelProperty(value = "缂栧彿")
     private String uuid;
 
     /**
      * 璁㈠崟缂栧彿
      */
-    @ApiModelProperty(value= "璁㈠崟缂栧彿")
+    @ApiModelProperty(value = "璁㈠崟缂栧彿")
     @TableField("order_no")
     private String orderNo;
 
     /**
      * 鍗曟嵁鏃ユ湡
      */
-    @ApiModelProperty(value= "鍗曟嵁鏃ユ湡")
+    @ApiModelProperty(value = "鍗曟嵁鏃ユ湡")
     @TableField("order_time")
     private String orderTime;
 
     /**
      * 鍗曟嵁绫诲瀷
      */
-    @ApiModelProperty(value= "鍗曟嵁绫诲瀷")
+    @ApiModelProperty(value = "鍗曟嵁绫诲瀷")
     @TableField("doc_type")
     private Long docType;
 
     /**
      * 椤圭洰缂栧彿
      */
-    @ApiModelProperty(value= "椤圭洰缂栧彿")
+    @ApiModelProperty(value = "椤圭洰缂栧彿")
     @TableField("item_id")
     private Long itemId;
 
-    @ApiModelProperty(value= "")
+    @ApiModelProperty(value = "")
     @TableField("item_name")
     private String itemName;
 
     /**
      * 璋冩嫧椤圭洰缂栧彿
      */
-    @ApiModelProperty(value= "璋冩嫧椤圭洰缂栧彿")
+    @ApiModelProperty(value = "璋冩嫧椤圭洰缂栧彿")
     @TableField("allot_item_id")
     private Long allotItemId;
 
     /**
      * 鍒濆绁ㄦ嵁鍙�
      */
-    @ApiModelProperty(value= "鍒濆绁ㄦ嵁鍙�")
+    @ApiModelProperty(value = "鍒濆绁ㄦ嵁鍙�")
     @TableField("def_number")
     private String defNumber;
 
     /**
      * 绁ㄦ嵁鍙�
      */
-    @ApiModelProperty(value= "绁ㄦ嵁鍙�")
+    @ApiModelProperty(value = "绁ㄦ嵁鍙�")
     private String number;
 
     /**
      * 瀹㈡埛缂栧彿
      */
-    @ApiModelProperty(value= "瀹㈡埛缂栧彿")
+    @ApiModelProperty(value = "瀹㈡埛缂栧彿")
     private Long cstmr;
 
     /**
      * 瀹㈡埛
      */
-    @ApiModelProperty(value= "瀹㈡埛")
+    @ApiModelProperty(value = "瀹㈡埛")
     @TableField("cstmr_name")
     private String cstmrName;
 
     /**
      * 鑱旂郴鏂瑰紡
      */
-    @ApiModelProperty(value= "鑱旂郴鏂瑰紡")
+    @ApiModelProperty(value = "鑱旂郴鏂瑰紡")
     private String tel;
 
     /**
      * 鎿嶄綔浜哄憳
      */
-    @ApiModelProperty(value= "鎿嶄綔浜哄憳")
+    @ApiModelProperty(value = "鎿嶄綔浜哄憳")
     @TableField("oper_memb")
     private String operMemb;
 
     /**
      * 鍚堣閲戦
      */
-    @ApiModelProperty(value= "鍚堣閲戦")
+    @ApiModelProperty(value = "鍚堣閲戦")
     @TableField("total_fee")
     private Double totalFee;
 
     /**
      * 浼樻儬鐜�
      */
-    @ApiModelProperty(value= "浼樻儬鐜�")
+    @ApiModelProperty(value = "浼樻儬鐜�")
     private Double discount;
 
     /**
      * 浼樻儬閲戦
      */
-    @ApiModelProperty(value= "浼樻儬閲戦")
+    @ApiModelProperty(value = "浼樻儬閲戦")
     @TableField("discount_fee")
     private Double discountFee;
 
     /**
      * 閿�鍞垨閲囪喘璐圭敤鍚堣
      */
-    @ApiModelProperty(value= "閿�鍞垨閲囪喘璐圭敤鍚堣")
+    @ApiModelProperty(value = "閿�鍞垨閲囪喘璐圭敤鍚堣")
     @TableField("other_fee")
     private Double otherFee;
 
     /**
      * 瀹炰粯閲戦
      */
-    @ApiModelProperty(value= "瀹炰粯閲戦")
+    @ApiModelProperty(value = "瀹炰粯閲戦")
     @TableField("act_fee")
     private Double actFee;
 
     /**
      * 浠樻绫诲瀷 1: 鐜伴噾  2: 璁拌处
      */
-    @ApiModelProperty(value= "浠樻绫诲瀷 1: 鐜伴噾  2: 璁拌处  ")
+    @ApiModelProperty(value = "浠樻绫诲瀷 1: 鐜伴噾  2: 璁拌处  ")
     @TableField("pay_type")
     private Integer payType;
 
     /**
      * 涓氬姟鍛�
      */
-    @ApiModelProperty(value= "涓氬姟鍛�")
+    @ApiModelProperty(value = "涓氬姟鍛�")
     private String salesman;
 
     /**
-     * 缁撶畻澶╂暟
+     * setMemo
      */
-    @ApiModelProperty(value= "缁撶畻澶╂暟")
+    @ApiModelProperty(value = "缁撶畻澶╂暟")
     @TableField("account_day")
     private Integer accountDay;
 
     /**
      * 閭垂鏀粯绫诲瀷 1: 鍦ㄧ嚎鏀粯  2: 璐у埌浠樻
      */
-    @ApiModelProperty(value= "閭垂鏀粯绫诲瀷 1: 鍦ㄧ嚎鏀粯  2: 璐у埌浠樻  ")
+    @ApiModelProperty(value = "閭垂鏀粯绫诲瀷 1: 鍦ㄧ嚎鏀粯  2: 璐у埌浠樻  ")
     @TableField("post_fee_type")
     private Integer postFeeType;
 
     /**
      * 閭垂
      */
-    @ApiModelProperty(value= "閭垂")
+    @ApiModelProperty(value = "閭垂")
     @TableField("post_fee")
     private Double postFee;
 
     /**
      * 浠樻鏃堕棿
      */
-    @ApiModelProperty(value= "浠樻鏃堕棿")
+    @ApiModelProperty(value = "浠樻鏃堕棿")
     @TableField("pay_time")
-    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
+    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
     private Date payTime;
 
     /**
      * 鍙戣揣鏃堕棿
      */
-    @ApiModelProperty(value= "鍙戣揣鏃堕棿")
+    @ApiModelProperty(value = "鍙戣揣鏃堕棿")
     @TableField("send_time")
-    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
+    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
     private Date sendTime;
 
     /**
      * 鐗╂祦鍚嶇О
      */
-    @ApiModelProperty(value= "鐗╂祦鍚嶇О")
+    @ApiModelProperty(value = "鐗╂祦鍚嶇О")
     @TableField("ship_name")
     private String shipName;
 
     /**
      * 鐗╂祦鍗曞彿
      */
-    @ApiModelProperty(value= "鐗╂祦鍗曞彿")
+    @ApiModelProperty(value = "鐗╂祦鍗曞彿")
     @TableField("ship_code")
     private String shipCode;
 
     /**
      * 璁㈠崟鐘舵��
      */
-    @ApiModelProperty(value= "璁㈠崟鐘舵��")
+    @ApiModelProperty(value = "璁㈠崟鐘舵��")
     private Long settle;
 
     /**
      * 鐘舵�� 1: 姝e父  0: 绂佺敤
      */
-    @ApiModelProperty(value= "鐘舵�� 1: 姝e父  0: 绂佺敤  ")
+    @ApiModelProperty(value = "鐘舵�� 1: 姝e父  0: 绂佺敤  ")
     private Integer status;
 
     /**
      * 娣诲姞浜哄憳
      */
-    @ApiModelProperty(value= "娣诲姞浜哄憳")
+    @ApiModelProperty(value = "娣诲姞浜哄憳")
     @TableField("create_by")
     private Long createBy;
 
     /**
      * 娣诲姞鏃堕棿
      */
-    @ApiModelProperty(value= "娣诲姞鏃堕棿")
+    @ApiModelProperty(value = "娣诲姞鏃堕棿")
     @TableField("create_time")
-    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
+    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
     private Date createTime;
 
     /**
      * 淇敼浜哄憳
      */
-    @ApiModelProperty(value= "淇敼浜哄憳")
+    @ApiModelProperty(value = "淇敼浜哄憳")
     @TableField("update_by")
     private Long updateBy;
 
     /**
      * 淇敼鏃堕棿
      */
-    @ApiModelProperty(value= "淇敼鏃堕棿")
+    @ApiModelProperty(value = "淇敼鏃堕棿")
     @TableField("update_time")
-    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
+    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
     private Date updateTime;
 
     /**
      * 澶囨敞
      */
-    @ApiModelProperty(value= "澶囨敞")
+    @ApiModelProperty(value = "澶囨敞")
     private String memo;
 
-    public Order() {}
+    @ApiModelProperty(value = "erp浠撳簱缂栫爜")
+    @TableField("plt_type")
+    private Integer pltType;
 
-    public Order(String uuid,String orderNo,String orderTime,Long docType,Long itemId,String itemName,Long allotItemId,String defNumber,String number,Long cstmr,String cstmrName,String tel,String operMemb,Double totalFee,Double discount,Double discountFee,Double otherFee,Double actFee,Integer payType,String salesman,Integer accountDay,Integer postFeeType,Double postFee,Date payTime,Date sendTime,String shipName,String shipCode,Long settle,Integer status,Long createBy,Date createTime,Long updateBy,Date updateTime,String memo) {
+    /**
+     * 鍏ュ簱鏃ユ湡
+     */
+    @ApiModelProperty(value = "鍏ュ簱鏃ユ湡")
+    @TableField("in_time")
+    private String inTime;
+
+
+    @TableField("Upstreamcode")
+    private String Upstreamcode;
+
+    public Order() {
+    }
+
+    public Order(String uuid, String orderNo, String orderTime, Long docType, Long itemId, String itemName, Long allotItemId, String defNumber, String number, Long cstmr, String cstmrName, String tel, String operMemb, Double totalFee, Double discount, Double discountFee, Double otherFee, Double actFee, Integer payType, String salesman, Integer accountDay, Integer postFeeType, Double postFee, Date payTime, Date sendTime, String shipName, String shipCode, Long settle, Integer status, Long createBy, Date createTime, Long updateBy, Date updateTime, String memo) {
         this.uuid = uuid;
         this.orderNo = orderNo;
         this.orderTime = orderTime;
@@ -337,18 +353,20 @@
 //            null    // 澶囨敞
 //    );
 
-    public String getDocType$(){
+    public String getDocType$() {
         DocTypeService service = SpringUtils.getBean(DocTypeService.class);
         DocType docType = service.selectById(this.docType);
-        if (!Cools.isEmpty(docType)){
+        if (!Cools.isEmpty(docType)) {
             return String.valueOf(docType.getDocName());
         }
         return null;
     }
 
-    public String getPayType$(){
-        if (null == this.payType){ return null; }
-        switch (this.payType){
+    public String getPayType$() {
+        if (null == this.payType) {
+            return null;
+        }
+        switch (this.payType) {
             case 1:
                 return "鐜伴噾";
             case 2:
@@ -358,9 +376,11 @@
         }
     }
 
-    public String getPostFeeType$(){
-        if (null == this.postFeeType){ return null; }
-        switch (this.postFeeType){
+    public String getPostFeeType$() {
+        if (null == this.postFeeType) {
+            return null;
+        }
+        switch (this.postFeeType) {
             case 1:
                 return "鍦ㄧ嚎鏀粯";
             case 2:
@@ -370,32 +390,34 @@
         }
     }
 
-    public String getPayTime$(){
-        if (Cools.isEmpty(this.payTime)){
+    public String getPayTime$() {
+        if (Cools.isEmpty(this.payTime)) {
             return "";
         }
         return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.payTime);
     }
 
-    public String getSendTime$(){
-        if (Cools.isEmpty(this.sendTime)){
+    public String getSendTime$() {
+        if (Cools.isEmpty(this.sendTime)) {
             return "";
         }
         return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.sendTime);
     }
 
-    public String getSettle$(){
+    public String getSettle$() {
         OrderSettleService service = SpringUtils.getBean(OrderSettleService.class);
         OrderSettle orderSettle = service.selectById(this.settle);
-        if (!Cools.isEmpty(orderSettle)){
+        if (!Cools.isEmpty(orderSettle)) {
             return String.valueOf(orderSettle.getSettleName());
         }
         return null;
     }
 
-    public String getStatus$(){
-        if (null == this.status){ return null; }
-        switch (this.status){
+    public String getStatus$() {
+        if (null == this.status) {
+            return null;
+        }
+        switch (this.status) {
             case 1:
                 return "姝e父";
             case 0:
@@ -405,33 +427,36 @@
         }
     }
 
-    public String getCreateBy$(){
+    public String getCreateBy$() {
+        if (!Cools.isEmpty(this.createBy) && this.createBy == 9999L) {
+            return "绯荤粺鍚屾";
+        }
         UserService service = SpringUtils.getBean(UserService.class);
         User user = service.selectById(this.createBy);
-        if (!Cools.isEmpty(user)){
+        if (!Cools.isEmpty(user)) {
             return String.valueOf(user.getUsername());
         }
         return null;
     }
 
-    public String getCreateTime$(){
-        if (Cools.isEmpty(this.createTime)){
+    public String getCreateTime$() {
+        if (Cools.isEmpty(this.createTime)) {
             return "";
         }
         return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.createTime);
     }
 
-    public String getUpdateBy$(){
+    public String getUpdateBy$() {
         UserService service = SpringUtils.getBean(UserService.class);
         User user = service.selectById(this.updateBy);
-        if (!Cools.isEmpty(user)){
+        if (!Cools.isEmpty(user)) {
             return String.valueOf(user.getUsername());
         }
         return null;
     }
 
-    public String getUpdateTime$(){
-        if (Cools.isEmpty(this.updateTime)){
+    public String getUpdateTime$() {
+        if (Cools.isEmpty(this.updateTime)) {
             return "";
         }
         return new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(this.updateTime);

--
Gitblit v1.9.1