From 10bb8159aa0d0e7bf16494bcdb43241d64846e75 Mon Sep 17 00:00:00 2001 From: dxfeng Date: Mon, 14 Nov 2022 19:13:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=98=8E=E7=BB=86=E8=A1=A8BUG=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/com/engine/organization/mapper/extend/ExtDTMapper.java | 2 +- src/com/engine/organization/mapper/extend/ExtDTMapper.xml | 3 +++ src/com/engine/organization/service/impl/CompServiceImpl.java | 2 +- .../organization/service/impl/DepartmentServiceImpl.java | 4 ++-- src/com/engine/organization/service/impl/ExtServiceImpl.java | 4 ++-- src/com/engine/organization/service/impl/JobServiceImpl.java | 2 +- 6 files changed, 10 insertions(+), 7 deletions(-) diff --git a/src/com/engine/organization/mapper/extend/ExtDTMapper.java b/src/com/engine/organization/mapper/extend/ExtDTMapper.java index 47737dc8..d0b865ba 100644 --- a/src/com/engine/organization/mapper/extend/ExtDTMapper.java +++ b/src/com/engine/organization/mapper/extend/ExtDTMapper.java @@ -37,5 +37,5 @@ public interface ExtDTMapper { * @param mainId * @return */ - int deleteByMainID(@Param("tableName") String tableName, @Param("mainId") long mainId); + int deleteByMainID(@Param("tableName") String tableName, @Param("mainId") long mainId, @Param("groupId") Long groupId); } diff --git a/src/com/engine/organization/mapper/extend/ExtDTMapper.xml b/src/com/engine/organization/mapper/extend/ExtDTMapper.xml index d9ef99a7..422e31ba 100644 --- a/src/com/engine/organization/mapper/extend/ExtDTMapper.xml +++ b/src/com/engine/organization/mapper/extend/ExtDTMapper.xml @@ -19,6 +19,9 @@ delete from ${tableName} where mainid = #{mainId} + + and group_id = #{groupId} +