| | |
| | | <select id="queryStock" resultType="map">
|
| | | SELECT * FROM
|
| | | (
|
| | | SELECT id, loc_id, loc_no, mat_id, IFNULL(type_id, 4) AS type_id, work_qty, matnr, order_no, batch, anfme, host_id, memo,deleted, freeze
|
| | | SELECT id, loc_id, loc_no, mat_id, IFNULL(type_id, 4) AS type_id, work_qty, matnr, order_no, batch, anfme, host_id, memo,deleted,create_time, freeze
|
| | | FROM
|
| | | view_man_loc_detl
|
| | | ) t
|
| | |
| | | ${item.name} ${item.value}
|
| | | </foreach>
|
| | | </if>
|
| | | ORDER BY
|
| | | t.create_time ASC
|
| | | </select>
|
| | |
|
| | | <select id="getList" resultType="map">
|
| | |
| | | <select id="queryFlatStock" resultType="map">
|
| | | SELECT * FROM
|
| | | (
|
| | | SELECT id, loc_id, loc_no, mat_id, type_id, work_qty, matnr, order_no, batch, anfme, host_id, memo, freeze
|
| | | SELECT id, loc_id, loc_no, mat_id, type_id, work_qty, matnr, order_no, batch, anfme, host_id, memo,create_time, freeze
|
| | | FROM
|
| | | view_man_loc_detl
|
| | | WHERE
|
| | |
| | | <!-- ${item.name} #{item.value}-->
|
| | | <!-- </foreach>-->
|
| | | <!-- </if>-->
|
| | | ORDER BY
|
| | | t.create_time ASC
|
| | | </select>
|
| | | </mapper>
|