@@ -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},'%')