Commit 3887ef49 by 徐高华

sql

parent 4ef732a7
...@@ -179,7 +179,7 @@ ...@@ -179,7 +179,7 @@
<select id="list" resultMap="result-map-tabHaobanGroupChat" parameterType="com.gic.haoban.manage.api.dto.qdto.chat.GroupChatSearchQDTO"> <select id="list" resultMap="result-map-tabHaobanGroupChat" parameterType="com.gic.haoban.manage.api.dto.qdto.chat.GroupChatSearchQDTO">
select <include refid="Base_Column_List" /> from tab_haoban_group_chat where wx_enterprise_id=#{wxEnterpriseId} select <include refid="Base_Column_List" /> from tab_haoban_group_chat where wx_enterprise_id=#{wxEnterpriseId}
and (enterpries_id = #{enterpriseId} or enterprise_id is null) and (enterprise_id = #{enterpriseId} or enterprise_id is null)
<if test="null != staffId"> <if test="null != staffId">
and staff_id = #{staffId} and staff_id = #{staffId}
</if> </if>
......
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