yumeng 4 năm trước cách đây
mục cha
commit
121ff1e4fd

+ 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">