|
@@ -3,9 +3,10 @@
|
|
|
<mapper namespace="com.fdkankan.manage.mapper.IAgentNewLogMapper">
|
|
|
|
|
|
<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
|
|
|
<if test="startTime != null and startTime !='' ">
|
|
|
- and create_time between #{startTime} and #{endTime}
|
|
|
+ where create_time between #{startTime} and #{endTime}
|
|
|
</if>
|
|
|
+ GROUP BY agent_id,type
|
|
|
</select>
|
|
|
</mapper>
|