闸阀信息表新增字段
parent
5d3ecfa604
commit
cc5f594cbb
|
|
@ -34,8 +34,7 @@ public interface StStbprpBMapper extends BaseMapper<StStbprpB> {
|
||||||
|
|
||||||
@Select("""
|
@Select("""
|
||||||
<script>
|
<script>
|
||||||
SELECT st.*,COALESCE (r.rz, 0 ) v,arb.res_code FROM st_stbprp_b st
|
SELECT st.*,COALESCE (r.rz, 0 ) v 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
|
LEFT JOIN st_rsvr_r_real r ON st.stcd = r.stcd
|
||||||
WHERE st.sttp = 'RR'
|
WHERE st.sttp = 'RR'
|
||||||
</script>
|
</script>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue