dcs 5 月之前
父节点
当前提交
1de0d8f060
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      virgo.api/src/main/resources/mapper/OperateDeviceModelMapper.xml

+ 2 - 2
virgo.api/src/main/resources/mapper/OperateDeviceModelMapper.xml

@@ -33,10 +33,10 @@
                 and name = #{name}
             </if>
             <if test="levelId != 0">
-                and levelId = #{levelId}
+                or levelId = #{levelId}
             </if>
             <if test="modelLevelId != 0">
-                and modelLevelId = #{modelLevelId}
+                or modelLevelId = #{modelLevelId}
             </if>
             <if test="type != 0">
                 and type = #{type}