From 3b0516a2959e25576e4f3fda697a3b025d06c8c9 Mon Sep 17 00:00:00 2001 From: zxl <763096477@qq.com> Date: 星期二, 24 六月 2025 14:09:07 +0800 Subject: [PATCH] 每日录像可用指标添加日志,修改大屏为查看当前月平均 --- ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CheckScore.java | 168 ++++++++++++++++--------------------------------------- 1 files changed, 50 insertions(+), 118 deletions(-) diff --git a/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CheckScore.java b/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CheckScore.java index f544566..94b02f6 100644 --- a/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CheckScore.java +++ b/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CheckScore.java @@ -1,151 +1,83 @@ package com.ycl.platform.domain.entity; import annotation.Excel; +import com.baomidou.mybatisplus.annotation.TableField; +import com.baomidou.mybatisplus.annotation.TableName; +import com.fasterxml.jackson.annotation.JsonFormat; import com.ycl.system.entity.BaseEntity; -import org.apache.commons.lang.builder.ToStringBuilder; -import org.apache.commons.lang.builder.ToStringStyle; +import lombok.Data; import java.math.BigDecimal; +import java.util.Date; +import java.util.List; /** * 鑰冩牳绉垎鏄庣粏瀵硅薄 t_check_score - * + * * @author ruoyi - * @date 2024-04-01 + * @date 2024-04-22 */ +@Data +@TableName("t_check_score") public class CheckScore extends BaseEntity { private static final long serialVersionUID = 1L; /** */ + private Long id; /** 鍒嗗�� */ @Excel(name = "鍒嗗��") private BigDecimal score; - /** 鍖哄幙 */ + + /** deptid */ @Excel(name = "鍖哄幙") private Long deptId; + @TableField(exist = false) + private String deptName; + //璁惧鏁伴噺 + private Integer deviceCount; + /** 鑰冩牳妯℃澘id */ + @Excel(name = "鑰冩牳妯℃澘id") + private Integer templateId; + /** 瀵瑰簲check_index_琛╥d */ + private Long indexId; + /** 鑰冩牳鏍囩(鐪佸巺/甯傚眬) */ + @Excel(name = "鑰冩牳鏍囩(鐪佸巺/甯傚眬)") + private Integer examineTag; - /** 鑰冩牳 */ - @Excel(name = "鑰冩牳") - private Long publishId; + /** 鑰冩牳绫诲瀷(瑙嗛/杞﹁締/浜鸿劯) */ + @Excel(name = "鑰冩牳绫诲瀷(瑙嗛/杞﹁締/浜鸿劯)") + private Short examineCategory; + /** 淇敼鏃堕棿 */ + @Excel(name = "淇敼鏃堕棿") + private Date updateTime; - /** 瑙勫垯 */ - @Excel(name = "瑙勫垯") - private Long ruleId; + /** 鍒涘缓鏃堕棿 */ + @Excel(name = "鍒涘缓鏃堕棿") + @JsonFormat(pattern = "yyyy-MM-dd") + private Date createTime; + /** 淇敼浜� */ + @Excel(name = "淇敼浜�") + private Integer updateUser; + /** 鏄惁鍙戝竷 */ + @Excel(name = "鏄惁鍙戝竷") + private String publish; - /** 鑰冩牳绫诲瀷 */ - @Excel(name = "鑰冩牳绫诲瀷") - private Long examineCategory; + //鎶樼嚎鍥炬棩鏈熷弬鏁� + @TableField(exist = false) + private String date; - /** */ - private Long updateUser; + @TableField(exist = false) + private Date startDate; - /** */ - @Excel(name = "") - private String updateUserName; + @TableField(exist = false) + private Date endDate; - /** */ - @Excel(name = "") - private Long auditState; + @TableField(exist = false) + private List<String> quarter; - public void setId(Long id) - { - this.id = id; - } - public Long getId() - { - return id; - } - public void setScore(BigDecimal score) - { - this.score = score; - } - - public BigDecimal getScore() - { - return score; - } - public void setDeptId(Long deptId) - { - this.deptId = deptId; - } - - public Long getDeptId() - { - return deptId; - } - public void setPublishId(Long publishId) - { - this.publishId = publishId; - } - - public Long getPublishId() - { - return publishId; - } - public void setRuleId(Long ruleId) - { - this.ruleId = ruleId; - } - - public Long getRuleId() - { - return ruleId; - } - public void setExamineCategory(Long examineCategory) - { - this.examineCategory = examineCategory; - } - - public Long getExamineCategory() - { - return examineCategory; - } - public void setUpdateUser(Long updateUser) - { - this.updateUser = updateUser; - } - - public Long getUpdateUser() - { - return updateUser; - } - public void setUpdateUserName(String updateUserName) - { - this.updateUserName = updateUserName; - } - - public String getUpdateUserName() - { - return updateUserName; - } - public void setAuditState(Long auditState) - { - this.auditState = auditState; - } - - public Long getAuditState() - { - return auditState; - } - - @Override - public String toString() { - return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE) - .append("id", getId()) - .append("score", getScore()) - .append("deptId", getDeptId()) - .append("publishId", getPublishId()) - .append("ruleId", getRuleId()) - .append("examineCategory", getExamineCategory()) - .append("createTime", getCreateTime()) - .append("updateUser", getUpdateUser()) - .append("updateUserName", getUpdateUserName()) - .append("auditState", getAuditState()) - .toString(); - } } -- Gitblit v1.8.0