123456789101112131415161718192021222324252627 |
- <?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.fjhx.sale.mapper.after.AfterSalesMapper">
- <select id="getPage" resultType="com.fjhx.sale.entity.after.vo.AfterSalesVo">
- SELECT as1.id,
- as1.`code`,
- as1.contract_id,
- as1.type,
- as1.user_id,
- as1.contact_name,
- as1.contact_way,
- as1.remark,
- as1.`status`,
- as1.create_user,
- as1.create_time,
- as1.update_user,
- as1.update_time,
- as1.contract_product_id,
- as1.product_id,
- as1.quantity,
- c.`code` AS contractCode
- FROM after_sales as1
- LEFT JOIN contract c ON as1.contract_id = c.id
- ${ew.customSqlSegment}
- </select>
- </mapper>
|