diff --git a/zfipc-server/zfipc-system/src/main/java/com/inspur/bigscreen/domain/IpcDailyEquipNumByStatus.java b/zfipc-server/zfipc-system/src/main/java/com/inspur/bigscreen/domain/IpcDailyEquipNumByStatus.java
index 2e6c56e..e453acb 100644
--- a/zfipc-server/zfipc-system/src/main/java/com/inspur/bigscreen/domain/IpcDailyEquipNumByStatus.java
+++ b/zfipc-server/zfipc-system/src/main/java/com/inspur/bigscreen/domain/IpcDailyEquipNumByStatus.java
@@ -21,8 +21,7 @@ public class IpcDailyEquipNumByStatus extends BaseEntity
private Long id;
/** 设备id */
- @Excel(name = "设备id")
- private String equipId;
+ private Integer nums;
/** 设备状态 */
@Excel(name = "设备状态")
@@ -46,15 +45,15 @@ public class IpcDailyEquipNumByStatus extends BaseEntity
{
return id;
}
- public void setEquipId(String equipId)
- {
- this.equipId = equipId;
+
+ public Integer getNums() {
+ return nums;
}
- public String getEquipId()
- {
- return equipId;
+ public void setNums(Integer nums) {
+ this.nums = nums;
}
+
public void setStatus(Integer status)
{
this.status = status;
@@ -87,7 +86,6 @@ public class IpcDailyEquipNumByStatus extends BaseEntity
public String toString() {
return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
.append("id", getId())
- .append("equipId", getEquipId())
.append("status", getStatus())
.append("deptId", getDeptId())
.append("createDate", getCreateDate())
diff --git a/zfipc-server/zfipc-system/src/main/java/com/inspur/bigscreen/task/StatsDataTask.java b/zfipc-server/zfipc-system/src/main/java/com/inspur/bigscreen/task/StatsDataTask.java
new file mode 100644
index 0000000..8868a85
--- /dev/null
+++ b/zfipc-server/zfipc-system/src/main/java/com/inspur/bigscreen/task/StatsDataTask.java
@@ -0,0 +1,20 @@
+package com.inspur.bigscreen.task;
+
+import org.springframework.stereotype.Component;
+
+/**
+ * 大屏数据统计定时任务
+ * @Author zhangjunwen
+ * @create 2024/7/11
+ */
+@Component("statsDataTask")
+public class StatsDataTask {
+
+ /**
+ * 每日根据不同状态统计设备数量
+ */
+ public void countDailyEquipNumByStatus(){
+
+ }
+
+}
diff --git a/zfipc-server/zfipc-system/src/main/resources/mapper/bigscreen/IpcDailyEquipNumByStatusMapper.xml b/zfipc-server/zfipc-system/src/main/resources/mapper/bigscreen/IpcDailyEquipNumByStatusMapper.xml
index 5165abc..7039758 100644
--- a/zfipc-server/zfipc-system/src/main/resources/mapper/bigscreen/IpcDailyEquipNumByStatusMapper.xml
+++ b/zfipc-server/zfipc-system/src/main/resources/mapper/bigscreen/IpcDailyEquipNumByStatusMapper.xml
@@ -6,20 +6,20 @@
-
+
- select id, equip_id, status, dept_id, create_date from ipc_daily_equip_num_by_status
+ select id, nums, status, dept_id, create_date from ipc_daily_equip_num_by_status