1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
| <?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.smis.mapper.WarehouseAreaMapper">
|
|
| <select id="stationList" resultType="com.qianwen.smartman.modules.smis.vo.WarehouseAreaStationVO">
| select bws.id as id,
| area_id parentId,
| warehouse_code as code,
| warehouse_name as name,
| 0 as isArea
| from blade_warehouse_station bws
| LEFT JOIN blade_warehouse_area bwa on bws.area_id = bwa.id and bwa.is_deleted = 0
| where bws.is_deleted = 0
| </select>
| </mapper>
|
|