<?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.qmth.sop.business.mapper.TBDelayWarnDetailMapper">
    <select id="list" resultType="com.qmth.sop.business.entity.TBDelayWarnDetail">
        select d.*,u.real_name create_name from t_b_delay_warn_detail d
        left join sys_user u on u.id=d.create_id
        where d.delay_warn_id = #{id} order by d.create_time
    </select>
</mapper>
