From b85a7f932b9d789a2e9bdb36e366c36c2e1eb3cc Mon Sep 17 00:00:00 2001
From: zxl <763096477@qq.com>
Date: 星期四, 17 四月 2025 11:31:53 +0800
Subject: [PATCH] 查询考核成绩为null,为前端添加数据默认为0
---
ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CheckScore.java | 83 +++++++++++++++++++++++++++++++++++++++++
1 files changed, 83 insertions(+), 0 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
new file mode 100644
index 0000000..94b02f6
--- /dev/null
+++ b/ycl-pojo/src/main/java/com/ycl/platform/domain/entity/CheckScore.java
@@ -0,0 +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 lombok.Data;
+
+import java.math.BigDecimal;
+import java.util.Date;
+import java.util.List;
+
+/**
+ * 鑰冩牳绉垎鏄庣粏瀵硅薄 t_check_score
+ *
+ * @author ruoyi
+ * @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 Short examineCategory;
+ /** 淇敼鏃堕棿 */
+ @Excel(name = "淇敼鏃堕棿")
+ private Date updateTime;
+
+ /** 鍒涘缓鏃堕棿 */
+ @Excel(name = "鍒涘缓鏃堕棿")
+ @JsonFormat(pattern = "yyyy-MM-dd")
+ private Date createTime;
+ /** 淇敼浜� */
+ @Excel(name = "淇敼浜�")
+ private Integer updateUser;
+ /** 鏄惁鍙戝竷 */
+ @Excel(name = "鏄惁鍙戝竷")
+ private String publish;
+
+ //鎶樼嚎鍥炬棩鏈熷弬鏁�
+ @TableField(exist = false)
+ private String date;
+
+ @TableField(exist = false)
+ private Date startDate;
+
+ @TableField(exist = false)
+ private Date endDate;
+
+ @TableField(exist = false)
+ private List<String> quarter;
+
+
+}
--
Gitblit v1.8.0