lyhzzz 2 gadi atpakaļ
vecāks
revīzija
45d68f552f

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

@@ -4,8 +4,8 @@
 
     <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
-        <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>
     </select>
 </mapper>