Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
eshiled-new
/
ne-shield-trialdrive-admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 0b5018e7
authored
Mar 27, 2024
by
杨林龙
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
1.50.0 开发1.50.0需求版本 优化用户行为查询展示
1 parent
3c342011
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
1 deletions
src/main/java/cn/com/glsx/admin/modules/model/dto/UserBehaviorDayDTO.java
src/main/resources/mapper/DeviceJourneyMapper.xml
src/main/java/cn/com/glsx/admin/modules/model/dto/UserBehaviorDayDTO.java
View file @
0b5018e
...
@@ -28,5 +28,6 @@ public class UserBehaviorDayDTO implements Serializable {
...
@@ -28,5 +28,6 @@ public class UserBehaviorDayDTO implements Serializable {
/**
/**
* 每天数量
* 每天数量
*/
*/
@ApiModelProperty
(
value
=
"每天数量"
)
private
Integer
dayNum
;
private
Integer
dayNum
;
}
}
src/main/resources/mapper/DeviceJourneyMapper.xml
View file @
0b5018e
...
@@ -69,7 +69,7 @@
...
@@ -69,7 +69,7 @@
<select
id=
"statisticsDeviceJourneyWithDay"
<select
id=
"statisticsDeviceJourneyWithDay"
resultType=
"cn.com.glsx.admin.modules.model.dto.UserBehaviorDayDTO"
>
resultType=
"cn.com.glsx.admin.modules.model.dto.UserBehaviorDayDTO"
>
SELECT
SELECT
DA
TE
(begin_time) AS dayInt,
DA
Y
(begin_time) AS dayInt,
sum(mileage)/1000 AS dayNum
sum(mileage)/1000 AS dayNum
FROM t_device_journey
FROM t_device_journey
WHERE sn = #{sn}
WHERE sn = #{sn}
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment