员工奖惩添加金额字段

This commit is contained in:
2024-03-18 14:07:13 +08:00
parent 80fb403f5f
commit 6172f445a7
4 changed files with 20 additions and 6 deletions

View File

@@ -35,7 +35,10 @@ public class CreateEmployeeRecordDto extends OrgCommonDto {
@Comment("记录内容")
private String recordContent;
@Comment("分数")
@Comment("奖惩分数")
private Double score;
@Comment("奖惩金额")
private Double money;
}

View File

@@ -33,9 +33,12 @@ public class EmployeeRecordDto extends OrgCommonDto {
@Comment("记录内容")
private String recordContent;
@Comment("分数")
@Comment("奖惩分数")
private Double score;
@Comment("奖惩金额")
private Double money;
private String archiveStatus;
private String archiveStatusName;

View File

@@ -36,6 +36,10 @@ public class UpdateEmployeeRecordDto extends OrgCommonDto {
private String recordContent;
@Comment("分数")
@Comment("奖惩分数")
private Double score;
@Comment("奖惩金额")
private Double money;
}

View File

@@ -42,10 +42,14 @@ public class EmployeeRecordEntity extends OrgCommonEntity {
private String recordContent;
@Comment("分数")
@Comment("奖惩分数")
private Double score;
@Comment("奖惩金额")
private Double money;
@Comment("归档状态")
@ColumnDefault("'0'")
private String archiveStatus = "0";