Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
D
device-new-platform
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
赵啸非
device-new-platform
Commits
1e5d4424
Commit
1e5d4424
authored
Mar 26, 2024
by
赵啸非
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改统计逻辑
parent
245d6406
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
3 deletions
+10
-3
device-manager/src/main/java/com/mortals/xhx/module/device/dao/DeviceMessageStatDao.java
...m/mortals/xhx/module/device/dao/DeviceMessageStatDao.java
+1
-1
device-manager/src/main/resources/sqlmap/module/device/DeviceMessageStatMapperExt.xml
...urces/sqlmap/module/device/DeviceMessageStatMapperExt.xml
+1
-1
device-manager/src/test/java/com/mortals/httpclient/http-client.env.json
...src/test/java/com/mortals/httpclient/http-client.env.json
+1
-1
device-manager/src/test/java/com/mortals/httpclient/system.http
...-manager/src/test/java/com/mortals/httpclient/system.http
+7
-0
No files found.
device-manager/src/main/java/com/mortals/xhx/module/device/dao/DeviceMessageStatDao.java
View file @
1e5d4424
...
@@ -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
=
"get
Message
StatList"
;
List
<
DeviceMessageStatEntity
>
getStatList
(
DeviceMessageStatEntity
query
,
PageInfo
pageInfo
);
List
<
DeviceMessageStatEntity
>
getStatList
(
DeviceMessageStatEntity
query
,
PageInfo
pageInfo
);
...
...
device-manager/src/main/resources/sqlmap/module/device/DeviceMessageStatMapperExt.xml
View file @
1e5d4424
...
@@ -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=
"get
Message
StatList"
parameterType=
"paramDto"
resultMap=
"DeviceMessageStatEntity-Map"
>
select
select
<!-- 获取分组字段 -->
<!-- 获取分组字段 -->
<if
test=
"groupList != null and !groupList.isEmpty()"
>
<if
test=
"groupList != null and !groupList.isEmpty()"
>
...
...
device-manager/src/test/java/com/mortals/httpclient/http-client.env.json
View file @
1e5d4424
...
@@ -23,7 +23,7 @@
...
@@ -23,7 +23,7 @@
},
},
"test1"
:
{
"test1"
:
{
"baseUrl"
:
"http://8.136.255.30:110
91
/m"
,
"baseUrl"
:
"http://8.136.255.30:110
83
/m"
,
"baseLogin"
:
"http://192.168.0.98:11078/base"
"baseLogin"
:
"http://192.168.0.98:11078/base"
},
},
"portal"
:
{
"portal"
:
{
...
...
device-manager/src/test/java/com/mortals/httpclient/system.http
View file @
1e5d4424
...
@@ -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
{}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment