From d7abd9ebd3adf6bd7adac595fd1c070568432acb Mon Sep 17 00:00:00 2001 From: zss <zss@example.com> Date: 星期五, 21 六月 2024 09:01:23 +0800 Subject: [PATCH] 人员考评 --- performance-server/src/main/java/com/yuanchu/mom/pojo/Evaluate.java | 20 ++++++++++++++++++++ 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/performance-server/src/main/java/com/yuanchu/mom/pojo/Evaluate.java b/performance-server/src/main/java/com/yuanchu/mom/pojo/Evaluate.java index 8de043a..27031dd 100644 --- a/performance-server/src/main/java/com/yuanchu/mom/pojo/Evaluate.java +++ b/performance-server/src/main/java/com/yuanchu/mom/pojo/Evaluate.java @@ -1,5 +1,7 @@ package com.yuanchu.mom.pojo; +import com.alibaba.excel.annotation.ExcelIgnore; +import com.alibaba.excel.annotation.ExcelProperty; import com.baomidou.mybatisplus.annotation.FieldFill; import com.baomidou.mybatisplus.annotation.IdType; import com.baomidou.mybatisplus.annotation.TableField; @@ -28,51 +30,69 @@ public class Evaluate extends OrderBy implements Serializable { @TableId(value = "id", type = IdType.AUTO) + @ExcelIgnore private Integer id; @ApiModelProperty("澶栭敭 鍏宠仈鐢ㄦ埛id") + @ExcelIgnore private Integer userId; @ValueTableShow(value = 1, name = "宸ュ彿") @TableField(exist = false,select = false) + @ExcelProperty(value = "宸ュ彿") private String account; @ValueTableShow(value = 2, name = "濮撳悕") @TableField(exist = false,select = false) + @ExcelProperty(value = "濮撳悕") private String name; + + @TableField(exist = false,select = false) + //瀹為獙瀹� + private String departLims; @ValueTableShow(value = 3, name = "鍛樺伐浜掕瘎") @TableField(exist = false,select = false) + @ExcelProperty(value = "鍛樺伐浜掕瘎") private Double groupTotal; @ValueTableShow(value = 4, name = "缁勯暱璇勫垎") @TableField(exist = false,select = false) + @ExcelProperty(value = "鍛樺伐浜掕瘎") private Double leaderTotal; @ValueTableShow(value = 5, name = "涓荤璇勫垎") @TableField(exist = false,select = false) + @ExcelProperty(value = "涓荤璇勫垎") private Double competentTotal; @ApiModelProperty("鑰冭瘎寰楀垎") @ValueTableShow(6) + @ExcelProperty(value = "鑰冭瘎寰楀垎") private Double score; @ApiModelProperty("鑰冭瘎绛夌骇") @ValueTableShow(7) + @ExcelProperty(value = "鑰冭瘎绛夌骇") private String grade; @ApiModelProperty("鏈堜唤") + @ExcelIgnore private String month; @TableField(fill = FieldFill.INSERT) + @ExcelIgnore private LocalDateTime createTime; @TableField(fill = FieldFill.INSERT_UPDATE) + @ExcelIgnore private LocalDateTime updateTime; @TableField(fill = FieldFill.INSERT) + @ExcelIgnore private Integer createUser; @TableField(fill = FieldFill.INSERT_UPDATE) + @ExcelIgnore private Integer updateUser; } -- Gitblit v1.9.3