Commit 8ac3a823 by 徐高华

sql

parent d0b8fedf
...@@ -228,7 +228,8 @@ ...@@ -228,7 +228,8 @@
a.quit_count quitCount , a.quit_count quitCount ,
a.quit_member_count quitMemberCount , a.quit_member_count quitMemberCount ,
a.enterprise_id enterpriseId , a.enterprise_id enterpriseId ,
a.gic_flag gicFlag , a.init_flag initFlag , a.wx_chat_id_dk wxChatIdDk , a.off_time offTime , a.original_staff_id originalStaffId , a.hm_add_status hmAddStatus , a.gic_flag gicFlag , a.init_flag initFlag , a.wx_chat_id_dk wxChatIdDk , a.off_time offTime ,
a.original_staff_id originalStaffId , a.hm_add_status hmAddStatus
from tab_haoban_group_chat a left join tab_haoban_staff b on a.staff_id = b.staff_id from tab_haoban_group_chat a left join tab_haoban_staff b on a.staff_id = b.staff_id
where a.wx_enterprise_id=#{wxEnterpriseId} where a.wx_enterprise_id=#{wxEnterpriseId}
<if test="chatPageFlag==true"> <if test="chatPageFlag==true">
...@@ -252,7 +253,7 @@ ...@@ -252,7 +253,7 @@
<if test="null != status and 4==status"> <if test="null != status and 4==status">
and a.chat_status = 4 and a.chat_status = 4
</if> </if>
<if test="null != searchParams"> <if test="null != searchParams and ''!=searchParams ">
and (a.name like '%${searchParams}%' or a.wx_chat_id like '${searchParams}%') and (a.name like '%${searchParams}%' or a.wx_chat_id like '${searchParams}%')
</if> </if>
<if test="null != staffIdList and staffIdList.size>0"> <if test="null != staffIdList and staffIdList.size>0">
......
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