1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
| <?xml version="1.0" encoding="UTF-8"?>
| <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
| <mapper namespace="com.qianwen.smartman.modules.cps.mapper.TrayStorageMapper">
|
|
| <select id="listTray" resultType="com.qianwen.smartman.modules.cps.vo.WareTrayStorageVO">
| select bts.id,
| tray_id trayId,
| warehouse_station_id warehouseStationId,
| bt.code trayCode,
| bt.name trayName
| from blade_tray_storage bts
| left join blade_tray bt on bts.tray_id = bt.id and bt.is_deleted = 0
| where bts.warehouse_station_id = #{id}
| and bts.is_deleted = 0
| order by bt.create_time desc, bt.id desc;
| </select>
| </mapper>
|
|