1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
| <?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.vincent.rsf.server.manager.mapper.WarehouseStockMapper">
| <select id="pageByStock" resultType="com.vincent.rsf.server.manager.entity.ViewStockManage">
| SELECT id,
| loc_id,
| loc_code,
| warehouse,
| type,
| order_item_id,
| wk_type,
| matnr_id,
| maktx,
| matnr_code,
| splr_id,
| unit,
| SUM(anfme) anfme,
| SUM(qty) qty,
| SUM(work_qty) work_qty,
| batch,
| spec,
| model,
| fields_index,
| update_by,
| create_by,
| update_time,
| create_time
| FROM view_stock_manage
| ${ew.customSqlSegment}
| </select>
| </mapper>
|
|