雨量站查询修改

master
wany 2024-11-12 15:29:06 +08:00
parent 8719fffb03
commit 1dcd1d0c14
1 changed files with 3 additions and 3 deletions

View File

@ -20,9 +20,9 @@ public interface StPptnRRealMapper extends BaseMapper<StPptnRReal> {
@Select(""" @Select("""
<script> <script>
SELECT t.*,s.stnm FROM public.st_pptn_r_real t SELECT t.*,s.stnm FROM public.st_stbprp_b s
left join public.st_stbprp_b s on t.stcd = s.stcd left join public.st_pptn_r_real t on t.stcd = s.stcd
WHERE t.stcd in (select distinct(stcd) from st_stbprp_b_elem where elem ='drp') WHERE s.stcd in (select distinct(stcd) from st_stbprp_b_elem where elem ='drp')
</script> </script>
""") """)
List<StPptnRReal> queryList(); List<StPptnRReal> queryList();