feat(perf): 添加量化指标字段支持

- 在 PerfAppraisalDetail 实体类中新增 quantitativeIndicator 字段
- 在 PerfAppraisalDetailBo 中添加对应的量化指标属性
- 更新数据库映射文件,添加量化指标字段映射配置
- 在查询条件构建器中增加量化指标的筛选逻辑
- 在 PerfAppraisalDetailVo 中添加量化指标并配置 Excel 导出映射
This commit is contained in:
2026-07-09 14:00:48 +08:00
parent 451c7afcfd
commit 310a22560d
5 changed files with 19 additions and 0 deletions

View File

@@ -78,6 +78,11 @@ public class PerfAppraisalDetail extends BaseEntity {
*/
@TableLogic
private Integer delFlag;
/**
* 量化指标
*/
private String quantitativeIndicator;
/**
* 备注
*/

View File

@@ -83,6 +83,11 @@ public class PerfAppraisalDetailBo extends BaseEntity {
*/
private String scoreRule;
/**
* 量化指标
*/
private String quantitativeIndicator;
/**
* 备注
*/

View File

@@ -98,6 +98,12 @@ public class PerfAppraisalDetailVo {
@ExcelProperty(value = "评分规则(从模板快照)")
private String scoreRule;
/**
* 量化指标
*/
@ExcelProperty(value = "量化指标")
private String quantitativeIndicator;
/**
* 备注
*/

View File

@@ -73,6 +73,8 @@ public class PerfAppraisalDetailServiceImpl implements IPerfAppraisalDetailServi
lqw.eq(bo.getPenalty() != null, PerfAppraisalDetail::getPenalty, bo.getPenalty());
lqw.eq(StringUtils.isNotBlank(bo.getScoreFormula()), PerfAppraisalDetail::getScoreFormula, bo.getScoreFormula());
lqw.eq(StringUtils.isNotBlank(bo.getScoreRule()), PerfAppraisalDetail::getScoreRule, bo.getScoreRule());
// 量化指标
lqw.eq(StringUtils.isNotBlank(bo.getQuantitativeIndicator()), PerfAppraisalDetail::getQuantitativeIndicator, bo.getQuantitativeIndicator());
return lqw;
}

View File

@@ -19,6 +19,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result property="scoreFormula" column="score_formula"/>
<result property="scoreRule" column="score_rule"/>
<result property="delFlag" column="del_flag"/>
<result property="quantitativeIndicator" column="quantitative_indicator"/>
<result property="remark" column="remark"/>
<result property="createTime" column="create_time"/>
<result property="createBy" column="create_by"/>