解决浸润线查询报错
parent
ceac5601d4
commit
595c96a05e
|
|
@ -95,7 +95,7 @@ public interface OsmoticPressRMapper extends BaseMapper<OsmoticPressR> {
|
|||
from public.st_rsvr_r t
|
||||
where t.stcd = '716119601'
|
||||
<if test="obj.dateTimeRangeSo != null and obj.dateTimeRangeSo.start != null">
|
||||
t.tm <![CDATA[>=]]> #{obj.dateTimeRangeSo.start}
|
||||
and t.tm <![CDATA[>=]]> #{obj.dateTimeRangeSo.start}
|
||||
</if>
|
||||
<if test="obj.dateTimeRangeSo != null and obj.dateTimeRangeSo.end != null">
|
||||
and t.tm <![CDATA[<=]]> #{obj.dateTimeRangeSo.end}
|
||||
|
|
@ -109,7 +109,7 @@ public interface OsmoticPressRMapper extends BaseMapper<OsmoticPressR> {
|
|||
<script>
|
||||
select t.station_code as stationCode,to_char(t.tm,'YYYY-MM-DD HH24:MI:SS') as tm,t.value
|
||||
from public.osmotic_press_r t
|
||||
where station_code in
|
||||
where t.station_code in
|
||||
<foreach collection="obj.stationCodes" item="code" separator="," open="(" close=")">
|
||||
#{code}
|
||||
</foreach>
|
||||
|
|
@ -128,7 +128,7 @@ public interface OsmoticPressRMapper extends BaseMapper<OsmoticPressR> {
|
|||
<script>
|
||||
select t.station_code as stationCode,to_char(t.tm,'YYYY-MM-DD HH24:MI:SS') as tm
|
||||
from public.osmotic_warn_r t
|
||||
where station_code in
|
||||
where t.station_code in
|
||||
<foreach collection="obj.stationCodes" item="code" separator="," open="(" close=")">
|
||||
#{code}
|
||||
</foreach>
|
||||
|
|
|
|||
Loading…
Reference in New Issue