Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
5524968807
|
|
@ -88,17 +88,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||||
<delete id="deleteTypeKeeperByUserIdAndTypeId">
|
<delete id="deleteTypeKeeperByUserIdAndTypeId">
|
||||||
delete from ma_type_keeper where
|
delete from ma_type_keeper where
|
||||||
type_id in
|
type_id in
|
||||||
<foreach collection="list" item="item" separator=",">
|
<foreach collection="list" item="item" open="(" separator="," close=")">
|
||||||
(
|
|
||||||
#{item.typeId}
|
#{item.typeId}
|
||||||
)
|
|
||||||
</foreach>
|
</foreach>
|
||||||
and
|
and
|
||||||
user_id in
|
user_id in
|
||||||
<foreach collection="list" item="item" separator=",">
|
<foreach collection="list" item="item" open="(" separator="," close=")">
|
||||||
(
|
|
||||||
#{item.userId}
|
#{item.userId}
|
||||||
)
|
|
||||||
</foreach>
|
</foreach>
|
||||||
</delete>
|
</delete>
|
||||||
</mapper>
|
</mapper>
|
||||||
Loading…
Reference in New Issue