From 12b08a38039342388db67feb36a497b96eef3f0e Mon Sep 17 00:00:00 2001 From: bonus <1203338439@qq.com> Date: Fri, 25 Apr 2025 16:32:21 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E8=AF=95=E5=90=8E=E5=85=A5?= =?UTF-8?q?=E5=BA=93=EF=BC=8C=E5=B7=A5=E7=A8=8B=E6=9C=BA=E5=85=B7=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=E6=9F=A5=E8=AF=A2=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../impl/RepairInputDetailsServiceImpl.java | 17 +- .../material/basic/ComplexQueryMapper.xml | 154 +++++------------- 2 files changed, 50 insertions(+), 121 deletions(-) diff --git a/bonus-modules/bonus-material/src/main/java/com/bonus/material/repair/service/impl/RepairInputDetailsServiceImpl.java b/bonus-modules/bonus-material/src/main/java/com/bonus/material/repair/service/impl/RepairInputDetailsServiceImpl.java index 6d1fb701..2793d1e8 100644 --- a/bonus-modules/bonus-material/src/main/java/com/bonus/material/repair/service/impl/RepairInputDetailsServiceImpl.java +++ b/bonus-modules/bonus-material/src/main/java/com/bonus/material/repair/service/impl/RepairInputDetailsServiceImpl.java @@ -37,7 +37,7 @@ import javax.annotation.Resource; /** * 修试后入库Service业务层处理 - * + * * @author xsheng * @date 2024-10-16 */ @@ -57,7 +57,7 @@ public class RepairInputDetailsServiceImpl implements IRepairInputDetailsService /** * 查询修试后入库 - * + * * @param repairInputDetails 修试后入库主键 * @return 修试后入库 */ @@ -97,7 +97,7 @@ public class RepairInputDetailsServiceImpl implements IRepairInputDetailsService /** * 查询修试后入库列表 - * + * * @param repairInputDetails 修试后入库 * @return 修试后入库 */ @@ -149,7 +149,7 @@ public class RepairInputDetailsServiceImpl implements IRepairInputDetailsService /** * 新增修试后入库 - * + * * @param repairInputDetails 修试后入库 * @return 结果 */ @@ -165,7 +165,7 @@ public class RepairInputDetailsServiceImpl implements IRepairInputDetailsService /** * 修改修试后入库 - * + * * @param repairInputDetails 修试后入库 * @return 结果 */ @@ -181,7 +181,7 @@ public class RepairInputDetailsServiceImpl implements IRepairInputDetailsService /** * 批量删除修试后入库 - * + * * @param ids 需要删除的修试后入库主键 * @return 结果 */ @@ -192,7 +192,7 @@ public class RepairInputDetailsServiceImpl implements IRepairInputDetailsService /** * 删除修试后入库信息 - * + * * @param id 修试后入库主键 * @return 结果 */ @@ -448,7 +448,8 @@ public class RepairInputDetailsServiceImpl implements IRepairInputDetailsService RepairInputInfo repairInputInfo = new RepairInputInfo(); repairInputInfo.setTypeId(repairInputDetails.getTypeId()); repairInputInfo.setInputNum(repairInputDetails.getInputNum()); - repairInputDetailsMapper.updateNum(repairInputInfo); + //驳回不需求修改库存 + // repairInputDetailsMapper.updateNum(repairInputInfo); Long newTaskId = insertTt(repairInputDetails.getTaskId()); result += insertTta(newTaskId, repairInputDetails); result += insertWxTask(newTaskId, repairInputDetails); diff --git a/bonus-modules/bonus-material/src/main/resources/mapper/material/basic/ComplexQueryMapper.xml b/bonus-modules/bonus-material/src/main/resources/mapper/material/basic/ComplexQueryMapper.xml index 2f0e7ddc..0a1f9043 100644 --- a/bonus-modules/bonus-material/src/main/resources/mapper/material/basic/ComplexQueryMapper.xml +++ b/bonus-modules/bonus-material/src/main/resources/mapper/material/basic/ComplexQueryMapper.xml @@ -5,6 +5,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"