yumeng 4 years ago
parent
commit
79536c6971

+ 1 - 1
module-common/src/main/java/cn/com/ctop/common/module/mapper/xml/MaterialInfoMapper.xml

@@ -131,7 +131,7 @@
         <if test="userId != null and userId != ''">
         <if test="userId != null and userId != ''">
             and matInfo.user_id = #{userId}
             and matInfo.user_id = #{userId}
         </if>
         </if>
-        <if test="code! = null">
+        <if test="code != null">
             and matInfo.code = #{code}
             and matInfo.code = #{code}
         </if>
         </if>
         <if test="materialName != null">
         <if test="materialName != null">