feat(watch): 关爱人员统计新增期初未佩戴人数列

新增关爱人员未佩戴人数(仅计入统计日期起期已绑定的人数)列,
通过 bind_date <= 统计起始日期 条件过滤,仅计入统计起期已绑定但未佩戴的关爱人员。

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2026-06-18 17:25:13 +08:00
co-authored by Claude
parent 7acee51892
commit 74ebe26a6c
5 changed files with 24 additions and 10 deletions
@@ -22,4 +22,7 @@ public class DepartDeviceNum {
/** 关爱人员未佩戴数 */
private Integer careUnwearCount;
/** 关爱人员期初未佩戴数(仅计入统计日期起期已绑定的人数) */
private Integer careUnwearAtStartCount;
}
@@ -50,26 +50,31 @@ public class DeptStatData {
*/
@Excel(name = "关爱人员未佩戴人数", width = 18, orderNum = "9")
private Integer careUnwearNums;
/**
* 关爱人员期初未佩戴数(仅计入统计日期起期已绑定的人数)
*/
@Excel(name = "关爱人员未佩戴人数(仅计入统计日期起期已绑定的人数)", width = 25, orderNum = "10")
private Integer careUnwearAtStartNums;
@Excel(name = "心率异常人数", width = 15, orderNum = "10")
@Excel(name = "心率异常人数", width = 15, orderNum = "11")
private Integer heartRateNums;
@Excel(name = "血氧异常人数", width = 15, orderNum = "11")
@Excel(name = "血氧异常人数", width = 15, orderNum = "12")
private Integer spo2Nums;
@Excel(name = "压力异常人数", width = 15, orderNum = "12")
@Excel(name = "压力异常人数", width = 15, orderNum = "13")
private Integer stressNums;
@Excel(name = "体温异常人数", width = 15, orderNum = "13")
@Excel(name = "体温异常人数", width = 15, orderNum = "14")
private Integer tempNums;
/**
* 非关爱人员数量
*/
@Excel(name = "非关爱人员数量", width = 15, orderNum = "14")
@Excel(name = "非关爱人员数量", width = 15, orderNum = "15")
private Integer nonCareNums;
/**
* 关爱人员数量(已分配设备数 - 非关爱人员数量)
*/
@Excel(name = "关爱人员数量", width = 15, orderNum = "15")
@Excel(name = "关爱人员数量", width = 15, orderNum = "16")
private Integer careNums;