- 修改所有实体类中的ID字段类型从String改为Long - 更新所有服务接口和实现类的方法参数类型 - 调整控制器中的路径变量类型以匹配新的ID类型 - 修正查询条件判断逻辑,从字符串非空检查改为数值非空检查 - 更新数据传输对象中的ID字段类型保持一致性
54 lines
1.0 KiB
Java
54 lines
1.0 KiB
Java
package com.klp.perf.domain;
|
||
|
||
import com.baomidou.mybatisplus.annotation.*;
|
||
import com.klp.common.core.domain.BaseEntity;
|
||
import lombok.Data;
|
||
import lombok.EqualsAndHashCode;
|
||
|
||
|
||
/**
|
||
* 岗位绩效考核模板对象 perf_position_template
|
||
*
|
||
* @author klp
|
||
* @date 2026-07-07
|
||
*/
|
||
@Data
|
||
@EqualsAndHashCode(callSuper = true)
|
||
@TableName("perf_position_template")
|
||
public class PerfPositionTemplate extends BaseEntity {
|
||
|
||
private static final long serialVersionUID=1L;
|
||
|
||
/**
|
||
*
|
||
*/
|
||
@TableId(value = "id")
|
||
private Long id;
|
||
/**
|
||
* 关联 perf_dept.id
|
||
*/
|
||
private Long deptId;
|
||
/**
|
||
* 岗位名称 (与员工表岗位字段匹配)
|
||
*/
|
||
private String positionName;
|
||
/**
|
||
* 模板标题 如:轧机主操绩效考核评分表
|
||
*/
|
||
private String title;
|
||
/**
|
||
*
|
||
*/
|
||
private Long isEnabled;
|
||
/**
|
||
* 删除标志(0=正常,1=已删除)
|
||
*/
|
||
@TableLogic
|
||
private Integer delFlag;
|
||
/**
|
||
* 备注
|
||
*/
|
||
private String remark;
|
||
|
||
}
|