From d6464955dc20cb527f7be02ac8631c1effb1768a Mon Sep 17 00:00:00 2001 From: 潘志宝 <979469083@qq.com> Date: 星期一, 23 十二月 2024 16:12:11 +0800 Subject: [PATCH] 计算点查询问题修复 --- iailab-module-data/iailab-module-data-biz/src/main/resources/mapper/point/DaPointDao.xml | 12 ++++++++++++ 1 files changed, 12 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 8e67c76..4b08398 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 @@ -247,6 +247,12 @@ <if test="minfreqid != null and minfreqid != ''"> AND t1.minfreqid = #{minfreqid} </if> + <if test="pointNos != null"> + AND t1.point_no in + <foreach collection="pointNos" item="item" index="item" open="(" close=")" separator=","> + #{item} + </foreach> + </if> </where> </select> @@ -272,6 +278,12 @@ <if test="minfreqid != null and minfreqid != ''"> AND t1.minfreqid = #{minfreqid} </if> + <if test="pointNos != null"> + AND t1.point_no in + <foreach collection="pointNos" item="item" index="item" open="(" close=")" separator=","> + #{item} + </foreach> + </if> </where> </select> -- Gitblit v1.9.3