Commit 00c10ee8 by 徐高华

sql

parent 1a9eb62c
...@@ -2,6 +2,8 @@ package com.gic.haoban.manage.service.dao.mapper.chat; ...@@ -2,6 +2,8 @@ package com.gic.haoban.manage.service.dao.mapper.chat;
import java.util.List; import java.util.List;
import org.apache.ibatis.annotations.Param;
import com.gic.haoban.manage.service.entity.chat.TabGroupChatInit; import com.gic.haoban.manage.service.entity.chat.TabGroupChatInit;
/** /**
...@@ -22,7 +24,7 @@ public interface GroupChatInitMapper { ...@@ -22,7 +24,7 @@ public interface GroupChatInitMapper {
* @Param @param TabHaobanGroupChatInit * @Param @param TabHaobanGroupChatInit
* @Throws * @Throws
*/ */
public int update(String wxEnterprseId, int status); public int update(@Param("wxEnterprseId")String wxEnterprseId, @Param("statusFlag") int status);
/** /**
* 通过主键查询 * 通过主键查询
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
<update id="update"> <update id="update">
<![CDATA[ <![CDATA[
UPDATE tab_haoban_group_chat_init SET UPDATE tab_haoban_group_chat_init SET
status_flag=#{statusFlag,jdbcType=INTEGER} status_flag=#{statusFlag}
where wx_enterprise_id = #{wxEnterpriseId} where wx_enterprise_id = #{wxEnterpriseId}
]]> ]]>
</update> </update>
......
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