From ea2c07cbc28866e4a0b74c1ecc56ec7e1ce1b744 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=88=98=E5=90=8D=E5=96=9C?= Date: Thu, 5 Dec 2024 10:10:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/ktg/mes/md/service/impl/BomRouteServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ktg-mes/src/main/java/com/ktg/mes/md/service/impl/BomRouteServiceImpl.java b/ktg-mes/src/main/java/com/ktg/mes/md/service/impl/BomRouteServiceImpl.java index 762ecb7..2741653 100644 --- a/ktg-mes/src/main/java/com/ktg/mes/md/service/impl/BomRouteServiceImpl.java +++ b/ktg-mes/src/main/java/com/ktg/mes/md/service/impl/BomRouteServiceImpl.java @@ -125,7 +125,7 @@ public class BomRouteServiceImpl implements IBomRouteService mbbProduBom.setBomRouteId(bomRouteId); list.add(mbbProduBom); } - if (list.size() > 0) + if (!list.isEmpty()) { bomRouteMapper.batchMbbProduBom(list); }