dcs 7 ماه پیش
والد
کامیت
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}