From e8855038f6e47cde0d6a8a9ddb2fa5a629e0efbb Mon Sep 17 00:00:00 2001
From: 1 <1@123>
Date: 星期四, 22 一月 2026 13:39:56 +0800
Subject: [PATCH] lsh#

---
 rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/WkOrder.java |   51 +++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 51 insertions(+), 0 deletions(-)

diff --git a/rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/WkOrder.java b/rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/WkOrder.java
index f5d5f63..b861d02 100644
--- a/rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/WkOrder.java
+++ b/rsf-server/src/main/java/com/vincent/rsf/server/manager/entity/WkOrder.java
@@ -5,6 +5,7 @@
 
 import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
 import com.fasterxml.jackson.annotation.JsonFormat;
+import com.vincent.rsf.server.api.controller.erp.params.SyncOrderParams;
 import com.vincent.rsf.server.manager.enums.OrderType;
 import com.vincent.rsf.server.manager.enums.OrderWorkType;
 import com.vincent.rsf.server.system.constant.DictTypeCode;
@@ -343,6 +344,56 @@
         this.memo = memo;
     }
 
+    public WkOrder(SyncOrderParams syncOrderParams) {
+        this.code = code;
+        this.poCode = poCode;
+        this.poId = poId;
+        this.type = type;
+        this.wkType = wkType;
+        this.checkType = checkType;
+        this.anfme = anfme;
+        this.workQty = workQty;
+        this.qty = qty;
+        this.logisNo = logisNo;
+        this.waveId = waveId;
+        this.arrTime = arrTime;
+        this.ntyStatus = ntyStatus;
+        this.reportOnce = reportOnce;
+        this.rleStatus = rleStatus;
+        this.exceStatus = exceStatus;
+        this.status = status;
+        this.deleted = deleted;
+        this.tenantId = tenantId;
+        this.createBy = createBy;
+        this.createTime = createTime;
+        this.updateBy = updateBy;
+        this.updateTime = updateTime;
+        this.memo = memo;
+        this.warehouseId = warehouseId;
+        this.wareAreaId = wareAreaId;
+        this.businessTime = businessTime;
+        this.stationId = stationId;
+        this.shipperId = shipperId;
+        this.orderInternalCode = orderInternalCode;
+        this.stockDirect = stockDirect;
+        this.customerId = customerId;
+        this.customerName = customerName;
+        this.supplierId = supplierId;
+        this.supplierName = supplierName;
+        this.stockOrgId = stockOrgId;
+        this.stockOrgName = stockOrgName;
+        this.purchaseOrgId = purchaseOrgId;
+        this.purchaseOrgName = purchaseOrgName;
+        this.purchaseUserId = purchaseUserId;
+        this.purchaseUserName = purchaseUserName;
+        this.prdOrgId = prdOrgId;
+        this.prdOrgName = prdOrgName;
+        this.saleOrgId = saleOrgId;
+        this.saleOrgName = saleOrgName;
+        this.saleUserId = saleUserId;
+        this.saleUserName = saleUserName;
+    }
+
     public String getExceStatus$() {
         if (Cools.isEmpty(this.exceStatus)) {
             return "";

--
Gitblit v1.9.1