فهرست منبع

Merge branch 'master' of http://git.tjyourong.com.cn/ctop/adsp-boot

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

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

@@ -132,6 +132,9 @@
         <if test="userId!=null">
             and matInfo.user_id = #{userId}
         </if>
+        <if test="code!=null">
+            and matInfo.code = #{code}
+        </if>
         <if test="materialName!=null">
             and matInfo.material_name like concat('%',#{materialName},'%')
         </if>