From fc7ebc6bf97d7c4a4a8911c7a5d7cadcbda24719 Mon Sep 17 00:00:00 2001 From: houzhongjian <houzhongyi@126.com> Date: 星期四, 12 六月 2025 17:41:47 +0800 Subject: [PATCH] Merge remote-tracking branch 'origin/master' --- iailab-module-data/iailab-module-data-biz/src/main/resources/mapper/point/DaPointDao.xml | 20 ++++++++++++++++++++ 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/iailab-module-data/iailab-module-data-biz/src/main/resources/mapper/point/DaPointDao.xml b/iailab-module-data/iailab-module-data-biz/src/main/resources/mapper/point/DaPointDao.xml index bd170f0..1808b54 100644 --- a/iailab-module-data/iailab-module-data-biz/src/main/resources/mapper/point/DaPointDao.xml +++ b/iailab-module-data/iailab-module-data-biz/src/main/resources/mapper/point/DaPointDao.xml @@ -345,4 +345,24 @@ </where> </select> + <select id="getPointCount" resultType="long"> + select count(*) + from t_da_point t1 + left join t_da_point_collect_status t2 on t2.point_no = t1.point_no + <where> + <if test="isEnable != null "> + and t1.is_enable = #{isEnable} + </if> + <if test="collectQuality != null and collectQuality != ''"> + and t2.collect_quality = #{collectQuality} + </if> + <if test="startTime != null"> + and t2.collect_time >= #{startTime} + </if> + <if test="endTime != null"> + and t2.collect_time <= #{endTime} + </if> + </where> + </select> + </mapper> \ No newline at end of file -- Gitblit v1.9.3