<?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.mes.mapper.production.ProductionTaskProgressMapper">

    <select id="getList" resultType="com.fjhx.mes.entity.production.vo.ProductionTaskProgressVo">
        SELECT ptp.id,
               ptp.task_id,
               ptp.processes_id,
               pp.`name` AS progressName,
               ptp.finish_quantity
        FROM production_task_progress ptp
                 LEFT JOIN production_processes pp ON ptp.processes_id = pp.id
            ${ew.customSqlSegment}
    </select>
</mapper>
