水库站点详情带实时水位列表修改
parent
11a5d61122
commit
1df7ba78e2
|
|
@ -24,4 +24,11 @@ public class HomeStStbprpBVo extends StStbprpB {
|
|||
*/
|
||||
@Schema(description="数据")
|
||||
private BigDecimal v;
|
||||
|
||||
/**
|
||||
* 数据
|
||||
*/
|
||||
@Schema(description="水库编码")
|
||||
private String resCode;
|
||||
|
||||
}
|
||||
|
|
|
|||
|
|
@ -34,7 +34,8 @@ public interface StStbprpBMapper extends BaseMapper<StStbprpB> {
|
|||
|
||||
@Select("""
|
||||
<script>
|
||||
SELECT st.*,COALESCE (r.rz, 0 ) v FROM st_stbprp_b st
|
||||
SELECT st.*,COALESCE (r.rz, 0 ) v,arb.res_code FROM st_stbprp_b st
|
||||
LEFT JOIN att_res_base arb ON arb.stcd = st.stcd
|
||||
LEFT JOIN st_rsvr_r_real r ON st.stcd = r.stcd
|
||||
WHERE st.sttp = 'RR'
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Reference in New Issue