From ab2b32f21167219567780574ee28d8eb7793a829 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=91=A3=E5=93=B2=E5=A5=87?= <13840175730@139.com> Date: Sun, 27 Apr 2025 14:43:50 +0800 Subject: [PATCH] =?UTF-8?q?1.=E4=BF=AE=E6=AD=A3=E9=9B=B6=E4=BB=B6=E5=B1=9E?= =?UTF-8?q?=E6=80=A7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/dsic/gj_erp/controller/zyjh/ZyjhController.java | 4 ---- src/main/java/com/dsic/gj_erp/service/zyjh/ZyjhService.java | 5 ++++- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/main/java/com/dsic/gj_erp/controller/zyjh/ZyjhController.java b/src/main/java/com/dsic/gj_erp/controller/zyjh/ZyjhController.java index a89d9a3..06c2687 100644 --- a/src/main/java/com/dsic/gj_erp/controller/zyjh/ZyjhController.java +++ b/src/main/java/com/dsic/gj_erp/controller/zyjh/ZyjhController.java @@ -346,10 +346,6 @@ public class ZyjhController { } for (DmYdjh item : list) { - //生成预配盘信息 -// DmYppyz dmYppyz = DmYppyz.of(item); -// dmYppyz.insert(); - //生成零件信息 List ljList = zyjhService.createLj(item.getDcCh(), item.getDcPl(), item.getTzbh()); diff --git a/src/main/java/com/dsic/gj_erp/service/zyjh/ZyjhService.java b/src/main/java/com/dsic/gj_erp/service/zyjh/ZyjhService.java index e89ccfd..54fbe53 100644 --- a/src/main/java/com/dsic/gj_erp/service/zyjh/ZyjhService.java +++ b/src/main/java/com/dsic/gj_erp/service/zyjh/ZyjhService.java @@ -154,14 +154,17 @@ public class ZyjhService extends ServiceImpl { .forEach(file -> { if (file.exists()){ List strings = ExcelUtil.ReadExcelByLine(file); - System.out.println(strings); for (DmYdjhLj _lj : values){ for (String _str:strings){ if (_str.contains(_lj.getTlth())&&_str.contains(_lj.getLjbh())){ String[] _strArr=_str.split(" "); if (_strArr.length>8){ + _lj.setTz(_strArr[7]); _lj.setLx(_strArr[8]); } + if (_strArr.length>9){ + _lj.setXj(_strArr[9]); + } } } }