src/main/resources/mapper/MatMapper.xml
@@ -105,6 +105,10 @@ select top 1 * from man_mat where 1=1 and matnr = #{matnr} </select> <select id="selectLatest" resultMap="BaseResultMap"> SELECT TOP 1 * FROM man_mat ORDER BY update_time DESC; </select> <select id="selectByMatnrLink" resultMap="BaseResultMap"> select * from man_mat where 1=1