|
|
@@ -267,7 +267,7 @@
|
|
|
<if test="calcDate != null">
|
|
|
and TO_CHAR(CALC_DATE,'yyyy-MM-dd') = #{calcDate}
|
|
|
</if>
|
|
|
- <if test="isValid != null">
|
|
|
+ <if test="isValid != null">meterreportwides
|
|
|
and IS_VALID = #{isValid}
|
|
|
</if>
|
|
|
<if test="baseSpotNameStr != null and baseSpotNameStr.length > 0">
|
|
|
@@ -276,6 +276,10 @@
|
|
|
#{item}
|
|
|
</foreach>
|
|
|
</if>
|
|
|
+ <if test="startTime != null and endTime != null and startTime != '' and endTime != ''">
|
|
|
+ AND create_time >= TO_DATE(#{startTime}, 'yyyy-MM-dd HH24:mi:ss')
|
|
|
+ AND create_time <= TO_DATE(#{endTime}, 'yyyy-MM-dd HH24:mi:ss')
|
|
|
+ </if>
|
|
|
</where>
|
|
|
</sql>
|
|
|
<delete id="deleteByPrimaryKey" parameterType="java.lang.Short">
|