新火炬后端单体项目初始化代码
zhangherong
昨天 182c04e399f5db26406234767f7ef34b5adc0015
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?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.cms.mapper.CuttingInboundMapper">
 
    <select id="exportList" resultType="org.jeecg.modules.cms.vo.CuttingInboundExportVo">
        SELECT
            t1.id,
            t1.order_status AS oderStatus,
            t1.receiver AS  receiver,
            t1.receive_time AS  receiveTime,
            t1.receive_comment AS  receiveComment,
            t1.confirmer AS  confirmer,
            t1.confirm_time AS  confirmTime,
            t1.confirm_comment AS confirmComment,
            t2.order_id AS orderId,
            t2.cutting_id AS cuttingId,
            t2.receive_number AS receiveNumber
        FROM
            cms_cutting_inbound t1
                LEFT JOIN
            cms_cutting_inbound_detail t2 on t1.id=t2.order_id
    </select>
</mapper>