公司关系,逻辑优化
This commit is contained in:
@@ -29,5 +29,5 @@ public interface CompanyRelativityMapper extends BaseMapperX<CompanyRelativityDO
|
|||||||
|
|
||||||
List<CompanyRelaDeptDO> getPageByReq(CompanyRelativityPageReqVO pageReqVO);
|
List<CompanyRelaDeptDO> getPageByReq(CompanyRelativityPageReqVO pageReqVO);
|
||||||
|
|
||||||
void removeByIds(@Param("ids")List<Long> ids);
|
void removeByIds(@Param("ids") List<Long> ids);
|
||||||
}
|
}
|
||||||
@@ -46,7 +46,7 @@
|
|||||||
|
|
||||||
<delete id="removeByIds">
|
<delete id="removeByIds">
|
||||||
delete from SPLY_CPN_REL where ID in
|
delete from SPLY_CPN_REL where ID in
|
||||||
<foreach item="ids" collection="list" separator="," open="(" close=")">
|
<foreach collection="ids" item="item" open="(" separator="," close=")">
|
||||||
#{item}
|
#{item}
|
||||||
</foreach>
|
</foreach>
|
||||||
</delete>
|
</delete>
|
||||||
|
|||||||
Reference in New Issue
Block a user