1234567891011121314151617181920212223242526272829 |
- <?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.sd.business.mapper.in.InOutStorageMapper">
- <select id="getPage" resultType="com.sd.business.entity.in.vo.InOutStorageVo">
- select ios.id,
- ios.type,
- ios.detail_type,
- ios.code,
- ios.purchase_id,
- ios.warehouse_id,
- ios.department_id,
- ios.applicant,
- ios.remark,
- ios.create_user,
- ios.create_time,
- ios.update_user,
- ios.update_time,
- w.type warehouseType,
- w.name warehouseName,
- d.name departmentName,
- p.code purchaseCode
- from in_out_storage ios
- left join warehouse w on ios.warehouse_id = w.id
- left join department d on ios.department_id = d.id
- left join purchase p on ios.purchase_id = p.id
- ${ew.customSqlSegment}
- </select>
- </mapper>
|