记得上下班打卡 | git大法好,push需谨慎

Commit 836be9cc authored by 胡佳晨's avatar 胡佳晨

修改 销售提成问0的数量查询

parent 03d47e22
...@@ -116,6 +116,7 @@ ...@@ -116,6 +116,7 @@
INNER JOIN smile_user AS su ON su.uid = kotr.agent_id INNER JOIN smile_user AS su ON su.uid = kotr.agent_id
WHERE kots.status IN (1,6,3) WHERE kots.status IN (1,6,3)
AND kotr.agent_id != 0 AND kotr.agent_id != 0
AND kotr.agent_distributions_master !=0
AND kotr.performance_id = #{performancesId} AND kotr.performance_id = #{performancesId}
group by kotr.agent_id group by kotr.agent_id
) )
......
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