Jelajahi Sumber

BUG修复 加入设备状态,修正重复添加水位问题

qinguocai 1 tahun lalu
induk
melakukan
980696076b

+ 1 - 1
ruoyi-system/src/main/resources/mapper/BerthingPointConfigMapper.xml

@@ -93,7 +93,7 @@
                 and is_del = #{isDel}
             </if>
             <if test="wlevel != null">
-                and wlevel = #{wlevel}
+                and  ROUND(wlevel,2) = #{wlevel}
             </if>
             <if test="factors != null and factors != ''">
                 and factors = #{factors}