1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
| <?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="org.jeecg.modules.tms.mapper.ToolLedgerDetailMapper">
|
| <select id="queryPageList" resultType="org.jeecg.modules.tms.entity.ToolLedgerDetail">
| SELECT
| t.id,
| t.tool_code toolCode,
| p.tool_code toolNum,
| t.tool_id toolId,
| p.chinese_name toolName,
| p.tool_model toolModel,
| t.quantity,
| t.warehouse_id warehouseId,
| ISNULL(q.warehouse_id, '') + '/' + ISNULL(q.warehouse_name, '') warehouseName,
| t.position_code positionCode
| FROM tms_tool_ledger_detail t
| LEFT JOIN tms_base_tools p on t.tool_code = p.id
| LEFT JOIN tms_warehouse q on t.warehouse_id = q.id
| ${ew.customSqlSegment}
| </select>
| </mapper>
|
|