Files
klp-oa/klp-perf/src/main/java/com/klp/perf/domain/PerfDept.java
Joshi a56a0008b9 refactor(perf): 将ID字段从String类型改为Long类型
- 修改所有实体类中的ID字段类型从String改为Long
- 更新所有服务接口和实现类的方法参数类型
- 调整控制器中的路径变量类型以匹配新的ID类型
- 修正查询条件判断逻辑,从字符串非空检查改为数值非空检查
- 更新数据传输对象中的ID字段类型保持一致性
2026-07-07 16:39:37 +08:00

54 lines
1000 B
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package com.klp.perf.domain;
import com.baomidou.mybatisplus.annotation.*;
import com.klp.common.core.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
/**
* 绩效系统部门对象 perf_dept
*
* @author klp
* @date 2026-07-07
*/
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("perf_dept")
public class PerfDept extends BaseEntity {
private static final long serialVersionUID=1L;
/**
* 主键
*/
@TableId(value = "id")
private Long id;
/**
* 部门/车间名称 如:酸轧车间/技术部
*/
private String deptName;
/**
* 排序
*/
private Long orderNum;
/**
* 是否有保底薪资模式 0=否 1=是
*/
private Integer hasBaoSalary;
/**
* 状态0正常 1停用
*/
private String status;
/**
* 删除标志0=正常 1=已删除)
*/
@TableLogic
private Integer delFlag;
/**
* 备注
*/
private String remark;
}