雨量站查询修改
parent
8719fffb03
commit
1dcd1d0c14
|
|
@ -20,9 +20,9 @@ public interface StPptnRRealMapper extends BaseMapper<StPptnRReal> {
|
|||
|
||||
@Select("""
|
||||
<script>
|
||||
SELECT t.*,s.stnm FROM public.st_pptn_r_real t
|
||||
left join public.st_stbprp_b s on t.stcd = s.stcd
|
||||
WHERE t.stcd in (select distinct(stcd) from st_stbprp_b_elem where elem ='drp')
|
||||
SELECT t.*,s.stnm FROM public.st_stbprp_b s
|
||||
left join public.st_pptn_r_real t on t.stcd = s.stcd
|
||||
WHERE s.stcd in (select distinct(stcd) from st_stbprp_b_elem where elem ='drp')
|
||||
</script>
|
||||
""")
|
||||
List<StPptnRReal> queryList();
|
||||
|
|
|
|||
Loading…
Reference in New Issue