修改线路工程杆塔查询
This commit is contained in:
parent
a354de7cb0
commit
566f3d7d00
|
|
@ -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}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue