Commit 4de67a38 by huluobin

美甲师添加推荐人

parent 56ee7c86
...@@ -4,12 +4,11 @@ ...@@ -4,12 +4,11 @@
<select id="listUserForAllNotQuit" resultType="com.gogirl.domain.store.store.StoreUser"> <select id="listUserForAllNotQuit" resultType="com.gogirl.domain.store.store.StoreUser">
select SELECT t1.* from store_user t1
* LEFT JOIN staff_store_authority t2 on t1.id =t2.user_id
from store_user where t1.`status` = 1;
where status = 1
<if test="departmentId != null"> <if test="departmentId != null">
and department_id = #{departmentId} and t2.store_id = #{departmentId}
</if> </if>
</select> </select>
</mapper> </mapper>
\ No newline at end of file
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