代码规范修改
This commit is contained in:
parent
20b3d50c5e
commit
ba4cfd3732
|
|
@ -19,4 +19,7 @@ public class PersonnelControlDto extends ScreenParamDto {
|
||||||
@ApiModelProperty(value = "建管单位id")
|
@ApiModelProperty(value = "建管单位id")
|
||||||
private String orgId;
|
private String orgId;
|
||||||
|
|
||||||
|
@ApiModelProperty(value = "关键字")
|
||||||
|
private String keyWord;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,21 @@ public class PersonnelControlVo {
|
||||||
@ApiModelProperty("设备状态")
|
@ApiModelProperty("设备状态")
|
||||||
private String status;
|
private String status;
|
||||||
|
|
||||||
|
@ApiModelProperty("id")
|
||||||
|
private String id;
|
||||||
|
|
||||||
|
@ApiModelProperty("父级ID")
|
||||||
|
private String parentId;
|
||||||
|
|
||||||
|
@ApiModelProperty("标题")
|
||||||
|
private String title;
|
||||||
|
|
||||||
|
@ApiModelProperty("告警时间")
|
||||||
|
private String warningTime;
|
||||||
|
|
||||||
|
@ApiModelProperty("告警内容")
|
||||||
|
private String warningContent;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -20,10 +20,9 @@
|
||||||
<!--人员管控-人员列表-->
|
<!--人员管控-人员列表-->
|
||||||
<select id="getPersonnelList" resultType="com.securitycontrol.entity.screen.vo.PersonnelControlVo">
|
<select id="getPersonnelList" resultType="com.securitycontrol.entity.screen.vo.PersonnelControlVo">
|
||||||
SELECT
|
SELECT
|
||||||
twt.team_id AS id,
|
twt.team_id AS id,
|
||||||
twt.team_name AS teamName,
|
twt.bid_code AS parentId,
|
||||||
twt.bid_code AS parentId,
|
twt.team_name AS title
|
||||||
'' AS phone
|
|
||||||
FROM
|
FROM
|
||||||
tb_work_team twt
|
tb_work_team twt
|
||||||
WHERE
|
WHERE
|
||||||
|
|
@ -32,17 +31,16 @@
|
||||||
UNION ALL
|
UNION ALL
|
||||||
|
|
||||||
SELECT
|
SELECT
|
||||||
ttp.user_id AS id,
|
ttp.user_id AS id,
|
||||||
ttp.team_id AS parentId,
|
ttp.team_id AS parentId,
|
||||||
ttp.user_name AS teamName,
|
CONCAT(ttp.user_name, ' (', ttp.phone, ')') AS title
|
||||||
ttp.phone AS phone
|
|
||||||
FROM
|
FROM
|
||||||
t_team_people ttp
|
t_team_people ttp
|
||||||
JOIN tb_work_team twt ON ttp.team_id = twt.team_id
|
JOIN tb_work_team twt ON ttp.team_id = twt.team_id
|
||||||
WHERE
|
WHERE
|
||||||
twt.bid_code = #{bidCode}
|
twt.bid_code = #{bidCode}
|
||||||
<if test="keyWord != null and keyWord != ''">
|
<if test="keyWord != null and keyWord != ''">
|
||||||
and teamName like concat('%', #{keyWord}, '%')
|
AND CONCAT(ttp.user_name, ' (', ttp.phone, ')') LIKE CONCAT('%', #{keyWord}, '%')
|
||||||
</if>
|
</if>
|
||||||
</select>
|
</select>
|
||||||
<!--人员管控-人员运动趋预警-->
|
<!--人员管控-人员运动趋预警-->
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue