Commit ca7b13fb by 284718418@qq.com

客户统计所属人字段错误

parent dfd42262
......@@ -490,7 +490,7 @@
<where>
org_code = #{param.orgCode}
<if test='null != param.createUser and param.createUser !=""'>
AND create_user = #{param.createUser}
AND belong_user = #{param.createUser}
</if>
</where>
)AS crmClientCount
......@@ -517,7 +517,7 @@
<where>
org_code = #{param.orgCode} and DATE_FORMAT( create_time, '%Y-%m' ) = DATE_FORMAT( CURDATE( ), '%Y-%m' )
<if test='null != param.createUser and param.createUser !=""'>
AND create_user = #{param.createUser}
AND belong_user = #{param.createUser}
</if>
</where>
GROUP BY
......
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