lyhzzz 7 months ago
parent
commit
ebc68731cb
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/main/resources/mapper/manage/ManageAgentLogMapper.xml

+ 1 - 1
src/main/resources/mapper/manage/ManageAgentLogMapper.xml

@@ -22,7 +22,7 @@
     <select id="groupByAgentId" resultType="com.fdkankan.manage.vo.response.GroupManageAgentLog">
     <select id="groupByAgentId" resultType="com.fdkankan.manage.vo.response.GroupManageAgentLog">
         SELECT agent_id,sum(down_add_num) as downAddNumTotal ,sum(major_add_num)as majorAddNumTotal,sum(high_add_num) as highAddNumTotal
         SELECT agent_id,sum(down_add_num) as downAddNumTotal ,sum(major_add_num)as majorAddNumTotal,sum(high_add_num) as highAddNumTotal
         from t_manage_agent_log WHERE rec_status = 'A'
         from t_manage_agent_log WHERE rec_status = 'A'
-        <if test="agentIds != null and agentIds.siz >0">
+        <if test="agentIds != null and agentIds.size >0">
             and agent_id in
             and agent_id in
             <foreach collection="agentIds" item="agentId" open="(" separator="," close=")">
             <foreach collection="agentIds" item="agentId" open="(" separator="," close=")">
                 #{agentId}
                 #{agentId}