水库站点详情带实时水位列表修改

master
徐杰盟 2024-07-22 10:26:52 +08:00
parent 11a5d61122
commit 1df7ba78e2
2 changed files with 9 additions and 1 deletions

View File

@ -24,4 +24,11 @@ public class HomeStStbprpBVo extends StStbprpB {
*/
@Schema(description="数据")
private BigDecimal v;
/**
*
*/
@Schema(description="水库编码")
private String resCode;
}

View File

@ -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>