|
@@ -258,6 +258,12 @@
|
|
|
FROM adm_ems_pv_supply_h pv
|
|
|
<where>
|
|
|
<if test="date != null and date != ''">DATE like concat(#{date}, '%')</if>
|
|
|
+ <if test="startRecTime != null and startRecTime != '' ">
|
|
|
+ and DATE >= #{startRecTime}
|
|
|
+ </if>
|
|
|
+ <if test="endRecTime != null and endRecTime !=''">
|
|
|
+ and DATE <= #{endRecTime}
|
|
|
+ </if>
|
|
|
<if test="areaCode != null and areaCode != '' and areaCode != '-1'">
|
|
|
and pv.area_code = #{areaCode}
|
|
|
</if>
|