From 56b1b873191d6e7022ed225cf81c3eda774f210e Mon Sep 17 00:00:00 2001
From: skyouc <958836976@qq.com>
Date: 星期六, 11 四月 2026 18:02:42 +0800
Subject: [PATCH] WMS2.0与WCS3.0对接完整版

---
 src/main/java/com/zy/asrs/entity/result/LocDetlAll.java |   16 +++++++---------
 1 files changed, 7 insertions(+), 9 deletions(-)

diff --git a/src/main/java/com/zy/asrs/entity/result/LocDetlAll.java b/src/main/java/com/zy/asrs/entity/result/LocDetlAll.java
index 27fb73d..e5c80f5 100644
--- a/src/main/java/com/zy/asrs/entity/result/LocDetlAll.java
+++ b/src/main/java/com/zy/asrs/entity/result/LocDetlAll.java
@@ -5,8 +5,8 @@
 import com.core.common.SpringUtils;
 import com.zy.asrs.entity.LocOwner;
 import com.zy.asrs.service.LocOwnerService;
+import com.zy.common.utils.Synchro;
 import lombok.Data;
-import org.springframework.beans.BeanUtils;
 
 import java.util.Date;
 
@@ -30,20 +30,18 @@
     private String meno;
     private String manu;
 
-    public String getOwner$() {
+    public String getOwner$(){
         LocOwnerService service = SpringUtils.getBean(LocOwnerService.class);
         LocOwner locOwner = service.selectById(this.owner);
-        if (!Cools.isEmpty(locOwner)) {
+        if (!Cools.isEmpty(locOwner)){
             return String.valueOf(locOwner.getOwner());
         }
         return null;
     }
 
-    public String getPayment$() {
-        if (null == this.payment) {
-            return null;
-        }
-        switch (this.payment) {
+    public String getPayment$(){
+        if (null == this.payment){ return null; }
+        switch (this.payment){
             case 1:
                 return "浠撳偍";
             case 0:
@@ -54,6 +52,6 @@
     }
 
     public void sync(Object source) {
-        BeanUtils.copyProperties(source, this);
+        Synchro.Copy(source, this);
     }
 }

--
Gitblit v1.9.1