| | |
| | | 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 |
| | |
| | | </if> |
| | | </select> |
| | | |
| | | <select id="selectByMatnrLink10" resultMap="BaseResultMap"> |
| | | select TOP 20 * from man_mat |
| | | where 1=1 |
| | | <if test="matnr != null and matnr != ''"> |
| | | and mm.matnr like concat('%',#{matnr},'%') |
| | | </if> |
| | | </select> |
| | | |
| | | <select id="selectNewUpdateTime" resultMap="BaseResultMap"> |
| | | select top 1 * from man_mat |
| | | where 1=1 |