Commit 519a7c85 by 徐高华

删除

parent 34a75274
...@@ -21,7 +21,7 @@ public interface HmLinkChatMapper { ...@@ -21,7 +21,7 @@ public interface HmLinkChatMapper {
public int insert(TabHmLinkChat tabHaobanHmLinkChat); public int insert(TabHmLinkChat tabHaobanHmLinkChat);
public int delete(@Param("linkId") Long linkId, @Param("idList") List<Long> idList, public int delete(@Param("linkId") Long linkId, @Param("notDelIdList") List<Long> notDelIdList,
@Param("otherFlag") int otherFlag); @Param("otherFlag") int otherFlag);
public int update(TabHmLinkChat entity); public int update(TabHmLinkChat entity);
......
...@@ -62,9 +62,9 @@ ...@@ -62,9 +62,9 @@
<!-- =====================删除==================== --> <!-- =====================删除==================== -->
<update id="delete"> <update id="delete">
UPDATE tab_haoban_hm_link_chat SET delete_flag = 1 , update_time =now() WHERE link_id = #{linkId} UPDATE tab_haoban_hm_link_chat SET delete_flag = 1 , update_time =now() WHERE link_id = #{linkId}
<if test="null != idList and idList.size > 0"> <if test="null != notDelIdList and notDelIdList.size > 0">
and chat_hm_id in and chat_hm_id not in
<foreach collection="idList" item="item" separator="," index="index" <foreach collection="notDelIdList" item="item" separator="," index="index"
close=")" open="("> close=")" open="(">
#{item} #{item}
</foreach> </foreach>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment