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}