渗压、位移数据统计查不到对应的历史监测数据#601
parent
177eea3568
commit
8b61d18427
|
|
@ -53,7 +53,7 @@ public interface OsmoticPressRMapper extends BaseMapper<OsmoticPressR> {
|
||||||
<script>
|
<script>
|
||||||
select to_char(t.tm,'YYYY-MM-DD') as tm,t.rz
|
select to_char(t.tm,'YYYY-MM-DD') as tm,t.rz
|
||||||
from public.st_rsvr_r t
|
from public.st_rsvr_r t
|
||||||
where t.stcd = #{stcd}
|
where to_char(t.tm, 'HH24:MI:SS') = '08:00:00' and t.stcd = #{stcd}
|
||||||
<if test="obj.dateTimeRangeSo != null and obj.dateTimeRangeSo.start != null">
|
<if test="obj.dateTimeRangeSo != null and obj.dateTimeRangeSo.start != null">
|
||||||
and t.tm <![CDATA[>=]]> #{obj.dateTimeRangeSo.start}
|
and t.tm <![CDATA[>=]]> #{obj.dateTimeRangeSo.start}
|
||||||
</if>
|
</if>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue