| | |
| | | <if test="query.status != null"> |
| | | and t1.status = #{query.status} |
| | | </if> |
| | | <if test="query.startTime != null and startTime != ''"> |
| | | and (t5.implement_time between #{startTime} and #{endTime}) |
| | | <if test="query.startTime != null and query.startTime != ''"> |
| | | and (t1.create_time between #{query.startTime} and #{query.endTime}) |
| | | </if> |
| | | order by t1.create_time desc |
| | | </select> |
| | | <select id="pageListExport" resultType="com.ruoyi.system.vo.system.InspectorListVO"> |
| | | select t1.*,t2.location_name as locationName,t3.location_name as locationTypeName, |