Commit b817d0c2 authored by fangxinjiang's avatar fangxinjiang

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

parents a3fa1d95 ed358836
/*
* 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.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
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;
/**
* 瓜子offer操作日志
*
* @author chenyx
* @date 2025-06-11 15:59:04
*/
@Data
@TableName("l_guazi_offer_record")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "瓜子offer操作日志")
public class LGuaziOfferRecord extends BaseEntity {
/**
* id
*/
@TableId(type = IdType.ASSIGN_ID)
@Schema(description = "id")
private String id;
/**
* 关联瓜子offerID
*/
@NotBlank(message = "关联瓜子offerID不能为空")
@Length(max = 32, message = "关联瓜子offerID不能超过32个字符")
@Schema(description = "关联瓜子offerID")
private String offerId;
/**
* 操作内容
*/
@NotBlank(message = "操作内容不能为空")
@Schema(description = "操作内容")
private String content;
/**
* 记录来源(1:手动更新状态;2:编辑offer信息;3:发送Offer查阅短信;4:发送信息收集短信;5:(系统触发)收集短信发送成功;6:(系统触发)C端采集提交;7:(系统触发)档案审核通过;8:(系统触发)档案审核不通过;9:(系统触发)发起合同申请10:(系统触发)合同审核通过;11:(系统触发)合同归档;12:发送合同下载短信)
*/
@Length(max = 2, message = "记录来源(1:手动更新状态;2:编辑offer信息;3:发送Offer查阅短信;4:发送信息收集短信;5:(系统触发)收集短信发送成功;6:(系统触发)C端采集提交;7:(系统触发)档案审核通过;8:(系统触发)档案审核不通过;9:(系统触发)发起合同申请10:(系统触发)合同审核通过;11:(系统触发)合同归档;12:发送合同下载短信)不能超过2个字符")
@Schema(description = "记录来源(1:手动更新状态;2:编辑offer信息;3:发送Offer查阅短信;4:发送信息收集短信;5:(系统触发)收集短信发送成功;6:(系统触发)C端采集提交;7:(系统触发)档案审核通过;8:(系统触发)档案审核不通过;9:(系统触发)发起合同申请10:(系统触发)合同审核通过;11:(系统触发)合同归档;12:发送合同下载短信)")
private String recordFrom;
/**
* 删除标记
*/
@Length(max = 1, message = "删除标记不能超过1个字符")
@Schema(description = "删除标记")
@TableLogic
private String delFlag;
}
package com.yifu.cloud.plus.v1.yifu.archives.entity;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
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 java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.Date;
/**
* 合同待签订任务记录表
*
* @author huych
* @date 2025-06-11 14:15:53
*/
@Data
@TableName("t_employee_contract_pre")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "合同待签订任务记录表")
public class TEmployeeContractPre extends BaseEntity {
/**
* id
*/
@TableId(type = IdType.ASSIGN_ID)
@Schema(description = "id")
private String id;
@Schema(description = "项目名称")
private String deptName;
@Schema(description = "项目编码")
private String deptNo;
@Schema(description = "项目id")
private String deptId;
@Schema(description = "员工姓名")
private String employeeName;
@Schema(description = "身份证号")
private String empIdcard;
@Schema(description = "手机号码")
private String empPhone;
@Schema(description = "就职岗位")
private String position;
@Schema(description = "入职日期")
private Date joinLeaveDate;
@Schema(description = "合同类型,标准合同/劳务协议/实习协议/劳务派遣合同/非全日制/其他合同")
private String contractType;
@Schema(description = "状态,0待确认,1待发起,2线下签待审核,3线下签审核不通过4线下签待归档5发起失败6签署中7签署失败8电子待归档9已完结")
private String processStatus;
@Schema(description = "签署甲方")
private String signatory;
@Schema(description = "前端客服")
private String customerUsername;
@Schema(description = "前端客服登录名")
private String customerUserLoginname;
@Schema(description = "签署方式0线下签1电子签")
private String signType;
@Schema(description = "是否撤销签署0是1否")
private String signFlag;
@Schema(description = "撤销签署原因")
private String revokeReason;
@Schema(description = "异常原因")
private String errorInfo;
@Schema(description = "法大大模版名称")
private String fadadaTemplate;
@Schema(description = "数据来源1客户端 2客服端")
private String dataSource;
/**
* 预计确认时间
*/
@Schema(description = "预计确认时间")
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss")
private LocalDateTime expectedConfirmTime;
@Schema(description = "预计发起时间")
@JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss")
private LocalDateTime expectedCollectionTime;
@Schema(description = "确认人")
private String confirmUser;
@Schema(description = "合同名称")
private String contractName;
@Schema(description = "合同起始时间")
private Date contractStart;
@Schema(description = "合同到期时间")
private Date contractEnd;
@Schema(description = "签订类型")
private String situation;
@Schema(description = "合同年限, 0 固定期限 1 无固定期限 3.以完成一定工作任务为期限")
private String contractTerm;
@Schema(description = "合同年限-年")
private String contractDuratioYear;
@Schema(description = "合同年限-月")
private String contractDuratioMonth;
@Schema(description = "合同试用期开始时间")
private Date periodStart;
@Schema(description = "合同试用期结束时间")
private Date periodEnd;
@Schema(description = "配置名称")
private String configName;
@Schema(description = "是否允许修改 0是 1否")
private String updateFlag;
@Schema(description = "是否有试用期 0是1否")
private String tryPeriodType;
@Schema(description = "试用期(单位月)")
private String tryPeriod;
@Schema(description = "试用期工资 元/月")
private BigDecimal periodSalaryPerMonth;
@Schema(description = "工资形式 1.计时工资 2.计件工资 3.其他")
private String salaryType;
@Schema(description = "计时工资 工资标准 元/月 ")
private BigDecimal salaryStandardPerHour;
@Schema(description = "计件工资 工资标准单价/元 ")
private BigDecimal salaryStandardPerPiece;
@Schema(description = "配置id")
private String configId;
@Schema(description = "工作部门")
private String workingDept;
@Schema(description = "用工单位名称")
private String workingCompany;
@Schema(description = "工时制(数据字典) 1标准工时 2 综合工时 3不定时工时制")
private String workingHours;
@Schema(description = "试用期工资(元/月)")
private String workingReward;
@Schema(description = "购买补充保险说明")
private String riskBuyDesc;
@Schema(description = "其他 (工资形式其他时的工资)")
private String otherWage;
@Schema(description = "劳务费(元/月)")
private String laborCost;
@Schema(description = "违约责任(金额)")
private String defaultAmount;
@Schema(description = "工资结算周期")
private String settlementCycle;
@Schema(description = "工资发放时间")
private String paymentTime;
@Schema(description = "工资发放方式 0 直接发放/委托银行代发")
private String paymentType;
@Schema(description = "派遣期限-年")
private String dispatchPeriodYear;
@Schema(description = "派遣期限-月")
private String dispatchPeriodMonth;
@Schema(description = "派遣开始日期")
private Date dispatchPeriodStart;
@Schema(description = "派遣结束日期")
private Date dispatchPeriodEnd;
@Schema(description = "工作方式 0 第一种方式 1 第二种方式")
private String workType;
@Schema(description = "每周工作天数")
private String workDayCount;
@Schema(description = "每周工作日")
private String workDay;
@Schema(description = "每日工作时长")
private String workHours;
@Schema(description = "其他工作时间 (工作方式为第二种方式)")
private String otherWorkDay;
@Schema(description = "实习期限 无/一个月/两个月.../十二个月")
private String internshipPeriod;
@Schema(description = "实习开始日期")
private Date internshipPeriodStart;
@Schema(description = "实习结束日期")
private Date internshipPeriodEnd;
@Schema(description = "合同岗位 0 固定岗位 1 等于档案处维护 2 自定义")
private String postType;
@Schema(description = "合同岗位名称")
private String post;
@Schema(description = "关联合同id")
private String contractId;
@Schema(description = "工作地点")
private String workAddress;
@Schema(description = "入离职登记主表id")
private String registerId;
}
/*
* 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.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
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 com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute;
import org.hibernate.validator.constraints.Length;
import javax.validation.constraints.NotBlank;
/**
* 瓜子紧急联系人
*
* @author chenyx
* @date 2025-06-13 15:19:04
*/
@Data
@TableName("t_gz_emp_contact_info")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "瓜子紧急联系人")
public class TGzEmpContactInfo 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 empId;
/**
* 紧急联系人姓名
*/
@ExcelAttribute(name = "紧急联系人姓名", maxLength = 20)
@Length(max = 20, message = "紧急联系人姓名不能超过20个字符")
@ExcelProperty("紧急联系人姓名")
@Schema(description = "紧急联系人姓名")
private String emergName;
/**
* 与本人关系
*/
@ExcelAttribute(name = "与本人关系", maxLength = 50)
@Length(max = 50, message = "与本人关系不能超过50个字符")
@ExcelProperty("与本人关系")
@Schema(description = "与本人关系")
private String emergRelation;
/**
* 联系人住址
*/
@ExcelAttribute(name = "联系人住址", maxLength = 200)
@Length(max = 200, message = "联系人住址不能超过200个字符")
@ExcelProperty("联系人住址")
@Schema(description = "联系人住址")
private String emergAddress;
/**
* 联系电话
*/
@ExcelAttribute(name = "联系电话", maxLength = 20)
@Length(max = 20, message = "联系电话不能超过20个字符")
@ExcelProperty("联系电话")
@Schema(description = "联系电话")
private String emergPhone;
/**
* 是否主要联系人: Y:是,N不是(系统自动推送默认值“是”)
*/
@ExcelAttribute(name = "是否主要联系人: Y:是,N不是(系统自动推送默认值“是”)", maxLength = 1)
@Length(max = 1, message = "是否主要联系人: Y:是,N不是(系统自动推送默认值“是”)不能超过1个字符")
@ExcelProperty("是否主要联系人: Y:是,N不是(系统自动推送默认值“是”)")
@Schema(description = "是否主要联系人: Y:是,N不是(系统自动推送默认值“是”)")
private String primaryNid;
/**
* 删除标记
*/
@ExcelAttribute(name = "删除标记", maxLength = 1)
@Length(max = 1, message = "删除标记不能超过1个字符")
@ExcelProperty("删除标记")
@Schema(description = "删除标记")
@TableLogic
private String delFlag;
}
/*
* 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.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
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 com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute;
import org.hibernate.validator.constraints.Length;
import java.util.Date;
import javax.validation.constraints.NotBlank;
/**
* 瓜子教育经历
*
* @author chenyx
* @date 2025-06-13 15:19:04
*/
@Data
@TableName("t_gz_emp_education")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "瓜子教育经历")
public class TGzEmpEducation 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 empId;
/**
* 删除标记
*/
@ExcelAttribute(name = "删除标记", maxLength = 1)
@Length(max = 1, message = "删除标记不能超过1个字符")
@ExcelProperty("删除标记")
@Schema(description = "删除标记")
@TableLogic
private String delFlag;
/**
* 学历
*/
@ExcelAttribute(name = "学历", maxLength = 2)
@Length(max = 2, message = "学历不能超过2个字符")
@ExcelProperty("学历")
@Schema(description = "学历")
private String eduQual;
/**
* 学位
*/
@ExcelAttribute(name = "学位", maxLength = 2)
@Length(max = 2, message = "学位不能超过2个字符")
@ExcelProperty("学位")
@Schema(description = "学位")
private String eduDegree;
/**
* 教育方式
*/
@ExcelAttribute(name = "教育方式", maxLength = 2)
@Length(max = 2, message = "教育方式不能超过2个字符")
@ExcelProperty("教育方式")
@Schema(description = "教育方式")
private String eduType;
/**
* 院校名称
*/
@ExcelAttribute(name = "院校名称", maxLength = 48)
@Length(max = 48, message = "院校名称不能超过48个字符")
@ExcelProperty("院校名称")
@Schema(description = "院校名称")
private String school;
/**
* 入学日期
*/
@ExcelAttribute(name = "入学日期", isDate = true)
@ExcelProperty("入学日期")
@Schema(description = "入学日期")
private Date eduStartDate;
/**
* 毕业日期
*/
@ExcelAttribute(name = "毕业日期", isDate = true)
@ExcelProperty("毕业日期")
@Schema(description = "毕业日期")
private Date eduEndDate;
/**
* 毕业类型
*/
@ExcelAttribute(name = "毕业类型", maxLength = 2)
@Length(max = 2, message = "毕业类型不能超过2个字符")
@ExcelProperty("毕业类型")
@Schema(description = "毕业类型")
private String gradutionType;
/**
* 专业
*/
@ExcelAttribute(name = "专业", maxLength = 48)
@Length(max = 48, message = "专业不能超过48个字符")
@ExcelProperty("专业")
@Schema(description = "专业")
private String major;
/**
* 是否最高学历 Y:是,N不是(系统默认为“是”)
*/
@ExcelAttribute(name = "是否最高学历 Y:是,N不是(系统默认为“是”)", maxLength = 1)
@Length(max = 1, message = "是否最高学历 Y:是,N不是(系统默认为“是”)不能超过1个字符")
@ExcelProperty("是否最高学历 Y:是,N不是(系统默认为“是”)")
@Schema(description = "是否最高学历 Y:是,N不是(系统默认为“是”)")
private String highEduQualFlag;
/**
* 是否最高学位 Y:是,N不是
*/
@ExcelAttribute(name = "是否最高学位 Y:是,N不是", maxLength = 1)
@Length(max = 1, message = "是否最高学位 Y:是,N不是不能超过1个字符")
@ExcelProperty("是否最高学位 Y:是,N不是")
@Schema(description = "是否最高学位 Y:是,N不是")
private String highEduDegreeFlag;
/**
* 是否第一学历 Y:是,N不是
*/
@ExcelAttribute(name = "是否第一学历 Y:是,N不是", maxLength = 1)
@Length(max = 1, message = "是否第一学历 Y:是,N不是不能超过1个字符")
@ExcelProperty("是否第一学历 Y:是,N不是")
@Schema(description = "是否第一学历 Y:是,N不是")
private String firstDegreeFlag;
}
/*
* 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.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
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 com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute;
import org.hibernate.validator.constraints.Length;
import javax.validation.constraints.NotBlank;
/**
* 瓜子家庭成员
*
* @author chenyx
* @date 2025-06-13 15:19:03
*/
@Data
@TableName("t_gz_emp_family")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "瓜子家庭成员")
public class TGzEmpFamily 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 empId;
/**
* 删除标记
*/
@ExcelAttribute(name = "删除标记", maxLength = 1)
@Length(max = 1, message = "删除标记不能超过1个字符")
@ExcelProperty("删除标记")
@Schema(description = "删除标记")
@TableLogic
private String delFlag;
/**
* 与本人关系
*/
@ExcelAttribute(name = "与本人关系", maxLength = 2)
@Length(max = 2, message = "与本人关系不能超过2个字符")
@ExcelProperty("与本人关系")
@Schema(description = "与本人关系")
private String familyRelation;
/**
* 家庭成员姓名
*/
@ExcelAttribute(name = "家庭成员姓名", maxLength = 50)
@Length(max = 50, message = "家庭成员姓名不能超过50个字符")
@ExcelProperty("家庭成员姓名")
@Schema(description = "家庭成员姓名")
private String familyName;
/**
* 联系电话
*/
@ExcelAttribute(name = "联系电话", maxLength = 20)
@Length(max = 20, message = "联系电话不能超过20个字符")
@ExcelProperty("联系电话")
@Schema(description = "联系电话")
private String familyPhone;
/**
* 联系人住址
*/
@ExcelAttribute(name = "联系人住址", maxLength = 55)
@Length(max = 55, message = "联系人住址不能超过55个字符")
@ExcelProperty("联系人住址")
@Schema(description = "联系人住址")
private String familyAddress;
/**
* 成员所在单位名称
*/
@ExcelAttribute(name = "成员所在单位名称", maxLength = 30)
@Length(max = 30, message = "成员所在单位名称不能超过30个字符")
@ExcelProperty("成员所在单位名称")
@Schema(description = "成员所在单位名称")
private String familyCompany;
/**
* 是否客户单位任职: Y:是,N不是
*/
@ExcelAttribute(name = "是否客户单位任职: Y:是,N不是", maxLength = 1)
@Length(max = 1, message = "是否客户单位任职: Y:是,N不是不能超过1个字符")
@ExcelProperty("是否客户单位任职: Y:是,N不是")
@Schema(description = "是否客户单位任职: Y:是,N不是")
private String gzEmeFlag;
/**
* 职务
*/
@ExcelAttribute(name = "职务", maxLength = 30)
@Length(max = 30, message = "职务不能超过30个字符")
@ExcelProperty("职务")
@Schema(description = "职务")
private String jobCode;
}
/*
* 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.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
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 com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute;
import org.hibernate.validator.constraints.Length;
import java.util.Date;
import javax.validation.constraints.NotBlank;
/**
* 瓜子技能证书
*
* @author chenyx
* @date 2025-06-13 15:19:03
*/
@Data
@TableName("t_gz_emp_skill")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "瓜子技能证书")
public class TGzEmpSkill 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 empId;
/**
* 删除标记
*/
@ExcelAttribute(name = "删除标记", maxLength = 1)
@Length(max = 1, message = "删除标记不能超过1个字符")
@ExcelProperty("删除标记")
@Schema(description = "删除标记")
@TableLogic
private String delFlag;
/**
* 专业技能名称
*/
@ExcelAttribute(name = "专业技能名称", maxLength = 30)
@Length(max = 30, message = "专业技能名称不能超过30个字符")
@ExcelProperty("专业技能名称")
@Schema(description = "专业技能名称")
private String skillName;
/**
* 获得日期
*/
@ExcelAttribute(name = "获得日期", isDate = true)
@ExcelProperty("获得日期")
@Schema(description = "获得日期")
private Date skillDate;
/**
* 授予单位
*/
@ExcelAttribute(name = "授予单位", maxLength = 30)
@Length(max = 30, message = "授予单位不能超过30个字符")
@ExcelProperty("授予单位")
@Schema(description = "授予单位")
private String skillOrg;
/**
* 技术等级
*/
@ExcelAttribute(name = "技术等级", maxLength = 30)
@Length(max = 30, message = "技术等级不能超过30个字符")
@ExcelProperty("技术等级")
@Schema(description = "技术等级")
private String skillLevel;
}
/*
* 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.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
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 com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute;
import org.hibernate.validator.constraints.Length;
import java.util.Date;
import javax.validation.constraints.NotBlank;
/**
* 瓜子工作经历
*
* @author chenyx
* @date 2025-06-13 15:19:04
*/
@Data
@TableName("t_gz_emp_work")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "瓜子工作经历")
public class TGzEmpWork 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 empId;
/**
* 删除标记
*/
@ExcelAttribute(name = "删除标记", maxLength = 1)
@Length(max = 1, message = "删除标记不能超过1个字符")
@ExcelProperty("删除标记")
@Schema(description = "删除标记")
@TableLogic
private String delFlag;
/**
* 单位名称
*/
@ExcelAttribute(name = "单位名称", maxLength = 30)
@Length(max = 30, message = "单位名称不能超过30个字符")
@ExcelProperty("单位名称")
@Schema(description = "单位名称")
private String workUnit;
/**
* 开始工作日期
*/
@ExcelAttribute(name = "开始工作日期", isDate = true)
@ExcelProperty("开始工作日期")
@Schema(description = "开始工作日期")
private Date workStartDate;
/**
* 结束工作日期
*/
@ExcelAttribute(name = "结束工作日期", isDate = true)
@ExcelProperty("结束工作日期")
@Schema(description = "结束工作日期")
private Date workEndDate;
/**
* 工作部门
*/
@ExcelAttribute(name = "工作部门", maxLength = 30)
@Length(max = 30, message = "工作部门不能超过30个字符")
@ExcelProperty("工作部门")
@Schema(description = "工作部门")
private String workDept;
/**
* 职务名称
*/
@ExcelAttribute(name = "职务名称", maxLength = 30)
@Length(max = 30, message = "职务名称不能超过30个字符")
@ExcelProperty("职务名称")
@Schema(description = "职务名称")
private String workJob;
/**
* 证明人
*/
@ExcelAttribute(name = "证明人", maxLength = 30)
@Length(max = 30, message = "证明人不能超过30个字符")
@ExcelProperty("证明人")
@Schema(description = "证明人")
private String certifierName;
/**
* 证明人联系电话
*/
@ExcelAttribute(name = "证明人联系电话", maxLength = 20)
@Length(max = 20, message = "证明人联系电话不能超过20个字符")
@ExcelProperty("证明人联系电话")
@Schema(description = "证明人联系电话")
private String certifierPhone;
}
...@@ -31,6 +31,7 @@ import javax.validation.constraints.Size; ...@@ -31,6 +31,7 @@ import javax.validation.constraints.Size;
import java.io.Serializable; import java.io.Serializable;
import java.util.Date; import java.util.Date;
/** /**
* 员工合同-批量操作的VO * 员工合同-批量操作的VO
* *
...@@ -222,4 +223,11 @@ public class EmployeeContractVO extends RowIndex implements Serializable { ...@@ -222,4 +223,11 @@ public class EmployeeContractVO extends RowIndex implements Serializable {
@HeadFontStyle(fontHeightInPoints = 11) @HeadFontStyle(fontHeightInPoints = 11)
@ExcelProperty(value ="试用期") @ExcelProperty(value ="试用期")
private String tryPeriod; private String tryPeriod;
/**
* id
*/
@ExcelAttribute(name = "id")
@ExcelProperty(value ="id")
private String id;
} }
...@@ -2,7 +2,6 @@ package com.yifu.cloud.plus.v1.yifu.archives.vo; ...@@ -2,7 +2,6 @@ package com.yifu.cloud.plus.v1.yifu.archives.vo;
import com.baomidou.mybatisplus.annotation.FieldStrategy; import com.baomidou.mybatisplus.annotation.FieldStrategy;
import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableField;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TAttaInfo;
import com.yifu.cloud.plus.v1.yifu.insurances.vo.TEmployeeInsurancePreVo; import com.yifu.cloud.plus.v1.yifu.insurances.vo.TEmployeeInsurancePreVo;
import io.swagger.v3.oas.annotations.media.Schema; import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data; import lombok.Data;
...@@ -124,6 +123,9 @@ public class EmployeeRegistrationPreVo implements Serializable { ...@@ -124,6 +123,9 @@ public class EmployeeRegistrationPreVo implements Serializable {
@Schema(description = "商险待派单信息集合") @Schema(description = "商险待派单信息集合")
private List<TEmployeeInsurancePreVo> employeeInsurancePreVos; private List<TEmployeeInsurancePreVo> employeeInsurancePreVos;
@Schema(description = "合同待派单信息")
private TEmployeeContractPreVo employeeContractPreVo;
@Schema(description = "附件集合") @Schema(description = "附件集合")
private List<TAttaInfoSaveVo> attaList; private List<TAttaInfoSaveVo> attaList;
......
/*
* 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.LGuaziOfferRecord;
import lombok.Data;
/**
* 瓜子offer操作日志
*
* @author chenyx
* @date 2025-06-11 15:59:04
*/
@Data
public class LGuaziOfferRecordVo extends LGuaziOfferRecord {
}
package com.yifu.cloud.plus.v1.yifu.archives.vo;
import com.alibaba.excel.annotation.ExcelProperty;
import com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.io.Serializable;
/**
* 自动化办理反馈vo
*
* @author huych
* @date 2025-06-12 10:01:13
*/
@Data
public class TEmployeeAutoRegistCheckVo implements Serializable {
@ExcelAttribute(name = "员工姓名")
@Schema(description = "员工姓名")
@ExcelProperty("员工姓名")
private String employeeName;
@ExcelAttribute(name = "身份证号")
@Schema(description = "身份证号")
@ExcelProperty("身份证号")
private String empIdcard;
@ExcelAttribute(name = "项目名称")
@Schema(description = "项目名称")
@ExcelProperty("项目名称")
private String deptName;
@ExcelAttribute(name = "项目编码")
@Schema(description = "项目编码")
@ExcelProperty("项目编码")
private String deptNo;
@ExcelAttribute(name = "类型")
@Schema(description = "类型,社保、公积金、商险、合同")
@ExcelProperty("类型")
private String type;
@ExcelAttribute(name = "错误信息")
@Schema(description = "错误信息")
@ExcelProperty("错误信息")
private String errorMsg;
}
package com.yifu.cloud.plus.v1.yifu.archives.vo;
import com.alibaba.excel.annotation.ExcelProperty;
import com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.io.Serializable;
/**
* 自动化办理反馈vo
*
* @author huych
* @date 2025-06-12 10:01:13
*/
@Data
public class TEmployeeAutoRegistRevokeVo implements Serializable {
@Schema(description = "类型,社保、公积金、商险、合同")
private String id;
@Schema(description = "撤销签署原因")
private String reason;
}
package com.yifu.cloud.plus.v1.yifu.archives.vo;
import com.alibaba.excel.annotation.ExcelProperty;
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 java.io.Serializable;
import java.util.Date;
/**
* 合同待签订任务记录表
*
* @author huych
* @date 2025-06-11 14:15:53
*/
@Data
public class TEmployeeContractPreExportVo extends RowIndex implements Serializable {
@ExcelAttribute(name = "项目名称")
@Schema(description = "项目名称")
@ExcelProperty("项目名称")
private String deptName;
@ExcelAttribute(name = "项目编码")
@Schema(description = "项目编码")
@ExcelProperty("项目编码")
private String deptNo;
@ExcelAttribute(name = "员工姓名")
@Schema(description = "员工姓名")
@ExcelProperty("员工姓名")
private String employeeName;
@ExcelAttribute(name = "身份证号")
@Schema(description = "身份证号")
@ExcelProperty("身份证号")
private String empIdcard;
@ExcelAttribute(name = "手机号码")
@Schema(description = "手机号码")
@ExcelProperty("手机号码")
private String empPhone;
@ExcelAttribute(name = "就职岗位")
@Schema(description = "就职岗位")
@ExcelProperty("就职岗位")
private String position;
/**
* 入职日期
*/
@ExcelAttribute(name = "入职日期", isDate = true)
@Schema(description = "入职日期")
@ExcelProperty("入职日期")
private Date joinLeaveDate;
@ExcelAttribute(name = "合同类型")
@Schema(description = "合同类型")
@ExcelProperty("合同类型")
private String contractType;
@ExcelAttribute(name = "签署甲方")
@Schema(description = "签署甲方")
@ExcelProperty("签署甲方")
private String signatory;
@ExcelAttribute(name = "前端客服")
@Schema(description = "前端客服")
@ExcelProperty("前端客服")
private String customerUsername;
@ExcelAttribute(name = "签署方式")
@Schema(description = "签署方式")
@ExcelProperty("签署方式")
private String signType;
@ExcelAttribute(name = "法大大模版名称")
@Schema(description = "法大大模版名称")
@ExcelProperty("法大大模版名称")
private String fadadaTemplate;
/**
* 预计确认时间
*/
@ExcelAttribute(name = "预计确认时间", isDate = true)
@Schema(description = "预计确认时间")
@ExcelProperty("预计确认时间")
private Date expectedConfirmTime;
/**
* 预计发起时间
*/
@ExcelAttribute(name = "预计发起时间", isDate = true)
@Schema(description = "预计发起时间")
@ExcelProperty("预计发起时间")
private Date expectedCollectionTime;
@ExcelAttribute(name = "状态")
@Schema(description = "状态")
@ExcelProperty("状态")
private String processStatus;
}
package com.yifu.cloud.plus.v1.yifu.archives.vo;
import com.baomidou.mybatisplus.annotation.TableField;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TEmployeeContractPre;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import java.time.LocalDateTime;
import java.util.List;
/**
* 合同待签订任务记录表
*
* @author huych
* @date 2025-06-11 14:15:53
*/
@Data
public class TEmployeeContractPreSearchVo extends TEmployeeContractPre {
/**
* 多选导出或删除等操作
*/
@Schema(description = "选中ID,id数组")
private List<String> idList;
/**
* @Author fxj
* 查询数据起
**/
@Schema(description = "查询limit 开始")
private int limitStart;
/**
* @Author fxj
* 查询数据止
**/
@Schema(description = "查询limit 数据条数")
private int limitEnd;
//开始时间(查询专用)
@Schema(description = "入离职开始时间")
@TableField(exist = false)
private LocalDateTime joinTimeStart;
//截止时间(查询专用)
@Schema(description = "入离职截止时间")
@TableField(exist = false)
private LocalDateTime joinTimeEnd;
@Schema(description = "处理状态数组")
@TableField(exist = false)
private List<String> statusList;
@Schema(description = "项目权限数组")
@TableField(exist = false)
private List<String> deptNoList;
@Schema(description = "列表类型 1 待办 2监控")
private String type;
}
/*
* 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 io.swagger.v3.oas.annotations.media.Schema;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TGzEmpContactInfo;
import lombok.Data;
/**
* 瓜子紧急联系人
*
* @author chenyx
* @date 2025-06-13 15:19:04
*/
@Data
public class TGzEmpContactInfoSearchVo extends TGzEmpContactInfo {
/**
* 多选导出或删除等操作
*/
@Schema(description = "选中ID,多个逗号分割")
private 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.vo;
import io.swagger.v3.oas.annotations.media.Schema;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TGzEmpEducation;
import lombok.Data;
/**
* 瓜子教育经历
*
* @author chenyx
* @date 2025-06-13 15:19:04
*/
@Data
public class TGzEmpEducationSearchVo extends TGzEmpEducation {
/**
* 多选导出或删除等操作
*/
@Schema(description = "选中ID,多个逗号分割")
private 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.vo;
import io.swagger.v3.oas.annotations.media.Schema;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TGzEmpFamily;
import lombok.Data;
/**
* 瓜子家庭成员
*
* @author chenyx
* @date 2025-06-13 15:19:03
*/
@Data
public class TGzEmpFamilySearchVo extends TGzEmpFamily {
/**
* 多选导出或删除等操作
*/
@Schema(description = "选中ID,多个逗号分割")
private 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.vo;
import io.swagger.v3.oas.annotations.media.Schema;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TGzEmpInfo;
import lombok.Data;
/**
* 瓜子档案表
*
* @author chenyx
* @date 2025-06-13 15:19:03
*/
@Data
public class TGzEmpInfoSearchVo extends TGzEmpInfo {
/**
* 多选导出或删除等操作
*/
@Schema(description = "选中ID,多个逗号分割")
private String ids;
/**
* @Author fxj
* 查询数据起
**/
private int limitStart;
/**
* @Author fxj
* 查询数据止
**/
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 io.swagger.v3.oas.annotations.media.Schema;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TGzEmpSkill;
import lombok.Data;
/**
* 瓜子技能证书
*
* @author chenyx
* @date 2025-06-13 15:19:03
*/
@Data
public class TGzEmpSkillSearchVo extends TGzEmpSkill {
/**
* 多选导出或删除等操作
*/
@Schema(description = "选中ID,多个逗号分割")
private 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.vo;
import io.swagger.v3.oas.annotations.media.Schema;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TGzEmpWork;
import lombok.Data;
/**
* 瓜子工作经历
*
* @author chenyx
* @date 2025-06-13 15:19:04
*/
@Data
public class TGzEmpWorkSearchVo extends TGzEmpWork {
/**
* 多选导出或删除等操作
*/
@Schema(description = "选中ID,多个逗号分割")
private 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.vo;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TGzOfferInfo;
import lombok.Data;
/**
* 瓜子offer信息接收表
*
* @author chenyx
* @date 2025-06-11 15:58:37
*/
@Data
public class TGzOfferInfoVo extends TGzOfferInfo {
}
package com.yifu.cloud.plus.v1.yifu.archives.config;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.google.gson.Gson;
import com.yifu.cloud.plus.v1.yifu.common.core.constant.CacheConstants;
import com.yifu.cloud.plus.v1.yifu.common.core.constant.CommonConstants;
import com.yifu.cloud.plus.v1.yifu.common.core.constant.SecurityConstants;
import com.yifu.cloud.plus.v1.yifu.common.core.exception.CheckedException;
import com.yifu.cloud.plus.v1.yifu.common.core.util.Common;
import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.http.HttpEntity;
import org.springframework.http.HttpHeaders;
import org.springframework.http.MediaType;
import org.springframework.http.ResponseEntity;
import org.springframework.security.authentication.AuthenticationServiceException;
import org.springframework.web.client.RestTemplate;
import java.util.Map;
import java.util.concurrent.TimeUnit;
/**
* @Author: huyc
* @Date: 2023/7/28
* @Description:
* @return: 企业微信配置
**/
@Configuration
@Data
@Slf4j
public class WxConfig {
@Value("${wx.corpid}")
private String corpid;
@Value("${wx.corpsecret}")
private String corpsecret;
@Value("${wx.agentid}")
private String agentid;
@Value("${wx.authUrl}")
private String authUrl;
@Value("${wx.domainName}")
private String domainName;
@Autowired
private RedisTemplate redisTemplate;
//未授权
private String accossTokenInvliad = "40014";
/**
* @param
* @Author: huyc
* @Date: 2023/7/28
* @Description: 获取微信accos_token
* @return: java.lang.String
**/
public String getAccessToken(RestTemplate restTemplate) {
if (Common.isNotNull(agentid)) {
return this.getToken(restTemplate, CacheConstants.WX_ACCOSS_TOKEN.concat(agentid), corpsecret);
}
return this.getToken(restTemplate, CacheConstants.WX_ACCOSS_TOKEN, corpsecret);
}
public String getAccessToken(RestTemplate restTemplate,String corpsecret)throws AuthenticationServiceException {
if(Common.isEmpty(corpsecret)){
throw new AuthenticationServiceException("未找到对应的corpsecret请联系管理员配置");
}
return this.getToken(restTemplate, CacheConstants.WX_ACCOSS_TOKEN.concat(agentid), corpsecret);
}
/**
* @param restTemplate
* @param tokenKey
* @param corpsecretKey
* @Description: 获取token
* @Author: huyc
* @Date: 2023/7/28 14:46
* @return: java.lang.String
**/
public String getToken(RestTemplate restTemplate,String tokenKey, String corpsecretKey) {
Object wxToken = redisTemplate.opsForValue().get(tokenKey);
if (null != wxToken) {
return String.valueOf(wxToken);
}
String requestTokenUrl = String.format(SecurityConstants.WX_GET_ACCOSS_TOKEN, corpid, corpsecretKey);
String result = restTemplate.getForObject(requestTokenUrl, String.class);
if (Common.isEmpty(result)) {
throw new CheckedException("微信授权失败");
}
String token = JSON.parseObject(result).getString("access_token");
if (Common.isEmpty(token)) {
log.info(result);
throw new CheckedException("获取微信token失败");
}
redisTemplate.opsForValue().set(tokenKey, token);
redisTemplate.expire(tokenKey, 3600, TimeUnit.SECONDS);
return token;
}
/**
* @param
* @Author: huyc
* @Date: 2023/7/28 14:43
* @Description: 移除微信accossToken
* @return: java.lang.String
**/
public void removeAccessToken() {
redisTemplate.delete(CacheConstants.WX_ACCOSS_TOKEN);
}
/**
* @param restTemplate
* @param requestMap 请求内容
* @Author: huyc
* @Date: 2023/7/28 14:48
* @Description: 发送卡片消息
* @return: java.lang.String
**/
public boolean sendTextCard(RestTemplate restTemplate, Map<String, Object> requestMap) {
// 必须加上header说明
HttpHeaders headers = new HttpHeaders();
headers.setContentType(MediaType.APPLICATION_JSON_UTF8);
Gson gson = new Gson();
log.debug("发企业微信===请求:{}", gson.toJson(requestMap));
HttpEntity<String> requestEntity = new HttpEntity<>(gson.toJson(requestMap), headers);
String accessToken = getAccessToken(restTemplate);
ResponseEntity<String> responseEntity = restTemplate.postForEntity(String.format(SecurityConstants.WX_SEND_MESSAGE, accessToken), requestEntity, String.class);
log.debug("发企业微信===返回:{}",JSON.toJSONString(responseEntity));
JSONObject jsonObject = JSON.parseObject(JSON.toJSONString(responseEntity));
JSONObject jsonBody = jsonObject.getJSONObject("body");
if (jsonBody != null) {
String errcode = jsonBody.getString("errcode");
if (accossTokenInvliad.equals(errcode)) {
//删除accossToken缓存
removeAccessToken();
return false;
}
if (!CommonConstants.ZERO_STRING.equals(errcode)) { //非正常,则打印错误日志
log.info(jsonObject.toJSONString());
}
} else {
log.info(jsonObject.toJSONString());
}
return true;
}
/**
* 功能描述: 获取微信accos_token
* @Author: huyc
* @Date: 2023/7/28 14:50
* @return: java.lang.String
*/
public String getAppAccessToken(RestTemplate restTemplate) {
return this.getToken(restTemplate, CacheConstants.WX_ACCOSS_TOKEN, corpsecret);
}
}
/*
* 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.common.core.util.R;
import com.yifu.cloud.plus.v1.yifu.common.log.annotation.SysLog;
import com.yifu.cloud.plus.v1.yifu.archives.entity.LGuaziOfferRecord;
import com.yifu.cloud.plus.v1.yifu.archives.service.LGuaziOfferRecordService;
import org.springframework.security.access.prepost.PreAuthorize;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.*;
/**
* 瓜子offer操作日志
*
* @author chenyx
* @date 2025-06-11 15:59:04
*/
@RestController
@RequiredArgsConstructor
@RequestMapping("/lguaziofferrecord" )
@Tag(name = "瓜子offer操作日志管理")
public class LGuaziOfferRecordController {
private final LGuaziOfferRecordService lGuaziOfferRecordService;
/**
* 简单分页查询
* @param page 分页对象
* @param lGuaziOfferRecord 瓜子offer操作日志
* @return
*/
@Operation(description = "简单分页查询")
@GetMapping("/page")
public R<IPage<LGuaziOfferRecord>> getLGuaziOfferRecordPage(Page<LGuaziOfferRecord> page, LGuaziOfferRecord lGuaziOfferRecord) {
return new R<>(lGuaziOfferRecordService.getLGuaziOfferRecordPage(page,lGuaziOfferRecord));
}
/**
* 通过id查询瓜子offer操作日志
* @param id id
* @return R
*/
@Operation(summary = "通过id查询", description = "通过id查询:hasPermission('archives_lguaziofferrecord_get')")
@GetMapping("/{id}" )
@PreAuthorize("@pms.hasPermission('archives_lguaziofferrecord_get')" )
public R<LGuaziOfferRecord> getById(@PathVariable("id" ) String id) {
return R.ok(lGuaziOfferRecordService.getById(id));
}
/**
* 新增瓜子offer操作日志
* @param lGuaziOfferRecord 瓜子offer操作日志
* @return R
*/
@Operation(summary = "新增瓜子offer操作日志", description = "新增瓜子offer操作日志:hasPermission('archives_lguaziofferrecord_add')")
@SysLog("新增瓜子offer操作日志" )
@PostMapping
@PreAuthorize("@pms.hasPermission('archives_lguaziofferrecord_add')" )
public R<Boolean> save(@RequestBody LGuaziOfferRecord lGuaziOfferRecord) {
return R.ok(lGuaziOfferRecordService.save(lGuaziOfferRecord));
}
}
...@@ -22,10 +22,7 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page; ...@@ -22,10 +22,7 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yifu.cloud.plus.v1.yifu.archives.constants.ArchivesConstants; import com.yifu.cloud.plus.v1.yifu.archives.constants.ArchivesConstants;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TEmployeeContractInfo; import com.yifu.cloud.plus.v1.yifu.archives.entity.TEmployeeContractInfo;
import com.yifu.cloud.plus.v1.yifu.archives.service.TEmployeeContractInfoService; import com.yifu.cloud.plus.v1.yifu.archives.service.TEmployeeContractInfoService;
import com.yifu.cloud.plus.v1.yifu.archives.vo.EmpContractAuditVo; import com.yifu.cloud.plus.v1.yifu.archives.vo.*;
import com.yifu.cloud.plus.v1.yifu.archives.vo.ErrorVO;
import com.yifu.cloud.plus.v1.yifu.archives.vo.IdNameNoVo;
import com.yifu.cloud.plus.v1.yifu.archives.vo.TEmployeeContractSearchVo;
import com.yifu.cloud.plus.v1.yifu.common.core.constant.CommonConstants; import com.yifu.cloud.plus.v1.yifu.common.core.constant.CommonConstants;
import com.yifu.cloud.plus.v1.yifu.common.core.util.Common; import com.yifu.cloud.plus.v1.yifu.common.core.util.Common;
import com.yifu.cloud.plus.v1.yifu.common.core.util.ErrorMessage; import com.yifu.cloud.plus.v1.yifu.common.core.util.ErrorMessage;
...@@ -413,4 +410,18 @@ public class TEmployeeContractInfoController { ...@@ -413,4 +410,18 @@ public class TEmployeeContractInfoController {
return tEmployeeContractInfoService.getMinDateByCardAndDeptId(idVo); return tEmployeeContractInfoService.getMinDateByCardAndDeptId(idVo);
} }
/**
* @Author huych
* @Description 查询是否存在正常或者在途的合同
* @Date 10:36 2025/6/12
* @Param
* @return
**/
@Operation(summary = "查询是否存在正常或者在途的合同", description = "查询是否存在正常或者在途的合同")
@Inner
@PostMapping("/selectExitEmpCopntract")
public Boolean selectExitEmpCopntract(@RequestBody TEmployeeAutoRegistCheckVo cardVo) {
return tEmployeeContractInfoService.selectExitEmpCopntract(cardVo);
}
} }
package com.yifu.cloud.plus.v1.yifu.archives.controller;
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.archives.entity.TEmployeeContractInfo;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TEmployeeContractPre;
import com.yifu.cloud.plus.v1.yifu.archives.mapper.TEmployeeContractInfoMapper;
import com.yifu.cloud.plus.v1.yifu.archives.service.TEmployeeContractPreService;
import com.yifu.cloud.plus.v1.yifu.archives.vo.TEmployeeAutoRegistRevokeVo;
import com.yifu.cloud.plus.v1.yifu.archives.vo.TEmployeeContractPreSearchVo;
import com.yifu.cloud.plus.v1.yifu.archives.vo.TEmployeeContractPreVo;
import com.yifu.cloud.plus.v1.yifu.common.core.constant.CommonConstants;
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.annotation.Inner;
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 org.springframework.security.access.prepost.PreAuthorize;
import org.springframework.web.bind.annotation.*;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
/**
* 合同待签订任务记录表
*
* @author huych
* @date 2025-06-11 14:15:53
*/
@RestController
@RequiredArgsConstructor
@RequestMapping("/temployeecontractpre" )
@Tag(name = "合同待签订任务记录表管理")
public class TEmployeeContractPreController {
private final TEmployeeContractPreService tEmployeeContractPreService;
private final MenuUtil menuUtil;
private final TEmployeeContractInfoMapper employeeContractInfoMapper;
/**
* 简单分页查询
* @param page 分页对象
* @param tEmployeeContractPre 合同待签订任务记录表
* @return
*/
@Operation(description = "简单分页查询")
@GetMapping("/page")
public R<IPage<TEmployeeContractPre>> getTEmployeeContractPrePage(Page<TEmployeeContractPre> page, TEmployeeContractPreSearchVo tEmployeeContractPre) {
YifuUser user = SecurityUtils.getUser();
menuUtil.setAuthSql(user, tEmployeeContractPre);
return new R<>(tEmployeeContractPreService.getTEmployeeContractPrePage(page,tEmployeeContractPre));
}
/**
* 通过id查询合同待签订任务记录表
* @param id id
* @return R
*/
@Operation(summary = "通过id查询", description = "通过id查询")
@GetMapping("/{id}" )
public R<TEmployeeContractPre> getById(@PathVariable("id" ) String id) {
return R.ok(tEmployeeContractPreService.getById(id));
}
/**
* 不分页查询
* @param tEmployeeContractPre 商险待办任务表
* @return
*/
@Operation(description = "不分页查询")
@GetMapping("/noPage")
public R<List<TEmployeeContractPre>> getTEmployeeContractPreNoPage(TEmployeeContractPreSearchVo tEmployeeContractPre) {
YifuUser user = SecurityUtils.getUser();
menuUtil.setAuthSql(user, tEmployeeContractPre);
return new R<>(tEmployeeContractPreService.getTEmployeeContractPreNoPage(tEmployeeContractPre));
}
/**
* 合同待签订数量查询
* @param tEmployeeContractPre 合同待签订任务表
* @return
*/
@Operation(description = "合同待签订数量查询")
@GetMapping("/getListCount")
public R getListCount(TEmployeeContractPreSearchVo tEmployeeContractPre) {
YifuUser user = SecurityUtils.getUser();
menuUtil.setAuthSql(user, tEmployeeContractPre);
return R.ok(tEmployeeContractPreService.getTEmployeeContractCount(tEmployeeContractPre));
}
/**
* 合同待签订信息单个/批量确认
* @param idList id数组
**/
@Operation(description = "合同待签订信息单个/批量确认")
@PostMapping("/confirm")
public R confirm(@RequestBody List<String> idList) {
return tEmployeeContractPreService.confirm(idList);
}
/**
* 合同待签订信息单个/批量发起签署任务
* @param idList id数组
**/
@Operation(description = "合同待签订信息单个/批量发起签署任务")
@PostMapping("/dispatcherContract")
public R dispatcherContract(@RequestBody List<String> idList) {
return tEmployeeContractPreService.dispatcherContract(idList);
}
/**
* 合同待签订撤销签署
* @param registRevokeVoList 撤销合同数组
**/
@Operation(description = "合同待签订撤销签署")
@PostMapping("/revokeSign")
public R revokeSign(@RequestBody List<TEmployeeAutoRegistRevokeVo> registRevokeVoList) {
return tEmployeeContractPreService.revokeSign(registRevokeVoList);
}
/**
* 新增合同待签订任务记录表
* @param tEmployeeContractPre 合同待签订任务记录表
* @return R
*/
@Operation(summary = "新增合同待签订任务记录表", description = "新增合同待签订任务记录表")
@SysLog("新增合同待签订任务记录表" )
@PostMapping
public R<Boolean> save(@RequestBody TEmployeeContractPre tEmployeeContractPre) {
return R.ok(tEmployeeContractPreService.save(tEmployeeContractPre));
}
/**
* 修改合同待签订任务记录表
* @param tEmployeeContractPre 合同待签订任务记录表
* @return R
*/
@Operation(summary = "修改合同待签订任务记录表", description = "修改合同待签订任务记录表")
@SysLog("修改合同待签订任务记录表" )
@PutMapping
public R<Boolean> updateById(@RequestBody TEmployeeContractPre tEmployeeContractPre) {
return R.ok(tEmployeeContractPreService.updateById(tEmployeeContractPre));
}
/**
* 通过id删除合同待签订任务记录表
* @param id id
* @return R
*/
@Operation(summary = "通过id删除合同待签订任务记录表", description = "通过id删除合同待签订任务记录表:hasPermission('archives_temployeecontractpre_del')")
@SysLog("通过id删除合同待签订任务记录表" )
@DeleteMapping("/{id}" )
@PreAuthorize("@pms.hasPermission('archives_temployeecontractpre_del')" )
public R<Boolean> removeById(@PathVariable String id) {
return R.ok(tEmployeeContractPreService.removeById(id));
}
/**
* 合同待签订任务记录表 批量导出
* @author huych
* @date 2025-06-11 14:15:53
**/
@Operation(description = "导出合同待签订任务记录表")
@PostMapping("/export")
public void export(HttpServletResponse response, @RequestBody TEmployeeContractPreSearchVo searchVo) {
YifuUser user = SecurityUtils.getUser();
menuUtil.setAuthSql(user, searchVo);
tEmployeeContractPreService.listExport(response,searchVo);
}
/**
* 新增合同待签订任务记录表
* @author huych
* @date 2025-06-12 14:26:32
**/
@Operation(description = "新增合同待签订任务记录表")
@Inner
@PostMapping("/inner/saveContractPreInfo")
public Boolean saveContractPreInfo(@RequestBody TEmployeeContractPreVo preVo) {
return tEmployeeContractPreService.saveContractPreInfo(preVo);
}
/**
* 查询在用或者在途的合同数据
* @param deptNo 项目编码
* @param empIdcard 身份证号
* @return
*/
@Operation(description = "查询在用或者在途的合同数据")
@GetMapping("/getContractInfo")
public R<TEmployeeContractInfo> getInuseContractInfo(@RequestParam String deptNo,@RequestParam String empIdcard) {
TEmployeeContractInfo employeeContractInfo = employeeContractInfoMapper.selectOne(Wrappers.<TEmployeeContractInfo>query().lambda()
.eq(TEmployeeContractInfo::getEmpIdcard, empIdcard)
.eq(TEmployeeContractInfo::getDeptNo, deptNo)
.and(obj -> obj.eq(TEmployeeContractInfo::getAuditStatus, CommonConstants.ONE_INT)
.or()
.eq(TEmployeeContractInfo::getAuditStatus, CommonConstants.TWO_INT)
.eq(TEmployeeContractInfo::getInUse, CommonConstants.ZERO_STRING)
)
.eq(TEmployeeContractInfo::getDeleteFlag, CommonConstants.ZERO_INT)
.last(CommonConstants.LAST_ONE_SQL));
return R.ok(employeeContractInfo);
}
/**
* 派单当日8点30分统一推送确认信息
* @author huych
* @date 2025-06-16 11:26:16
* @return void
*/
@SysLog("派单当日8点30分统一推送确认信息")
@Inner
@PostMapping("/inner/pushWxConfrimMessage")
public void pushWxConfrimMessage() {
tEmployeeContractPreService.pushWxConfrimMessage();
}
/**
* 每天上午9点推送待派单数据
* @author huych
* @date 2025-06-16 14:18:26
* @return void
*/
@SysLog("每天上午9点推送待派单数据")
@Inner
@PostMapping("/inner/pushDisConfrimContracts")
public void pushDisConfrimContracts() {
tEmployeeContractPreService.pushDisConfrimContracts();
}
}
/*
* 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.common.core.util.R;
import com.yifu.cloud.plus.v1.yifu.common.log.annotation.SysLog;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TGzEmpContactInfo;
import com.yifu.cloud.plus.v1.yifu.archives.service.TGzEmpContactInfoService;
import com.yifu.cloud.plus.v1.yifu.archives.vo.TGzEmpContactInfoSearchVo;
import lombok.extern.log4j.Log4j2;
import org.springframework.security.access.prepost.PreAuthorize;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.*;
import java.util.List;
/**
* 瓜子紧急联系人
*
* @author chenyx
* @date 2025-06-13 15:19:04
*/
@Log4j2
@RestController
@RequiredArgsConstructor
@RequestMapping("/tgzempcontactinfo")
@Tag(name = "瓜子紧急联系人管理")
public class TGzEmpContactInfoController {
private final TGzEmpContactInfoService tGzEmpContactInfoService;
/**
* 简单分页查询
*
* @param page 分页对象
* @param tGzEmpContactInfo 瓜子紧急联系人
* @return
*/
@Operation(description = "简单分页查询")
@GetMapping("/page")
public R<IPage<TGzEmpContactInfo>> getTGzEmpContactInfoPage(Page<TGzEmpContactInfo> page, TGzEmpContactInfoSearchVo tGzEmpContactInfo) {
return new R<>(tGzEmpContactInfoService.getTGzEmpContactInfoPage(page, tGzEmpContactInfo));
}
/**
* 不分页查询
*
* @param tGzEmpContactInfo 瓜子紧急联系人
* @return
*/
@Operation(summary = "不分页查询", description = "不分页查询")
@PostMapping("/noPage")
public R<List<TGzEmpContactInfo>> getTGzEmpContactInfoNoPage(@RequestBody TGzEmpContactInfoSearchVo tGzEmpContactInfo) {
return R.ok(tGzEmpContactInfoService.noPageDiy(tGzEmpContactInfo));
}
/**
* 通过id查询瓜子紧急联系人
*
* @param id id
* @return R
*/
@Operation(summary = "通过id查询", description = "通过id查询:hasPermission('archives_tgzempcontactinfo_get')")
@GetMapping("/{id}")
@PreAuthorize("@pms.hasPermission('archives_tgzempcontactinfo_get')")
public R<TGzEmpContactInfo> getById(@PathVariable("id") String id) {
return R.ok(tGzEmpContactInfoService.getById(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.controller;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yifu.cloud.plus.v1.yifu.common.core.util.R;
import com.yifu.cloud.plus.v1.yifu.common.log.annotation.SysLog;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TGzEmpEducation;
import com.yifu.cloud.plus.v1.yifu.archives.service.TGzEmpEducationService;
import com.yifu.cloud.plus.v1.yifu.archives.vo.TGzEmpEducationSearchVo;
import lombok.extern.log4j.Log4j2;
import org.springframework.security.access.prepost.PreAuthorize;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.*;
import java.util.List;
/**
* 瓜子教育经历
*
* @author chenyx
* @date 2025-06-13 15:19:04
*/
@Log4j2
@RestController
@RequiredArgsConstructor
@RequestMapping("/tgzempeducation")
@Tag(name = "瓜子教育经历管理")
public class TGzEmpEducationController {
private final TGzEmpEducationService tGzEmpEducationService;
/**
* 简单分页查询
*
* @param page 分页对象
* @param tGzEmpEducation 瓜子教育经历
* @return
*/
@Operation(description = "简单分页查询")
@GetMapping("/page")
public R<IPage<TGzEmpEducation>> getTGzEmpEducationPage(Page<TGzEmpEducation> page, TGzEmpEducationSearchVo tGzEmpEducation) {
return new R<>(tGzEmpEducationService.getTGzEmpEducationPage(page, tGzEmpEducation));
}
/**
* 不分页查询
*
* @param tGzEmpEducation 瓜子教育经历
* @return
*/
@Operation(summary = "不分页查询", description = "不分页查询")
@PostMapping("/noPage")
public R<List<TGzEmpEducation>> getTGzEmpEducationNoPage(@RequestBody TGzEmpEducationSearchVo tGzEmpEducation) {
return R.ok(tGzEmpEducationService.noPageDiy(tGzEmpEducation));
}
/**
* 通过id查询瓜子教育经历
*
* @param id id
* @return R
*/
@Operation(summary = "通过id查询", description = "通过id查询:hasPermission('archives_tgzempeducation_get')")
@GetMapping("/{id}")
@PreAuthorize("@pms.hasPermission('archives_tgzempeducation_get')")
public R<TGzEmpEducation> getById(@PathVariable("id") String id) {
return R.ok(tGzEmpEducationService.getById(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.controller;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yifu.cloud.plus.v1.yifu.common.core.util.R;
import com.yifu.cloud.plus.v1.yifu.common.log.annotation.SysLog;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TGzEmpFamily;
import com.yifu.cloud.plus.v1.yifu.archives.service.TGzEmpFamilyService;
import com.yifu.cloud.plus.v1.yifu.archives.vo.TGzEmpFamilySearchVo;
import lombok.extern.log4j.Log4j2;
import org.springframework.security.access.prepost.PreAuthorize;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.*;
import java.util.List;
/**
* 瓜子家庭成员
*
* @author chenyx
* @date 2025-06-13 15:19:03
*/
@Log4j2
@RestController
@RequiredArgsConstructor
@RequestMapping("/tgzempfamily")
@Tag(name = "瓜子家庭成员管理")
public class TGzEmpFamilyController {
private final TGzEmpFamilyService tGzEmpFamilyService;
/**
* 简单分页查询
*
* @param page 分页对象
* @param tGzEmpFamily 瓜子家庭成员
* @return
*/
@Operation(description = "简单分页查询")
@GetMapping("/page")
public R<IPage<TGzEmpFamily>> getTGzEmpFamilyPage(Page<TGzEmpFamily> page, TGzEmpFamilySearchVo tGzEmpFamily) {
return new R<>(tGzEmpFamilyService.getTGzEmpFamilyPage(page, tGzEmpFamily));
}
/**
* 不分页查询
*
* @param tGzEmpFamily 瓜子家庭成员
* @return
*/
@Operation(summary = "不分页查询", description = "不分页查询")
@PostMapping("/noPage")
public R<List<TGzEmpFamily>> getTGzEmpFamilyNoPage(@RequestBody TGzEmpFamilySearchVo tGzEmpFamily) {
return R.ok(tGzEmpFamilyService.noPageDiy(tGzEmpFamily));
}
/**
* 通过id查询瓜子家庭成员
*
* @param id id
* @return R
*/
@Operation(summary = "通过id查询", description = "通过id查询:hasPermission('archives_tgzempfamily_get')")
@GetMapping("/{id}")
@PreAuthorize("@pms.hasPermission('archives_tgzempfamily_get')")
public R<TGzEmpFamily> getById(@PathVariable("id") String id) {
return R.ok(tGzEmpFamilyService.getById(id));
}
/**
* 新增瓜子家庭成员
*
* @param tGzEmpFamily 瓜子家庭成员
* @return R
*/
@Operation(summary = "新增瓜子家庭成员", description = "新增瓜子家庭成员:hasPermission('archives_tgzempfamily_add')")
@SysLog("新增瓜子家庭成员")
@PostMapping
@PreAuthorize("@pms.hasPermission('archives_tgzempfamily_add')")
public R<Boolean> save(@RequestBody TGzEmpFamily tGzEmpFamily) {
return R.ok(tGzEmpFamilyService.save(tGzEmpFamily));
}
/**
* 修改瓜子家庭成员
*
* @param tGzEmpFamily 瓜子家庭成员
* @return R
*/
@Operation(summary = "修改瓜子家庭成员", description = "修改瓜子家庭成员:hasPermission('archives_tgzempfamily_edit')")
@SysLog("修改瓜子家庭成员")
@PutMapping
@PreAuthorize("@pms.hasPermission('archives_tgzempfamily_edit')")
public R<Boolean> updateById(@RequestBody TGzEmpFamily tGzEmpFamily) {
return R.ok(tGzEmpFamilyService.updateById(tGzEmpFamily));
}
/**
* 通过id删除瓜子家庭成员
*
* @param id id
* @return R
*/
@Operation(summary = "通过id删除瓜子家庭成员", description = "通过id删除瓜子家庭成员:hasPermission('archives_tgzempfamily_del')")
@SysLog("通过id删除瓜子家庭成员")
@DeleteMapping("/{id}")
@PreAuthorize("@pms.hasPermission('archives_tgzempfamily_del')")
public R<Boolean> removeById(@PathVariable String id) {
return R.ok(tGzEmpFamilyService.removeById(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.controller;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yifu.cloud.plus.v1.yifu.common.core.util.R;
import com.yifu.cloud.plus.v1.yifu.common.log.annotation.SysLog;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TGzEmpInfo;
import com.yifu.cloud.plus.v1.yifu.archives.service.TGzEmpInfoService;
import com.yifu.cloud.plus.v1.yifu.archives.vo.TGzEmpInfoSearchVo;
import lombok.extern.log4j.Log4j2;
import org.springframework.security.access.prepost.PreAuthorize;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.*;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
/**
* 瓜子档案表
*
* @author chenyx
* @date 2025-06-13 15:19:03
*/
@Log4j2
@RestController
@RequiredArgsConstructor
@RequestMapping("/tgzempinfo")
@Tag(name = "瓜子档案表管理")
public class TGzEmpInfoController {
private final TGzEmpInfoService tGzEmpInfoService;
/**
* 简单分页查询
*
* @param page 分页对象
* @param tGzEmpInfo 瓜子档案表
* @return
*/
@Operation(description = "简单分页查询")
@GetMapping("/page")
public R<IPage<TGzEmpInfo>> getTGzEmpInfoPage(Page<TGzEmpInfo> page, TGzEmpInfoSearchVo tGzEmpInfo) {
return new R<>(tGzEmpInfoService.getTGzEmpInfoPage(page, tGzEmpInfo));
}
/**
* 不分页查询
*
* @param tGzEmpInfo 瓜子档案表
* @return
*/
@Operation(summary = "不分页查询", description = "不分页查询")
@PostMapping("/noPage")
public R<List<TGzEmpInfo>> getTGzEmpInfoNoPage(@RequestBody TGzEmpInfoSearchVo tGzEmpInfo) {
return R.ok(tGzEmpInfoService.noPageDiy(tGzEmpInfo));
}
/**
* 通过id查询瓜子档案表
*
* @param id id
* @return R
*/
@Operation(summary = "通过id查询", description = "通过id查询:hasPermission('archives_tgzempinfo_get')")
@GetMapping("/{id}")
@PreAuthorize("@pms.hasPermission('archives_tgzempinfo_get')")
public R<TGzEmpInfo> getById(@PathVariable("id") String id) {
return R.ok(tGzEmpInfoService.getById(id));
}
/**
* 新增瓜子档案表
*
* @param tGzEmpInfo 瓜子档案表
* @return R
*/
@Operation(summary = "新增瓜子档案表", description = "新增瓜子档案表:hasPermission('archives_tgzempinfo_add')")
@SysLog("新增瓜子档案表")
@PostMapping
@PreAuthorize("@pms.hasPermission('archives_tgzempinfo_add')")
public R<Boolean> save(@RequestBody TGzEmpInfo tGzEmpInfo) {
return R.ok(tGzEmpInfoService.save(tGzEmpInfo));
}
/**
* 修改瓜子档案表
*
* @param tGzEmpInfo 瓜子档案表
* @return R
*/
@Operation(summary = "修改瓜子档案表", description = "修改瓜子档案表:hasPermission('archives_tgzempinfo_edit')")
@SysLog("修改瓜子档案表")
@PutMapping
@PreAuthorize("@pms.hasPermission('archives_tgzempinfo_edit')")
public R<Boolean> updateById(@RequestBody TGzEmpInfo tGzEmpInfo) {
return R.ok(tGzEmpInfoService.updateById(tGzEmpInfo));
}
/**
* 通过id删除瓜子档案表
*
* @param id id
* @return R
*/
@Operation(summary = "通过id删除瓜子档案表", description = "通过id删除瓜子档案表:hasPermission('archives_tgzempinfo_del')")
@SysLog("通过id删除瓜子档案表")
@DeleteMapping("/{id}")
@PreAuthorize("@pms.hasPermission('archives_tgzempinfo_del')")
public R<Boolean> removeById(@PathVariable String id) {
return R.ok(tGzEmpInfoService.removeById(id));
}
/**
* 瓜子档案表 批量导出
*
* @author chenyx
* @date 2025-06-13 15:19:03
**/
@Operation(description = "导出瓜子档案表 hasPermission('archives_tgzempinfo-export')")
@PostMapping("/export")
@PreAuthorize("@pms.hasPermission('archives_tgzempinfo-export')")
public void export(HttpServletResponse response, @RequestBody TGzEmpInfoSearchVo searchVo) {
tGzEmpInfoService.listExport(response, 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.controller;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yifu.cloud.plus.v1.yifu.common.core.util.R;
import com.yifu.cloud.plus.v1.yifu.common.log.annotation.SysLog;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TGzEmpSkill;
import com.yifu.cloud.plus.v1.yifu.archives.service.TGzEmpSkillService;
import com.yifu.cloud.plus.v1.yifu.archives.vo.TGzEmpSkillSearchVo;
import lombok.extern.log4j.Log4j2;
import org.springframework.security.access.prepost.PreAuthorize;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.*;
import java.util.List;
/**
* 瓜子技能证书
*
* @author chenyx
* @date 2025-06-13 15:19:03
*/
@Log4j2
@RestController
@RequiredArgsConstructor
@RequestMapping("/tgzempskill")
@Tag(name = "瓜子技能证书管理")
public class TGzEmpSkillController {
private final TGzEmpSkillService tGzEmpSkillService;
/**
* 简单分页查询
*
* @param page 分页对象
* @param tGzEmpSkill 瓜子技能证书
* @return
*/
@Operation(description = "简单分页查询")
@GetMapping("/page")
public R<IPage<TGzEmpSkill>> getTGzEmpSkillPage(Page<TGzEmpSkill> page, TGzEmpSkillSearchVo tGzEmpSkill) {
return new R<>(tGzEmpSkillService.getTGzEmpSkillPage(page, tGzEmpSkill));
}
/**
* 不分页查询
*
* @param tGzEmpSkill 瓜子技能证书
* @return
*/
@Operation(summary = "不分页查询", description = "不分页查询")
@PostMapping("/noPage")
public R<List<TGzEmpSkill>> getTGzEmpSkillNoPage(@RequestBody TGzEmpSkillSearchVo tGzEmpSkill) {
return R.ok(tGzEmpSkillService.noPageDiy(tGzEmpSkill));
}
/**
* 通过id查询瓜子技能证书
*
* @param id id
* @return R
*/
@Operation(summary = "通过id查询", description = "通过id查询:hasPermission('archives_tgzempskill_get')")
@GetMapping("/{id}")
@PreAuthorize("@pms.hasPermission('archives_tgzempskill_get')")
public R<TGzEmpSkill> getById(@PathVariable("id") String id) {
return R.ok(tGzEmpSkillService.getById(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.controller;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yifu.cloud.plus.v1.yifu.common.core.util.R;
import com.yifu.cloud.plus.v1.yifu.common.log.annotation.SysLog;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TGzEmpWork;
import com.yifu.cloud.plus.v1.yifu.archives.service.TGzEmpWorkService;
import com.yifu.cloud.plus.v1.yifu.archives.vo.TGzEmpWorkSearchVo;
import lombok.extern.log4j.Log4j2;
import org.springframework.security.access.prepost.PreAuthorize;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.*;
import java.util.List;
/**
* 瓜子工作经历
*
* @author chenyx
* @date 2025-06-13 15:19:04
*/
@Log4j2
@RestController
@RequiredArgsConstructor
@RequestMapping("/tgzempwork")
@Tag(name = "瓜子工作经历管理")
public class TGzEmpWorkController {
private final TGzEmpWorkService tGzEmpWorkService;
/**
* 简单分页查询
*
* @param page 分页对象
* @param tGzEmpWork 瓜子工作经历
* @return
*/
@Operation(description = "简单分页查询")
@GetMapping("/page")
public R<IPage<TGzEmpWork>> getTGzEmpWorkPage(Page<TGzEmpWork> page, TGzEmpWorkSearchVo tGzEmpWork) {
return new R<>(tGzEmpWorkService.getTGzEmpWorkPage(page, tGzEmpWork));
}
/**
* 不分页查询
*
* @param tGzEmpWork 瓜子工作经历
* @return
*/
@Operation(summary = "不分页查询", description = "不分页查询")
@PostMapping("/noPage")
public R<List<TGzEmpWork>> getTGzEmpWorkNoPage(@RequestBody TGzEmpWorkSearchVo tGzEmpWork) {
return R.ok(tGzEmpWorkService.noPageDiy(tGzEmpWork));
}
/**
* 通过id查询瓜子工作经历
*
* @param id id
* @return R
*/
@Operation(summary = "通过id查询", description = "通过id查询:hasPermission('archives_tgzempwork_get')")
@GetMapping("/{id}")
@PreAuthorize("@pms.hasPermission('archives_tgzempwork_get')")
public R<TGzEmpWork> getById(@PathVariable("id") String id) {
return R.ok(tGzEmpWorkService.getById(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.controller;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yifu.cloud.plus.v1.yifu.common.core.util.R;
import com.yifu.cloud.plus.v1.yifu.common.log.annotation.SysLog;
import com.yifu.cloud.plus.v1.yifu.archives.entity.TGzOfferInfo;
import com.yifu.cloud.plus.v1.yifu.archives.service.TGzOfferInfoService;
import org.springframework.security.access.prepost.PreAuthorize;
import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.RequiredArgsConstructor;
import org.springframework.web.bind.annotation.*;
/**
* 瓜子offer信息接收表
*
* @author chenyx
* @date 2025-06-11 15:58:37
*/
@RestController
@RequiredArgsConstructor
@RequestMapping("/tgzofferinfo" )
@Tag(name = "瓜子offer信息接收表管理")
public class TGzOfferInfoController {
private final TGzOfferInfoService tGzOfferInfoService;
/**
* 简单分页查询
* @param page 分页对象
* @param tGzOfferInfo 瓜子offer信息接收表
* @return
*/
@Operation(description = "简单分页查询")
@GetMapping("/page")
public R<IPage<TGzOfferInfo>> getTGzOfferInfoPage(Page<TGzOfferInfo> page, TGzOfferInfo tGzOfferInfo) {
return new R<>(tGzOfferInfoService.getTGzOfferInfoPage(page,tGzOfferInfo));
}
/**
* 通过id查询瓜子offer信息接收表
* @param id id
* @return R
*/
@Operation(summary = "通过id查询", description = "通过id查询:hasPermission('archives_tgzofferinfo_get')")
@GetMapping("/{id}" )
@PreAuthorize("@pms.hasPermission('archives_tgzofferinfo_get')" )
public R<TGzOfferInfo> getById(@PathVariable("id" ) String id) {
return R.ok(tGzOfferInfoService.getById(id));
}
/**
* 新增瓜子offer信息接收表
* @param tGzOfferInfo 瓜子offer信息接收表
* @return R
*/
@Operation(summary = "新增瓜子offer信息接收表", description = "新增瓜子offer信息接收表:hasPermission('archives_tgzofferinfo_add')")
@SysLog("新增瓜子offer信息接收表" )
@PostMapping
@PreAuthorize("@pms.hasPermission('archives_tgzofferinfo_add')" )
public R<Boolean> save(@RequestBody TGzOfferInfo tGzOfferInfo) {
return R.ok(tGzOfferInfoService.save(tGzOfferInfo));
}
/**
* 修改瓜子offer信息接收表
* @param tGzOfferInfo 瓜子offer信息接收表
* @return R
*/
@Operation(summary = "修改瓜子offer信息接收表", description = "修改瓜子offer信息接收表:hasPermission('archives_tgzofferinfo_edit')")
@SysLog("修改瓜子offer信息接收表" )
@PutMapping
@PreAuthorize("@pms.hasPermission('archives_tgzofferinfo_edit')" )
public R<Boolean> updateById(@RequestBody TGzOfferInfo tGzOfferInfo) {
return R.ok(tGzOfferInfoService.updateById(tGzOfferInfo));
}
}
/*
* 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.LGuaziOfferRecord;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
/**
* 瓜子offer操作日志
*
* @author chenyx
* @date 2025-06-11 15:59:04
*/
@Mapper
public interface LGuaziOfferRecordMapper extends BaseMapper<LGuaziOfferRecord> {
/**
* 瓜子offer操作日志简单分页查询
* @param lGuaziOfferRecord 瓜子offer操作日志
* @return
*/
IPage<LGuaziOfferRecord> getLGuaziOfferRecordPage(Page<LGuaziOfferRecord> page, @Param("lGuaziOfferRecord") LGuaziOfferRecord lGuaziOfferRecord);
}
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.TEmployeeContractPre;
import com.yifu.cloud.plus.v1.yifu.archives.vo.EmployeeContractVO;
import com.yifu.cloud.plus.v1.yifu.archives.vo.TEmployeeContractPreExportVo;
import com.yifu.cloud.plus.v1.yifu.archives.vo.TEmployeeContractPreSearchVo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.util.List;
/**
* 合同待签订任务记录表
*
* @author huych
* @date 2025-06-11 14:15:53
*/
@Mapper
public interface TEmployeeContractPreMapper extends BaseMapper<TEmployeeContractPre> {
/**
* 合同待签订任务记录表简单分页查询
* @param tEmployeeContractPre 合同待签订任务记录表
* @return
*/
IPage<TEmployeeContractPre> getTEmployeeContractPrePage(Page<TEmployeeContractPre> page, @Param("tEmployeeContractPre") TEmployeeContractPreSearchVo tEmployeeContractPre);
List<TEmployeeContractPre> getTEmployeeContractPreNoPage(@Param("TEmployeeContractPre") TEmployeeContractPreSearchVo tEmployeeContractPre);
long getTEmployeeContractPreExportCount(@Param("tEmployeeContractPre") TEmployeeContractPreSearchVo tEmployeeContractPre);
List<TEmployeeContractPreExportVo> getTEmployeeContractPreExport(@Param("tEmployeeContractPre") TEmployeeContractPreSearchVo tEmployeeContractPre);
List<EmployeeContractVO> getDisPatcherContractList(@Param("idList") List<String> idList,@Param("statusList") List<String> statusList);
List<TEmployeeContractPre> getAllUnconfimData();
List<String> getAllUnDisData();
}
/*
* 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.TGzEmpContactInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
/**
* 瓜子紧急联系人
*
* @author chenyx
* @date 2025-06-13 15:19:04
*/
@Mapper
public interface TGzEmpContactInfoMapper extends BaseMapper<TGzEmpContactInfo> {
/**
* 瓜子紧急联系人简单分页查询
* @param tGzEmpContactInfo 瓜子紧急联系人
* @return
*/
IPage<TGzEmpContactInfo> getTGzEmpContactInfoPage(Page<TGzEmpContactInfo> page, @Param("tGzEmpContactInfo") TGzEmpContactInfo tGzEmpContactInfo);
}
/*
* 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.TGzEmpEducation;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
/**
* 瓜子教育经历
*
* @author chenyx
* @date 2025-06-13 15:19:04
*/
@Mapper
public interface TGzEmpEducationMapper extends BaseMapper<TGzEmpEducation> {
/**
* 瓜子教育经历简单分页查询
* @param tGzEmpEducation 瓜子教育经历
* @return
*/
IPage<TGzEmpEducation> getTGzEmpEducationPage(Page<TGzEmpEducation> page, @Param("tGzEmpEducation") TGzEmpEducation tGzEmpEducation);
}
/*
* 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.TGzEmpFamily;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
/**
* 瓜子家庭成员
*
* @author chenyx
* @date 2025-06-13 15:19:03
*/
@Mapper
public interface TGzEmpFamilyMapper extends BaseMapper<TGzEmpFamily> {
/**
* 瓜子家庭成员简单分页查询
*
* @param tGzEmpFamily 瓜子家庭成员
* @return
*/
IPage<TGzEmpFamily> getTGzEmpFamilyPage(Page<TGzEmpFamily> page, @Param("tGzEmpFamily") TGzEmpFamily tGzEmpFamily);
}
/*
* 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.TGzEmpInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
/**
* 瓜子档案表
*
* @author chenyx
* @date 2025-06-13 15:19:03
*/
@Mapper
public interface TGzEmpInfoMapper extends BaseMapper<TGzEmpInfo> {
/**
* 瓜子档案表简单分页查询
*
* @param tGzEmpInfo 瓜子档案表
* @return
*/
IPage<TGzEmpInfo> getTGzEmpInfoPage(Page<TGzEmpInfo> page, @Param("tGzEmpInfo") TGzEmpInfo tGzEmpInfo);
}
/*
* 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.TGzEmpSkill;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
/**
* 瓜子技能证书
*
* @author chenyx
* @date 2025-06-13 15:19:03
*/
@Mapper
public interface TGzEmpSkillMapper extends BaseMapper<TGzEmpSkill> {
/**
* 瓜子技能证书简单分页查询
*
* @param tGzEmpSkill 瓜子技能证书
* @return
*/
IPage<TGzEmpSkill> getTGzEmpSkillPage(Page<TGzEmpSkill> page, @Param("tGzEmpSkill") TGzEmpSkill tGzEmpSkill);
}
/*
* 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.TGzEmpWork;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
/**
* 瓜子工作经历
*
* @author chenyx
* @date 2025-06-13 15:19:04
*/
@Mapper
public interface TGzEmpWorkMapper extends BaseMapper<TGzEmpWork> {
/**
* 瓜子工作经历简单分页查询
*
* @param tGzEmpWork 瓜子工作经历
* @return
*/
IPage<TGzEmpWork> getTGzEmpWorkPage(Page<TGzEmpWork> page, @Param("tGzEmpWork") TGzEmpWork tGzEmpWork);
}
/*
* 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.TGzOfferInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
/**
* 瓜子offer信息接收表
*
* @author chenyx
* @date 2025-06-11 15:58:37
*/
@Mapper
public interface TGzOfferInfoMapper extends BaseMapper<TGzOfferInfo> {
/**
* 瓜子offer信息接收表简单分页查询
* @param tGzOfferInfo 瓜子offer信息接收表
* @return
*/
IPage<TGzOfferInfo> getTGzOfferInfoPage(Page<TGzOfferInfo> page, @Param("tGzOfferInfo") TGzOfferInfo tGzOfferInfo);
}
/*
* 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.LGuaziOfferRecord;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
/**
* 瓜子offer操作日志
*
* @author chenyx
* @date 2025-06-11 15:59:04
*/
public interface LGuaziOfferRecordService extends IService<LGuaziOfferRecord> {
/**
* 瓜子offer操作日志简单分页查询
* @param lGuaziOfferRecord 瓜子offer操作日志
* @return
*/
IPage<LGuaziOfferRecord> getLGuaziOfferRecordPage(Page<LGuaziOfferRecord> page, LGuaziOfferRecord lGuaziOfferRecord);
}
...@@ -141,6 +141,8 @@ public interface TEmployeeContractInfoService extends IService<TEmployeeContract ...@@ -141,6 +141,8 @@ public interface TEmployeeContractInfoService extends IService<TEmployeeContract
**/ **/
R<List<ErrorMessage>> batchImport(InputStream inputStream); R<List<ErrorMessage>> batchImport(InputStream inputStream);
void importContract(List<EmployeeContractVO> excelVOList, List<ErrorMessage> errorMessageList);
/** /**
* @param inputStream * @param inputStream
* @Description: 批量更新 * @Description: 批量更新
...@@ -188,4 +190,6 @@ public interface TEmployeeContractInfoService extends IService<TEmployeeContract ...@@ -188,4 +190,6 @@ public interface TEmployeeContractInfoService extends IService<TEmployeeContract
String getMinDateByCardAndDeptId(IdNameNoVo vo); String getMinDateByCardAndDeptId(IdNameNoVo vo);
Boolean selectExitEmpCopntract(TEmployeeAutoRegistCheckVo cardVo);
} }
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.TEmployeeContractPre;
import com.yifu.cloud.plus.v1.yifu.archives.vo.TEmployeeAutoRegistRevokeVo;
import com.yifu.cloud.plus.v1.yifu.archives.vo.TEmployeeContractPreSearchVo;
import com.yifu.cloud.plus.v1.yifu.archives.vo.TEmployeeContractPreVo;
import com.yifu.cloud.plus.v1.yifu.common.core.util.R;
import org.apache.ibatis.annotations.Param;
import javax.servlet.http.HttpServletResponse;
import java.util.List;
/**
* 合同待签订任务记录表
*
* @author huych
* @date 2025-06-11 14:15:53
*/
public interface TEmployeeContractPreService extends IService<TEmployeeContractPre> {
/**
* 合同待签订任务记录表简单分页查询
* @param tEmployeeContractPre 合同待签订任务记录表
* @return
*/
IPage<TEmployeeContractPre> getTEmployeeContractPrePage(Page<TEmployeeContractPre> page, TEmployeeContractPreSearchVo tEmployeeContractPre);
List<TEmployeeContractPre> getTEmployeeContractPreNoPage(@Param("tEmployeeContractPre") TEmployeeContractPreSearchVo tEmployeeContractPre);
/**
* 查询合同待签订数量
* @param tEmployeeContractPre 查询合同待签订vo
* @return
*/
long getTEmployeeContractCount(TEmployeeContractPreSearchVo tEmployeeContractPre);
/**
* 导出合同待签订任务记录表
* @param response
* @param searchVo
*/
void listExport(HttpServletResponse response, TEmployeeContractPreSearchVo searchVo);
/**
* 新增合同待签订
* @param preVo
* @return
*/
Boolean saveContractPreInfo(TEmployeeContractPreVo preVo);
/**
* 合同待签订信息单个/批量确认
* @param idList id集合
* @return
*/
R confirm(List<String> idList);
/**
* 合同待签订信息单个/批量发起签署任务
* @param idList id集合
* @return
*/
R dispatcherContract(List<String> idList);
/**
* 合同待签订撤销签署
* @param registRevokeVoList
* @return
*/
R revokeSign(List<TEmployeeAutoRegistRevokeVo> registRevokeVoList);
void pushWxConfrimMessage();
void pushDisConfrimContracts();
}
/*
* 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.TGzEmpContactInfo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
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.archives.vo.TGzEmpContactInfoSearchVo;
import javax.servlet.http.HttpServletResponse;
import java.io.InputStream;
import java.util.List;
/**
* 瓜子紧急联系人
*
* @author chenyx
* @date 2025-06-13 15:19:04
*/
public interface TGzEmpContactInfoService extends IService<TGzEmpContactInfo> {
/**
* 瓜子紧急联系人简单分页查询
*
* @param tGzEmpContactInfo 瓜子紧急联系人
* @return
*/
IPage<TGzEmpContactInfo> getTGzEmpContactInfoPage(Page<TGzEmpContactInfo> page, TGzEmpContactInfoSearchVo tGzEmpContactInfo);
List<TGzEmpContactInfo> noPageDiy(TGzEmpContactInfoSearchVo 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.TGzEmpEducation;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
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.archives.vo.TGzEmpEducationSearchVo;
import javax.servlet.http.HttpServletResponse;
import java.io.InputStream;
import java.util.List;
/**
* 瓜子教育经历
*
* @author chenyx
* @date 2025-06-13 15:19:04
*/
public interface TGzEmpEducationService extends IService<TGzEmpEducation> {
/**
* 瓜子教育经历简单分页查询
*
* @param tGzEmpEducation 瓜子教育经历
* @return
*/
IPage<TGzEmpEducation> getTGzEmpEducationPage(Page<TGzEmpEducation> page, TGzEmpEducationSearchVo tGzEmpEducation);
List<TGzEmpEducation> noPageDiy(TGzEmpEducationSearchVo 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.TGzEmpFamily;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
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.archives.vo.TGzEmpFamilySearchVo;
import javax.servlet.http.HttpServletResponse;
import java.io.InputStream;
import java.util.List;
/**
* 瓜子家庭成员
*
* @author chenyx
* @date 2025-06-13 15:19:03
*/
public interface TGzEmpFamilyService extends IService<TGzEmpFamily> {
/**
* 瓜子家庭成员简单分页查询
*
* @param tGzEmpFamily 瓜子家庭成员
* @return
*/
IPage<TGzEmpFamily> getTGzEmpFamilyPage(Page<TGzEmpFamily> page, TGzEmpFamilySearchVo tGzEmpFamily);
List<TGzEmpFamily> noPageDiy(TGzEmpFamilySearchVo 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.TGzEmpInfo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
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.archives.vo.TGzEmpInfoSearchVo;
import javax.servlet.http.HttpServletResponse;
import java.io.InputStream;
import java.util.List;
/**
* 瓜子档案表
*
* @author chenyx
* @date 2025-06-13 15:19:03
*/
public interface TGzEmpInfoService extends IService<TGzEmpInfo> {
/**
* 瓜子档案表简单分页查询
*
* @param tGzEmpInfo 瓜子档案表
* @return
*/
IPage<TGzEmpInfo> getTGzEmpInfoPage(Page<TGzEmpInfo> page, TGzEmpInfoSearchVo tGzEmpInfo);
void listExport(HttpServletResponse response, TGzEmpInfoSearchVo searchVo);
List<TGzEmpInfo> noPageDiy(TGzEmpInfoSearchVo 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.TGzEmpSkill;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
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.archives.vo.TGzEmpSkillSearchVo;
import javax.servlet.http.HttpServletResponse;
import java.io.InputStream;
import java.util.List;
/**
* 瓜子技能证书
*
* @author chenyx
* @date 2025-06-13 15:19:03
*/
public interface TGzEmpSkillService extends IService<TGzEmpSkill> {
/**
* 瓜子技能证书简单分页查询
* @param tGzEmpSkill 瓜子技能证书
* @return
*/
IPage<TGzEmpSkill> getTGzEmpSkillPage(Page<TGzEmpSkill> page, TGzEmpSkillSearchVo tGzEmpSkill);
List<TGzEmpSkill> noPageDiy(TGzEmpSkillSearchVo 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.TGzOfferInfo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
/**
* 瓜子offer信息接收表
*
* @author chenyx
* @date 2025-06-11 15:58:37
*/
public interface TGzOfferInfoService extends IService<TGzOfferInfo> {
/**
* 瓜子offer信息接收表简单分页查询
* @param tGzOfferInfo 瓜子offer信息接收表
* @return
*/
IPage<TGzOfferInfo> getTGzOfferInfoPage(Page<TGzOfferInfo> page, TGzOfferInfo tGzOfferInfo);
}
...@@ -253,6 +253,7 @@ ...@@ -253,6 +253,7 @@
1=1 1=1
<include refid="employeeRegistration_where"/> <include refid="employeeRegistration_where"/>
</where> </where>
limit 0,2000
</select> </select>
<!--employeeRegistration简单分页查询--> <!--employeeRegistration简单分页查询-->
......
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