Commit 0b5018e7 by 杨林龙

1.50.0 开发1.50.0需求版本 优化用户行为查询展示

1 parent 3c342011
......@@ -28,5 +28,6 @@ public class UserBehaviorDayDTO implements Serializable {
/**
* 每天数量
*/
@ApiModelProperty(value = "每天数量")
private Integer dayNum;
}
......@@ -69,7 +69,7 @@
<select id="statisticsDeviceJourneyWithDay"
resultType="cn.com.glsx.admin.modules.model.dto.UserBehaviorDayDTO">
SELECT
DATE(begin_time) AS dayInt,
DAY(begin_time) AS dayInt,
sum(mileage)/1000 AS dayNum
FROM t_device_journey
WHERE sn = #{sn}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!