fangyuan
2022-12-14 574f3e567a9b95949fbd0c15e10cbc2b5439dc7b
趋势分析接口修改
2个文件已修改
10 ■■■■■ 已修改文件
ycl-platform/src/main/java/com/ycl/vo/TrendVo.java 6 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
ycl-platform/src/main/resources/mapper/trend/TrendAnalysisMapper.xml 4 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
ycl-platform/src/main/java/com/ycl/vo/TrendVo.java
@@ -26,4 +26,10 @@
    @ApiModelProperty(value = "报警地址")
    private String address;
    @ApiModelProperty(value = "经度")
    private String longitude;
    @ApiModelProperty(value = "纬度")
    private String latitude;
}
ycl-platform/src/main/resources/mapper/trend/TrendAnalysisMapper.xml
@@ -6,7 +6,9 @@
        SELECT
        t2.id,
        t2.NAME,
        count( 0 ) AS count
        count( 0 ) AS count,
        t2.longitude,
        t2.latitude
        FROM
        ums_violations t1
        LEFT JOIN ums_video_point t2 ON t2.id = t1.video_point_id