| | |
| | | <result column="item_num" property="itemNum" /> |
| | | <result column="safe_qty" property="safeQty" /> |
| | | <result column="weight" property="weight" /> |
| | | <result column="length" property="length" /> |
| | | <result column="man_length" property="manLength" /> |
| | | <result column="volume" property="volume" /> |
| | | <result column="width" property="width" /> |
| | | <result column="height" property="height" /> |
| | | <result column="three_code" property="threeCode" /> |
| | | <result column="supp" property="supp" /> |
| | | <result column="supp_code" property="suppCode" /> |
| | |
| | | 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 |
| | |
| | | and a.matnr = #{matnr} |
| | | </if> |
| | | </select> |
| | | <select id="getOldMatnr" resultType="String"> |
| | | select matnr |
| | | from man_mat |
| | | where id = #{id} |
| | | </select> |
| | | </mapper> |