src/main/resources/mapper/MatMapper.xml
@@ -96,6 +96,10 @@ <if test="specs != null and specs != ''"> and mm.specs like concat('%',#{specs},'%') </if> <if test="model != null and model != ''"> and mm.model like concat('%',#{model},'%') </if> ORDER BY mm.create_time DESC </select> @@ -141,4 +145,10 @@ and a.matnr = #{matnr} </if> </select> <select id="getTagIdByMatnr" resultType="java.lang.Integer"> select tag_id from man_mat where matnr = #{matnr} </select> </mapper>