| | |
| | | order by jtlre.create_time desc,jtlre.id desc |
| | | </select> |
| | | |
| | | <!--二手交易自定义分页查询--> |
| | | <select id="getDetail" resultType="org.springblade.modules.task.vo.TaskLabelReportingEventVO"> |
| | | select |
| | | jtlre.*, |
| | | jp.place_name, |
| | | jp.principal, |
| | | jp.principal_phone, |
| | | jp.nine_type , |
| | | jp.front_type , |
| | | jp.location |
| | | from |
| | | jczz_task_label_reporting_event jtlre |
| | | LEFT JOIN jczz_place jp ON jtlre.place_id=jp.id and jp.is_deleted = 0 |
| | | where jtlre.is_deleted = 0 |
| | | <if test="taskLabelReportingEvent.id != null"> |
| | | AND jtlre.id = #{taskLabelReportingEvent.id} |
| | | </if> |
| | | <if test="taskLabelReportingEvent.taskId != null"> |
| | | AND jtlre.task_id = #{taskLabelReportingEvent.taskId} |
| | | </if> |
| | | </select> |
| | | |
| | | |
| | | </mapper> |