From 2cc4b57ea4747aee34e52e791a0cabe4d253099d Mon Sep 17 00:00:00 2001 From: yuejiayang <146344614+YangLei105@users.noreply.github.com> Date: Wed, 4 Dec 2024 18:28:51 +0800 Subject: [PATCH] =?UTF-8?q?2024.12.04=20=E7=89=A9=E6=96=99=E6=88=90?= =?UTF-8?q?=E6=9C=AC=E5=AF=BC=E5=85=A5=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../sys/modules/part/service/impl/PartCostHistServiceImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/com/xujie/sys/modules/part/service/impl/PartCostHistServiceImpl.java b/src/main/java/com/xujie/sys/modules/part/service/impl/PartCostHistServiceImpl.java index 0c3d37f6..7deda69a 100644 --- a/src/main/java/com/xujie/sys/modules/part/service/impl/PartCostHistServiceImpl.java +++ b/src/main/java/com/xujie/sys/modules/part/service/impl/PartCostHistServiceImpl.java @@ -100,7 +100,7 @@ public class PartCostHistServiceImpl extends ServiceImpl queryWrapper = new QueryWrapper<>(); - queryWrapper.eq("part_no", task.getPartNo()); + queryWrapper.eq("part_no", task.getPartNo()).eq("site", task.getSite()); PartInformationEntity partInformationEntity = partInformationMapper.selectOne(queryWrapper); if (partInformationEntity == null) {