Ver Fonte

BUG修复 策略删除后再次添加 水位重复问题

qinguocai há 1 ano atrás
pai
commit
5c2e3cd207

+ 0 - 2
ruoyi-system/src/main/java/com/ruoyi/system/mapper/BerthingTimeConfigMapper.java

@@ -3,10 +3,8 @@ package com.ruoyi.system.mapper;
 import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
 import com.ruoyi.system.domain.BerthingFloatConfig;
 import com.ruoyi.system.domain.BerthingTimeConfig;
-import com.ruoyi.system.paramet.StopPointQuery;
 import com.ruoyi.system.paramet.TimePointQuery;
 import org.apache.ibatis.annotations.Param;
-import org.springframework.data.domain.Pageable;
 import java.util.List;
 
 /**

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

@@ -91,6 +91,7 @@
             <if test="type != null">
                 and type = #{type}
             </if>
+                and is_del = 0
         </where>
     </select>
 

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

@@ -98,6 +98,7 @@
             <if test="factors != null and factors != ''">
                 and factors = #{factors}
             </if>
+                and is_del = 0
         </where>
     </select>
 

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

@@ -101,6 +101,7 @@
             <if test="type != null">
                 and type = #{type}
             </if>
+                and is_del = 0
         </where>
     </select>