Commit 68d0f699 authored by fangxinjiang's avatar fangxinjiang

Merge remote-tracking branch 'origin/MVP1.6.6' into MVP1.6.6

parents 1a7834e8 5a090a30
......@@ -57,11 +57,12 @@ public class TAttaInfo extends BaseEntity {
@Schema(description = "资源类型")
private String attaType;
/**
* 关系类型(0客户附件1联系人附件2跟进记录附件3合同附件4合同归档附件5报价单6招投标7业务评估8二维码9身份证 10 户口本)
* 关系类型(0客户附件1联系人附件2跟进记录附件3合同附件4合同归档附件5报价单6招投标7业务评估8二维码9身份证 10 户口本
* ;21(预入职申明签名);22(预入职确认签名);23(预入职pdf文件)
*/
@NotBlank(message = "关系类型(0客户附件1联系人附件2跟进记录附件3合同附件4合同归档附件5报价单6招投标7业务评估8二维码9身份证 10 户口本)不能为空")
@Length(max = 2, message = "关系类型(0客户附件1联系人附件2跟进记录附件3合同附件4合同归档附件5报价单6招投标7业务评估8二维码9身份证 10 户口本)不能超过2个字符")
@Schema(description = "关系类型(0客户附件1联系人附件2跟进记录附件3合同附件4合同归档附件5报价单6招投标7业务评估8二维码9身份证 10 户口本)")
@NotBlank(message = "关系类型(0客户附件1联系人附件2跟进记录附件3合同附件4合同归档附件5报价单6招投标7业务评估8二维码9身份证 10 户口本;21(预入职申明签名);22(预入职确认签名);23(预入职pdf文件))不能为空")
@Length(max = 2, message = "关系类型(0客户附件1联系人附件2跟进记录附件3合同附件4合同归档附件5报价单6招投标7业务评估8二维码9身份证 10 户口本;21(预入职申明签名);22(预入职确认签名);23(预入职pdf文件))不能超过2个字符")
@Schema(description = "关系类型(0客户附件1联系人附件2跟进记录附件3合同附件4合同归档附件5报价单6招投标7业务评估8二维码9身份证 10 户口本;21(预入职申明签名);22(预入职确认签名);23(预入职pdf文件))")
private String relationType;
/**
* 实体id和关系类型共同确定附件所属
......
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package com.yifu.cloud.plus.v1.yifu.archives.entity;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute;
import com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Length;
import javax.validation.constraints.NotBlank;
import java.math.BigDecimal;
import java.util.Date;
/**
* 预入职-员工不良记录表
*
* @author hgw
* @date 2024-06-17 11:31:08
*/
@Data
@TableName("t_pre_emp_bad_record")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "预入职-员工不良记录表")
public class TPreEmpBadRecord extends BaseEntity {
/**
* 主键
*/
@TableId(type = IdType.ASSIGN_ID)
@ExcelProperty("主键")
@Schema(description = "主键")
private String id;
/**
* 预入职主表ID
*/
@ExcelAttribute(name = "预入职主表ID", isNotEmpty = true, errorInfo = "预入职主表ID不能为空", maxLength = 32)
@NotBlank(message = "预入职主表ID不能为空")
@Length(max = 32, message = "预入职主表ID不能超过32个字符")
@ExcelProperty("预入职主表ID")
@Schema(description = "预入职主表ID")
private String preMainId;
/**
* 员工姓名
*/
@ExcelAttribute(name = "员工姓名", maxLength = 32)
@Length(max = 32, message = "员工姓名不能超过32个字符")
@ExcelProperty("员工姓名")
@Schema(description = "员工姓名")
private String empName;
/**
* 员工ID
*/
@ExcelAttribute(name = "员工ID", maxLength = 32)
@Length(max = 32, message = "员工ID不能超过32个字符")
@ExcelProperty("员工ID")
@Schema(description = "员工ID")
private String empId;
/**
* 身份证号
*/
@ExcelAttribute(name = "身份证号", maxLength = 20)
@Length(max = 20, message = "身份证号不能超过20个字符")
@ExcelProperty("身份证号")
@Schema(description = "身份证号")
private String empIdcard;
/**
* 产生项目
*/
@ExcelAttribute(name = "产生项目", maxLength = 50)
@Length(max = 50, message = "产生项目不能超过50个字符")
@ExcelProperty("产生项目")
@Schema(description = "产生项目")
private String project;
/**
* 项目编码
*/
@ExcelAttribute(name = "项目编码", maxLength = 50)
@Length(max = 50, message = "项目编码不能超过50个字符")
@ExcelProperty("项目编码")
@Schema(description = "项目编码")
private String projectCode;
/**
* 发生时间
*/
@ExcelAttribute(name = "发生时间", isDate = true)
@ExcelProperty("发生时间")
@Schema(description = "发生时间")
private Date happenTime;
/**
* 备注
*/
@ExcelAttribute(name = "备注", maxLength = 200)
@Length(max = 200, message = "备注不能超过200个字符")
@ExcelProperty("备注")
@Schema(description = "备注")
private String remark;
/**
* 费用损失 (费用损失与其他费用损失其一必填)
*/
@ExcelAttribute(name = "费用损失 (费用损失与其他费用损失其一必填)")
@ExcelProperty("费用损失 (费用损失与其他费用损失其一必填)")
@Schema(description = "费用损失 (费用损失与其他费用损失其一必填)")
private BigDecimal loseFee;
/**
* 其他损失 (费用损失与其他费用损失其一必填)
*/
@ExcelAttribute(name = "其他损失 (费用损失与其他费用损失其一必填)")
@ExcelProperty("其他损失 (费用损失与其他费用损失其一必填)")
@Schema(description = "其他损失 (费用损失与其他费用损失其一必填)")
private BigDecimal loseFeeOther;
/**
* 结算主体ID
*/
@ExcelAttribute(name = "结算主体ID", maxLength = 32)
@Length(max = 32, message = "结算主体ID不能超过32个字符")
@ExcelProperty("结算主体ID")
@Schema(description = "结算主体ID")
private String settleDomain;
}
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package com.yifu.cloud.plus.v1.yifu.archives.entity;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute;
import com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Length;
import javax.validation.constraints.NotBlank;
/**
* 预入职-紧急联络人
*
* @author hgw
* @date 2024-06-17 11:24:01
*/
@Data
@TableName("t_pre_emp_contact_info")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "预入职-紧急联络人")
public class TPreEmpContactInfo extends BaseEntity {
/**
* id
*/
@TableId(type = IdType.ASSIGN_ID)
@ExcelProperty("id")
@Schema(description = "id")
private String id;
/**
* 预入职主表ID
*/
@ExcelAttribute(name = "预入职主表ID", isNotEmpty = true, errorInfo = "预入职主表ID不能为空", maxLength = 32)
@NotBlank(message = "预入职主表ID不能为空")
@Length(max = 32, message = "预入职主表ID不能超过32个字符")
@ExcelProperty("预入职主表ID")
@Schema(description = "预入职主表ID")
private String preMainId;
/**
* 姓名
*/
@ExcelAttribute(name = "姓名", isNotEmpty = true, errorInfo = "姓名不能为空", maxLength = 20)
@NotBlank(message = "姓名不能为空")
@Length(max = 20, message = "姓名不能超过20个字符")
@ExcelProperty("姓名")
@Schema(description = "姓名")
private String empName;
/**
* 身份证号
*/
@ExcelAttribute(name = "身份证号", maxLength = 32)
@Length(max = 32, message = "身份证号不能超过32个字符")
@ExcelProperty("身份证号")
@Schema(description = "身份证号")
private String empIdcard;
/**
* 与本人关系
*/
@ExcelAttribute(name = "与本人关系", isNotEmpty = true, errorInfo = "与本人关系不能为空", maxLength = 50)
@NotBlank(message = "与本人关系不能为空")
@Length(max = 50, message = "与本人关系不能超过50个字符")
@ExcelProperty("与本人关系")
@Schema(description = "与本人关系")
private String relationType;
/**
* 联系地址-街道、详情
*/
@ExcelAttribute(name = "联系地址-街道、详情", isNotEmpty = true, errorInfo = "联系地址-街道、详情不能为空", maxLength = 100)
@NotBlank(message = "联系地址-街道、详情不能为空")
@Length(max = 100, message = "联系地址-街道、详情不能超过100个字符")
@ExcelProperty("联系地址-街道、详情")
@Schema(description = "联系地址-街道、详情")
private String address;
/**
* 联系电话
*/
@ExcelAttribute(name = "联系电话", isNotEmpty = true, errorInfo = "联系电话不能为空", maxLength = 20)
@NotBlank(message = "联系电话不能为空")
@Length(max = 20, message = "联系电话不能超过20个字符")
@ExcelProperty("联系电话")
@Schema(description = "联系电话")
private String tel;
}
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package com.yifu.cloud.plus.v1.yifu.archives.entity;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.hibernate.validator.constraints.Length;
/**
* 预入职-员工申明
*
* @author hgw
* @date 2024-06-17 11:24:00
*/
@Data
@TableName("t_pre_emp_declaration")
@Schema(description = "预入职-员工申明")
public class TPreEmpDeclaration {
/**
* id
*/
@TableId(type = IdType.ASSIGN_ID)
@ExcelProperty("id")
@Schema(description = "id")
private String id;
/**
* 员工声明
*/
@ExcelAttribute(name = "员工声明", maxLength = 500)
@Length(max = 200, message = "员工声明不能超过500个字符")
@ExcelProperty("员工声明")
@Schema(description = "员工声明")
private String contentOne;
/**
* 员工确认
*/
@ExcelAttribute(name = "员工确认", maxLength = 500)
@Length(max = 200, message = "员工确认不能超过500个字符")
@ExcelProperty("员工确认")
@Schema(description = "员工确认")
private String contentTwo;
}
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package com.yifu.cloud.plus.v1.yifu.archives.entity;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute;
import com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Length;
import javax.validation.constraints.NotBlank;
import java.util.Date;
/**
* 预入职-员工伤残信息表
*
* @author hgw
* @date 2024-06-17 11:24:01
*/
@Data
@TableName("t_pre_emp_disability_info")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "预入职-员工伤残信息表")
public class TPreEmpDisabilityInfo extends BaseEntity {
/**
* 主键
*/
@TableId(type = IdType.ASSIGN_ID)
@ExcelProperty("主键")
@Schema(description = "主键")
private String id;
/**
* 预入职主表ID
*/
@ExcelAttribute(name = "预入职主表ID", isNotEmpty = true, errorInfo = "预入职主表ID不能为空", maxLength = 32)
@NotBlank(message = "预入职主表ID不能为空")
@Length(max = 32, message = "预入职主表ID不能超过32个字符")
@ExcelProperty("预入职主表ID")
@Schema(description = "预入职主表ID")
private String preMainId;
/**
* 员工ID
*/
@ExcelAttribute(name = "员工ID", isNotEmpty = true, errorInfo = "员工ID不能为空", maxLength = 32)
@NotBlank(message = "员工ID不能为空")
@Length(max = 32, message = "员工ID不能超过32个字符")
@ExcelProperty("员工ID")
@Schema(description = "员工ID")
private String empId;
/**
* 员工姓名
*/
@ExcelAttribute(name = "员工姓名", isNotEmpty = true, errorInfo = "员工姓名不能为空", maxLength = 50)
@NotBlank(message = "员工姓名不能为空")
@Length(max = 50, message = "员工姓名不能超过50个字符")
@ExcelProperty("员工姓名")
@Schema(description = "员工姓名")
private String empName;
/**
* 员工编码
*/
@ExcelAttribute(name = "员工编码", isNotEmpty = true, errorInfo = "员工编码不能为空", maxLength = 50)
@NotBlank(message = "员工编码不能为空")
@Length(max = 50, message = "员工编码不能超过50个字符")
@ExcelProperty("员工编码")
@Schema(description = "员工编码")
private String empCode;
/**
* 身份证号
*/
@ExcelAttribute(name = "身份证号", isNotEmpty = true, errorInfo = "身份证号不能为空", maxLength = 32)
@NotBlank(message = "身份证号不能为空")
@Length(max = 32, message = "身份证号不能超过32个字符")
@ExcelProperty("身份证号")
@Schema(description = "身份证号")
private String empIdcard;
/**
* 伤残病名称
*/
@ExcelAttribute(name = "伤残病名称", isNotEmpty = true, errorInfo = "伤残病名称不能为空", maxLength = 50)
@NotBlank(message = "伤残病名称不能为空")
@Length(max = 50, message = "伤残病名称不能超过50个字符")
@ExcelProperty("伤残病名称")
@Schema(description = "伤残病名称")
private String disabilityName;
/**
* 伤残等级
*/
@ExcelAttribute(name = "伤残等级", maxLength = 32)
@Length(max = 32, message = "伤残等级不能超过32个字符")
@ExcelProperty("伤残等级")
@Schema(description = "伤残等级")
private String disabilityLevel;
/**
* 是否工伤标识0是/1否
*/
@ExcelAttribute(name = "是否工伤标识0是/1否", maxLength = 1)
@Length(max = 1, message = "是否工伤标识0是/1否不能超过1个字符")
@ExcelProperty("是否工伤标识0是/1否")
@Schema(description = "是否工伤标识0是/1否")
private String injuryIdentification;
/**
* 伤残开始日期
*/
@ExcelAttribute(name = "伤残开始日期", isDate = true)
@ExcelProperty("伤残开始日期")
@Schema(description = "伤残开始日期")
private Date startTime;
/**
* 伤残结束日期
*/
@ExcelAttribute(name = "伤残结束日期", isDate = true)
@ExcelProperty("伤残结束日期")
@Schema(description = "伤残结束日期")
private Date endTime;
/**
* 职业病名称
*/
@ExcelAttribute(name = "职业病名称", maxLength = 50)
@Length(max = 50, message = "职业病名称不能超过50个字符")
@ExcelProperty("职业病名称")
@Schema(description = "职业病名称")
private String occupationalDisease;
/**
* 0删除作废1正常
*/
@ExcelAttribute(name = "0删除作废1正常", maxLength = 1)
@Length(max = 1, message = "0删除作废1正常不能超过1个字符")
@ExcelProperty("0删除作废1正常")
@Schema(description = "0删除作废1正常")
private String deleteFlag;
/**
* 结算主体ID
*/
@ExcelAttribute(name = "结算主体ID", maxLength = 32)
@Length(max = 32, message = "结算主体ID不能超过32个字符")
@ExcelProperty("结算主体ID")
@Schema(description = "结算主体ID")
private String settleDomain;
/**
* 备注
*/
@ExcelAttribute(name = "备注", maxLength = 200)
@Length(max = 200, message = "备注不能超过200个字符")
@ExcelProperty("备注")
@Schema(description = "备注")
private String remark;
}
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package com.yifu.cloud.plus.v1.yifu.archives.entity;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute;
import com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Length;
import javax.validation.constraints.NotBlank;
import java.util.Date;
/**
* 预入职-员工学历信息表
*
* @author hgw
* @date 2024-06-17 11:24:01
*/
@Data
@TableName("t_pre_emp_education")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "预入职-员工学历信息表")
public class TPreEmpEducation extends BaseEntity {
/**
* 主键
*/
@TableId(type = IdType.ASSIGN_ID)
@ExcelProperty("主键")
@Schema(description = "主键")
private String id;
/**
* 预入职主表ID
*/
@ExcelAttribute(name = "预入职主表ID", isNotEmpty = true, errorInfo = "预入职主表ID不能为空", maxLength = 32)
@NotBlank(message = "预入职主表ID不能为空")
@Length(max = 32, message = "预入职主表ID不能超过32个字符")
@ExcelProperty("预入职主表ID")
@Schema(description = "预入职主表ID")
private String preMainId;
/**
* 员工ID
*/
@ExcelAttribute(name = "员工ID", isNotEmpty = true, errorInfo = "员工ID不能为空", maxLength = 32)
@NotBlank(message = "员工ID不能为空")
@Length(max = 32, message = "员工ID不能超过32个字符")
@ExcelProperty("员工ID")
@Schema(description = "员工ID")
private String empId;
/**
* 员工姓名
*/
@ExcelAttribute(name = "员工姓名", isNotEmpty = true, errorInfo = "员工姓名不能为空", maxLength = 32)
@NotBlank(message = "员工姓名不能为空")
@Length(max = 32, message = "员工姓名不能超过32个字符")
@ExcelProperty("员工姓名")
@Schema(description = "员工姓名")
private String empName;
/**
* 员工编码
*/
@ExcelAttribute(name = "员工编码", isNotEmpty = true, errorInfo = "员工编码不能为空", maxLength = 32)
@NotBlank(message = "员工编码不能为空")
@Length(max = 32, message = "员工编码不能超过32个字符")
@ExcelProperty("员工编码")
@Schema(description = "员工编码")
private String empCode;
/**
* 身份证号
*/
@ExcelAttribute(name = "身份证号", isNotEmpty = true, errorInfo = "身份证号不能为空", maxLength = 32)
@NotBlank(message = "身份证号不能为空")
@Length(max = 32, message = "身份证号不能超过32个字符")
@ExcelProperty("身份证号")
@Schema(description = "身份证号")
private String empIdcard;
/**
* 入学日期
*/
@ExcelAttribute(name = "入学日期", isDate = true)
@ExcelProperty("入学日期")
@Schema(description = "入学日期")
private Date entryDate;
/**
* 学历名称
*/
@ExcelAttribute(name = "学历名称", maxLength = 32)
@Length(max = 32, message = "学历名称不能超过32个字符")
@ExcelProperty("学历名称")
@Schema(description = "学历名称")
private String educationName;
/**
* 结业日期
*/
@ExcelAttribute(name = "结业日期", isDate = true)
@ExcelProperty("结业日期")
@Schema(description = "结业日期")
private Date gradutionDate;
/**
* 学校名称
*/
@ExcelAttribute(name = "学校名称", maxLength = 64)
@Length(max = 64, message = "学校名称不能超过64个字符")
@ExcelProperty("学校名称")
@Schema(description = "学校名称")
private String school;
/**
* 学制
*/
@ExcelAttribute(name = "学制", maxLength = 32)
@Length(max = 32, message = "学制不能超过32个字符")
@ExcelProperty("学制")
@Schema(description = "学制")
private String educationSystem;
/**
* 最高学历标识0是/1否
*/
@ExcelAttribute(name = "最高学历标识0是/1否", maxLength = 1)
@Length(max = 1, message = "最高学历标识0是/1否不能超过1个字符")
@ExcelProperty("最高学历标识0是/1否")
@Schema(description = "最高学历标识0是/1否")
private String highIdentification;
/**
* 学历类型:全日制、自考、函授等
*/
@ExcelAttribute(name = "学历类型:全日制、自考、函授等", maxLength = 32)
@Length(max = 32, message = "学历类型:全日制、自考、函授等不能超过32个字符")
@ExcelProperty("学历类型:全日制、自考、函授等")
@Schema(description = "学历类型:全日制、自考、函授等")
private String type;
/**
* 院系
*/
@ExcelAttribute(name = "院系", maxLength = 64)
@Length(max = 64, message = "院系不能超过64个字符")
@ExcelProperty("院系")
@Schema(description = "院系")
private String collageSystem;
/**
* 是否删除 0未删除/1删除
*/
@ExcelAttribute(name = "是否删除 0未删除/1删除", maxLength = 1)
@Length(max = 1, message = "是否删除 0未删除/1删除不能超过1个字符")
@ExcelProperty("是否删除 0未删除/1删除")
@Schema(description = "是否删除 0未删除/1删除")
private String deleteFlag;
/**
* 结算主体ID
*/
@ExcelAttribute(name = "结算主体ID", maxLength = 32)
@Length(max = 32, message = "结算主体ID不能超过32个字符")
@ExcelProperty("结算主体ID")
@Schema(description = "结算主体ID")
private String settleDomain;
/**
* 派单标识 1 代表派单生成, 派单审核通过后清空标识 专门用于派单作废
*/
@ExcelAttribute(name = "派单标识 1 代表派单生成, 派单审核通过后清空标识 专门用于派单作废", maxLength = 1)
@Length(max = 1, message = "派单标识 1 代表派单生成, 派单审核通过后清空标识 专门用于派单作废不能超过1个字符")
@ExcelProperty("派单标识 1 代表派单生成, 派单审核通过后清空标识 专门用于派单作废")
@Schema(description = "派单标识 1 代表派单生成, 派单审核通过后清空标识 专门用于派单作废")
private String dispatchFlag;
/**
* 备注
*/
@ExcelAttribute(name = "备注", maxLength = 64)
@Length(max = 64, message = "备注不能超过64个字符")
@ExcelProperty("备注")
@Schema(description = "备注")
private String remark;
/**
* 证书名称
*/
@ExcelAttribute(name = "证书名称", maxLength = 32)
@Length(max = 32, message = "证书名称不能超过32个字符")
@ExcelProperty("证书名称")
@Schema(description = "证书名称")
private String certificationName;
/**
* 专业
*/
@ExcelAttribute(name = "专业", maxLength = 64)
@Length(max = 64, message = "专业不能超过64个字符")
@ExcelProperty("专业")
@Schema(description = "专业")
private String major;
}
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package com.yifu.cloud.plus.v1.yifu.archives.entity;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute;
import com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Length;
import javax.validation.constraints.NotBlank;
import java.util.Date;
/**
* 预入职-员工家庭信息表
*
* @author hgw
* @date 2024-06-17 11:24:01
*/
@Data
@TableName("t_pre_emp_family")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "预入职-员工家庭信息表")
public class TPreEmpFamily extends BaseEntity {
/**
* 主键
*/
@TableId(type = IdType.ASSIGN_ID)
@ExcelProperty("主键")
@Schema(description = "主键")
private String id;
/**
* 预入职主表ID
*/
@ExcelAttribute(name = "预入职主表ID", isNotEmpty = true, errorInfo = "预入职主表ID不能为空", maxLength = 32)
@NotBlank(message = "预入职主表ID不能为空")
@Length(max = 32, message = "预入职主表ID不能超过32个字符")
@ExcelProperty("预入职主表ID")
@Schema(description = "预入职主表ID")
private String preMainId;
/**
* 员工主键
*/
@ExcelAttribute(name = "员工主键", isNotEmpty = true, errorInfo = "员工主键不能为空", maxLength = 32)
@NotBlank(message = "员工主键不能为空")
@Length(max = 32, message = "员工主键不能超过32个字符")
@ExcelProperty("员工主键")
@Schema(description = "员工主键")
private String empId;
/**
* 员工编码
*/
@ExcelAttribute(name = "员工编码", isNotEmpty = true, errorInfo = "员工编码不能为空", maxLength = 32)
@NotBlank(message = "员工编码不能为空")
@Length(max = 32, message = "员工编码不能超过32个字符")
@ExcelProperty("员工编码")
@Schema(description = "员工编码")
private String empCode;
/**
* 员工姓名
*/
@ExcelAttribute(name = "员工姓名", isNotEmpty = true, errorInfo = "员工姓名不能为空", maxLength = 32)
@NotBlank(message = "员工姓名不能为空")
@Length(max = 32, message = "员工姓名不能超过32个字符")
@ExcelProperty("员工姓名")
@Schema(description = "员工姓名")
private String empName;
/**
* 身份证号
*/
@ExcelAttribute(name = "身份证号", isNotEmpty = true, errorInfo = "身份证号不能为空", maxLength = 32)
@NotBlank(message = "身份证号不能为空")
@Length(max = 32, message = "身份证号不能超过32个字符")
@ExcelProperty("身份证号")
@Schema(description = "身份证号")
private String empIdcard;
/**
* 与本人关系
*/
@ExcelAttribute(name = "与本人关系", maxLength = 32)
@Length(max = 32, message = "与本人关系不能超过32个字符")
@ExcelProperty("与本人关系")
@Schema(description = "与本人关系")
private String relationshipSelf;
/**
* 家庭成员姓名
*/
@ExcelAttribute(name = "家庭成员姓名", maxLength = 32)
@Length(max = 32, message = "家庭成员姓名不能超过32个字符")
@ExcelProperty("家庭成员姓名")
@Schema(description = "家庭成员姓名")
private String familyName;
/**
* 出生日期
*/
@ExcelAttribute(name = "出生日期", isDate = true)
@ExcelProperty("出生日期")
@Schema(description = "出生日期")
private Date birthday;
/**
* 工作/学习单位
*/
@ExcelAttribute(name = "工作/学习单位", maxLength = 100)
@Length(max = 100, message = "工作/学习单位不能超过100个字符")
@ExcelProperty("工作/学习单位")
@Schema(description = "工作/学习单位")
private String workUnit;
/**
* 联系电话
*/
@ExcelAttribute(name = "联系电话", maxLength = 32)
@Length(max = 32, message = "联系电话不能超过32个字符")
@ExcelProperty("联系电话")
@Schema(description = "联系电话")
private String contractTel;
/**
* 0删除作废1正常
*/
@ExcelAttribute(name = "0删除作废1正常", maxLength = 1)
@Length(max = 1, message = "0删除作废1正常不能超过1个字符")
@ExcelProperty("0删除作废1正常")
@Schema(description = "0删除作废1正常")
private String deleteFlag;
/**
* 结算主体ID
*/
@ExcelAttribute(name = "结算主体ID", maxLength = 32)
@Length(max = 32, message = "结算主体ID不能超过32个字符")
@ExcelProperty("结算主体ID")
@Schema(description = "结算主体ID")
private String settleDomain;
/**
* 备注
*/
@ExcelAttribute(name = "备注", maxLength = 200)
@Length(max = 200, message = "备注不能超过200个字符")
@ExcelProperty("备注")
@Schema(description = "备注")
private String remark;
}
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package com.yifu.cloud.plus.v1.yifu.archives.entity;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute;
import com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Length;
import javax.validation.constraints.NotBlank;
import java.util.Date;
/**
* 预入职-主表
*
* @author hgw
* @date 2024-06-17 11:31:08
*/
@Data
@TableName("t_pre_emp_main")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "预入职-主表")
public class TPreEmpMain extends BaseEntity {
/**
* 主键
*/
@TableId(type = IdType.ASSIGN_ID)
@ExcelProperty("主键")
@Schema(description = "主键")
private String id;
/**
* 审核状态(0草稿;1待完善;2待审核;3审核不通过;4审核通过)
*/
@ExcelAttribute(name = "审核状态(0草稿;1待完善;2待审核;3审核不通过;4审核通过)", isNotEmpty = true, errorInfo = "审核状态(0草稿;1待完善;2待审核;3审核不通过;4审核通过)", maxLength = 1)
@NotBlank(message = "审核状态(0草稿;1待完善;2待审核;3审核不通过;4审核通过)不能为空")
@Length(max = 1, message = "审核状态(0草稿;1待完善;2待审核;3审核不通过;4审核通过)不能超过1个字符")
@ExcelProperty("审核状态(0草稿;1待完善;2待审核;3审核不通过;4审核通过)")
@Schema(description = "审核状态(0草稿;1待完善;2待审核;3审核不通过;4审核通过)")
private String status;
/**
* 员工ID
*/
@ExcelAttribute(name = "员工ID", maxLength = 32)
@Length(max = 32, message = "员工ID不能超过32个字符")
@ExcelProperty("员工ID")
@Schema(description = "员工ID")
private String empId;
/**
* 员工姓名
*/
@ExcelAttribute(name = "员工姓名", maxLength = 32)
@Length(max = 32, message = "员工姓名不能超过32个字符")
@ExcelProperty("员工姓名")
@Schema(description = "员工姓名")
private String empName;
/**
* 身份证号
*/
@ExcelAttribute(name = "身份证号", maxLength = 20)
@Length(max = 20, message = "身份证号不能超过20个字符")
@ExcelProperty("身份证号")
@Schema(description = "身份证号")
private String empIdcard;
/**
* 手机号码
*/
@ExcelAttribute(name = "手机号码", maxLength = 32)
@Length(max = 32, message = "手机号码不能超过32个字符")
@ExcelProperty("手机号码")
@Schema(description = "手机号码")
private String empPhone;
/**
* 微信名
*/
@ExcelAttribute(name = "微信名", maxLength = 32)
@Length(max = 32, message = "微信名不能超过32个字符")
@ExcelProperty("微信名")
@Schema(description = "微信名")
private String empWx;
/**
* 客户id
*/
@ExcelAttribute(name = "客户id", maxLength = 32)
@Length(max = 32, message = "客户id不能超过32个字符")
@ExcelProperty("客户id")
@Schema(description = "客户id")
private String unitId;
/**
* 客户名称
*/
@ExcelAttribute(name = "客户名称", maxLength = 50)
@Length(max = 50, message = "客户名称不能超过50个字符")
@ExcelProperty("客户名称")
@Schema(description = "客户名称")
private String unitName;
/**
* 客户编码
*/
@ExcelAttribute(name = "客户编码", maxLength = 32)
@Length(max = 32, message = "客户编码不能超过32个字符")
@ExcelProperty("客户编码")
@Schema(description = "客户编码")
private String unitNo;
/**
* 项目id
*/
@ExcelAttribute(name = "项目id", maxLength = 32)
@Length(max = 32, message = "项目id不能超过32个字符")
@ExcelProperty("项目id")
@Schema(description = "项目id")
private String deptId;
/**
* 项目名称
*/
@ExcelAttribute(name = "项目名称", maxLength = 50)
@Length(max = 50, message = "项目名称不能超过50个字符")
@ExcelProperty("项目名称")
@Schema(description = "项目名称")
private String deptName;
/**
* 项目编码
*/
@ExcelAttribute(name = "项目编码", isNotEmpty = true, errorInfo = "项目编码不能为空", maxLength = 30)
@NotBlank(message = "项目编码不能为空")
@Length(max = 30, message = "项目编码不能超过30个字符")
@ExcelProperty("项目编码")
@Schema(description = "项目编码")
private String deptNo;
/**
* 业务类型一级分类
*/
@ExcelAttribute(name = "业务类型一级分类", maxLength = 32)
@Length(max = 32, message = "业务类型一级分类不能超过32个字符")
@ExcelProperty("业务类型一级分类")
@Schema(description = "业务类型一级分类")
private String businessPrimaryType;
/**
* 业务类型二级分类
*/
@ExcelAttribute(name = "业务类型二级分类", maxLength = 32)
@Length(max = 32, message = "业务类型二级分类不能超过32个字符")
@ExcelProperty("业务类型二级分类")
@Schema(description = "业务类型二级分类")
private String businessSecondType;
/**
* 业务类型三级分类
*/
@ExcelAttribute(name = "业务类型三级分类", maxLength = 32)
@Length(max = 32, message = "业务类型三级分类不能超过32个字符")
@ExcelProperty("业务类型三级分类")
@Schema(description = "业务类型三级分类")
private String businessThirdType;
/**
* 员工类型(字典值,0外包1派遣2代理)
*/
@ExcelAttribute(name = "员工类型(字典值,0外包1派遣2代理)", isNotEmpty = true, errorInfo = "员工类型(字典值,0外包1派遣2代理)不能为空", maxLength = 2)
@NotBlank(message = "员工类型(字典值,0外包1派遣2代理)不能为空")
@Length(max = 2, message = "员工类型(字典值,0外包1派遣2代理)不能超过2个字符")
@ExcelProperty("员工类型(字典值,0外包1派遣2代理)")
@Schema(description = "员工类型(字典值,0外包1派遣2代理)")
private String empNatrue;
/**
* 审核人ID
*/
@ExcelAttribute(name = "审核人ID", maxLength = 32)
@Length(max = 32, message = "审核人ID不能超过32个字符")
@ExcelProperty("审核人ID")
@Schema(description = "审核人ID")
private String auditId;
/**
* 审核人姓名
*/
@ExcelAttribute(name = "审核人姓名", maxLength = 20)
@Length(max = 20, message = "审核人姓名不能超过20个字符")
@ExcelProperty("审核人姓名")
@Schema(description = "审核人姓名")
private String auditName;
/**
* 审核时间
*/
@ExcelAttribute(name = "审核时间", isDate = true)
@ExcelProperty("审核时间")
@Schema(description = "审核时间")
private Date auditTime;
/**
* 结算主体ID
*/
@ExcelAttribute(name = "结算主体ID", maxLength = 32)
@Length(max = 32, message = "结算主体ID不能超过32个字符")
@ExcelProperty("结算主体ID")
@Schema(description = "结算主体ID")
private String settleDomain;
}
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package com.yifu.cloud.plus.v1.yifu.archives.entity;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute;
import com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Length;
import javax.validation.constraints.NotBlank;
/**
* 预入职-员工职业资格信息表
*
* @author hgw
* @date 2024-06-17 11:24:01
*/
@Data
@TableName("t_pre_emp_professional_qualification")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "预入职-员工职业资格信息表")
public class TPreEmpProfessionalQualification extends BaseEntity {
/**
* 主键
*/
@TableId(type = IdType.ASSIGN_ID)
@ExcelProperty("主键")
@Schema(description = "主键")
private String id;
/**
* 预入职主表ID
*/
@ExcelAttribute(name = "预入职主表ID", isNotEmpty = true, errorInfo = "预入职主表ID不能为空", maxLength = 32)
@NotBlank(message = "预入职主表ID不能为空")
@Length(max = 32, message = "预入职主表ID不能超过32个字符")
@ExcelProperty("预入职主表ID")
@Schema(description = "预入职主表ID")
private String preMainId;
/**
* 员工主键
*/
@ExcelAttribute(name = "员工主键", isNotEmpty = true, errorInfo = "员工主键不能为空", maxLength = 32)
@NotBlank(message = "员工主键不能为空")
@Length(max = 32, message = "员工主键不能超过32个字符")
@ExcelProperty("员工主键")
@Schema(description = "员工主键")
private String empId;
/**
* 员工姓名
*/
@ExcelAttribute(name = "员工姓名", isNotEmpty = true, errorInfo = "员工姓名不能为空", maxLength = 32)
@NotBlank(message = "员工姓名不能为空")
@Length(max = 32, message = "员工姓名不能超过32个字符")
@ExcelProperty("员工姓名")
@Schema(description = "员工姓名")
private String empName;
/**
* 员工编码
*/
@ExcelAttribute(name = "员工编码", isNotEmpty = true, errorInfo = "员工编码不能为空", maxLength = 32)
@NotBlank(message = "员工编码不能为空")
@Length(max = 32, message = "员工编码不能超过32个字符")
@ExcelProperty("员工编码")
@Schema(description = "员工编码")
private String empCode;
/**
* 身份证号
*/
@ExcelAttribute(name = "身份证号", isNotEmpty = true, errorInfo = "身份证号不能为空", maxLength = 32)
@NotBlank(message = "身份证号不能为空")
@Length(max = 32, message = "身份证号不能超过32个字符")
@ExcelProperty("身份证号")
@Schema(description = "身份证号")
private String empIdcard;
/**
* 资格类型
*/
@ExcelAttribute(name = "资格类型", isNotEmpty = true, errorInfo = "资格类型不能为空", maxLength = 32)
@NotBlank(message = "资格类型不能为空")
@Length(max = 32, message = "资格类型不能超过32个字符")
@ExcelProperty("资格类型")
@Schema(description = "资格类型")
private String qualificationType;
/**
* 资格等级
*/
@ExcelAttribute(name = "资格等级", isNotEmpty = true, errorInfo = "资格等级不能为空", maxLength = 32)
@NotBlank(message = "资格等级不能为空")
@Length(max = 32, message = "资格等级不能超过32个字符")
@ExcelProperty("资格等级")
@Schema(description = "资格等级")
private String qualificationLevel;
/**
* 证书编号
*/
@ExcelAttribute(name = "证书编号", maxLength = 50)
@Length(max = 50, message = "证书编号不能超过50个字符")
@ExcelProperty("证书编号")
@Schema(description = "证书编号")
private String certificationNo;
/**
* 获取方式
*/
@ExcelAttribute(name = "获取方式", maxLength = 32)
@Length(max = 32, message = "获取方式不能超过32个字符")
@ExcelProperty("获取方式")
@Schema(description = "获取方式")
private String obtainType;
/**
* 评定机构
*/
@ExcelAttribute(name = "评定机构", maxLength = 50)
@Length(max = 50, message = "评定机构不能超过50个字符")
@ExcelProperty("评定机构")
@Schema(description = "评定机构")
private String assessmentUnit;
/**
* 申报年度
*/
@ExcelAttribute(name = "申报年度", maxLength = 32)
@Length(max = 32, message = "申报年度不能超过32个字符")
@ExcelProperty("申报年度")
@Schema(description = "申报年度")
private String declareYear;
/**
* 是否最高资格0是/1否
*/
@ExcelAttribute(name = "是否最高资格0是/1否", isNotEmpty = true, errorInfo = "是否最高资格0是/1否不能为空", maxLength = 1)
@NotBlank(message = "是否最高资格0是/1否不能为空")
@Length(max = 1, message = "是否最高资格0是/1否不能超过1个字符")
@ExcelProperty("是否最高资格0是/1否")
@Schema(description = "是否最高资格0是/1否")
private String heightIdentification;
/**
* 0删除作废1正常
*/
@ExcelAttribute(name = "0删除作废1正常", maxLength = 1)
@Length(max = 1, message = "0删除作废1正常不能超过1个字符")
@ExcelProperty("0删除作废1正常")
@Schema(description = "0删除作废1正常")
private String deleteFlag;
/**
* 结算主体ID
*/
@ExcelAttribute(name = "结算主体ID", maxLength = 32)
@Length(max = 32, message = "结算主体ID不能超过32个字符")
@ExcelProperty("结算主体ID")
@Schema(description = "结算主体ID")
private String settleDomain;
/**
* 备注
*/
@ExcelAttribute(name = "备注", maxLength = 200)
@Length(max = 200, message = "备注不能超过200个字符")
@ExcelProperty("备注")
@Schema(description = "备注")
private String remark;
}
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package com.yifu.cloud.plus.v1.yifu.archives.entity;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute;
import com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.hibernate.validator.constraints.Length;
import javax.validation.constraints.NotBlank;
import java.util.Date;
/**
* 预入职-员工工作履历信息表
*
* @author hgw
* @date 2024-06-17 11:24:01
*/
@Data
@TableName("t_pre_emp_work_recording")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "预入职-员工工作履历信息表")
public class TPreEmpWorkRecording extends BaseEntity {
/**
* 主键
*/
@TableId(type = IdType.ASSIGN_ID)
@ExcelProperty("主键")
@Schema(description = "主键")
private String id;
/**
* 预入职主表ID
*/
@ExcelAttribute(name = "预入职主表ID", isNotEmpty = true, errorInfo = "预入职主表ID不能为空", maxLength = 32)
@NotBlank(message = "预入职主表ID不能为空")
@Length(max = 32, message = "预入职主表ID不能超过32个字符")
@ExcelProperty("预入职主表ID")
@Schema(description = "预入职主表ID")
private String preMainId;
/**
* 员工ID
*/
@ExcelAttribute(name = "员工ID", isNotEmpty = true, errorInfo = "员工ID不能为空", maxLength = 32)
@NotBlank(message = "员工ID不能为空")
@Length(max = 32, message = "员工ID不能超过32个字符")
@ExcelProperty("员工ID")
@Schema(description = "员工ID")
private String empId;
/**
* 员工编码
*/
@ExcelAttribute(name = "员工编码", isNotEmpty = true, errorInfo = "员工编码不能为空", maxLength = 32)
@NotBlank(message = "员工编码不能为空")
@Length(max = 32, message = "员工编码不能超过32个字符")
@ExcelProperty("员工编码")
@Schema(description = "员工编码")
private String empCode;
/**
* 员工姓名
*/
@ExcelAttribute(name = "员工姓名", isNotEmpty = true, errorInfo = "员工姓名不能为空", maxLength = 32)
@NotBlank(message = "员工姓名不能为空")
@Length(max = 32, message = "员工姓名不能超过32个字符")
@ExcelProperty("员工姓名")
@Schema(description = "员工姓名")
private String empName;
/**
* 身份证号
*/
@ExcelAttribute(name = "身份证号", isNotEmpty = true, errorInfo = "身份证号不能为空", maxLength = 32)
@NotBlank(message = "身份证号不能为空")
@Length(max = 32, message = "身份证号不能超过32个字符")
@ExcelProperty("身份证号")
@Schema(description = "身份证号")
private String empIdcard;
/**
* 工作单位
*/
@ExcelAttribute(name = "工作单位", isNotEmpty = true, errorInfo = "工作单位不能为空", maxLength = 100)
@NotBlank(message = "工作单位不能为空")
@Length(max = 100, message = "工作单位不能超过100个字符")
@ExcelProperty("工作单位")
@Schema(description = "工作单位")
private String workUnit;
/**
* 工作部门
*/
@ExcelAttribute(name = "工作部门", isNotEmpty = true, errorInfo = "工作部门不能为空", maxLength = 100)
@NotBlank(message = "工作部门不能为空")
@Length(max = 100, message = "工作部门不能超过100个字符")
@ExcelProperty("工作部门")
@Schema(description = "工作部门")
private String workDepart;
/**
* 工作岗位
*/
@ExcelAttribute(name = "工作岗位", maxLength = 100)
@Length(max = 100, message = "工作岗位不能超过100个字符")
@ExcelProperty("工作岗位")
@Schema(description = "工作岗位")
private String workJob;
/**
* 开始工作日期
*/
@ExcelAttribute(name = "开始工作日期", isNotEmpty = true, errorInfo = "开始工作日期不能为空", isDate = true)
@NotBlank(message = "开始工作日期不能为空")
@ExcelProperty("开始工作日期")
@Schema(description = "开始工作日期")
private Date startDate;
/**
* 结束工作日期
*/
@ExcelAttribute(name = "结束工作日期", isDate = true)
@ExcelProperty("结束工作日期")
@Schema(description = "结束工作日期")
private Date endDate;
/**
* 在职状态0是/1否
*/
@ExcelAttribute(name = "在职状态0是/1否", maxLength = 32)
@Length(max = 32, message = "在职状态0是/1否不能超过32个字符")
@ExcelProperty("在职状态0是/1否")
@Schema(description = "在职状态0是/1否")
private String workingStatus;
/**
* 人员类型
*/
@ExcelAttribute(name = "人员类型", maxLength = 32)
@Length(max = 32, message = "人员类型不能超过32个字符")
@ExcelProperty("人员类型")
@Schema(description = "人员类型")
private String workingType;
/**
* 0删除作废1正常
*/
@ExcelAttribute(name = "0删除作废1正常", maxLength = 1)
@Length(max = 1, message = "0删除作废1正常不能超过1个字符")
@ExcelProperty("0删除作废1正常")
@Schema(description = "0删除作废1正常")
private String deleteFlag;
/**
* 结算主体ID
*/
@ExcelAttribute(name = "结算主体ID", maxLength = 32)
@Length(max = 32, message = "结算主体ID不能超过32个字符")
@ExcelProperty("结算主体ID")
@Schema(description = "结算主体ID")
private String settleDomain;
/**
* 备注
*/
@ExcelAttribute(name = "备注", maxLength = 200)
@Length(max = 200, message = "备注不能超过200个字符")
@ExcelProperty("备注")
@Schema(description = "备注")
private String remark;
}
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package com.yifu.cloud.plus.v1.yifu.archives.vo;
import com.yifu.cloud.plus.v1.yifu.archives.entity.*;
import lombok.Data;
import java.io.Serializable;
import java.util.List;
/**
* 预入职详情
*
* @author hgw
* @date 2024-6-17 16:43:37
*/
@Data
public class PreEmpMainDetailVo implements Serializable {
private static final long serialVersionUID = 1L;
// 主表
private TPreEmpMain main;
// 预入职-员工不良记录表
private List<TPreEmpBadRecord> tPreEmpBadRecord;
// 预入职-紧急联络人
private List<TPreEmpContactInfo> tPreEmpContactInfo;
// 预入职-员工申明
private TPreEmpDeclaration tPreEmpDeclaration;
// 预入职-员工伤残信息表
private List<TPreEmpDisabilityInfo> tPreEmpDisabilityInfo;
// 预入职-员工学历信息表
private List<TPreEmpEducation> tPreEmpEducation;
// 预入职-员工家庭信息表
private List<TPreEmpFamily> tPreEmpFamily;
// 预入职-人员档案表
private List<TPreEmployeeInfo> tPreEmployeeInfo;
// 预入职-项目档案表
private List<TPreEmployeeProject> tPreEmployeeProject;
// 预入职-员工职业资格信息表
private List<TPreEmpProfessionalQualification> tPreEmpProfessionalQualification;
// 预入职-员工工作履历信息表
private List<TPreEmpWorkRecording> tPreEmpWorkRecording;
// 预入职-附件 21(预入职申明签名);22(预入职确认签名);23(预入职pdf文件)
private List<TAttaInfo> attaInfoList;
}
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package com.yifu.cloud.plus.v1.yifu.archives.vo;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpMain;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.time.LocalDateTime;
/**
* 预入职-主表
*
* @author hgw
* @date 2024-06-17 11:31:08
*/
@Data
public class TPreEmpMainSearchVo extends TPreEmpMain {
/**
* 多选导出或删除等操作
*/
@Schema(description = "选中ID,多个逗号分割")
private String ids;
/**
* 创建时间区间 [开始时间,结束时间]
*/
@Schema(description = "创建时间区间")
private LocalDateTime[] createTimes;
/**
* @Author fxj
* 查询数据起
**/
@Schema(description = "查询limit 开始")
private int limitStart;
/**
* @Author fxj
* 查询数据止
**/
@Schema(description = "查询limit 数据条数")
private int limitEnd;
}
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package com.yifu.cloud.plus.v1.yifu.archives.vo;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute;
import com.yifu.cloud.plus.v1.yifu.common.core.vo.RowIndex;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.hibernate.validator.constraints.Length;
import javax.validation.constraints.NotBlank;
import java.io.Serializable;
import java.util.Date;
/**
* 预入职-主表
*
* @author hgw
* @date 2024-06-17 11:31:08
*/
@Data
public class TPreEmpMainVo extends RowIndex implements Serializable {
/**
* 主键
*/
@TableId(type = IdType.ASSIGN_ID)
@NotBlank(message = "主键 不能为空")
@Length(max = 32, message = "主键 不能超过32 个字符")
@ExcelAttribute(name = "主键", isNotEmpty = true, errorInfo = "主键 不能为空", maxLength = 32)
@Schema(description = "主键")
@ExcelProperty("主键")
private String id;
/**
* 审核状态(0待完善;1待审核;2审核通过;3审核不通过)
*/
@NotBlank(message = "审核状态(0待完善;1待审核;2审核通过;3审核不通过) 不能为空")
@Length(max = 1, message = "审核状态(0待完善;1待审核;2审核通过;3审核不通过) 不能超过1 个字符")
@ExcelAttribute(name = "审核状态(0待完善;1待审核;2审核通过;3审核不通过)", isNotEmpty = true, errorInfo = "审核状态(0待完善;1待审核;2审核通过;3审核不通过) 不能为空", maxLength = 1)
@Schema(description = "审核状态(0待完善;1待审核;2审核通过;3审核不通过)")
@ExcelProperty("审核状态(0待完善;1待审核;2审核通过;3审核不通过)")
private String status;
/**
* 员工ID
*/
@Length(max = 32, message = "员工ID 不能超过32 个字符")
@ExcelAttribute(name = "员工ID", maxLength = 32)
@Schema(description = "员工ID")
@ExcelProperty("员工ID")
private String empId;
/**
* 员工姓名
*/
@Length(max = 32, message = "员工姓名 不能超过32 个字符")
@ExcelAttribute(name = "员工姓名", maxLength = 32)
@Schema(description = "员工姓名")
@ExcelProperty("员工姓名")
private String empName;
/**
* 身份证号
*/
@Length(max = 20, message = "身份证号 不能超过20 个字符")
@ExcelAttribute(name = "身份证号", maxLength = 20)
@Schema(description = "身份证号")
@ExcelProperty("身份证号")
private String empIdcard;
/**
* 手机号码
*/
@Length(max = 32, message = "手机号码 不能超过32 个字符")
@ExcelAttribute(name = "手机号码", maxLength = 32)
@Schema(description = "手机号码")
@ExcelProperty("手机号码")
private String empPhone;
/**
* 微信名
*/
@Length(max = 32, message = "微信名 不能超过32 个字符")
@ExcelAttribute(name = "微信名", maxLength = 32)
@Schema(description = "微信名")
@ExcelProperty("微信名")
private String empWx;
/**
* 客户id
*/
@Length(max = 32, message = "客户id 不能超过32 个字符")
@ExcelAttribute(name = "客户id", maxLength = 32)
@Schema(description = "客户id")
@ExcelProperty("客户id")
private String unitId;
/**
* 客户名称
*/
@Length(max = 50, message = "客户名称 不能超过50 个字符")
@ExcelAttribute(name = "客户名称", maxLength = 50)
@Schema(description = "客户名称")
@ExcelProperty("客户名称")
private String unitName;
/**
* 客户编码
*/
@Length(max = 32, message = "客户编码 不能超过32 个字符")
@ExcelAttribute(name = "客户编码", maxLength = 32)
@Schema(description = "客户编码")
@ExcelProperty("客户编码")
private String unitNo;
/**
* 项目id
*/
@Length(max = 32, message = "项目id 不能超过32 个字符")
@ExcelAttribute(name = "项目id", maxLength = 32)
@Schema(description = "项目id")
@ExcelProperty("项目id")
private String deptId;
/**
* 项目名称
*/
@Length(max = 50, message = "项目名称 不能超过50 个字符")
@ExcelAttribute(name = "项目名称", maxLength = 50)
@Schema(description = "项目名称")
@ExcelProperty("项目名称")
private String deptName;
/**
* 项目编码
*/
@NotBlank(message = "项目编码 不能为空")
@Length(max = 30, message = "项目编码 不能超过30 个字符")
@ExcelAttribute(name = "项目编码", isNotEmpty = true, errorInfo = "项目编码 不能为空", maxLength = 30)
@Schema(description = "项目编码")
@ExcelProperty("项目编码")
private String deptNo;
/**
* 业务类型一级分类
*/
@Length(max = 32, message = "业务类型一级分类 不能超过32 个字符")
@ExcelAttribute(name = "业务类型一级分类", maxLength = 32)
@Schema(description = "业务类型一级分类")
@ExcelProperty("业务类型一级分类")
private String businessPrimaryType;
/**
* 业务类型二级分类
*/
@Length(max = 32, message = "业务类型二级分类 不能超过32 个字符")
@ExcelAttribute(name = "业务类型二级分类", maxLength = 32)
@Schema(description = "业务类型二级分类")
@ExcelProperty("业务类型二级分类")
private String businessSecondType;
/**
* 业务类型三级分类
*/
@Length(max = 32, message = "业务类型三级分类 不能超过32 个字符")
@ExcelAttribute(name = "业务类型三级分类", maxLength = 32)
@Schema(description = "业务类型三级分类")
@ExcelProperty("业务类型三级分类")
private String businessThirdType;
/**
* 员工类型(字典值,0外包1派遣2代理)
*/
@NotBlank(message = "员工类型(字典值,0外包1派遣2代理) 不能为空")
@Length(max = 2, message = "员工类型(字典值,0外包1派遣2代理) 不能超过2 个字符")
@ExcelAttribute(name = "员工类型(字典值,0外包1派遣2代理)", isNotEmpty = true, errorInfo = "员工类型(字典值,0外包1派遣2代理) 不能为空", maxLength = 2)
@Schema(description = "员工类型(字典值,0外包1派遣2代理)")
@ExcelProperty("员工类型(字典值,0外包1派遣2代理)")
private String empNatrue;
/**
* 审核人ID
*/
@Length(max = 32, message = "审核人ID 不能超过32 个字符")
@ExcelAttribute(name = "审核人ID", maxLength = 32)
@Schema(description = "审核人ID")
@ExcelProperty("审核人ID")
private String auditId;
/**
* 审核人姓名
*/
@Length(max = 20, message = "审核人姓名 不能超过20 个字符")
@ExcelAttribute(name = "审核人姓名", maxLength = 20)
@Schema(description = "审核人姓名")
@ExcelProperty("审核人姓名")
private String auditName;
/**
* 审核时间
*/
@ExcelAttribute(name = "审核时间", isDate = true)
@Schema(description = "审核时间")
@ExcelProperty("审核时间")
private Date auditTime;
/**
* 创建者
*/
@Length(max = 64, message = "创建者 不能超过64 个字符")
@ExcelAttribute(name = "创建者", maxLength = 64)
@Schema(description = "创建者")
@ExcelProperty("创建者")
private String createBy;
/**
* 更新人
*/
@Length(max = 64, message = "更新人 不能超过64 个字符")
@ExcelAttribute(name = "更新人", maxLength = 64)
@Schema(description = "更新人")
@ExcelProperty("更新人")
private String updateBy;
/**
* 创建人姓名
*/
@Length(max = 32, message = "创建人姓名 不能超过32 个字符")
@ExcelAttribute(name = "创建人姓名", maxLength = 32)
@Schema(description = "创建人姓名")
@ExcelProperty("创建人姓名")
private String createName;
/**
* 创建时间
*/
@ExcelAttribute(name = "创建时间", isDate = true)
@Schema(description = "创建时间")
@ExcelProperty("创建时间")
private Date createTime;
/**
* 更新时间
*/
@ExcelAttribute(name = "更新时间", isDate = true)
@Schema(description = "更新时间")
@ExcelProperty("更新时间")
private Date updateTime;
/**
* 结算主体ID
*/
@Length(max = 32, message = "结算主体ID 不能超过32 个字符")
@ExcelAttribute(name = "结算主体ID", maxLength = 32)
@Schema(description = "结算主体ID")
@ExcelProperty("结算主体ID")
private String settleDomain;
}
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package com.yifu.cloud.plus.v1.yifu.archives.controller;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpMain;
import com.yifu.cloud.plus.v1.yifu.archives.service.TPreEmpMainService;
import com.yifu.cloud.plus.v1.yifu.archives.vo.PreEmpMainDetailVo;
import com.yifu.cloud.plus.v1.yifu.archives.vo.TPreEmpMainSearchVo;
import com.yifu.cloud.plus.v1.yifu.common.core.util.ErrorMessage;
import com.yifu.cloud.plus.v1.yifu.common.core.util.R;
import com.yifu.cloud.plus.v1.yifu.common.core.vo.YifuUser;
import com.yifu.cloud.plus.v1.yifu.common.dapr.util.MenuUtil;
import com.yifu.cloud.plus.v1.yifu.common.log.annotation.SysLog;
import com.yifu.cloud.plus.v1.yifu.common.security.util.SecurityUtils;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.RequiredArgsConstructor;
import lombok.SneakyThrows;
import org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.multipart.MultipartFile;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
/**
* 预入职-主表
*
* @author hgw
* @date 2024-06-17 11:31:08
*/
@RestController
@RequiredArgsConstructor
@RequestMapping("/tpreempmain")
@Tag(name = "预入职-主表管理")
public class TPreEmpMainController {
private final TPreEmpMainService tPreEmpMainService;
private final MenuUtil menuUtil;
/**
* 简单分页查询
*
* @param page 分页对象
* @param tPreEmpMain 预入职-主表
* @return
*/
@Operation(description = "简单分页查询")
@GetMapping("/page")
public R<IPage<TPreEmpMain>> getTPreEmpMainPage(Page<TPreEmpMain> page, TPreEmpMainSearchVo tPreEmpMain) {
YifuUser user = SecurityUtils.getUser();
menuUtil.setAuthSql(user, tPreEmpMain);
return new R<>(tPreEmpMainService.getTPreEmpMainPage(page, tPreEmpMain));
}
/**
* 不分页查询
*
* @param tPreEmpMain 预入职-主表
* @return
*/
@Operation(summary = "不分页查询", description = "不分页查询")
@PostMapping("/noPage")
//@PreAuthorize("@pms.hasPermission('archives_tpreempmain_get')" )
public R<List<TPreEmpMain>> getTPreEmpMainNoPage(@RequestBody TPreEmpMainSearchVo tPreEmpMain) {
return R.ok(tPreEmpMainService.noPageDiy(tPreEmpMain));
}
/**
* 通过id查询预入职-主表
*
* @param id id
* @return R
*/
@Operation(summary = "通过id查询", description = "通过id查询:hasPermission('archives_tpreempmain_get')")
@GetMapping("/{id}")
@PreAuthorize("@pms.hasPermission('archives_tpreempmain_get')")
public R<PreEmpMainDetailVo> getById(@PathVariable("id") String id) {
return tPreEmpMainService.getInfoById(id);
}
/**
* 草稿预入职
* hgw
* 2024-6-17 17:39:15
*/
@Operation(summary = "草稿预入职", description = "草稿预入职:hasPermission('archives_tpreempmain_draft')")
@SysLog("草稿预入职")
@PostMapping("/saveDraftPreEmpMain")
@PreAuthorize("@pms.hasPermission('archives_tpreempmain_draft')")
public R<String> saveDraftPreEmpMain(@RequestBody PreEmpMainDetailVo vo) {
return tPreEmpMainService.saveDraftPreEmpMain(vo);
}
/**
* 保存预入职
* hgw
* 2024-6-17 17:39:15
*/
@Operation(summary = "保存预入职", description = "保存预入职:hasPermission('archives_tpreempmain_add')")
@SysLog("保存预入职")
@PostMapping("/savePreEmpMain")
@PreAuthorize("@pms.hasPermission('archives_tpreempmain_add')")
public R<String> savePreEmpMain(@RequestBody PreEmpMainDetailVo vo) {
return tPreEmpMainService.savePreEmpMain(vo);
}
/**
* 修改预入职-主表
*
* @param tPreEmpMain 预入职-主表
* @return R
*/
@Operation(summary = "修改预入职-主表", description = "修改预入职-主表:hasPermission('archives_tpreempmain_edit')")
@SysLog("修改预入职-主表")
@PutMapping
@PreAuthorize("@pms.hasPermission('archives_tpreempmain_edit')")
public R<Boolean> updateById(@RequestBody TPreEmpMain tPreEmpMain) {
return R.ok(tPreEmpMainService.updateById(tPreEmpMain));
}
/**
* 通过id删除预入职-主表
*
* @param id id
* @return R
*/
@Operation(summary = "通过id删除预入职-主表", description = "通过id删除预入职-主表:hasPermission('archives_tpreempmain_del')")
@SysLog("通过id删除预入职-主表")
@DeleteMapping("/{id}")
@PreAuthorize("@pms.hasPermission('archives_tpreempmain_del')")
public R<Boolean> removeById(@PathVariable String id) {
return R.ok(tPreEmpMainService.removeById(id));
}
/**
* 预入职-主表 批量导入
*
* @author hgw
* @date 2024-06-17 11:31:08
**/
@SneakyThrows
@Operation(description = "批量新增预入职-主表 hasPermission('archives_tpreempmain-batch-import')")
@SysLog("批量新增预入职-主表")
@PostMapping("/importListAdd")
@PreAuthorize("@pms.hasPermission('archives_tpreempmain-batch-import')")
public R<List<ErrorMessage>> importListAdd(@RequestBody MultipartFile file) {
return tPreEmpMainService.importDiy(file.getInputStream());
}
/**
* 预入职-主表 批量导出
*
* @author hgw
* @date 2024-06-17 11:31:08
**/
@Operation(description = "导出预入职-主表 hasPermission('archives_tpreempmain-export')")
@PostMapping("/export")
@PreAuthorize("@pms.hasPermission('archives_tpreempmain-export')")
public void export(HttpServletResponse response, @RequestBody TPreEmpMainSearchVo searchVo) {
tPreEmpMainService.listExport(response, searchVo);
}
}
......@@ -36,6 +36,8 @@ public interface TAttaInfoMapper extends BaseMapper<TAttaInfo> {
**/
List<TAttaInfo> getTAttaInfoList(@Param("tAttaInfo") TAttaInfo tAttaInfo);
List<TAttaInfo> getTAttaInfoListByDoMainId(@Param("domainId") String domainId);
List<TAttaInfo> getKeenAtta(@Param("dayStart")LocalDateTime dayStart, @Param("values")Collection<String> values);
int updateDomainId(@Param("domainId")String domainId, @Param("ids")List<String> ids);
......
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package com.yifu.cloud.plus.v1.yifu.archives.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpBadRecord;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* 预入职-员工不良记录表
*
* @author hgw
* @date 2024-06-17 11:31:08
*/
@Mapper
public interface TPreEmpBadRecordMapper extends BaseMapper<TPreEmpBadRecord> {
/**
* 预入职-员工不良记录表简单分页查询
* @param tPreEmpBadRecord 预入职-员工不良记录表
* @return
*/
List<TPreEmpBadRecord> getTPreEmpBadRecordList(@Param("preMainId") String preMainId);
}
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package com.yifu.cloud.plus.v1.yifu.archives.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpContactInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* 预入职-紧急联络人
*
* @author hgw
* @date 2024-06-17 11:24:01
*/
@Mapper
public interface TPreEmpContactInfoMapper extends BaseMapper<TPreEmpContactInfo> {
/**
* 预入职-紧急联络人简单分页查询
*
* @param tPreEmpContactInfo 预入职-紧急联络人
* @return
*/
List<TPreEmpContactInfo> getTPreEmpContactInfoList(@Param("preMainId") String preMainId);
}
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package com.yifu.cloud.plus.v1.yifu.archives.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpDeclaration;
import org.apache.ibatis.annotations.Mapper;
/**
* 预入职-员工申明
*
* @author hgw
* @date 2024-06-17 11:24:00
*/
@Mapper
public interface TPreEmpDeclarationMapper extends BaseMapper<TPreEmpDeclaration> {
/**
* 预入职-员工申明简单分页查询
*
* @return
*/
TPreEmpDeclaration getTPreEmpDeclarationList();
}
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package com.yifu.cloud.plus.v1.yifu.archives.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpDisabilityInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* 预入职-员工伤残信息表
*
* @author hgw
* @date 2024-06-17 11:24:01
*/
@Mapper
public interface TPreEmpDisabilityInfoMapper extends BaseMapper<TPreEmpDisabilityInfo> {
/**
* 预入职-员工伤残信息表简单分页查询
*
* @param tPreEmpDisabilityInfo 预入职-员工伤残信息表
* @return
*/
List<TPreEmpDisabilityInfo> getTPreEmpDisabilityInfoList(@Param("preMainId") String preMainId);
}
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package com.yifu.cloud.plus.v1.yifu.archives.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpEducation;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* 预入职-员工学历信息表
*
* @author hgw
* @date 2024-06-17 11:24:01
*/
@Mapper
public interface TPreEmpEducationMapper extends BaseMapper<TPreEmpEducation> {
/**
* 预入职-员工学历信息表简单分页查询
*
* @param tPreEmpEducation 预入职-员工学历信息表
* @return
*/
List<TPreEmpEducation> getTPreEmpEducationList(@Param("preMainId") String preMainId);
}
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package com.yifu.cloud.plus.v1.yifu.archives.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpFamily;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* 预入职-员工家庭信息表
*
* @author hgw
* @date 2024-06-17 11:24:01
*/
@Mapper
public interface TPreEmpFamilyMapper extends BaseMapper<TPreEmpFamily> {
/**
* 预入职-员工家庭信息表简单分页查询
*
* @param tPreEmpFamily 预入职-员工家庭信息表
* @return
*/
List<TPreEmpFamily> getTPreEmpFamilyList(@Param("preMainId") String preMainId);
}
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package com.yifu.cloud.plus.v1.yifu.archives.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpMain;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
/**
* 预入职-主表
*
* @author hgw
* @date 2024-06-17 11:31:08
*/
@Mapper
public interface TPreEmpMainMapper extends BaseMapper<TPreEmpMain> {
/**
* 预入职-主表简单分页查询
*
* @param tPreEmpMain 预入职-主表
* @return
*/
IPage<TPreEmpMain> getTPreEmpMainPage(Page<TPreEmpMain> page, @Param("tPreEmpMain") TPreEmpMain tPreEmpMain);
}
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package com.yifu.cloud.plus.v1.yifu.archives.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpProfessionalQualification;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* 预入职-员工职业资格信息表
*
* @author hgw
* @date 2024-06-17 11:24:01
*/
@Mapper
public interface TPreEmpProfessionalQualificationMapper extends BaseMapper<TPreEmpProfessionalQualification> {
/**
* 预入职-员工职业资格信息表简单分页查询
*
* @param tPreEmpProfessionalQualification 预入职-员工职业资格信息表
* @return
*/
List<TPreEmpProfessionalQualification> getTPreEmpProfessionalQualificationList(@Param("preMainId") String preMainId);
}
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package com.yifu.cloud.plus.v1.yifu.archives.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpWorkRecording;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* 预入职-员工工作履历信息表
*
* @author hgw
* @date 2024-06-17 11:24:01
*/
@Mapper
public interface TPreEmpWorkRecordingMapper extends BaseMapper<TPreEmpWorkRecording> {
/**
* 预入职-员工工作履历信息表简单分页查询
*
* @param tPreEmpWorkRecording 预入职-员工工作履历信息表
* @return
*/
List<TPreEmpWorkRecording> getTPreEmpWorkRecordingList(@Param("preMainId") String preMainId);
}
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package com.yifu.cloud.plus.v1.yifu.archives.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmployeeInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* 预入职-人员档案表
*
* @author hgw
* @date 2024-06-17 11:24:01
*/
@Mapper
public interface TPreEmployeeInfoMapper extends BaseMapper<TPreEmployeeInfo> {
/**
* 预入职-人员档案表简单分页查询
*
* @param tPreEmployeeInfo 预入职-人员档案表
* @return
*/
List<TPreEmployeeInfo> getTPreEmployeeInfoList(@Param("preMainId") String preMainId);
}
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package com.yifu.cloud.plus.v1.yifu.archives.mapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmployeeProject;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* 预入职-项目档案表
*
* @author hgw
* @date 2024-06-17 11:24:01
*/
@Mapper
public interface TPreEmployeeProjectMapper extends BaseMapper<TPreEmployeeProject> {
/**
* 预入职-项目档案表简单分页查询
*
* @param tPreEmployeeProject 预入职-项目档案表
* @return
*/
List<TPreEmployeeProject> getTPreEmployeeProjectList(@Param("preMainId") String preMainId);
}
......@@ -35,6 +35,14 @@ public interface TAttaInfoService extends IService<TAttaInfo> {
* @return
**/
List<TAttaInfo> getTAttaInfoList(TAttaInfo tAttaInfo);
/**
* @param domainId 关联id
* @Description: 根据domainId获取附件
* @Author: hgw
* @Date: 2024/6/17 18:23
* @return: java.util.List<com.yifu.cloud.plus.v1.yifu.archives.entity.TAttaInfo>
**/
List<TAttaInfo> getTAttaInfoListByDoMainId(String domainId);
TAttaInfo add(TAttaInfo attaInfo);
......
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package com.yifu.cloud.plus.v1.yifu.archives.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpBadRecord;
import java.util.List;
/**
* 预入职-员工不良记录表
*
* @author hgw
* @date 2024-06-17 11:31:08
*/
public interface TPreEmpBadRecordService extends IService<TPreEmpBadRecord> {
/**
* 预入职-员工不良记录表简单分页查询
*
* @return
*/
List<TPreEmpBadRecord> getTPreEmpBadRecordList(String preMainId);
}
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package com.yifu.cloud.plus.v1.yifu.archives.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpContactInfo;
import java.util.List;
/**
* 预入职-紧急联络人
*
* @author hgw
* @date 2024-06-17 11:24:01
*/
public interface TPreEmpContactInfoService extends IService<TPreEmpContactInfo> {
/**
* 预入职-紧急联络人简单分页查询
*
* @return
*/
List<TPreEmpContactInfo> getTPreEmpContactInfoList(String preMainId);
}
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package com.yifu.cloud.plus.v1.yifu.archives.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpDeclaration;
/**
* 预入职-员工申明
*
* @author hgw
* @date 2024-06-17 11:24:00
*/
public interface TPreEmpDeclarationService extends IService<TPreEmpDeclaration> {
/**
* 预入职-员工申明简单分页查询
*
* @return
*/
TPreEmpDeclaration getTPreEmpDeclarationList();
}
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package com.yifu.cloud.plus.v1.yifu.archives.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpDisabilityInfo;
import java.util.List;
/**
* 预入职-员工伤残信息表
*
* @author hgw
* @date 2024-06-17 11:24:01
*/
public interface TPreEmpDisabilityInfoService extends IService<TPreEmpDisabilityInfo> {
/**
* 预入职-员工伤残信息表简单分页查询
*
* @return
*/
List<TPreEmpDisabilityInfo> getTPreEmpDisabilityInfoList(String preMainId);
}
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package com.yifu.cloud.plus.v1.yifu.archives.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpEducation;
import java.util.List;
/**
* 预入职-员工学历信息表
*
* @author hgw
* @date 2024-06-17 11:24:01
*/
public interface TPreEmpEducationService extends IService<TPreEmpEducation> {
/**
* 预入职-员工学历信息表简单分页查询
*
* @return
*/
List<TPreEmpEducation> getTPreEmpEducationList(String preMainId);
}
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package com.yifu.cloud.plus.v1.yifu.archives.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpFamily;
import java.util.List;
/**
* 预入职-员工家庭信息表
*
* @author hgw
* @date 2024-06-17 11:24:01
*/
public interface TPreEmpFamilyService extends IService<TPreEmpFamily> {
/**
* 预入职-员工家庭信息表简单分页查询
*
* @return
*/
List<TPreEmpFamily> getTPreEmpFamilyList(String preMainId);
}
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package com.yifu.cloud.plus.v1.yifu.archives.service;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpMain;
import com.yifu.cloud.plus.v1.yifu.archives.vo.PreEmpMainDetailVo;
import com.yifu.cloud.plus.v1.yifu.archives.vo.TPreEmpMainSearchVo;
import com.yifu.cloud.plus.v1.yifu.common.core.util.ErrorMessage;
import com.yifu.cloud.plus.v1.yifu.common.core.util.R;
import javax.servlet.http.HttpServletResponse;
import java.io.InputStream;
import java.util.List;
/**
* 预入职-主表
*
* @author hgw
* @date 2024-06-17 11:31:08
*/
public interface TPreEmpMainService extends IService<TPreEmpMain> {
/**
* 预入职-主表简单分页查询
*
* @param tPreEmpMain 预入职-主表
* @return
*/
IPage<TPreEmpMain> getTPreEmpMainPage(Page<TPreEmpMain> page, TPreEmpMainSearchVo tPreEmpMain);
/**
* @Description: 详情
* @Author: hgw
* @Date: 2024/6/17 16:41
* @return: com.yifu.cloud.plus.v1.yifu.common.core.util.R<com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpMain>
**/
R<PreEmpMainDetailVo> getInfoById(String id);
// 草稿
R<String> saveDraftPreEmpMain(PreEmpMainDetailVo vo);
// 保存
R<String> savePreEmpMain(PreEmpMainDetailVo vo);
R<List<ErrorMessage>> importDiy(InputStream inputStream);
void listExport(HttpServletResponse response, TPreEmpMainSearchVo searchVo);
List<TPreEmpMain> noPageDiy(TPreEmpMainSearchVo searchVo);
}
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package com.yifu.cloud.plus.v1.yifu.archives.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpProfessionalQualification;
import java.util.List;
/**
* 预入职-员工职业资格信息表
*
* @author hgw
* @date 2024-06-17 11:24:01
*/
public interface TPreEmpProfessionalQualificationService extends IService<TPreEmpProfessionalQualification> {
/**
* 预入职-员工职业资格信息表简单分页查询
*
* @return
*/
List<TPreEmpProfessionalQualification> getTPreEmpProfessionalQualificationList(String preMainId);
}
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package com.yifu.cloud.plus.v1.yifu.archives.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpWorkRecording;
import java.util.List;
/**
* 预入职-员工工作履历信息表
*
* @author hgw
* @date 2024-06-17 11:24:01
*/
public interface TPreEmpWorkRecordingService extends IService<TPreEmpWorkRecording> {
/**
* 预入职-员工工作履历信息表简单分页查询
*
* @return
*/
List<TPreEmpWorkRecording> getTPreEmpWorkRecordingList(String preMainId);
}
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package com.yifu.cloud.plus.v1.yifu.archives.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmployeeInfo;
import java.util.List;
/**
* 预入职-人员档案表
*
* @author hgw
* @date 2024-06-17 11:24:01
*/
public interface TPreEmployeeInfoService extends IService<TPreEmployeeInfo> {
/**
* 预入职-人员档案表简单分页查询
*
* @return
*/
List<TPreEmployeeInfo> getTPreEmployeeInfoList(String preMainId);
}
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package com.yifu.cloud.plus.v1.yifu.archives.service;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmployeeProject;
import java.util.List;
/**
* 预入职-项目档案表
*
* @author hgw
* @date 2024-06-17 11:24:01
*/
public interface TPreEmployeeProjectService extends IService<TPreEmployeeProject> {
/**
* 预入职-项目档案表简单分页查询
*
* @return
*/
List<TPreEmployeeProject> getTPreEmployeeProjectList(String preMainId);
}
......@@ -51,6 +51,10 @@ public class TAttaInfoServiceImpl extends ServiceImpl<TAttaInfoMapper, TAttaInfo
public List<TAttaInfo> getTAttaInfoList(TAttaInfo tAttaInfo) {
return baseMapper.getTAttaInfoList(tAttaInfo);
}
@Override
public List<TAttaInfo> getTAttaInfoListByDoMainId(String domainId) {
return baseMapper.getTAttaInfoListByDoMainId(domainId);
}
@Override
public TAttaInfo add(TAttaInfo attaInfo) {
......
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package com.yifu.cloud.plus.v1.yifu.archives.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpBadRecord;
import com.yifu.cloud.plus.v1.yifu.archives.mapper.TPreEmpBadRecordMapper;
import com.yifu.cloud.plus.v1.yifu.archives.service.TPreEmpBadRecordService;
import lombok.extern.log4j.Log4j2;
import org.springframework.stereotype.Service;
import java.util.List;
/**
* 预入职-员工不良记录表
*
* @author hgw
* @date 2024-06-17 11:31:08
*/
@Log4j2
@Service
public class TPreEmpBadRecordServiceImpl extends ServiceImpl<TPreEmpBadRecordMapper, TPreEmpBadRecord> implements TPreEmpBadRecordService {
/**
* 预入职-员工不良记录表简单分页查询
*
* @return
*/
@Override
public List<TPreEmpBadRecord> getTPreEmpBadRecordList(String preMainId) {
return baseMapper.getTPreEmpBadRecordList(preMainId);
}
}
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package com.yifu.cloud.plus.v1.yifu.archives.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpContactInfo;
import com.yifu.cloud.plus.v1.yifu.archives.mapper.TPreEmpContactInfoMapper;
import com.yifu.cloud.plus.v1.yifu.archives.service.TPreEmpContactInfoService;
import lombok.extern.log4j.Log4j2;
import org.springframework.stereotype.Service;
import java.util.List;
/**
* 预入职-紧急联络人
*
* @author hgw
* @date 2024-06-17 11:24:01
*/
@Log4j2
@Service
public class TPreEmpContactInfoServiceImpl extends ServiceImpl<TPreEmpContactInfoMapper, TPreEmpContactInfo> implements TPreEmpContactInfoService {
/**
* 预入职-紧急联络人简单分页查询
*
* @return
*/
@Override
public List<TPreEmpContactInfo> getTPreEmpContactInfoList(String preMainId) {
return baseMapper.getTPreEmpContactInfoList(preMainId);
}
}
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package com.yifu.cloud.plus.v1.yifu.archives.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpDeclaration;
import com.yifu.cloud.plus.v1.yifu.archives.mapper.TPreEmpDeclarationMapper;
import com.yifu.cloud.plus.v1.yifu.archives.service.TPreEmpDeclarationService;
import lombok.extern.log4j.Log4j2;
import org.springframework.stereotype.Service;
/**
* 预入职-员工申明
*
* @author hgw
* @date 2024-06-17 11:24:00
*/
@Log4j2
@Service
public class TPreEmpDeclarationServiceImpl extends ServiceImpl<TPreEmpDeclarationMapper, TPreEmpDeclaration> implements TPreEmpDeclarationService {
/**
* 预入职-员工申明简单分页查询
*
* @return
*/
@Override
public TPreEmpDeclaration getTPreEmpDeclarationList() {
return baseMapper.getTPreEmpDeclarationList();
}
}
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package com.yifu.cloud.plus.v1.yifu.archives.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpDisabilityInfo;
import com.yifu.cloud.plus.v1.yifu.archives.mapper.TPreEmpDisabilityInfoMapper;
import com.yifu.cloud.plus.v1.yifu.archives.service.TPreEmpDisabilityInfoService;
import lombok.extern.log4j.Log4j2;
import org.springframework.stereotype.Service;
import com.yifu.cloud.plus.v1.yifu.common.core.util.ErrorMessage;
import com.yifu.cloud.plus.v1.yifu.common.core.util.R;
import javax.servlet.http.HttpServletResponse;
import java.io.InputStream;
import java.util.List;
import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.util.ArrayUtil;
import com.alibaba.excel.EasyExcel;
import com.alibaba.excel.ExcelWriter;
import com.alibaba.excel.context.AnalysisContext;
import com.alibaba.excel.read.listener.ReadListener;
import com.alibaba.excel.read.metadata.holder.ReadRowHolder;
import com.alibaba.excel.util.ListUtils;
import com.alibaba.excel.write.metadata.WriteSheet;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yifu.cloud.plus.v1.yifu.common.core.constant.CommonConstants;
import com.yifu.cloud.plus.v1.yifu.common.core.util.*;
import com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity;
import javax.servlet.ServletOutputStream;
import java.io.IOException;
import java.net.URLEncoder;
import java.util.ArrayList;
import java.util.List;
/**
* 预入职-员工伤残信息表
*
* @author hgw
* @date 2024-06-17 11:24:01
*/
@Log4j2
@Service
public class TPreEmpDisabilityInfoServiceImpl extends ServiceImpl<TPreEmpDisabilityInfoMapper, TPreEmpDisabilityInfo> implements TPreEmpDisabilityInfoService {
/**
* 预入职-员工伤残信息表简单分页查询
* @return
*/
@Override
public List<TPreEmpDisabilityInfo> getTPreEmpDisabilityInfoList(String preMainId){
return baseMapper.getTPreEmpDisabilityInfoList(preMainId);
}
}
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package com.yifu.cloud.plus.v1.yifu.archives.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpEducation;
import com.yifu.cloud.plus.v1.yifu.archives.mapper.TPreEmpEducationMapper;
import com.yifu.cloud.plus.v1.yifu.archives.service.TPreEmpEducationService;
import lombok.extern.log4j.Log4j2;
import org.springframework.stereotype.Service;
import com.yifu.cloud.plus.v1.yifu.common.core.util.ErrorMessage;
import com.yifu.cloud.plus.v1.yifu.common.core.util.R;
import javax.servlet.http.HttpServletResponse;
import java.io.InputStream;
import java.util.List;
import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.util.ArrayUtil;
import com.alibaba.excel.EasyExcel;
import com.alibaba.excel.ExcelWriter;
import com.alibaba.excel.context.AnalysisContext;
import com.alibaba.excel.read.listener.ReadListener;
import com.alibaba.excel.read.metadata.holder.ReadRowHolder;
import com.alibaba.excel.util.ListUtils;
import com.alibaba.excel.write.metadata.WriteSheet;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yifu.cloud.plus.v1.yifu.common.core.constant.CommonConstants;
import com.yifu.cloud.plus.v1.yifu.common.core.util.*;
import com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity;
import javax.servlet.ServletOutputStream;
import java.io.IOException;
import java.net.URLEncoder;
import java.util.ArrayList;
import java.util.List;
/**
* 预入职-员工学历信息表
*
* @author hgw
* @date 2024-06-17 11:24:01
*/
@Log4j2
@Service
public class TPreEmpEducationServiceImpl extends ServiceImpl<TPreEmpEducationMapper, TPreEmpEducation> implements TPreEmpEducationService {
/**
* 预入职-员工学历信息表简单分页查询
* @return
*/
@Override
public List<TPreEmpEducation> getTPreEmpEducationList(String preMainId){
return baseMapper.getTPreEmpEducationList(preMainId);
}
}
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package com.yifu.cloud.plus.v1.yifu.archives.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpFamily;
import com.yifu.cloud.plus.v1.yifu.archives.mapper.TPreEmpFamilyMapper;
import com.yifu.cloud.plus.v1.yifu.archives.service.TPreEmpFamilyService;
import lombok.extern.log4j.Log4j2;
import org.springframework.stereotype.Service;
import com.yifu.cloud.plus.v1.yifu.common.core.util.ErrorMessage;
import com.yifu.cloud.plus.v1.yifu.common.core.util.R;
import javax.servlet.http.HttpServletResponse;
import java.io.InputStream;
import java.util.List;
import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.util.ArrayUtil;
import com.alibaba.excel.EasyExcel;
import com.alibaba.excel.ExcelWriter;
import com.alibaba.excel.context.AnalysisContext;
import com.alibaba.excel.read.listener.ReadListener;
import com.alibaba.excel.read.metadata.holder.ReadRowHolder;
import com.alibaba.excel.util.ListUtils;
import com.alibaba.excel.write.metadata.WriteSheet;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yifu.cloud.plus.v1.yifu.common.core.constant.CommonConstants;
import com.yifu.cloud.plus.v1.yifu.common.core.util.*;
import com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity;
import javax.servlet.ServletOutputStream;
import java.io.IOException;
import java.net.URLEncoder;
import java.util.ArrayList;
import java.util.List;
/**
* 预入职-员工家庭信息表
*
* @author hgw
* @date 2024-06-17 11:24:01
*/
@Log4j2
@Service
public class TPreEmpFamilyServiceImpl extends ServiceImpl<TPreEmpFamilyMapper, TPreEmpFamily> implements TPreEmpFamilyService {
/**
* 预入职-员工家庭信息表简单分页查询
* @return
*/
@Override
public List<TPreEmpFamily> getTPreEmpFamilyList(String preMainId){
return baseMapper.getTPreEmpFamilyList(preMainId);
}
}
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package com.yifu.cloud.plus.v1.yifu.archives.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpProfessionalQualification;
import com.yifu.cloud.plus.v1.yifu.archives.mapper.TPreEmpProfessionalQualificationMapper;
import com.yifu.cloud.plus.v1.yifu.archives.service.TPreEmpProfessionalQualificationService;
import lombok.extern.log4j.Log4j2;
import org.springframework.stereotype.Service;
import java.util.List;
/**
* 预入职-员工职业资格信息表
*
* @author hgw
* @date 2024-06-17 11:24:01
*/
@Log4j2
@Service
public class TPreEmpProfessionalQualificationServiceImpl extends ServiceImpl<TPreEmpProfessionalQualificationMapper, TPreEmpProfessionalQualification> implements TPreEmpProfessionalQualificationService {
/**
* 预入职-员工职业资格信息表简单分页查询
*
* @return
*/
@Override
public List<TPreEmpProfessionalQualification> getTPreEmpProfessionalQualificationList(String preMainId) {
return baseMapper.getTPreEmpProfessionalQualificationList(preMainId);
}
}
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package com.yifu.cloud.plus.v1.yifu.archives.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpWorkRecording;
import com.yifu.cloud.plus.v1.yifu.archives.mapper.TPreEmpWorkRecordingMapper;
import com.yifu.cloud.plus.v1.yifu.archives.service.TPreEmpWorkRecordingService;
import lombok.extern.log4j.Log4j2;
import org.springframework.stereotype.Service;
import com.yifu.cloud.plus.v1.yifu.common.core.util.ErrorMessage;
import com.yifu.cloud.plus.v1.yifu.common.core.util.R;
import javax.servlet.http.HttpServletResponse;
import java.io.InputStream;
import java.util.List;
import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.util.ArrayUtil;
import com.alibaba.excel.EasyExcel;
import com.alibaba.excel.ExcelWriter;
import com.alibaba.excel.context.AnalysisContext;
import com.alibaba.excel.read.listener.ReadListener;
import com.alibaba.excel.read.metadata.holder.ReadRowHolder;
import com.alibaba.excel.util.ListUtils;
import com.alibaba.excel.write.metadata.WriteSheet;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yifu.cloud.plus.v1.yifu.common.core.constant.CommonConstants;
import com.yifu.cloud.plus.v1.yifu.common.core.util.*;
import com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity;
import javax.servlet.ServletOutputStream;
import java.io.IOException;
import java.net.URLEncoder;
import java.util.ArrayList;
import java.util.List;
/**
* 预入职-员工工作履历信息表
*
* @author hgw
* @date 2024-06-17 11:24:01
*/
@Log4j2
@Service
public class TPreEmpWorkRecordingServiceImpl extends ServiceImpl<TPreEmpWorkRecordingMapper, TPreEmpWorkRecording> implements TPreEmpWorkRecordingService {
/**
* 预入职-员工工作履历信息表简单分页查询
* @return
*/
@Override
public List<TPreEmpWorkRecording> getTPreEmpWorkRecordingList(String preMainId){
return baseMapper.getTPreEmpWorkRecordingList(preMainId);
}
}
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package com.yifu.cloud.plus.v1.yifu.archives.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmployeeInfo;
import com.yifu.cloud.plus.v1.yifu.archives.mapper.TPreEmployeeInfoMapper;
import com.yifu.cloud.plus.v1.yifu.archives.service.TPreEmployeeInfoService;
import lombok.extern.log4j.Log4j2;
import org.springframework.stereotype.Service;
import com.yifu.cloud.plus.v1.yifu.common.core.util.ErrorMessage;
import com.yifu.cloud.plus.v1.yifu.common.core.util.R;
import javax.servlet.http.HttpServletResponse;
import java.io.InputStream;
import java.util.List;
import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.util.ArrayUtil;
import com.alibaba.excel.EasyExcel;
import com.alibaba.excel.ExcelWriter;
import com.alibaba.excel.context.AnalysisContext;
import com.alibaba.excel.read.listener.ReadListener;
import com.alibaba.excel.read.metadata.holder.ReadRowHolder;
import com.alibaba.excel.util.ListUtils;
import com.alibaba.excel.write.metadata.WriteSheet;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yifu.cloud.plus.v1.yifu.common.core.constant.CommonConstants;
import com.yifu.cloud.plus.v1.yifu.common.core.util.*;
import com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity;
import javax.servlet.ServletOutputStream;
import java.io.IOException;
import java.net.URLEncoder;
import java.util.ArrayList;
import java.util.List;
/**
* 预入职-人员档案表
*
* @author hgw
* @date 2024-06-17 11:24:01
*/
@Log4j2
@Service
public class TPreEmployeeInfoServiceImpl extends ServiceImpl<TPreEmployeeInfoMapper, TPreEmployeeInfo> implements TPreEmployeeInfoService {
/**
* 预入职-人员档案表简单分页查询
* @return
*/
@Override
public List<TPreEmployeeInfo> getTPreEmployeeInfoList(String preMainId){
return baseMapper.getTPreEmployeeInfoList(preMainId);
}
}
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package com.yifu.cloud.plus.v1.yifu.archives.service.impl;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmployeeProject;
import com.yifu.cloud.plus.v1.yifu.archives.mapper.TPreEmployeeProjectMapper;
import com.yifu.cloud.plus.v1.yifu.archives.service.TPreEmployeeProjectService;
import lombok.extern.log4j.Log4j2;
import org.springframework.stereotype.Service;
import com.yifu.cloud.plus.v1.yifu.common.core.util.ErrorMessage;
import com.yifu.cloud.plus.v1.yifu.common.core.util.R;
import javax.servlet.http.HttpServletResponse;
import java.io.InputStream;
import java.util.List;
import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.util.ArrayUtil;
import com.alibaba.excel.EasyExcel;
import com.alibaba.excel.ExcelWriter;
import com.alibaba.excel.context.AnalysisContext;
import com.alibaba.excel.read.listener.ReadListener;
import com.alibaba.excel.read.metadata.holder.ReadRowHolder;
import com.alibaba.excel.util.ListUtils;
import com.alibaba.excel.write.metadata.WriteSheet;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yifu.cloud.plus.v1.yifu.common.core.constant.CommonConstants;
import com.yifu.cloud.plus.v1.yifu.common.core.util.*;
import com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity;
import javax.servlet.ServletOutputStream;
import java.io.IOException;
import java.net.URLEncoder;
import java.util.ArrayList;
import java.util.List;
/**
* 预入职-项目档案表
*
* @author hgw
* @date 2024-06-17 11:24:01
*/
@Log4j2
@Service
public class TPreEmployeeProjectServiceImpl extends ServiceImpl<TPreEmployeeProjectMapper, TPreEmployeeProject> implements TPreEmployeeProjectService {
/**
* 预入职-项目档案表简单分页查询
* @return
*/
@Override
public List<TPreEmployeeProject> getTPreEmployeeProjectList(String preMainId){
return baseMapper.getTPreEmployeeProjectList(preMainId);
}
}
......@@ -76,6 +76,15 @@
<include refid="tAttaInfo_where"/>
</where>
</select>
<!--根据domainId 获取list-->
<select id="getTAttaInfoListByDoMainId" resultMap="tAttaInfoMap">
SELECT
<include refid="Base_Column_List"/>
FROM t_atta_info a
where a.domain_id = #{domainId}
</select>
<select id="getKeenAtta" resultMap="tAttaInfoMap">
SELECT
<include refid="Base_Column_List"/>
......
<?xml version="1.0" encoding="UTF-8"?>
<!--
~
~ Copyright (c) 2018-2025, lengleng All rights reserved.
~
~ Redistribution and use in source and binary forms, with or without
~ modification, are permitted provided that the following conditions are met:
~
~ Redistributions of source code must retain the above copyright notice,
~ this list of conditions and the following disclaimer.
~ Redistributions in binary form must reproduce the above copyright
~ notice, this list of conditions and the following disclaimer in the
~ documentation and/or other materials provided with the distribution.
~ Neither the name of the yifu4cloud.com developer nor the names of its
~ contributors may be used to endorse or promote products derived from
~ this software without specific prior written permission.
~ Author: lengleng (wangiegie@gmail.com)
~
-->
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.yifu.cloud.plus.v1.yifu.archives.mapper.TPreEmpBadRecordMapper">
<resultMap id="tPreEmpBadRecordMap" type="com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpBadRecord">
<id property="id" column="ID"/>
<result property="preMainId" column="PRE_MAIN_ID"/>
<result property="empName" column="EMP_NAME"/>
<result property="empId" column="EMP_ID"/>
<result property="empIdcard" column="EMP_IDCARD"/>
<result property="project" column="PROJECT"/>
<result property="projectCode" column="PROJECT_CODE"/>
<result property="happenTime" column="HAPPEN_TIME"/>
<result property="remark" column="REMARK"/>
<result property="loseFee" column="LOSE_FEE"/>
<result property="loseFeeOther" column="LOSE_FEE_OTHER"/>
<result property="createBy" column="CREATE_BY"/>
<result property="updateBy" column="UPDATE_BY"/>
<result property="createName" column="CREATE_NAME"/>
<result property="createTime" column="CREATE_TIME"/>
<result property="updateTime" column="UPDATE_TIME"/>
<result property="settleDomain" column="SETTLE_DOMAIN"/>
</resultMap>
<sql id="Base_Column_List">
a.ID,
a.PRE_MAIN_ID,
a.EMP_NAME,
a.EMP_ID,
a.EMP_IDCARD,
a.PROJECT,
a.PROJECT_CODE,
a.HAPPEN_TIME,
a.REMARK,
a.LOSE_FEE,
a.LOSE_FEE_OTHER,
a.CREATE_BY,
a.UPDATE_BY,
a.CREATE_NAME,
a.CREATE_TIME,
a.UPDATE_TIME,
a.SETTLE_DOMAIN
</sql>
<sql id="tPreEmpBadRecord_where">
<if test="tPreEmpBadRecord != null">
<if test="tPreEmpBadRecord.id != null and tPreEmpBadRecord.id.trim() != ''">
AND a.ID = #{tPreEmpBadRecord.id}
</if>
<if test="tPreEmpBadRecord.preMainId != null and tPreEmpBadRecord.preMainId.trim() != ''">
AND a.PRE_MAIN_ID = #{tPreEmpBadRecord.preMainId}
</if>
<if test="tPreEmpBadRecord.empName != null and tPreEmpBadRecord.empName.trim() != ''">
AND a.EMP_NAME = #{tPreEmpBadRecord.empName}
</if>
<if test="tPreEmpBadRecord.empId != null and tPreEmpBadRecord.empId.trim() != ''">
AND a.EMP_ID = #{tPreEmpBadRecord.empId}
</if>
<if test="tPreEmpBadRecord.empIdcard != null and tPreEmpBadRecord.empIdcard.trim() != ''">
AND a.EMP_IDCARD = #{tPreEmpBadRecord.empIdcard}
</if>
<if test="tPreEmpBadRecord.project != null and tPreEmpBadRecord.project.trim() != ''">
AND a.PROJECT = #{tPreEmpBadRecord.project}
</if>
<if test="tPreEmpBadRecord.projectCode != null and tPreEmpBadRecord.projectCode.trim() != ''">
AND a.PROJECT_CODE = #{tPreEmpBadRecord.projectCode}
</if>
<if test="tPreEmpBadRecord.happenTime != null">
AND a.HAPPEN_TIME = #{tPreEmpBadRecord.happenTime}
</if>
<if test="tPreEmpBadRecord.remark != null and tPreEmpBadRecord.remark.trim() != ''">
AND a.REMARK = #{tPreEmpBadRecord.remark}
</if>
<if test="tPreEmpBadRecord.loseFee != null">
AND a.LOSE_FEE = #{tPreEmpBadRecord.loseFee}
</if>
<if test="tPreEmpBadRecord.loseFeeOther != null">
AND a.LOSE_FEE_OTHER = #{tPreEmpBadRecord.loseFeeOther}
</if>
<if test="tPreEmpBadRecord.createBy != null and tPreEmpBadRecord.createBy.trim() != ''">
AND a.CREATE_BY = #{tPreEmpBadRecord.createBy}
</if>
<if test="tPreEmpBadRecord.updateBy != null and tPreEmpBadRecord.updateBy.trim() != ''">
AND a.UPDATE_BY = #{tPreEmpBadRecord.updateBy}
</if>
<if test="tPreEmpBadRecord.createName != null and tPreEmpBadRecord.createName.trim() != ''">
AND a.CREATE_NAME = #{tPreEmpBadRecord.createName}
</if>
<if test="tPreEmpBadRecord.createTime != null">
AND a.CREATE_TIME = #{tPreEmpBadRecord.createTime}
</if>
<if test="tPreEmpBadRecord.updateTime != null">
AND a.UPDATE_TIME = #{tPreEmpBadRecord.updateTime}
</if>
<if test="tPreEmpBadRecord.settleDomain != null and tPreEmpBadRecord.settleDomain.trim() != ''">
AND a.SETTLE_DOMAIN = #{tPreEmpBadRecord.settleDomain}
</if>
</if>
</sql>
<!--tPreEmpBadRecord简单分页查询-->
<select id="getTPreEmpBadRecordList" resultMap="tPreEmpBadRecordMap">
SELECT
<include refid="Base_Column_List"/>
FROM t_pre_emp_bad_record a
<where>
1=1
<include refid="tPreEmpBadRecord_where"/>
</where>
</select>
</mapper>
<?xml version="1.0" encoding="UTF-8"?>
<!--
~
~ Copyright (c) 2018-2025, lengleng All rights reserved.
~
~ Redistribution and use in source and binary forms, with or without
~ modification, are permitted provided that the following conditions are met:
~
~ Redistributions of source code must retain the above copyright notice,
~ this list of conditions and the following disclaimer.
~ Redistributions in binary form must reproduce the above copyright
~ notice, this list of conditions and the following disclaimer in the
~ documentation and/or other materials provided with the distribution.
~ Neither the name of the yifu4cloud.com developer nor the names of its
~ contributors may be used to endorse or promote products derived from
~ this software without specific prior written permission.
~ Author: lengleng (wangiegie@gmail.com)
~
-->
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.yifu.cloud.plus.v1.yifu.archives.mapper.TPreEmpDeclarationMapper">
<resultMap id="tPreEmpDeclarationMap" type="com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpDeclaration">
<id property="id" column="ID"/>
<result property="contentOne" column="CONTENT_ONE"/>
<result property="contentTwo" column="CONTENT_TWO"/>
</resultMap>
<sql id="Base_Column_List">
a.ID,
a.CONTENT_ONE,
a.CONTENT_TWO
</sql>
<!--tPreEmpDeclaration简单分页查询-->
<select id="getTPreEmpDeclarationList" resultMap="tPreEmpDeclarationMap">
SELECT
<include refid="Base_Column_List"/>
FROM t_pre_emp_declaration a
limit 1
</select>
</mapper>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment