|
|
|
@ -13,10 +13,10 @@
|
|
|
|
|
AND device_id = #{param.deviceId} |
|
|
|
|
</if> |
|
|
|
|
<if test="param.startTime != null and param.startTime != ''"> |
|
|
|
|
AND inspectionTime >= #{param.startTime} |
|
|
|
|
AND inspection_time >= #{param.startTime} |
|
|
|
|
</if> |
|
|
|
|
<if test="param.endTime != null and param.endTime != ''"> |
|
|
|
|
AND inspectionTime <= #{param.endTime} |
|
|
|
|
AND inspection_time <= #{param.endTime} |
|
|
|
|
</if> |
|
|
|
|
ORDER BY |
|
|
|
|
create_time DESC |
|
|
|
|