Commit 1e5d4424 authored by 赵啸非's avatar 赵啸非

修改统计逻辑

parent 245d6406
...@@ -17,7 +17,7 @@ import java.util.List; ...@@ -17,7 +17,7 @@ import java.util.List;
public interface DeviceMessageStatDao extends ICRUDDao<DeviceMessageStatEntity,Long>{ public interface DeviceMessageStatDao extends ICRUDDao<DeviceMessageStatEntity,Long>{
String SQLID_GET_STATLIST = "getStatList"; String SQLID_GET_STATLIST = "getMessageStatList";
List<DeviceMessageStatEntity> getStatList(DeviceMessageStatEntity query, PageInfo pageInfo); List<DeviceMessageStatEntity> getStatList(DeviceMessageStatEntity query, PageInfo pageInfo);
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
"mybatis-3-mapper.dtd"> "mybatis-3-mapper.dtd">
<mapper namespace="com.mortals.xhx.module.device.dao.ibatis.DeviceMessageStatDaoImpl"> <mapper namespace="com.mortals.xhx.module.device.dao.ibatis.DeviceMessageStatDaoImpl">
<!-- 获取统计列表 --> <!-- 获取统计列表 -->
<select id="getStatList" parameterType="paramDto" resultMap="DeviceMessageStatEntity-Map"> <select id="getMessageStatList" parameterType="paramDto" resultMap="DeviceMessageStatEntity-Map">
select select
<!-- 获取分组字段 --> <!-- 获取分组字段 -->
<if test="groupList != null and !groupList.isEmpty()"> <if test="groupList != null and !groupList.isEmpty()">
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
}, },
"test1": { "test1": {
"baseUrl": "http://8.136.255.30:11091/m", "baseUrl": "http://8.136.255.30:11083/m",
"baseLogin": "http://192.168.0.98:11078/base" "baseLogin": "http://192.168.0.98:11078/base"
}, },
"portal": { "portal": {
......
...@@ -97,6 +97,13 @@ Content-Type: application/json ...@@ -97,6 +97,13 @@ Content-Type: application/json
{"deviceCode":"8C-C5-8C-02-BC-5A"} {"deviceCode":"8C-C5-8C-02-BC-5A"}
###测试设备消息统计
POST {{baseUrl}}/device/message/stat/list
Content-Type: application/json
{}
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