修改SQL。

dev_0531
kevin jiang 5 years ago
parent 3e8048b117
commit cdd91a1487

@ -231,8 +231,7 @@
AND t2.id = t.user_id AND t2.id = t.user_id
AND t3.cp_user_id = t2.staff_code AND t3.cp_user_id = t2.staff_code
GROUP BY GROUP BY
t2.store_id , t2.store_id
t2.staff_code
</select> </select>
<select id="selectCustomersByCpUserIdByList" resultType="java.util.Map"> <select id="selectCustomersByCpUserIdByList" resultType="java.util.Map">
@ -253,8 +252,7 @@
#{item} #{item}
</foreach> </foreach>
GROUP BY GROUP BY
t2.store_id , t.store_id
t2.staff_code
</select> </select>
</mapper> </mapper>

Loading…
Cancel
Save