Parcourir la source

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

zhaoxian il y a 4 ans
Parent
commit
dcbed75435

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