From d2398eb18ecfbfc9ecafe597a22b00615e61db46 Mon Sep 17 00:00:00 2001
From: zhang <zc857179121@qq.com>
Date: 星期二, 04 十一月 2025 14:20:22 +0800
Subject: [PATCH] Merge remote-tracking branch 'origin/integrationWms' into integrationWms

---
 src/main/java/com/zy/asrs/entity/result/LocDetlAll.java |   16 +++++++++-------
 1 files changed, 9 insertions(+), 7 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 e5c80f5..27fb73d 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,18 +30,20 @@
     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:
@@ -52,6 +54,6 @@
     }
 
     public void sync(Object source) {
-        Synchro.Copy(source, this);
+        BeanUtils.copyProperties(source, this);
     }
 }

--
Gitblit v1.9.1