修改线路工程杆塔查询

This commit is contained in:
syruan 2024-09-28 15:26:58 +08:00
parent a354de7cb0
commit 566f3d7d00
1 changed files with 4 additions and 3 deletions

View File

@ -240,6 +240,7 @@
left join tb_device td on tbdr.record_id = td.bd_id and td.dev_status = 0 and td.del_flag = 0 left join tb_device td on tbdr.record_id = td.bd_id and td.dev_status = 0 and td.del_flag = 0
where tpp.pro_id = #{proId} where tpp.pro_id = #{proId}
and tpp.del_flag = 0 and tpp.del_flag = 0
group by tpp.id
</select> </select>
<select id="getList" resultType="java.lang.Integer"> <select id="getList" resultType="java.lang.Integer">
select count(1) from tb_team where del_flag = 0 and pro_id = #{id} select count(1) from tb_team where del_flag = 0 and pro_id = #{id}