|
@@ -17,9 +17,6 @@
|
|
|
select DATE_FORMAT(er.exposure_time_, #{groupBy}) 'date',er.object_type_ as type,
|
|
|
SUM(er.exposure_num_) exposureNum from exposure_record er
|
|
|
where er.exposure_time_ BETWEEN #{param.startTime} AND #{param.endTime}
|
|
|
- <if test="param.objectType != null and param.objectType != ''">
|
|
|
- and er.object_type_ = #{param.objectType}
|
|
|
- </if>
|
|
|
group by er.object_type_,DATE_FORMAT(er.exposure_time_, #{groupBy})
|
|
|
ORDER BY type,'date'
|
|
|
</select>
|