|
@@ -133,10 +133,10 @@
|
|
|
AND smcr.feature_ = #{featureType,typeHandler=com.ym.mec.common.dal.CustomEnumTypeHandler}
|
|
|
</if>
|
|
|
<if test="startTime != null and startTime != ''">
|
|
|
- AND DATE_FORMAT(smcr.create_time_, '%Y-%m-%d') >= #{startTime}
|
|
|
+ AND DATE_FORMAT(smcr.create_time_, '%Y-%m-%d') >= CONCAT(#{startTime},' 00:00:00')
|
|
|
</if>
|
|
|
<if test="endTime != null and endTime != ''">
|
|
|
- AND DATE_FORMAT(smcr.create_time_, '%Y-%m-%d') <= #{endTime}
|
|
|
+ AND DATE_FORMAT(smcr.create_time_, '%Y-%m-%d') <= CONCAT(#{endTime},' 23:59:59')
|
|
|
</if>
|
|
|
</where>
|
|
|
</sql>
|