Commit 70cfe9dd by 徐高华

sql调整

parent 82ed6e40
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
</insert> </insert>
<select id="countExternalContactCount" resultType="java.lang.Integer"> <select id="countExternalContactCount" resultType="java.lang.Integer">
select sum(external_contact_count) select ifnull(sum(external_contact_count),0)
from tab_haoban_qywx_fee_order from tab_haoban_qywx_fee_order
where wx_enterprise_id = #{wxEnterpriseId} where wx_enterprise_id = #{wxEnterpriseId}
</select> </select>
......
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