| | |
| | | <result property="taskId" column="task_id" jdbcType="BIGINT"/> |
| | | <result property="poleId" column="pole_id" jdbcType="BIGINT"/> |
| | | <result property="lightAddress" column="light_address" jdbcType="VARCHAR"/> |
| | | <result property="deviceCode" column="device_code" jdbcType="VARCHAR"/> |
| | | <result property="sysScheduled" column="sys_scheduled" jdbcType="VARCHAR"/> |
| | | <result property="deviceScheduled" column="device_scheduled" jdbcType="VARCHAR"/> |
| | | <result property="issueStatus" column="issue_status" jdbcType="INTEGER"/> |
| | | <result property="createTime" column="create_time" jdbcType="TIMESTAMP"/> |
| | | <result property="updateTime" column="update_time" jdbcType="TIMESTAMP"/> |
| | |
| | | light_task_pole_relation t1 |
| | | LEFT JOIN pole t2 ON t1.pole_id = t2.id |
| | | <where> |
| | | t1.task_id = #{taskId} |
| | | t1.task_id = #{taskId} |
| | | </where> |
| | | GROUP BY t2.id |
| | | </select> |