雨量站查询修改
parent
8719fffb03
commit
1dcd1d0c14
|
|
@ -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();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue