houzhongjian
2025-06-12 fc7ebc6bf97d7c4a4a8911c7a5d7cadcbda24719
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 &gt;= #{startTime}
            </if>
            <if test="endTime != null">
                and t2.collect_time &lt;= #{endTime}
            </if>
        </where>
    </select>
</mapper>