yumeng 4 سال پیش
والد
کامیت
121ff1e4fd
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      module-common/src/main/java/cn/com/ctop/common/module/mapper/xml/MaterialInfoMapper.xml

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

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