lyhzzz 2 年之前
父節點
當前提交
45d68f552f
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/main/resources/mapper/manage/AgentNewLogMapper.xml

+ 2 - 2
src/main/resources/mapper/manage/AgentNewLogMapper.xml

@@ -4,8 +4,8 @@
 
 
     <select id="listGroup" resultType="com.fdkankan.manage.vo.response.AgentLogGVo" >
     <select id="listGroup" resultType="com.fdkankan.manage.vo.response.AgentLogGVo" >
         select agent_id,type,sum(count)as num from t_agent_new_log GROUP BY agent_id,type
         select agent_id,type,sum(count)as num from t_agent_new_log GROUP BY agent_id,type
-        <if test="param.startTime != null and param.startTime !='' ">
-            and create_time between #{param.startTime} and #{param.endTime}
+        <if test="startTime != null and startTime !='' ">
+            and create_time between #{startTime} and #{endTime}
         </if>
         </if>
     </select>
     </select>
 </mapper>
 </mapper>