Commit db9f4627 by 墨竹

feat:sql修改

parent 247b8d72
...@@ -155,8 +155,7 @@ ...@@ -155,8 +155,7 @@
select select
<include refid="Base_Column_List" /> <include refid="Base_Column_List" />
from tab_haoban_clerk_main_store_related from tab_haoban_clerk_main_store_related
where 1=1 where wx_enterprise_id = #{wxEnterpriseId}
and wx_enterprise_id = #{wxEnterpriseId}
and status_flag = 1 and status_flag = 1
group by staff_id group by staff_id
</select> </select>
......
...@@ -175,7 +175,7 @@ ...@@ -175,7 +175,7 @@
<foreach collection="clerkIds" item="id" index="index" open="(" close=")" separator=","> <foreach collection="clerkIds" item="id" index="index" open="(" close=")" separator=",">
#{id,jdbcType=VARCHAR} #{id,jdbcType=VARCHAR}
</foreach> </foreach>
group by b.staff_id group by a.staff_clerk_relation_id
</select> </select>
<select id="listByStoreId" resultMap="BaseResultMap" parameterType="java.lang.String"> <select id="listByStoreId" resultMap="BaseResultMap" parameterType="java.lang.String">
......
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