Ver Fonte

参数修复

learshaw há 5 meses atrás
pai
commit
c3a0ed1e4d

+ 1 - 1
ems/ems-core/src/main/resources/mapper/ems/EmsObjAttrEnumMapper.xml

@@ -22,6 +22,7 @@
         <where>
             <if test="modelCode != null  and modelCode != ''">and model_code = #{modelCode}</if>
             <if test="attrKey != null  and attrKey != ''">and attr_key = #{attrKey}</if>
+            <if test="attrValue != null  and attrValue != ''">and attr_value = #{attrValue}</if>
         </where>
     </select>
 
@@ -30,7 +31,6 @@
         <where>
             <if test="modelCode != null  and modelCode != ''">and model_code = #{modelCode}</if>
             <if test="attrKey != null  and attrKey != ''">and attr_key = #{attrKey}</if>
-            <if test="attrValue != null  and attrValue != ''">and attr_value = #{attrValue}</if>
         </where>
     </select>