|
@@ -142,10 +142,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') >= CONCAT(#{startTime},' 00:00:00')
|
|
|
+ AND DATE_FORMAT(smcr.create_time_, '%Y-%m-%d %H:%i:%S') >= CONCAT(#{startTime},' 00:00:00')
|
|
|
</if>
|
|
|
<if test="endTime != null and endTime != ''">
|
|
|
- AND DATE_FORMAT(smcr.create_time_, '%Y-%m-%d') <= CONCAT(#{endTime},' 23:59:59')
|
|
|
+ AND DATE_FORMAT(smcr.create_time_, '%Y-%m-%d %H:%i:%S') <= CONCAT(#{endTime},' 23:59:59')
|
|
|
</if>
|
|
|
</where>
|
|
|
</sql>
|