feat(perf): 添加绩效考核相关服务接口和实体类
- 创建了考核维度评分明细服务接口及实现类 - 添加了月度绩效考核记录服务接口及实现类 - 实现了绩效系数换算、车间考核参数配置等相关服务 - 定义了绩效考核相关的实体类和业务对象 - 创建了绩效考核控制器提供CRUD操作接口 - 配置了数据库映射文件和结果集映射 - 实现了数据校验和分页查询功能
This commit is contained in:
102
klp-perf/src/main/java/com/klp/perf/domain/PerfDeptSummary.java
Normal file
102
klp-perf/src/main/java/com/klp/perf/domain/PerfDeptSummary.java
Normal file
@@ -0,0 +1,102 @@
|
||||
package com.klp.perf.domain;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.*;
|
||||
import com.klp.common.core.domain.BaseEntity;
|
||||
import lombok.Data;
|
||||
import lombok.EqualsAndHashCode;
|
||||
|
||||
import java.math.BigDecimal;
|
||||
|
||||
/**
|
||||
* 车间月度汇总对象 perf_dept_summary
|
||||
*
|
||||
* @author klp
|
||||
* @date 2026-07-07
|
||||
*/
|
||||
@Data
|
||||
@EqualsAndHashCode(callSuper = true)
|
||||
@TableName("perf_dept_summary")
|
||||
public class PerfDeptSummary extends BaseEntity {
|
||||
|
||||
private static final long serialVersionUID=1L;
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
@TableId(value = "id")
|
||||
private String id;
|
||||
/**
|
||||
* 关联 wms_dept.id
|
||||
*/
|
||||
private String deptId;
|
||||
/**
|
||||
* 周期 YYYY-MM
|
||||
*/
|
||||
private String period;
|
||||
/**
|
||||
* 总人数
|
||||
*/
|
||||
private Long totalEmployees;
|
||||
/**
|
||||
* 系数总计(所有人员总系数之和)
|
||||
*/
|
||||
private BigDecimal totalCoeffSum;
|
||||
/**
|
||||
* 平均考核得分
|
||||
*/
|
||||
private BigDecimal avgPerfScore;
|
||||
/**
|
||||
* 平均绩效系数
|
||||
*/
|
||||
private BigDecimal avgPerfCoeff;
|
||||
/**
|
||||
* 底薪合计
|
||||
*/
|
||||
private BigDecimal totalBaseSalary;
|
||||
/**
|
||||
* 月度绩效工资合计
|
||||
*/
|
||||
private BigDecimal totalPerfWage;
|
||||
/**
|
||||
* 扣款合计
|
||||
*/
|
||||
private BigDecimal totalDeductions;
|
||||
/**
|
||||
* 奖励合计
|
||||
*/
|
||||
private BigDecimal totalBonuses;
|
||||
/**
|
||||
* 其他合计
|
||||
*/
|
||||
private BigDecimal totalOther;
|
||||
/**
|
||||
* 实领薪资合计
|
||||
*/
|
||||
private BigDecimal totalActualSalary;
|
||||
/**
|
||||
* 人均实领薪资
|
||||
*/
|
||||
private BigDecimal avgActualSalary;
|
||||
/**
|
||||
* 当月实际产量
|
||||
*/
|
||||
private BigDecimal monthlyProduction;
|
||||
/**
|
||||
* 系数单价(自动计算) = 月产量×绩效吨钢/系数总计
|
||||
*/
|
||||
private BigDecimal unitPrice;
|
||||
/**
|
||||
* 0=草稿 1=已确认
|
||||
*/
|
||||
private Long status;
|
||||
/**
|
||||
* 删除标志(0=正常,1=已删除)
|
||||
*/
|
||||
@TableLogic
|
||||
private Integer delFlag;
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
private String remark;
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user