Commit b0236fe0 by huluobin

fix

parent 4de67a38
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
<select id="listUserForAllNotQuit" resultType="com.gogirl.domain.store.store.StoreUser"> <select id="listUserForAllNotQuit" resultType="com.gogirl.domain.store.store.StoreUser">
SELECT t1.* from store_user t1 SELECT t1.* from store_user t1
LEFT JOIN staff_store_authority t2 on t1.id =t2.user_id LEFT JOIN staff_store_authority t2 on t1.id =t2.user_id
where t1.`status` = 1; where t1.`status` = 1
<if test="departmentId != null"> <if test="departmentId != null">
and t2.store_id = #{departmentId} and t2.store_id = #{departmentId}
</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