From 8257d89c461f6553d66fad1e5e3df3d172a00924 Mon Sep 17 00:00:00 2001
From: 1 <1>
Date: 星期六, 29 十一月 2025 18:10:18 +0800
Subject: [PATCH] #

---
 src/main/java/com/zy/asrs/task/kingdee/handler/InboundOrderHandler.java |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/src/main/java/com/zy/asrs/task/kingdee/handler/InboundOrderHandler.java b/src/main/java/com/zy/asrs/task/kingdee/handler/InboundOrderHandler.java
index eea2467..38666c1 100644
--- a/src/main/java/com/zy/asrs/task/kingdee/handler/InboundOrderHandler.java
+++ b/src/main/java/com/zy/asrs/task/kingdee/handler/InboundOrderHandler.java
@@ -131,7 +131,7 @@
 //                    jsonObject.put("start_biztime", latestUpdateTime);//涓氬姟璧峰鏃ユ湡
                     jsonObject.put("start_biztime",  "2025-01-01 00:00:00");//涓氬姟璧峰鏃ユ湡
                     jsonObject.put("end_biztime", sdf1.format(now));//涓氬姟缁撴潫鏃ユ湡
-                    jsonObject.put("billno", "CGSL-251125-000001");
+                    jsonObject.put("billno", "CGSL-251126-000001");
                     jsonObject.put("billstatus", Arrays.asList("C"));//鏁版嵁鐘舵�� [A:鏆傚瓨, B:宸叉彁浜�, C:宸插鏍竇
                     jsonObject.put("start_auditdate", "2025-11-25 00:00:00");
                     jsonObject.put("end_auditdate", sdf1.format(now));
@@ -203,6 +203,9 @@
                             Double length = jsonObjectNew.get("length") != null ? new BigDecimal(jsonObjectNew.get("eap7_decimalfield7").toString()).doubleValue() : 0.0;
                             Double netweight = jsonObjectNew.get("netweight") != null ? new BigDecimal(jsonObjectNew.get("eap7_decimalfield").toString()).doubleValue() : 0.0;
                             // 鐢熸垚鍟嗗搧妗f
+                            Double height1 = height*10;
+                            Double width1 = width*10;
+                            Double length1 = length*10;
                             Mat mat = matService.selectByMatnr(matnr);
                             if (mat == null) {
                                 mat = new Mat();
@@ -211,9 +214,9 @@
                                 mat.setTagId(tag.getId());
                                 mat.setWeight(grossweight);//鍑�閲�
                                 mat.setUnits(netweight);//姣涢噸
-                                mat.setManLength(length*10);
-                                mat.setHeight(height*10);
-                                mat.setWidth(width*10);
+                                mat.setManLength(length1);
+                                mat.setHeight(height1);
+                                mat.setWidth(width1);
                                 mat.setCreateTime(sdf1.parse(createTime));
                                 mat.setUpdateTime(modifyTime);
                                 mat.setStatus(1);

--
Gitblit v1.9.1