APP-吊装监控

This commit is contained in:
cwchen 2024-08-13 18:13:51 +08:00
parent e3ae39b355
commit ce1dacd023
2 changed files with 8 additions and 1 deletions

View File

@ -207,7 +207,7 @@ public class ConsControlServiceImpl implements IConsControlService {
list = mapper.getTeamPersonByTower(dto);
for (TeamPeopleTreeVo vo : list) {
//忽略工程数据
if (Objects.equals(vo.getParentId(), BusinessConstants.PARENT_ID)) {
if (Objects.equals(vo.getParentId(), BusinessConstants.PARENT_ID) || Objects.equals(vo.getId(), BusinessConstants.PARENT_ID)) {
continue;
}
String[] valArr = vo.getLabel().split("-");

View File

@ -305,6 +305,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
</select>
<!--根据杆塔获取班组人员-已绑定手环-->
<select id="getTeamPersonByTower" resultType="com.bonus.common.entity.bracelet.vo.TeamPeopleTreeVo">
SELECT 0 AS id,
'在施班组及人员' AS label,
-1 AS parentId,
null AS shCode,
null AS devCode,
null AS userType
UNION ALL
SELECT twt.team_id AS id,
twt.team_name AS label,
0 AS parentId,