Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fangxinjiang
yifu-mvp
Commits
fb6482e2
Commit
fb6482e2
authored
Jun 17, 2024
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MVP1.6.6-预入职-初提交
parent
b7b173ea
Hide whitespace changes
Inline
Side-by-side
Showing
64 changed files
with
6558 additions
and
2 deletions
+6558
-2
TAttaInfo.java
...om/yifu/cloud/plus/v1/yifu/archives/entity/TAttaInfo.java
+3
-2
TPreEmpBadRecord.java
.../cloud/plus/v1/yifu/archives/entity/TPreEmpBadRecord.java
+142
-0
TPreEmpContactInfo.java
...loud/plus/v1/yifu/archives/entity/TPreEmpContactInfo.java
+107
-0
TPreEmpDeclaration.java
...loud/plus/v1/yifu/archives/entity/TPreEmpDeclaration.java
+64
-0
TPreEmpDisabilityInfo.java
...d/plus/v1/yifu/archives/entity/TPreEmpDisabilityInfo.java
+170
-0
TPreEmpEducation.java
.../cloud/plus/v1/yifu/archives/entity/TPreEmpEducation.java
+209
-0
TPreEmpFamily.java
...ifu/cloud/plus/v1/yifu/archives/entity/TPreEmpFamily.java
+162
-0
TPreEmpMain.java
.../yifu/cloud/plus/v1/yifu/archives/entity/TPreEmpMain.java
+216
-0
TPreEmpProfessionalQualification.java
...ifu/archives/entity/TPreEmpProfessionalQualification.java
+181
-0
TPreEmpWorkRecording.java
...ud/plus/v1/yifu/archives/entity/TPreEmpWorkRecording.java
+180
-0
TPreEmployeeInfo.java
.../cloud/plus/v1/yifu/archives/entity/TPreEmployeeInfo.java
+400
-0
TPreEmployeeProject.java
...oud/plus/v1/yifu/archives/entity/TPreEmployeeProject.java
+403
-0
PreEmpMainDetailVo.java
...fu/cloud/plus/v1/yifu/archives/vo/PreEmpMainDetailVo.java
+61
-0
TPreEmpMainSearchVo.java
...u/cloud/plus/v1/yifu/archives/vo/TPreEmpMainSearchVo.java
+58
-0
TPreEmpMainVo.java
...om/yifu/cloud/plus/v1/yifu/archives/vo/TPreEmpMainVo.java
+252
-0
TPreEmpMainController.java
...us/v1/yifu/archives/controller/TPreEmpMainController.java
+181
-0
TAttaInfoMapper.java
...u/cloud/plus/v1/yifu/archives/mapper/TAttaInfoMapper.java
+2
-0
TPreEmpBadRecordMapper.java
.../plus/v1/yifu/archives/mapper/TPreEmpBadRecordMapper.java
+41
-0
TPreEmpContactInfoMapper.java
...lus/v1/yifu/archives/mapper/TPreEmpContactInfoMapper.java
+42
-0
TPreEmpDeclarationMapper.java
...lus/v1/yifu/archives/mapper/TPreEmpDeclarationMapper.java
+38
-0
TPreEmpDisabilityInfoMapper.java
.../v1/yifu/archives/mapper/TPreEmpDisabilityInfoMapper.java
+42
-0
TPreEmpEducationMapper.java
.../plus/v1/yifu/archives/mapper/TPreEmpEducationMapper.java
+42
-0
TPreEmpFamilyMapper.java
...oud/plus/v1/yifu/archives/mapper/TPreEmpFamilyMapper.java
+42
-0
TPreEmpMainMapper.java
...cloud/plus/v1/yifu/archives/mapper/TPreEmpMainMapper.java
+42
-0
TPreEmpProfessionalQualificationMapper.java
...chives/mapper/TPreEmpProfessionalQualificationMapper.java
+42
-0
TPreEmpWorkRecordingMapper.java
...s/v1/yifu/archives/mapper/TPreEmpWorkRecordingMapper.java
+42
-0
TPreEmployeeInfoMapper.java
.../plus/v1/yifu/archives/mapper/TPreEmployeeInfoMapper.java
+42
-0
TPreEmployeeProjectMapper.java
...us/v1/yifu/archives/mapper/TPreEmployeeProjectMapper.java
+42
-0
TAttaInfoService.java
...cloud/plus/v1/yifu/archives/service/TAttaInfoService.java
+8
-0
TPreEmpBadRecordService.java
...lus/v1/yifu/archives/service/TPreEmpBadRecordService.java
+38
-0
TPreEmpContactInfoService.java
...s/v1/yifu/archives/service/TPreEmpContactInfoService.java
+38
-0
TPreEmpDeclarationService.java
...s/v1/yifu/archives/service/TPreEmpDeclarationService.java
+36
-0
TPreEmpDisabilityInfoService.java
...1/yifu/archives/service/TPreEmpDisabilityInfoService.java
+38
-0
TPreEmpEducationService.java
...lus/v1/yifu/archives/service/TPreEmpEducationService.java
+38
-0
TPreEmpFamilyService.java
...d/plus/v1/yifu/archives/service/TPreEmpFamilyService.java
+38
-0
TPreEmpMainService.java
...oud/plus/v1/yifu/archives/service/TPreEmpMainService.java
+66
-0
TPreEmpProfessionalQualificationService.java
...ives/service/TPreEmpProfessionalQualificationService.java
+39
-0
TPreEmpWorkRecordingService.java
...v1/yifu/archives/service/TPreEmpWorkRecordingService.java
+38
-0
TPreEmployeeInfoService.java
...lus/v1/yifu/archives/service/TPreEmployeeInfoService.java
+38
-0
TPreEmployeeProjectService.java
.../v1/yifu/archives/service/TPreEmployeeProjectService.java
+38
-0
TAttaInfoServiceImpl.java
...s/v1/yifu/archives/service/impl/TAttaInfoServiceImpl.java
+4
-0
TPreEmpBadRecordServiceImpl.java
...fu/archives/service/impl/TPreEmpBadRecordServiceImpl.java
+47
-0
TPreEmpContactInfoServiceImpl.java
.../archives/service/impl/TPreEmpContactInfoServiceImpl.java
+46
-0
TPreEmpDeclarationServiceImpl.java
.../archives/service/impl/TPreEmpDeclarationServiceImpl.java
+45
-0
TPreEmpDisabilityInfoServiceImpl.java
...chives/service/impl/TPreEmpDisabilityInfoServiceImpl.java
+70
-0
TPreEmpEducationServiceImpl.java
...fu/archives/service/impl/TPreEmpEducationServiceImpl.java
+70
-0
TPreEmpFamilyServiceImpl.java
.../yifu/archives/service/impl/TPreEmpFamilyServiceImpl.java
+70
-0
TPreEmpMainServiceImpl.java
...v1/yifu/archives/service/impl/TPreEmpMainServiceImpl.java
+445
-0
TPreEmpProfessionalQualificationServiceImpl.java
...ice/impl/TPreEmpProfessionalQualificationServiceImpl.java
+46
-0
TPreEmpWorkRecordingServiceImpl.java
...rchives/service/impl/TPreEmpWorkRecordingServiceImpl.java
+70
-0
TPreEmployeeInfoServiceImpl.java
...fu/archives/service/impl/TPreEmployeeInfoServiceImpl.java
+70
-0
TPreEmployeeProjectServiceImpl.java
...archives/service/impl/TPreEmployeeProjectServiceImpl.java
+70
-0
TAttaInfoMapper.xml
...rchives-biz/src/main/resources/mapper/TAttaInfoMapper.xml
+9
-0
TPreEmpBadRecordMapper.xml
...-biz/src/main/resources/mapper/TPreEmpBadRecordMapper.xml
+129
-0
TPreEmpContactInfoMapper.xml
...iz/src/main/resources/mapper/TPreEmpContactInfoMapper.xml
+101
-0
TPreEmpDeclarationMapper.xml
...iz/src/main/resources/mapper/TPreEmpDeclarationMapper.xml
+43
-0
TPreEmpDisabilityInfoMapper.xml
...src/main/resources/mapper/TPreEmpDisabilityInfoMapper.xml
+144
-0
TPreEmpEducationMapper.xml
...-biz/src/main/resources/mapper/TPreEmpEducationMapper.xml
+169
-0
TPreEmpFamilyMapper.xml
...ves-biz/src/main/resources/mapper/TPreEmpFamilyMapper.xml
+139
-0
TPreEmpMainMapper.xml
...hives-biz/src/main/resources/mapper/TPreEmpMainMapper.xml
+179
-0
TPreEmpProfessionalQualificationMapper.xml
...sources/mapper/TPreEmpProfessionalQualificationMapper.xml
+149
-0
TPreEmpWorkRecordingMapper.xml
.../src/main/resources/mapper/TPreEmpWorkRecordingMapper.xml
+149
-0
TPreEmployeeInfoMapper.xml
...-biz/src/main/resources/mapper/TPreEmployeeInfoMapper.xml
+299
-0
TPreEmployeeProjectMapper.xml
...z/src/main/resources/mapper/TPreEmployeeProjectMapper.xml
+294
-0
No files found.
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/entity/TAttaInfo.java
View file @
fb6482e2
...
@@ -57,11 +57,12 @@ public class TAttaInfo extends BaseEntity {
...
@@ -57,11 +57,12 @@ public class TAttaInfo extends BaseEntity {
@Schema
(
description
=
"资源类型"
)
@Schema
(
description
=
"资源类型"
)
private
String
attaType
;
private
String
attaType
;
/**
/**
* 关系类型(0客户附件1联系人附件2跟进记录附件3合同附件4合同归档附件5报价单)
* 关系类型(0客户附件1联系人附件2跟进记录附件3合同附件4合同归档附件5报价单6招投标7业务评估8二维码9身份证 10 户口本
* ;21(预入职申明签名);22(预入职确认签名);23(预入职pdf文件)
*/
*/
@NotBlank
(
message
=
"关系类型(0员工附件-学历 1 员工附件-伤残 2.员工附件-职业)不能为空"
)
@NotBlank
(
message
=
"关系类型(0员工附件-学历 1 员工附件-伤残 2.员工附件-职业)不能为空"
)
@Length
(
max
=
2
,
message
=
"关系类型(0员工附件-学历 1 员工附件-伤残 2.员工附件-职业)不能超过2个字符"
)
@Length
(
max
=
2
,
message
=
"关系类型(0员工附件-学历 1 员工附件-伤残 2.员工附件-职业)不能超过2个字符"
)
@Schema
(
description
=
"关系类型(0员工附件-学历 1 员工附件-伤残 2.员工附件-职业)"
)
@Schema
(
description
=
"关系类型(0员工附件-学历 1 员工附件-伤残 2.员工附件-职业)
;21(预入职申明签名);22(预入职确认签名);23(预入职pdf文件)
"
)
private
String
relationType
;
private
String
relationType
;
/**
/**
* 实体id和关系类型共同确定附件所属
* 实体id和关系类型共同确定附件所属
...
...
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/entity/TPreEmpBadRecord.java
0 → 100644
View file @
fb6482e2
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
entity
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute
;
import
com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
org.hibernate.validator.constraints.Length
;
import
javax.validation.constraints.NotBlank
;
import
java.math.BigDecimal
;
import
java.util.Date
;
/**
* 预入职-员工不良记录表
*
* @author hgw
* @date 2024-06-17 11:31:08
*/
@Data
@TableName
(
"t_pre_emp_bad_record"
)
@EqualsAndHashCode
(
callSuper
=
true
)
@Schema
(
description
=
"预入职-员工不良记录表"
)
public
class
TPreEmpBadRecord
extends
BaseEntity
{
/**
* 主键
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@ExcelProperty
(
"主键"
)
@Schema
(
description
=
"主键"
)
private
String
id
;
/**
* 预入职主表ID
*/
@ExcelAttribute
(
name
=
"预入职主表ID"
,
isNotEmpty
=
true
,
errorInfo
=
"预入职主表ID不能为空"
,
maxLength
=
32
)
@NotBlank
(
message
=
"预入职主表ID不能为空"
)
@Length
(
max
=
32
,
message
=
"预入职主表ID不能超过32个字符"
)
@ExcelProperty
(
"预入职主表ID"
)
@Schema
(
description
=
"预入职主表ID"
)
private
String
preMainId
;
/**
* 员工姓名
*/
@ExcelAttribute
(
name
=
"员工姓名"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"员工姓名不能超过32个字符"
)
@ExcelProperty
(
"员工姓名"
)
@Schema
(
description
=
"员工姓名"
)
private
String
empName
;
/**
* 员工ID
*/
@ExcelAttribute
(
name
=
"员工ID"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"员工ID不能超过32个字符"
)
@ExcelProperty
(
"员工ID"
)
@Schema
(
description
=
"员工ID"
)
private
String
empId
;
/**
* 身份证号
*/
@ExcelAttribute
(
name
=
"身份证号"
,
maxLength
=
20
)
@Length
(
max
=
20
,
message
=
"身份证号不能超过20个字符"
)
@ExcelProperty
(
"身份证号"
)
@Schema
(
description
=
"身份证号"
)
private
String
empIdcard
;
/**
* 产生项目
*/
@ExcelAttribute
(
name
=
"产生项目"
,
maxLength
=
50
)
@Length
(
max
=
50
,
message
=
"产生项目不能超过50个字符"
)
@ExcelProperty
(
"产生项目"
)
@Schema
(
description
=
"产生项目"
)
private
String
project
;
/**
* 项目编码
*/
@ExcelAttribute
(
name
=
"项目编码"
,
maxLength
=
50
)
@Length
(
max
=
50
,
message
=
"项目编码不能超过50个字符"
)
@ExcelProperty
(
"项目编码"
)
@Schema
(
description
=
"项目编码"
)
private
String
projectCode
;
/**
* 发生时间
*/
@ExcelAttribute
(
name
=
"发生时间"
,
isDate
=
true
)
@ExcelProperty
(
"发生时间"
)
@Schema
(
description
=
"发生时间"
)
private
Date
happenTime
;
/**
* 备注
*/
@ExcelAttribute
(
name
=
"备注"
,
maxLength
=
200
)
@Length
(
max
=
200
,
message
=
"备注不能超过200个字符"
)
@ExcelProperty
(
"备注"
)
@Schema
(
description
=
"备注"
)
private
String
remark
;
/**
* 费用损失 (费用损失与其他费用损失其一必填)
*/
@ExcelAttribute
(
name
=
"费用损失 (费用损失与其他费用损失其一必填)"
)
@ExcelProperty
(
"费用损失 (费用损失与其他费用损失其一必填)"
)
@Schema
(
description
=
"费用损失 (费用损失与其他费用损失其一必填)"
)
private
BigDecimal
loseFee
;
/**
* 其他损失 (费用损失与其他费用损失其一必填)
*/
@ExcelAttribute
(
name
=
"其他损失 (费用损失与其他费用损失其一必填)"
)
@ExcelProperty
(
"其他损失 (费用损失与其他费用损失其一必填)"
)
@Schema
(
description
=
"其他损失 (费用损失与其他费用损失其一必填)"
)
private
BigDecimal
loseFeeOther
;
/**
* 结算主体ID
*/
@ExcelAttribute
(
name
=
"结算主体ID"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"结算主体ID不能超过32个字符"
)
@ExcelProperty
(
"结算主体ID"
)
@Schema
(
description
=
"结算主体ID"
)
private
String
settleDomain
;
}
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/entity/TPreEmpContactInfo.java
0 → 100644
View file @
fb6482e2
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
entity
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute
;
import
com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
org.hibernate.validator.constraints.Length
;
import
javax.validation.constraints.NotBlank
;
/**
* 预入职-紧急联络人
*
* @author hgw
* @date 2024-06-17 11:24:01
*/
@Data
@TableName
(
"t_pre_emp_contact_info"
)
@EqualsAndHashCode
(
callSuper
=
true
)
@Schema
(
description
=
"预入职-紧急联络人"
)
public
class
TPreEmpContactInfo
extends
BaseEntity
{
/**
* id
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@ExcelProperty
(
"id"
)
@Schema
(
description
=
"id"
)
private
String
id
;
/**
* 预入职主表ID
*/
@ExcelAttribute
(
name
=
"预入职主表ID"
,
isNotEmpty
=
true
,
errorInfo
=
"预入职主表ID不能为空"
,
maxLength
=
32
)
@NotBlank
(
message
=
"预入职主表ID不能为空"
)
@Length
(
max
=
32
,
message
=
"预入职主表ID不能超过32个字符"
)
@ExcelProperty
(
"预入职主表ID"
)
@Schema
(
description
=
"预入职主表ID"
)
private
String
preMainId
;
/**
* 姓名
*/
@ExcelAttribute
(
name
=
"姓名"
,
isNotEmpty
=
true
,
errorInfo
=
"姓名不能为空"
,
maxLength
=
20
)
@NotBlank
(
message
=
"姓名不能为空"
)
@Length
(
max
=
20
,
message
=
"姓名不能超过20个字符"
)
@ExcelProperty
(
"姓名"
)
@Schema
(
description
=
"姓名"
)
private
String
empName
;
/**
* 身份证号
*/
@ExcelAttribute
(
name
=
"身份证号"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"身份证号不能超过32个字符"
)
@ExcelProperty
(
"身份证号"
)
@Schema
(
description
=
"身份证号"
)
private
String
empIdcard
;
/**
* 与本人关系
*/
@ExcelAttribute
(
name
=
"与本人关系"
,
isNotEmpty
=
true
,
errorInfo
=
"与本人关系不能为空"
,
maxLength
=
50
)
@NotBlank
(
message
=
"与本人关系不能为空"
)
@Length
(
max
=
50
,
message
=
"与本人关系不能超过50个字符"
)
@ExcelProperty
(
"与本人关系"
)
@Schema
(
description
=
"与本人关系"
)
private
String
relationType
;
/**
* 联系地址-街道、详情
*/
@ExcelAttribute
(
name
=
"联系地址-街道、详情"
,
isNotEmpty
=
true
,
errorInfo
=
"联系地址-街道、详情不能为空"
,
maxLength
=
100
)
@NotBlank
(
message
=
"联系地址-街道、详情不能为空"
)
@Length
(
max
=
100
,
message
=
"联系地址-街道、详情不能超过100个字符"
)
@ExcelProperty
(
"联系地址-街道、详情"
)
@Schema
(
description
=
"联系地址-街道、详情"
)
private
String
address
;
/**
* 联系电话
*/
@ExcelAttribute
(
name
=
"联系电话"
,
isNotEmpty
=
true
,
errorInfo
=
"联系电话不能为空"
,
maxLength
=
20
)
@NotBlank
(
message
=
"联系电话不能为空"
)
@Length
(
max
=
20
,
message
=
"联系电话不能超过20个字符"
)
@ExcelProperty
(
"联系电话"
)
@Schema
(
description
=
"联系电话"
)
private
String
tel
;
}
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/entity/TPreEmpDeclaration.java
0 → 100644
View file @
fb6482e2
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
entity
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
org.hibernate.validator.constraints.Length
;
/**
* 预入职-员工申明
*
* @author hgw
* @date 2024-06-17 11:24:00
*/
@Data
@TableName
(
"t_pre_emp_declaration"
)
@Schema
(
description
=
"预入职-员工申明"
)
public
class
TPreEmpDeclaration
{
/**
* id
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@ExcelProperty
(
"id"
)
@Schema
(
description
=
"id"
)
private
String
id
;
/**
* 员工声明
*/
@ExcelAttribute
(
name
=
"员工声明"
,
maxLength
=
500
)
@Length
(
max
=
200
,
message
=
"员工声明不能超过500个字符"
)
@ExcelProperty
(
"员工声明"
)
@Schema
(
description
=
"员工声明"
)
private
String
contentOne
;
/**
* 员工确认
*/
@ExcelAttribute
(
name
=
"员工确认"
,
maxLength
=
500
)
@Length
(
max
=
200
,
message
=
"员工确认不能超过500个字符"
)
@ExcelProperty
(
"员工确认"
)
@Schema
(
description
=
"员工确认"
)
private
String
contentTwo
;
}
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/entity/TPreEmpDisabilityInfo.java
0 → 100644
View file @
fb6482e2
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
entity
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute
;
import
com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
org.hibernate.validator.constraints.Length
;
import
javax.validation.constraints.NotBlank
;
import
java.util.Date
;
/**
* 预入职-员工伤残信息表
*
* @author hgw
* @date 2024-06-17 11:24:01
*/
@Data
@TableName
(
"t_pre_emp_disability_info"
)
@EqualsAndHashCode
(
callSuper
=
true
)
@Schema
(
description
=
"预入职-员工伤残信息表"
)
public
class
TPreEmpDisabilityInfo
extends
BaseEntity
{
/**
* 主键
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@ExcelProperty
(
"主键"
)
@Schema
(
description
=
"主键"
)
private
String
id
;
/**
* 预入职主表ID
*/
@ExcelAttribute
(
name
=
"预入职主表ID"
,
isNotEmpty
=
true
,
errorInfo
=
"预入职主表ID不能为空"
,
maxLength
=
32
)
@NotBlank
(
message
=
"预入职主表ID不能为空"
)
@Length
(
max
=
32
,
message
=
"预入职主表ID不能超过32个字符"
)
@ExcelProperty
(
"预入职主表ID"
)
@Schema
(
description
=
"预入职主表ID"
)
private
String
preMainId
;
/**
* 员工ID
*/
@ExcelAttribute
(
name
=
"员工ID"
,
isNotEmpty
=
true
,
errorInfo
=
"员工ID不能为空"
,
maxLength
=
32
)
@NotBlank
(
message
=
"员工ID不能为空"
)
@Length
(
max
=
32
,
message
=
"员工ID不能超过32个字符"
)
@ExcelProperty
(
"员工ID"
)
@Schema
(
description
=
"员工ID"
)
private
String
empId
;
/**
* 员工姓名
*/
@ExcelAttribute
(
name
=
"员工姓名"
,
isNotEmpty
=
true
,
errorInfo
=
"员工姓名不能为空"
,
maxLength
=
50
)
@NotBlank
(
message
=
"员工姓名不能为空"
)
@Length
(
max
=
50
,
message
=
"员工姓名不能超过50个字符"
)
@ExcelProperty
(
"员工姓名"
)
@Schema
(
description
=
"员工姓名"
)
private
String
empName
;
/**
* 员工编码
*/
@ExcelAttribute
(
name
=
"员工编码"
,
isNotEmpty
=
true
,
errorInfo
=
"员工编码不能为空"
,
maxLength
=
50
)
@NotBlank
(
message
=
"员工编码不能为空"
)
@Length
(
max
=
50
,
message
=
"员工编码不能超过50个字符"
)
@ExcelProperty
(
"员工编码"
)
@Schema
(
description
=
"员工编码"
)
private
String
empCode
;
/**
* 身份证号
*/
@ExcelAttribute
(
name
=
"身份证号"
,
isNotEmpty
=
true
,
errorInfo
=
"身份证号不能为空"
,
maxLength
=
32
)
@NotBlank
(
message
=
"身份证号不能为空"
)
@Length
(
max
=
32
,
message
=
"身份证号不能超过32个字符"
)
@ExcelProperty
(
"身份证号"
)
@Schema
(
description
=
"身份证号"
)
private
String
empIdcard
;
/**
* 伤残病名称
*/
@ExcelAttribute
(
name
=
"伤残病名称"
,
isNotEmpty
=
true
,
errorInfo
=
"伤残病名称不能为空"
,
maxLength
=
50
)
@NotBlank
(
message
=
"伤残病名称不能为空"
)
@Length
(
max
=
50
,
message
=
"伤残病名称不能超过50个字符"
)
@ExcelProperty
(
"伤残病名称"
)
@Schema
(
description
=
"伤残病名称"
)
private
String
disabilityName
;
/**
* 伤残等级
*/
@ExcelAttribute
(
name
=
"伤残等级"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"伤残等级不能超过32个字符"
)
@ExcelProperty
(
"伤残等级"
)
@Schema
(
description
=
"伤残等级"
)
private
String
disabilityLevel
;
/**
* 是否工伤标识0是/1否
*/
@ExcelAttribute
(
name
=
"是否工伤标识0是/1否"
,
maxLength
=
1
)
@Length
(
max
=
1
,
message
=
"是否工伤标识0是/1否不能超过1个字符"
)
@ExcelProperty
(
"是否工伤标识0是/1否"
)
@Schema
(
description
=
"是否工伤标识0是/1否"
)
private
String
injuryIdentification
;
/**
* 伤残开始日期
*/
@ExcelAttribute
(
name
=
"伤残开始日期"
,
isDate
=
true
)
@ExcelProperty
(
"伤残开始日期"
)
@Schema
(
description
=
"伤残开始日期"
)
private
Date
startTime
;
/**
* 伤残结束日期
*/
@ExcelAttribute
(
name
=
"伤残结束日期"
,
isDate
=
true
)
@ExcelProperty
(
"伤残结束日期"
)
@Schema
(
description
=
"伤残结束日期"
)
private
Date
endTime
;
/**
* 职业病名称
*/
@ExcelAttribute
(
name
=
"职业病名称"
,
maxLength
=
50
)
@Length
(
max
=
50
,
message
=
"职业病名称不能超过50个字符"
)
@ExcelProperty
(
"职业病名称"
)
@Schema
(
description
=
"职业病名称"
)
private
String
occupationalDisease
;
/**
* 0删除作废1正常
*/
@ExcelAttribute
(
name
=
"0删除作废1正常"
,
maxLength
=
1
)
@Length
(
max
=
1
,
message
=
"0删除作废1正常不能超过1个字符"
)
@ExcelProperty
(
"0删除作废1正常"
)
@Schema
(
description
=
"0删除作废1正常"
)
private
String
deleteFlag
;
/**
* 结算主体ID
*/
@ExcelAttribute
(
name
=
"结算主体ID"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"结算主体ID不能超过32个字符"
)
@ExcelProperty
(
"结算主体ID"
)
@Schema
(
description
=
"结算主体ID"
)
private
String
settleDomain
;
/**
* 备注
*/
@ExcelAttribute
(
name
=
"备注"
,
maxLength
=
200
)
@Length
(
max
=
200
,
message
=
"备注不能超过200个字符"
)
@ExcelProperty
(
"备注"
)
@Schema
(
description
=
"备注"
)
private
String
remark
;
}
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/entity/TPreEmpEducation.java
0 → 100644
View file @
fb6482e2
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
entity
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute
;
import
com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
org.hibernate.validator.constraints.Length
;
import
javax.validation.constraints.NotBlank
;
import
java.util.Date
;
/**
* 预入职-员工学历信息表
*
* @author hgw
* @date 2024-06-17 11:24:01
*/
@Data
@TableName
(
"t_pre_emp_education"
)
@EqualsAndHashCode
(
callSuper
=
true
)
@Schema
(
description
=
"预入职-员工学历信息表"
)
public
class
TPreEmpEducation
extends
BaseEntity
{
/**
* 主键
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@ExcelProperty
(
"主键"
)
@Schema
(
description
=
"主键"
)
private
String
id
;
/**
* 预入职主表ID
*/
@ExcelAttribute
(
name
=
"预入职主表ID"
,
isNotEmpty
=
true
,
errorInfo
=
"预入职主表ID不能为空"
,
maxLength
=
32
)
@NotBlank
(
message
=
"预入职主表ID不能为空"
)
@Length
(
max
=
32
,
message
=
"预入职主表ID不能超过32个字符"
)
@ExcelProperty
(
"预入职主表ID"
)
@Schema
(
description
=
"预入职主表ID"
)
private
String
preMainId
;
/**
* 员工ID
*/
@ExcelAttribute
(
name
=
"员工ID"
,
isNotEmpty
=
true
,
errorInfo
=
"员工ID不能为空"
,
maxLength
=
32
)
@NotBlank
(
message
=
"员工ID不能为空"
)
@Length
(
max
=
32
,
message
=
"员工ID不能超过32个字符"
)
@ExcelProperty
(
"员工ID"
)
@Schema
(
description
=
"员工ID"
)
private
String
empId
;
/**
* 员工姓名
*/
@ExcelAttribute
(
name
=
"员工姓名"
,
isNotEmpty
=
true
,
errorInfo
=
"员工姓名不能为空"
,
maxLength
=
32
)
@NotBlank
(
message
=
"员工姓名不能为空"
)
@Length
(
max
=
32
,
message
=
"员工姓名不能超过32个字符"
)
@ExcelProperty
(
"员工姓名"
)
@Schema
(
description
=
"员工姓名"
)
private
String
empName
;
/**
* 员工编码
*/
@ExcelAttribute
(
name
=
"员工编码"
,
isNotEmpty
=
true
,
errorInfo
=
"员工编码不能为空"
,
maxLength
=
32
)
@NotBlank
(
message
=
"员工编码不能为空"
)
@Length
(
max
=
32
,
message
=
"员工编码不能超过32个字符"
)
@ExcelProperty
(
"员工编码"
)
@Schema
(
description
=
"员工编码"
)
private
String
empCode
;
/**
* 身份证号
*/
@ExcelAttribute
(
name
=
"身份证号"
,
isNotEmpty
=
true
,
errorInfo
=
"身份证号不能为空"
,
maxLength
=
32
)
@NotBlank
(
message
=
"身份证号不能为空"
)
@Length
(
max
=
32
,
message
=
"身份证号不能超过32个字符"
)
@ExcelProperty
(
"身份证号"
)
@Schema
(
description
=
"身份证号"
)
private
String
empIdcard
;
/**
* 入学日期
*/
@ExcelAttribute
(
name
=
"入学日期"
,
isDate
=
true
)
@ExcelProperty
(
"入学日期"
)
@Schema
(
description
=
"入学日期"
)
private
Date
entryDate
;
/**
* 学历名称
*/
@ExcelAttribute
(
name
=
"学历名称"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"学历名称不能超过32个字符"
)
@ExcelProperty
(
"学历名称"
)
@Schema
(
description
=
"学历名称"
)
private
String
educationName
;
/**
* 结业日期
*/
@ExcelAttribute
(
name
=
"结业日期"
,
isDate
=
true
)
@ExcelProperty
(
"结业日期"
)
@Schema
(
description
=
"结业日期"
)
private
Date
gradutionDate
;
/**
* 学校名称
*/
@ExcelAttribute
(
name
=
"学校名称"
,
maxLength
=
64
)
@Length
(
max
=
64
,
message
=
"学校名称不能超过64个字符"
)
@ExcelProperty
(
"学校名称"
)
@Schema
(
description
=
"学校名称"
)
private
String
school
;
/**
* 学制
*/
@ExcelAttribute
(
name
=
"学制"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"学制不能超过32个字符"
)
@ExcelProperty
(
"学制"
)
@Schema
(
description
=
"学制"
)
private
String
educationSystem
;
/**
* 最高学历标识0是/1否
*/
@ExcelAttribute
(
name
=
"最高学历标识0是/1否"
,
maxLength
=
1
)
@Length
(
max
=
1
,
message
=
"最高学历标识0是/1否不能超过1个字符"
)
@ExcelProperty
(
"最高学历标识0是/1否"
)
@Schema
(
description
=
"最高学历标识0是/1否"
)
private
String
highIdentification
;
/**
* 学历类型:全日制、自考、函授等
*/
@ExcelAttribute
(
name
=
"学历类型:全日制、自考、函授等"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"学历类型:全日制、自考、函授等不能超过32个字符"
)
@ExcelProperty
(
"学历类型:全日制、自考、函授等"
)
@Schema
(
description
=
"学历类型:全日制、自考、函授等"
)
private
String
type
;
/**
* 院系
*/
@ExcelAttribute
(
name
=
"院系"
,
maxLength
=
64
)
@Length
(
max
=
64
,
message
=
"院系不能超过64个字符"
)
@ExcelProperty
(
"院系"
)
@Schema
(
description
=
"院系"
)
private
String
collageSystem
;
/**
* 是否删除 0未删除/1删除
*/
@ExcelAttribute
(
name
=
"是否删除 0未删除/1删除"
,
maxLength
=
1
)
@Length
(
max
=
1
,
message
=
"是否删除 0未删除/1删除不能超过1个字符"
)
@ExcelProperty
(
"是否删除 0未删除/1删除"
)
@Schema
(
description
=
"是否删除 0未删除/1删除"
)
private
String
deleteFlag
;
/**
* 结算主体ID
*/
@ExcelAttribute
(
name
=
"结算主体ID"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"结算主体ID不能超过32个字符"
)
@ExcelProperty
(
"结算主体ID"
)
@Schema
(
description
=
"结算主体ID"
)
private
String
settleDomain
;
/**
* 派单标识 1 代表派单生成, 派单审核通过后清空标识 专门用于派单作废
*/
@ExcelAttribute
(
name
=
"派单标识 1 代表派单生成, 派单审核通过后清空标识 专门用于派单作废"
,
maxLength
=
1
)
@Length
(
max
=
1
,
message
=
"派单标识 1 代表派单生成, 派单审核通过后清空标识 专门用于派单作废不能超过1个字符"
)
@ExcelProperty
(
"派单标识 1 代表派单生成, 派单审核通过后清空标识 专门用于派单作废"
)
@Schema
(
description
=
"派单标识 1 代表派单生成, 派单审核通过后清空标识 专门用于派单作废"
)
private
String
dispatchFlag
;
/**
* 备注
*/
@ExcelAttribute
(
name
=
"备注"
,
maxLength
=
64
)
@Length
(
max
=
64
,
message
=
"备注不能超过64个字符"
)
@ExcelProperty
(
"备注"
)
@Schema
(
description
=
"备注"
)
private
String
remark
;
/**
* 证书名称
*/
@ExcelAttribute
(
name
=
"证书名称"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"证书名称不能超过32个字符"
)
@ExcelProperty
(
"证书名称"
)
@Schema
(
description
=
"证书名称"
)
private
String
certificationName
;
/**
* 专业
*/
@ExcelAttribute
(
name
=
"专业"
,
maxLength
=
64
)
@Length
(
max
=
64
,
message
=
"专业不能超过64个字符"
)
@ExcelProperty
(
"专业"
)
@Schema
(
description
=
"专业"
)
private
String
major
;
}
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/entity/TPreEmpFamily.java
0 → 100644
View file @
fb6482e2
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
entity
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute
;
import
com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
org.hibernate.validator.constraints.Length
;
import
javax.validation.constraints.NotBlank
;
import
java.util.Date
;
/**
* 预入职-员工家庭信息表
*
* @author hgw
* @date 2024-06-17 11:24:01
*/
@Data
@TableName
(
"t_pre_emp_family"
)
@EqualsAndHashCode
(
callSuper
=
true
)
@Schema
(
description
=
"预入职-员工家庭信息表"
)
public
class
TPreEmpFamily
extends
BaseEntity
{
/**
* 主键
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@ExcelProperty
(
"主键"
)
@Schema
(
description
=
"主键"
)
private
String
id
;
/**
* 预入职主表ID
*/
@ExcelAttribute
(
name
=
"预入职主表ID"
,
isNotEmpty
=
true
,
errorInfo
=
"预入职主表ID不能为空"
,
maxLength
=
32
)
@NotBlank
(
message
=
"预入职主表ID不能为空"
)
@Length
(
max
=
32
,
message
=
"预入职主表ID不能超过32个字符"
)
@ExcelProperty
(
"预入职主表ID"
)
@Schema
(
description
=
"预入职主表ID"
)
private
String
preMainId
;
/**
* 员工主键
*/
@ExcelAttribute
(
name
=
"员工主键"
,
isNotEmpty
=
true
,
errorInfo
=
"员工主键不能为空"
,
maxLength
=
32
)
@NotBlank
(
message
=
"员工主键不能为空"
)
@Length
(
max
=
32
,
message
=
"员工主键不能超过32个字符"
)
@ExcelProperty
(
"员工主键"
)
@Schema
(
description
=
"员工主键"
)
private
String
empId
;
/**
* 员工编码
*/
@ExcelAttribute
(
name
=
"员工编码"
,
isNotEmpty
=
true
,
errorInfo
=
"员工编码不能为空"
,
maxLength
=
32
)
@NotBlank
(
message
=
"员工编码不能为空"
)
@Length
(
max
=
32
,
message
=
"员工编码不能超过32个字符"
)
@ExcelProperty
(
"员工编码"
)
@Schema
(
description
=
"员工编码"
)
private
String
empCode
;
/**
* 员工姓名
*/
@ExcelAttribute
(
name
=
"员工姓名"
,
isNotEmpty
=
true
,
errorInfo
=
"员工姓名不能为空"
,
maxLength
=
32
)
@NotBlank
(
message
=
"员工姓名不能为空"
)
@Length
(
max
=
32
,
message
=
"员工姓名不能超过32个字符"
)
@ExcelProperty
(
"员工姓名"
)
@Schema
(
description
=
"员工姓名"
)
private
String
empName
;
/**
* 身份证号
*/
@ExcelAttribute
(
name
=
"身份证号"
,
isNotEmpty
=
true
,
errorInfo
=
"身份证号不能为空"
,
maxLength
=
32
)
@NotBlank
(
message
=
"身份证号不能为空"
)
@Length
(
max
=
32
,
message
=
"身份证号不能超过32个字符"
)
@ExcelProperty
(
"身份证号"
)
@Schema
(
description
=
"身份证号"
)
private
String
empIdcard
;
/**
* 与本人关系
*/
@ExcelAttribute
(
name
=
"与本人关系"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"与本人关系不能超过32个字符"
)
@ExcelProperty
(
"与本人关系"
)
@Schema
(
description
=
"与本人关系"
)
private
String
relationshipSelf
;
/**
* 家庭成员姓名
*/
@ExcelAttribute
(
name
=
"家庭成员姓名"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"家庭成员姓名不能超过32个字符"
)
@ExcelProperty
(
"家庭成员姓名"
)
@Schema
(
description
=
"家庭成员姓名"
)
private
String
familyName
;
/**
* 出生日期
*/
@ExcelAttribute
(
name
=
"出生日期"
,
isDate
=
true
)
@ExcelProperty
(
"出生日期"
)
@Schema
(
description
=
"出生日期"
)
private
Date
birthday
;
/**
* 工作/学习单位
*/
@ExcelAttribute
(
name
=
"工作/学习单位"
,
maxLength
=
100
)
@Length
(
max
=
100
,
message
=
"工作/学习单位不能超过100个字符"
)
@ExcelProperty
(
"工作/学习单位"
)
@Schema
(
description
=
"工作/学习单位"
)
private
String
workUnit
;
/**
* 联系电话
*/
@ExcelAttribute
(
name
=
"联系电话"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"联系电话不能超过32个字符"
)
@ExcelProperty
(
"联系电话"
)
@Schema
(
description
=
"联系电话"
)
private
String
contractTel
;
/**
* 0删除作废1正常
*/
@ExcelAttribute
(
name
=
"0删除作废1正常"
,
maxLength
=
1
)
@Length
(
max
=
1
,
message
=
"0删除作废1正常不能超过1个字符"
)
@ExcelProperty
(
"0删除作废1正常"
)
@Schema
(
description
=
"0删除作废1正常"
)
private
String
deleteFlag
;
/**
* 结算主体ID
*/
@ExcelAttribute
(
name
=
"结算主体ID"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"结算主体ID不能超过32个字符"
)
@ExcelProperty
(
"结算主体ID"
)
@Schema
(
description
=
"结算主体ID"
)
private
String
settleDomain
;
/**
* 备注
*/
@ExcelAttribute
(
name
=
"备注"
,
maxLength
=
200
)
@Length
(
max
=
200
,
message
=
"备注不能超过200个字符"
)
@ExcelProperty
(
"备注"
)
@Schema
(
description
=
"备注"
)
private
String
remark
;
}
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/entity/TPreEmpMain.java
0 → 100644
View file @
fb6482e2
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
entity
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute
;
import
com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
org.hibernate.validator.constraints.Length
;
import
javax.validation.constraints.NotBlank
;
import
java.util.Date
;
/**
* 预入职-主表
*
* @author hgw
* @date 2024-06-17 11:31:08
*/
@Data
@TableName
(
"t_pre_emp_main"
)
@EqualsAndHashCode
(
callSuper
=
true
)
@Schema
(
description
=
"预入职-主表"
)
public
class
TPreEmpMain
extends
BaseEntity
{
/**
* 主键
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@ExcelProperty
(
"主键"
)
@Schema
(
description
=
"主键"
)
private
String
id
;
/**
* 审核状态(0草稿;1待完善;2待审核;3审核不通过;4审核通过)
*/
@ExcelAttribute
(
name
=
"审核状态(0草稿;1待完善;2待审核;3审核不通过;4审核通过)"
,
isNotEmpty
=
true
,
errorInfo
=
"审核状态(0草稿;1待完善;2待审核;3审核不通过;4审核通过)"
,
maxLength
=
1
)
@NotBlank
(
message
=
"审核状态(0草稿;1待完善;2待审核;3审核不通过;4审核通过)不能为空"
)
@Length
(
max
=
1
,
message
=
"审核状态(0草稿;1待完善;2待审核;3审核不通过;4审核通过)不能超过1个字符"
)
@ExcelProperty
(
"审核状态(0草稿;1待完善;2待审核;3审核不通过;4审核通过)"
)
@Schema
(
description
=
"审核状态(0草稿;1待完善;2待审核;3审核不通过;4审核通过)"
)
private
String
status
;
/**
* 员工ID
*/
@ExcelAttribute
(
name
=
"员工ID"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"员工ID不能超过32个字符"
)
@ExcelProperty
(
"员工ID"
)
@Schema
(
description
=
"员工ID"
)
private
String
empId
;
/**
* 员工姓名
*/
@ExcelAttribute
(
name
=
"员工姓名"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"员工姓名不能超过32个字符"
)
@ExcelProperty
(
"员工姓名"
)
@Schema
(
description
=
"员工姓名"
)
private
String
empName
;
/**
* 身份证号
*/
@ExcelAttribute
(
name
=
"身份证号"
,
maxLength
=
20
)
@Length
(
max
=
20
,
message
=
"身份证号不能超过20个字符"
)
@ExcelProperty
(
"身份证号"
)
@Schema
(
description
=
"身份证号"
)
private
String
empIdcard
;
/**
* 手机号码
*/
@ExcelAttribute
(
name
=
"手机号码"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"手机号码不能超过32个字符"
)
@ExcelProperty
(
"手机号码"
)
@Schema
(
description
=
"手机号码"
)
private
String
empPhone
;
/**
* 微信名
*/
@ExcelAttribute
(
name
=
"微信名"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"微信名不能超过32个字符"
)
@ExcelProperty
(
"微信名"
)
@Schema
(
description
=
"微信名"
)
private
String
empWx
;
/**
* 客户id
*/
@ExcelAttribute
(
name
=
"客户id"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"客户id不能超过32个字符"
)
@ExcelProperty
(
"客户id"
)
@Schema
(
description
=
"客户id"
)
private
String
unitId
;
/**
* 客户名称
*/
@ExcelAttribute
(
name
=
"客户名称"
,
maxLength
=
50
)
@Length
(
max
=
50
,
message
=
"客户名称不能超过50个字符"
)
@ExcelProperty
(
"客户名称"
)
@Schema
(
description
=
"客户名称"
)
private
String
unitName
;
/**
* 客户编码
*/
@ExcelAttribute
(
name
=
"客户编码"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"客户编码不能超过32个字符"
)
@ExcelProperty
(
"客户编码"
)
@Schema
(
description
=
"客户编码"
)
private
String
unitNo
;
/**
* 项目id
*/
@ExcelAttribute
(
name
=
"项目id"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"项目id不能超过32个字符"
)
@ExcelProperty
(
"项目id"
)
@Schema
(
description
=
"项目id"
)
private
String
deptId
;
/**
* 项目名称
*/
@ExcelAttribute
(
name
=
"项目名称"
,
maxLength
=
50
)
@Length
(
max
=
50
,
message
=
"项目名称不能超过50个字符"
)
@ExcelProperty
(
"项目名称"
)
@Schema
(
description
=
"项目名称"
)
private
String
deptName
;
/**
* 项目编码
*/
@ExcelAttribute
(
name
=
"项目编码"
,
isNotEmpty
=
true
,
errorInfo
=
"项目编码不能为空"
,
maxLength
=
30
)
@NotBlank
(
message
=
"项目编码不能为空"
)
@Length
(
max
=
30
,
message
=
"项目编码不能超过30个字符"
)
@ExcelProperty
(
"项目编码"
)
@Schema
(
description
=
"项目编码"
)
private
String
deptNo
;
/**
* 业务类型一级分类
*/
@ExcelAttribute
(
name
=
"业务类型一级分类"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"业务类型一级分类不能超过32个字符"
)
@ExcelProperty
(
"业务类型一级分类"
)
@Schema
(
description
=
"业务类型一级分类"
)
private
String
businessPrimaryType
;
/**
* 业务类型二级分类
*/
@ExcelAttribute
(
name
=
"业务类型二级分类"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"业务类型二级分类不能超过32个字符"
)
@ExcelProperty
(
"业务类型二级分类"
)
@Schema
(
description
=
"业务类型二级分类"
)
private
String
businessSecondType
;
/**
* 业务类型三级分类
*/
@ExcelAttribute
(
name
=
"业务类型三级分类"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"业务类型三级分类不能超过32个字符"
)
@ExcelProperty
(
"业务类型三级分类"
)
@Schema
(
description
=
"业务类型三级分类"
)
private
String
businessThirdType
;
/**
* 员工类型(字典值,0外包1派遣2代理)
*/
@ExcelAttribute
(
name
=
"员工类型(字典值,0外包1派遣2代理)"
,
isNotEmpty
=
true
,
errorInfo
=
"员工类型(字典值,0外包1派遣2代理)不能为空"
,
maxLength
=
2
)
@NotBlank
(
message
=
"员工类型(字典值,0外包1派遣2代理)不能为空"
)
@Length
(
max
=
2
,
message
=
"员工类型(字典值,0外包1派遣2代理)不能超过2个字符"
)
@ExcelProperty
(
"员工类型(字典值,0外包1派遣2代理)"
)
@Schema
(
description
=
"员工类型(字典值,0外包1派遣2代理)"
)
private
String
empNatrue
;
/**
* 审核人ID
*/
@ExcelAttribute
(
name
=
"审核人ID"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"审核人ID不能超过32个字符"
)
@ExcelProperty
(
"审核人ID"
)
@Schema
(
description
=
"审核人ID"
)
private
String
auditId
;
/**
* 审核人姓名
*/
@ExcelAttribute
(
name
=
"审核人姓名"
,
maxLength
=
20
)
@Length
(
max
=
20
,
message
=
"审核人姓名不能超过20个字符"
)
@ExcelProperty
(
"审核人姓名"
)
@Schema
(
description
=
"审核人姓名"
)
private
String
auditName
;
/**
* 审核时间
*/
@ExcelAttribute
(
name
=
"审核时间"
,
isDate
=
true
)
@ExcelProperty
(
"审核时间"
)
@Schema
(
description
=
"审核时间"
)
private
Date
auditTime
;
/**
* 结算主体ID
*/
@ExcelAttribute
(
name
=
"结算主体ID"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"结算主体ID不能超过32个字符"
)
@ExcelProperty
(
"结算主体ID"
)
@Schema
(
description
=
"结算主体ID"
)
private
String
settleDomain
;
}
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/entity/TPreEmpProfessionalQualification.java
0 → 100644
View file @
fb6482e2
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
entity
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute
;
import
com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
org.hibernate.validator.constraints.Length
;
import
javax.validation.constraints.NotBlank
;
/**
* 预入职-员工职业资格信息表
*
* @author hgw
* @date 2024-06-17 11:24:01
*/
@Data
@TableName
(
"t_pre_emp_professional_qualification"
)
@EqualsAndHashCode
(
callSuper
=
true
)
@Schema
(
description
=
"预入职-员工职业资格信息表"
)
public
class
TPreEmpProfessionalQualification
extends
BaseEntity
{
/**
* 主键
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@ExcelProperty
(
"主键"
)
@Schema
(
description
=
"主键"
)
private
String
id
;
/**
* 预入职主表ID
*/
@ExcelAttribute
(
name
=
"预入职主表ID"
,
isNotEmpty
=
true
,
errorInfo
=
"预入职主表ID不能为空"
,
maxLength
=
32
)
@NotBlank
(
message
=
"预入职主表ID不能为空"
)
@Length
(
max
=
32
,
message
=
"预入职主表ID不能超过32个字符"
)
@ExcelProperty
(
"预入职主表ID"
)
@Schema
(
description
=
"预入职主表ID"
)
private
String
preMainId
;
/**
* 员工主键
*/
@ExcelAttribute
(
name
=
"员工主键"
,
isNotEmpty
=
true
,
errorInfo
=
"员工主键不能为空"
,
maxLength
=
32
)
@NotBlank
(
message
=
"员工主键不能为空"
)
@Length
(
max
=
32
,
message
=
"员工主键不能超过32个字符"
)
@ExcelProperty
(
"员工主键"
)
@Schema
(
description
=
"员工主键"
)
private
String
empId
;
/**
* 员工姓名
*/
@ExcelAttribute
(
name
=
"员工姓名"
,
isNotEmpty
=
true
,
errorInfo
=
"员工姓名不能为空"
,
maxLength
=
32
)
@NotBlank
(
message
=
"员工姓名不能为空"
)
@Length
(
max
=
32
,
message
=
"员工姓名不能超过32个字符"
)
@ExcelProperty
(
"员工姓名"
)
@Schema
(
description
=
"员工姓名"
)
private
String
empName
;
/**
* 员工编码
*/
@ExcelAttribute
(
name
=
"员工编码"
,
isNotEmpty
=
true
,
errorInfo
=
"员工编码不能为空"
,
maxLength
=
32
)
@NotBlank
(
message
=
"员工编码不能为空"
)
@Length
(
max
=
32
,
message
=
"员工编码不能超过32个字符"
)
@ExcelProperty
(
"员工编码"
)
@Schema
(
description
=
"员工编码"
)
private
String
empCode
;
/**
* 身份证号
*/
@ExcelAttribute
(
name
=
"身份证号"
,
isNotEmpty
=
true
,
errorInfo
=
"身份证号不能为空"
,
maxLength
=
32
)
@NotBlank
(
message
=
"身份证号不能为空"
)
@Length
(
max
=
32
,
message
=
"身份证号不能超过32个字符"
)
@ExcelProperty
(
"身份证号"
)
@Schema
(
description
=
"身份证号"
)
private
String
empIdcard
;
/**
* 资格类型
*/
@ExcelAttribute
(
name
=
"资格类型"
,
isNotEmpty
=
true
,
errorInfo
=
"资格类型不能为空"
,
maxLength
=
32
)
@NotBlank
(
message
=
"资格类型不能为空"
)
@Length
(
max
=
32
,
message
=
"资格类型不能超过32个字符"
)
@ExcelProperty
(
"资格类型"
)
@Schema
(
description
=
"资格类型"
)
private
String
qualificationType
;
/**
* 资格等级
*/
@ExcelAttribute
(
name
=
"资格等级"
,
isNotEmpty
=
true
,
errorInfo
=
"资格等级不能为空"
,
maxLength
=
32
)
@NotBlank
(
message
=
"资格等级不能为空"
)
@Length
(
max
=
32
,
message
=
"资格等级不能超过32个字符"
)
@ExcelProperty
(
"资格等级"
)
@Schema
(
description
=
"资格等级"
)
private
String
qualificationLevel
;
/**
* 证书编号
*/
@ExcelAttribute
(
name
=
"证书编号"
,
maxLength
=
50
)
@Length
(
max
=
50
,
message
=
"证书编号不能超过50个字符"
)
@ExcelProperty
(
"证书编号"
)
@Schema
(
description
=
"证书编号"
)
private
String
certificationNo
;
/**
* 获取方式
*/
@ExcelAttribute
(
name
=
"获取方式"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"获取方式不能超过32个字符"
)
@ExcelProperty
(
"获取方式"
)
@Schema
(
description
=
"获取方式"
)
private
String
obtainType
;
/**
* 评定机构
*/
@ExcelAttribute
(
name
=
"评定机构"
,
maxLength
=
50
)
@Length
(
max
=
50
,
message
=
"评定机构不能超过50个字符"
)
@ExcelProperty
(
"评定机构"
)
@Schema
(
description
=
"评定机构"
)
private
String
assessmentUnit
;
/**
* 申报年度
*/
@ExcelAttribute
(
name
=
"申报年度"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"申报年度不能超过32个字符"
)
@ExcelProperty
(
"申报年度"
)
@Schema
(
description
=
"申报年度"
)
private
String
declareYear
;
/**
* 是否最高资格0是/1否
*/
@ExcelAttribute
(
name
=
"是否最高资格0是/1否"
,
isNotEmpty
=
true
,
errorInfo
=
"是否最高资格0是/1否不能为空"
,
maxLength
=
1
)
@NotBlank
(
message
=
"是否最高资格0是/1否不能为空"
)
@Length
(
max
=
1
,
message
=
"是否最高资格0是/1否不能超过1个字符"
)
@ExcelProperty
(
"是否最高资格0是/1否"
)
@Schema
(
description
=
"是否最高资格0是/1否"
)
private
String
heightIdentification
;
/**
* 0删除作废1正常
*/
@ExcelAttribute
(
name
=
"0删除作废1正常"
,
maxLength
=
1
)
@Length
(
max
=
1
,
message
=
"0删除作废1正常不能超过1个字符"
)
@ExcelProperty
(
"0删除作废1正常"
)
@Schema
(
description
=
"0删除作废1正常"
)
private
String
deleteFlag
;
/**
* 结算主体ID
*/
@ExcelAttribute
(
name
=
"结算主体ID"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"结算主体ID不能超过32个字符"
)
@ExcelProperty
(
"结算主体ID"
)
@Schema
(
description
=
"结算主体ID"
)
private
String
settleDomain
;
/**
* 备注
*/
@ExcelAttribute
(
name
=
"备注"
,
maxLength
=
200
)
@Length
(
max
=
200
,
message
=
"备注不能超过200个字符"
)
@ExcelProperty
(
"备注"
)
@Schema
(
description
=
"备注"
)
private
String
remark
;
}
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/entity/TPreEmpWorkRecording.java
0 → 100644
View file @
fb6482e2
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
entity
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute
;
import
com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
org.hibernate.validator.constraints.Length
;
import
javax.validation.constraints.NotBlank
;
import
java.util.Date
;
/**
* 预入职-员工工作履历信息表
*
* @author hgw
* @date 2024-06-17 11:24:01
*/
@Data
@TableName
(
"t_pre_emp_work_recording"
)
@EqualsAndHashCode
(
callSuper
=
true
)
@Schema
(
description
=
"预入职-员工工作履历信息表"
)
public
class
TPreEmpWorkRecording
extends
BaseEntity
{
/**
* 主键
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@ExcelProperty
(
"主键"
)
@Schema
(
description
=
"主键"
)
private
String
id
;
/**
* 预入职主表ID
*/
@ExcelAttribute
(
name
=
"预入职主表ID"
,
isNotEmpty
=
true
,
errorInfo
=
"预入职主表ID不能为空"
,
maxLength
=
32
)
@NotBlank
(
message
=
"预入职主表ID不能为空"
)
@Length
(
max
=
32
,
message
=
"预入职主表ID不能超过32个字符"
)
@ExcelProperty
(
"预入职主表ID"
)
@Schema
(
description
=
"预入职主表ID"
)
private
String
preMainId
;
/**
* 员工ID
*/
@ExcelAttribute
(
name
=
"员工ID"
,
isNotEmpty
=
true
,
errorInfo
=
"员工ID不能为空"
,
maxLength
=
32
)
@NotBlank
(
message
=
"员工ID不能为空"
)
@Length
(
max
=
32
,
message
=
"员工ID不能超过32个字符"
)
@ExcelProperty
(
"员工ID"
)
@Schema
(
description
=
"员工ID"
)
private
String
empId
;
/**
* 员工编码
*/
@ExcelAttribute
(
name
=
"员工编码"
,
isNotEmpty
=
true
,
errorInfo
=
"员工编码不能为空"
,
maxLength
=
32
)
@NotBlank
(
message
=
"员工编码不能为空"
)
@Length
(
max
=
32
,
message
=
"员工编码不能超过32个字符"
)
@ExcelProperty
(
"员工编码"
)
@Schema
(
description
=
"员工编码"
)
private
String
empCode
;
/**
* 员工姓名
*/
@ExcelAttribute
(
name
=
"员工姓名"
,
isNotEmpty
=
true
,
errorInfo
=
"员工姓名不能为空"
,
maxLength
=
32
)
@NotBlank
(
message
=
"员工姓名不能为空"
)
@Length
(
max
=
32
,
message
=
"员工姓名不能超过32个字符"
)
@ExcelProperty
(
"员工姓名"
)
@Schema
(
description
=
"员工姓名"
)
private
String
empName
;
/**
* 身份证号
*/
@ExcelAttribute
(
name
=
"身份证号"
,
isNotEmpty
=
true
,
errorInfo
=
"身份证号不能为空"
,
maxLength
=
32
)
@NotBlank
(
message
=
"身份证号不能为空"
)
@Length
(
max
=
32
,
message
=
"身份证号不能超过32个字符"
)
@ExcelProperty
(
"身份证号"
)
@Schema
(
description
=
"身份证号"
)
private
String
empIdcard
;
/**
* 工作单位
*/
@ExcelAttribute
(
name
=
"工作单位"
,
isNotEmpty
=
true
,
errorInfo
=
"工作单位不能为空"
,
maxLength
=
100
)
@NotBlank
(
message
=
"工作单位不能为空"
)
@Length
(
max
=
100
,
message
=
"工作单位不能超过100个字符"
)
@ExcelProperty
(
"工作单位"
)
@Schema
(
description
=
"工作单位"
)
private
String
workUnit
;
/**
* 工作部门
*/
@ExcelAttribute
(
name
=
"工作部门"
,
isNotEmpty
=
true
,
errorInfo
=
"工作部门不能为空"
,
maxLength
=
100
)
@NotBlank
(
message
=
"工作部门不能为空"
)
@Length
(
max
=
100
,
message
=
"工作部门不能超过100个字符"
)
@ExcelProperty
(
"工作部门"
)
@Schema
(
description
=
"工作部门"
)
private
String
workDepart
;
/**
* 工作岗位
*/
@ExcelAttribute
(
name
=
"工作岗位"
,
maxLength
=
100
)
@Length
(
max
=
100
,
message
=
"工作岗位不能超过100个字符"
)
@ExcelProperty
(
"工作岗位"
)
@Schema
(
description
=
"工作岗位"
)
private
String
workJob
;
/**
* 开始工作日期
*/
@ExcelAttribute
(
name
=
"开始工作日期"
,
isNotEmpty
=
true
,
errorInfo
=
"开始工作日期不能为空"
,
isDate
=
true
)
@NotBlank
(
message
=
"开始工作日期不能为空"
)
@ExcelProperty
(
"开始工作日期"
)
@Schema
(
description
=
"开始工作日期"
)
private
Date
startDate
;
/**
* 结束工作日期
*/
@ExcelAttribute
(
name
=
"结束工作日期"
,
isDate
=
true
)
@ExcelProperty
(
"结束工作日期"
)
@Schema
(
description
=
"结束工作日期"
)
private
Date
endDate
;
/**
* 在职状态0是/1否
*/
@ExcelAttribute
(
name
=
"在职状态0是/1否"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"在职状态0是/1否不能超过32个字符"
)
@ExcelProperty
(
"在职状态0是/1否"
)
@Schema
(
description
=
"在职状态0是/1否"
)
private
String
workingStatus
;
/**
* 人员类型
*/
@ExcelAttribute
(
name
=
"人员类型"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"人员类型不能超过32个字符"
)
@ExcelProperty
(
"人员类型"
)
@Schema
(
description
=
"人员类型"
)
private
String
workingType
;
/**
* 0删除作废1正常
*/
@ExcelAttribute
(
name
=
"0删除作废1正常"
,
maxLength
=
1
)
@Length
(
max
=
1
,
message
=
"0删除作废1正常不能超过1个字符"
)
@ExcelProperty
(
"0删除作废1正常"
)
@Schema
(
description
=
"0删除作废1正常"
)
private
String
deleteFlag
;
/**
* 结算主体ID
*/
@ExcelAttribute
(
name
=
"结算主体ID"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"结算主体ID不能超过32个字符"
)
@ExcelProperty
(
"结算主体ID"
)
@Schema
(
description
=
"结算主体ID"
)
private
String
settleDomain
;
/**
* 备注
*/
@ExcelAttribute
(
name
=
"备注"
,
maxLength
=
200
)
@Length
(
max
=
200
,
message
=
"备注不能超过200个字符"
)
@ExcelProperty
(
"备注"
)
@Schema
(
description
=
"备注"
)
private
String
remark
;
}
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/entity/TPreEmployeeInfo.java
0 → 100644
View file @
fb6482e2
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
entity
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute
;
import
com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
org.hibernate.validator.constraints.Length
;
import
javax.validation.constraints.NotBlank
;
import
java.util.Date
;
/**
* 预入职-人员档案表
*
* @author hgw
* @date 2024-06-17 11:24:01
*/
@Data
@TableName
(
"t_pre_employee_info"
)
@EqualsAndHashCode
(
callSuper
=
true
)
@Schema
(
description
=
"预入职-人员档案表"
)
public
class
TPreEmployeeInfo
extends
BaseEntity
{
/**
* 主键
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@ExcelProperty
(
"主键"
)
@Schema
(
description
=
"主键"
)
private
String
id
;
/**
* 预入职主表ID
*/
@ExcelAttribute
(
name
=
"预入职主表ID"
,
isNotEmpty
=
true
,
errorInfo
=
"预入职主表ID不能为空"
,
maxLength
=
32
)
@NotBlank
(
message
=
"预入职主表ID不能为空"
)
@Length
(
max
=
32
,
message
=
"预入职主表ID不能超过32个字符"
)
@ExcelProperty
(
"预入职主表ID"
)
@Schema
(
description
=
"预入职主表ID"
)
private
String
preMainId
;
/**
* 员工主码(系统自动生成:ZM+年月日+5位数字)
*/
@ExcelAttribute
(
name
=
"员工主码(系统自动生成:ZM+年月日+5位数字)"
,
isNotEmpty
=
true
,
errorInfo
=
"员工主码(系统自动生成:ZM+年月日+5位数字)不能为空"
,
maxLength
=
16
)
@NotBlank
(
message
=
"员工主码(系统自动生成:ZM+年月日+5位数字)不能为空"
)
@Length
(
max
=
16
,
message
=
"员工主码(系统自动生成:ZM+年月日+5位数字)不能超过16个字符"
)
@ExcelProperty
(
"员工主码(系统自动生成:ZM+年月日+5位数字)"
)
@Schema
(
description
=
"员工主码(系统自动生成:ZM+年月日+5位数字)"
)
private
String
empCode
;
/**
* 员工类型(字典值,0外包1派遣2代理)
*/
@ExcelAttribute
(
name
=
"员工类型(字典值,0外包1派遣2代理)"
,
isNotEmpty
=
true
,
errorInfo
=
"员工类型(字典值,0外包1派遣2代理)不能为空"
,
maxLength
=
2
)
@NotBlank
(
message
=
"员工类型(字典值,0外包1派遣2代理)不能为空"
)
@Length
(
max
=
2
,
message
=
"员工类型(字典值,0外包1派遣2代理)不能超过2个字符"
)
@ExcelProperty
(
"员工类型(字典值,0外包1派遣2代理)"
)
@Schema
(
description
=
"员工类型(字典值,0外包1派遣2代理)"
)
private
String
empNatrue
;
/**
* 员工姓名
*/
@ExcelAttribute
(
name
=
"员工姓名"
,
isNotEmpty
=
true
,
errorInfo
=
"员工姓名不能为空"
,
maxLength
=
32
)
@NotBlank
(
message
=
"员工姓名不能为空"
)
@Length
(
max
=
32
,
message
=
"员工姓名不能超过32个字符"
)
@ExcelProperty
(
"员工姓名"
)
@Schema
(
description
=
"员工姓名"
)
private
String
empName
;
/**
* 身份证号码
*/
@ExcelAttribute
(
name
=
"身份证号码"
,
isNotEmpty
=
true
,
errorInfo
=
"身份证号码不能为空"
,
maxLength
=
32
)
@NotBlank
(
message
=
"身份证号码不能为空"
)
@Length
(
max
=
32
,
message
=
"身份证号码不能超过32个字符"
)
@ExcelProperty
(
"身份证号码"
)
@Schema
(
description
=
"身份证号码"
)
private
String
empIdcard
;
/**
* 身份证有效期起
*/
@ExcelAttribute
(
name
=
"身份证有效期起"
,
isDate
=
true
)
@ExcelProperty
(
"身份证有效期起"
)
@Schema
(
description
=
"身份证有效期起"
)
private
Date
validityStart
;
/**
* 身份证有效期止
*/
@ExcelAttribute
(
name
=
"身份证有效期止"
,
isDate
=
true
)
@ExcelProperty
(
"身份证有效期止"
)
@Schema
(
description
=
"身份证有效期止"
)
private
Date
validityEnd
;
/**
* 性别
*/
@ExcelAttribute
(
name
=
"性别"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"性别不能超过32个字符"
)
@ExcelProperty
(
"性别"
)
@Schema
(
description
=
"性别"
)
private
String
empSex
;
/**
* 出生日期
*/
@ExcelAttribute
(
name
=
"出生日期"
,
isDate
=
true
)
@ExcelProperty
(
"出生日期"
)
@Schema
(
description
=
"出生日期"
)
private
Date
empBirthday
;
/**
* 年龄
*/
@ExcelAttribute
(
name
=
"年龄"
)
@ExcelProperty
(
"年龄"
)
@Schema
(
description
=
"年龄"
)
private
Integer
empAge
;
/**
* 婚姻状态
*/
@ExcelAttribute
(
name
=
"婚姻状态"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"婚姻状态不能超过32个字符"
)
@ExcelProperty
(
"婚姻状态"
)
@Schema
(
description
=
"婚姻状态"
)
private
String
empMarriStatus
;
/**
* 民族
*/
@ExcelAttribute
(
name
=
"民族"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"民族不能超过32个字符"
)
@ExcelProperty
(
"民族"
)
@Schema
(
description
=
"民族"
)
private
String
empNational
;
/**
* 政治面貌
*/
@ExcelAttribute
(
name
=
"政治面貌"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"政治面貌不能超过32个字符"
)
@ExcelProperty
(
"政治面貌"
)
@Schema
(
description
=
"政治面貌"
)
private
String
politicalStatus
;
/**
* 邮箱
*/
@ExcelAttribute
(
name
=
"邮箱"
,
maxLength
=
50
)
@Length
(
max
=
50
,
message
=
"邮箱不能超过50个字符"
)
@ExcelProperty
(
"邮箱"
)
@Schema
(
description
=
"邮箱"
)
private
String
empEmail
;
/**
* 手机号码
*/
@ExcelAttribute
(
name
=
"手机号码"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"手机号码不能超过32个字符"
)
@ExcelProperty
(
"手机号码"
)
@Schema
(
description
=
"手机号码"
)
private
String
empPhone
;
/**
* 身份证-省
*/
@ExcelAttribute
(
name
=
"身份证-省"
)
@ExcelProperty
(
"身份证-省"
)
@Schema
(
description
=
"身份证-省"
)
private
Integer
idProvince
;
/**
* 身份证-市
*/
@ExcelAttribute
(
name
=
"身份证-市"
)
@ExcelProperty
(
"身份证-市"
)
@Schema
(
description
=
"身份证-市"
)
private
Integer
idCity
;
/**
* 身份证-县
*/
@ExcelAttribute
(
name
=
"身份证-县"
)
@ExcelProperty
(
"身份证-县"
)
@Schema
(
description
=
"身份证-县"
)
private
Integer
idTown
;
/**
* 户口性质
*/
@ExcelAttribute
(
name
=
"户口性质"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"户口性质不能超过32个字符"
)
@ExcelProperty
(
"户口性质"
)
@Schema
(
description
=
"户口性质"
)
private
String
empRegisType
;
/**
* 档案-省
*/
@ExcelAttribute
(
name
=
"档案-省"
)
@ExcelProperty
(
"档案-省"
)
@Schema
(
description
=
"档案-省"
)
private
Integer
fileProvince
;
/**
* 档案-市
*/
@ExcelAttribute
(
name
=
"档案-市"
)
@ExcelProperty
(
"档案-市"
)
@Schema
(
description
=
"档案-市"
)
private
Integer
fileCity
;
/**
* 档案-县
*/
@ExcelAttribute
(
name
=
"档案-县"
)
@ExcelProperty
(
"档案-县"
)
@Schema
(
description
=
"档案-县"
)
private
Integer
fileTown
;
/**
* 是否大专及以上(0否1是)
*/
@ExcelAttribute
(
name
=
"是否大专及以上(0否1是)"
)
@ExcelProperty
(
"是否大专及以上(0否1是)"
)
@Schema
(
description
=
"是否大专及以上(0否1是)"
)
private
Integer
isCollege
;
/**
* 最高学历(字典值)
*/
@ExcelAttribute
(
name
=
"最高学历(字典值)"
,
maxLength
=
2
)
@Length
(
max
=
2
,
message
=
"最高学历(字典值)不能超过2个字符"
)
@ExcelProperty
(
"最高学历(字典值)"
)
@Schema
(
description
=
"最高学历(字典值)"
)
private
String
hignEducation
;
/**
* 学校
*/
@ExcelAttribute
(
name
=
"学校"
,
maxLength
=
50
)
@Length
(
max
=
50
,
message
=
"学校不能超过50个字符"
)
@ExcelProperty
(
"学校"
)
@Schema
(
description
=
"学校"
)
private
String
school
;
/**
* 专业
*/
@ExcelAttribute
(
name
=
"专业"
,
maxLength
=
50
)
@Length
(
max
=
50
,
message
=
"专业不能超过50个字符"
)
@ExcelProperty
(
"专业"
)
@Schema
(
description
=
"专业"
)
private
String
major
;
/**
* 入学时间
*/
@ExcelAttribute
(
name
=
"入学时间"
,
isDate
=
true
)
@ExcelProperty
(
"入学时间"
)
@Schema
(
description
=
"入学时间"
)
private
Date
admissionDate
;
/**
* 毕业时间
*/
@ExcelAttribute
(
name
=
"毕业时间"
,
isDate
=
true
)
@ExcelProperty
(
"毕业时间"
)
@Schema
(
description
=
"毕业时间"
)
private
Date
gradutionDate
;
/**
* 备注
*/
@ExcelAttribute
(
name
=
"备注"
,
maxLength
=
200
)
@Length
(
max
=
200
,
message
=
"备注不能超过200个字符"
)
@ExcelProperty
(
"备注"
)
@Schema
(
description
=
"备注"
)
private
String
remark
;
/**
* 人员档案来源(字典:1=社保、公积金派单,2=人员发薪,3=商险派单,4=档案新建,5=批量导入)
*/
@ExcelAttribute
(
name
=
"人员档案来源(字典:1=社保、公积金派单,2=人员发薪,3=商险派单,4=档案新建,5=批量导入)"
,
maxLength
=
5
)
@Length
(
max
=
5
,
message
=
"人员档案来源(字典:1=社保、公积金派单,2=人员发薪,3=商险派单,4=档案新建,5=批量导入)不能超过5个字符"
)
@ExcelProperty
(
"人员档案来源(字典:1=社保、公积金派单,2=人员发薪,3=商险派单,4=档案新建,5=批量导入)"
)
@Schema
(
description
=
"人员档案来源(字典:1=社保、公积金派单,2=人员发薪,3=商险派单,4=档案新建,5=批量导入)"
)
private
String
fileSource
;
/**
* 人员档案状态(0草稿、1已审核)
*/
@ExcelAttribute
(
name
=
"人员档案状态(0草稿、1已审核)"
,
isNotEmpty
=
true
,
errorInfo
=
"人员档案状态(0草稿、1已审核)不能为空"
)
@NotBlank
(
message
=
"人员档案状态(0草稿、1已审核)不能为空"
)
@ExcelProperty
(
"人员档案状态(0草稿、1已审核)"
)
@Schema
(
description
=
"人员档案状态(0草稿、1已审核)"
)
private
Integer
status
;
/**
* 档案状态(0正常;1已减档)
*/
@ExcelAttribute
(
name
=
"档案状态(0正常;1已减档)"
,
isNotEmpty
=
true
,
errorInfo
=
"档案状态(0正常;1已减档)不能为空"
)
@NotBlank
(
message
=
"档案状态(0正常;1已减档)不能为空"
)
@ExcelProperty
(
"档案状态(0正常;1已减档)"
)
@Schema
(
description
=
"档案状态(0正常;1已减档)"
)
private
Integer
fileStatus
;
/**
* 现存项目数
*/
@ExcelAttribute
(
name
=
"现存项目数"
)
@ExcelProperty
(
"现存项目数"
)
@Schema
(
description
=
"现存项目数"
)
private
Integer
projectNum
;
/**
* 员工合同状态(字典:0初始1在用2不在用)
*/
@ExcelAttribute
(
name
=
"员工合同状态(字典:0初始1在用2不在用)"
)
@ExcelProperty
(
"员工合同状态(字典:0初始1在用2不在用)"
)
@Schema
(
description
=
"员工合同状态(字典:0初始1在用2不在用)"
)
private
Integer
contractStatus
;
/**
* 商险状态(字典0无2正常3失效4处理中)
*/
@ExcelAttribute
(
name
=
"商险状态(字典0无2正常3失效4处理中)"
)
@ExcelProperty
(
"商险状态(字典0无2正常3失效4处理中)"
)
@Schema
(
description
=
"商险状态(字典0无2正常3失效4处理中)"
)
private
Integer
insuranceStatus
;
/**
* 社保状态(字典)
*/
@ExcelAttribute
(
name
=
"社保状态(字典)"
)
@ExcelProperty
(
"社保状态(字典)"
)
@Schema
(
description
=
"社保状态(字典)"
)
private
Integer
socialStatus
;
/**
* 公积金状态(字典)
*/
@ExcelAttribute
(
name
=
"公积金状态(字典)"
)
@ExcelProperty
(
"公积金状态(字典)"
)
@Schema
(
description
=
"公积金状态(字典)"
)
private
Integer
fundStatus
;
/**
* 近3个月发薪(0无;1是;2否)
*/
@ExcelAttribute
(
name
=
"近3个月发薪(0无;1是;2否)"
)
@ExcelProperty
(
"近3个月发薪(0无;1是;2否)"
)
@Schema
(
description
=
"近3个月发薪(0无;1是;2否)"
)
private
Integer
salaryStatus
;
/**
* 是否删除 0否/1是
*/
@ExcelAttribute
(
name
=
"是否删除 0否/1是"
,
isNotEmpty
=
true
,
errorInfo
=
"是否删除 0否/1是不能为空"
,
maxLength
=
1
)
@NotBlank
(
message
=
"是否删除 0否/1是不能为空"
)
@Length
(
max
=
1
,
message
=
"是否删除 0否/1是不能超过1个字符"
)
@ExcelProperty
(
"是否删除 0否/1是"
)
@Schema
(
description
=
"是否删除 0否/1是"
)
private
String
deleteFlag
;
/**
* 离职操作人id
*/
@ExcelAttribute
(
name
=
"离职操作人id"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"离职操作人id不能超过32个字符"
)
@ExcelProperty
(
"离职操作人id"
)
@Schema
(
description
=
"离职操作人id"
)
private
String
leaveUser
;
/**
* 减档人姓名
*/
@ExcelAttribute
(
name
=
"减档人姓名"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"减档人姓名不能超过32个字符"
)
@ExcelProperty
(
"减档人姓名"
)
@Schema
(
description
=
"减档人姓名"
)
private
String
leaveUserName
;
/**
* 离职时间
*/
@ExcelAttribute
(
name
=
"离职时间"
,
isDate
=
true
)
@ExcelProperty
(
"离职时间"
)
@Schema
(
description
=
"离职时间"
)
private
Date
leaveTime
;
/**
* 离职原因
*/
@ExcelAttribute
(
name
=
"离职原因"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"离职原因不能超过32个字符"
)
@ExcelProperty
(
"离职原因"
)
@Schema
(
description
=
"离职原因"
)
private
String
leaveReason
;
/**
* 离职备注
*/
@ExcelAttribute
(
name
=
"离职备注"
,
maxLength
=
255
)
@Length
(
max
=
255
,
message
=
"离职备注不能超过255个字符"
)
@ExcelProperty
(
"离职备注"
)
@Schema
(
description
=
"离职备注"
)
private
String
leaveRemark
;
/**
* 通信地址
*/
@ExcelAttribute
(
name
=
"通信地址"
,
maxLength
=
200
)
@Length
(
max
=
200
,
message
=
"通信地址不能超过200个字符"
)
@ExcelProperty
(
"通信地址"
)
@Schema
(
description
=
"通信地址"
)
private
String
contactAddress
;
}
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/entity/TPreEmployeeProject.java
0 → 100644
View file @
fb6482e2
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
entity
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute
;
import
com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
org.hibernate.validator.constraints.Length
;
import
javax.validation.constraints.NotBlank
;
import
java.util.Date
;
/**
* 预入职-项目档案表
*
* @author hgw
* @date 2024-06-17 11:24:01
*/
@Data
@TableName
(
"t_pre_employee_project"
)
@EqualsAndHashCode
(
callSuper
=
true
)
@Schema
(
description
=
"预入职-项目档案表"
)
public
class
TPreEmployeeProject
extends
BaseEntity
{
/**
* 主键
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@ExcelProperty
(
"主键"
)
@Schema
(
description
=
"主键"
)
private
String
id
;
/**
* 预入职主表ID
*/
@ExcelAttribute
(
name
=
"预入职主表ID"
,
isNotEmpty
=
true
,
errorInfo
=
"预入职主表ID不能为空"
,
maxLength
=
32
)
@NotBlank
(
message
=
"预入职主表ID不能为空"
)
@Length
(
max
=
32
,
message
=
"预入职主表ID不能超过32个字符"
)
@ExcelProperty
(
"预入职主表ID"
)
@Schema
(
description
=
"预入职主表ID"
)
private
String
preMainId
;
/**
* 人员档案主表id
*/
@ExcelAttribute
(
name
=
"人员档案主表id"
,
isNotEmpty
=
true
,
errorInfo
=
"人员档案主表id不能为空"
,
maxLength
=
32
)
@NotBlank
(
message
=
"人员档案主表id不能为空"
)
@Length
(
max
=
32
,
message
=
"人员档案主表id不能超过32个字符"
)
@ExcelProperty
(
"人员档案主表id"
)
@Schema
(
description
=
"人员档案主表id"
)
private
String
empId
;
/**
* 员工主码(系统自动生成:ZM+年月日+5位数字)
*/
@ExcelAttribute
(
name
=
"员工主码(系统自动生成:ZM+年月日+5位数字)"
,
isNotEmpty
=
true
,
errorInfo
=
"员工主码(系统自动生成:ZM+年月日+5位数字)不能为空"
,
maxLength
=
16
)
@NotBlank
(
message
=
"员工主码(系统自动生成:ZM+年月日+5位数字)不能为空"
)
@Length
(
max
=
16
,
message
=
"员工主码(系统自动生成:ZM+年月日+5位数字)不能超过16个字符"
)
@ExcelProperty
(
"员工主码(系统自动生成:ZM+年月日+5位数字)"
)
@Schema
(
description
=
"员工主码(系统自动生成:ZM+年月日+5位数字)"
)
private
String
empCode
;
/**
* 员工类型(字典值,0外包1派遣2代理)
*/
@ExcelAttribute
(
name
=
"员工类型(字典值,0外包1派遣2代理)"
,
isNotEmpty
=
true
,
errorInfo
=
"员工类型(字典值,0外包1派遣2代理)不能为空"
,
maxLength
=
2
)
@NotBlank
(
message
=
"员工类型(字典值,0外包1派遣2代理)不能为空"
)
@Length
(
max
=
2
,
message
=
"员工类型(字典值,0外包1派遣2代理)不能超过2个字符"
)
@ExcelProperty
(
"员工类型(字典值,0外包1派遣2代理)"
)
@Schema
(
description
=
"员工类型(字典值,0外包1派遣2代理)"
)
private
String
empNatrue
;
/**
* 员工姓名
*/
@ExcelAttribute
(
name
=
"员工姓名"
,
isNotEmpty
=
true
,
errorInfo
=
"员工姓名不能为空"
,
maxLength
=
30
)
@NotBlank
(
message
=
"员工姓名不能为空"
)
@Length
(
max
=
30
,
message
=
"员工姓名不能超过30个字符"
)
@ExcelProperty
(
"员工姓名"
)
@Schema
(
description
=
"员工姓名"
)
private
String
empName
;
/**
* 身份证号码
*/
@ExcelAttribute
(
name
=
"身份证号码"
,
isNotEmpty
=
true
,
errorInfo
=
"身份证号码不能为空"
,
maxLength
=
20
)
@NotBlank
(
message
=
"身份证号码不能为空"
)
@Length
(
max
=
20
,
message
=
"身份证号码不能超过20个字符"
)
@ExcelProperty
(
"身份证号码"
)
@Schema
(
description
=
"身份证号码"
)
private
String
empIdcard
;
/**
* 开户行
*/
@ExcelAttribute
(
name
=
"开户行"
,
maxLength
=
50
)
@Length
(
max
=
50
,
message
=
"开户行不能超过50个字符"
)
@ExcelProperty
(
"开户行"
)
@Schema
(
description
=
"开户行"
)
private
String
bankName
;
/**
* 支行
*/
@ExcelAttribute
(
name
=
"支行"
,
maxLength
=
50
)
@Length
(
max
=
50
,
message
=
"支行不能超过50个字符"
)
@ExcelProperty
(
"支行"
)
@Schema
(
description
=
"支行"
)
private
String
bankSubName
;
/**
* 银行卡号
*/
@ExcelAttribute
(
name
=
"银行卡号"
,
maxLength
=
50
)
@Length
(
max
=
50
,
message
=
"银行卡号不能超过50个字符"
)
@ExcelProperty
(
"银行卡号"
)
@Schema
(
description
=
"银行卡号"
)
private
String
bankNo
;
/**
* 减项操作人id
*/
@ExcelAttribute
(
name
=
"减项操作人id"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"减项操作人id不能超过32个字符"
)
@ExcelProperty
(
"减项操作人id"
)
@Schema
(
description
=
"减项操作人id"
)
private
String
leaveUser
;
/**
* 减项时间
*/
@ExcelAttribute
(
name
=
"减项时间"
,
isDate
=
true
)
@ExcelProperty
(
"减项时间"
)
@Schema
(
description
=
"减项时间"
)
private
Date
leaveTime
;
/**
* 减项原因
*/
@ExcelAttribute
(
name
=
"减项原因"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"减项原因不能超过32个字符"
)
@ExcelProperty
(
"减项原因"
)
@Schema
(
description
=
"减项原因"
)
private
String
leaveReason
;
/**
* 减项备注
*/
@ExcelAttribute
(
name
=
"减项备注"
,
maxLength
=
255
)
@Length
(
max
=
255
,
message
=
"减项备注不能超过255个字符"
)
@ExcelProperty
(
"减项备注"
)
@Schema
(
description
=
"减项备注"
)
private
String
leaveRemark
;
/**
* 员工编码
*/
@ExcelAttribute
(
name
=
"员工编码"
,
maxLength
=
20
)
@Length
(
max
=
20
,
message
=
"员工编码不能超过20个字符"
)
@ExcelProperty
(
"员工编码"
)
@Schema
(
description
=
"员工编码"
)
private
String
empNo
;
/**
* 客户id
*/
@ExcelAttribute
(
name
=
"客户id"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"客户id不能超过32个字符"
)
@ExcelProperty
(
"客户id"
)
@Schema
(
description
=
"客户id"
)
private
String
unitId
;
/**
* 客户名称
*/
@ExcelAttribute
(
name
=
"客户名称"
,
maxLength
=
50
)
@Length
(
max
=
50
,
message
=
"客户名称不能超过50个字符"
)
@ExcelProperty
(
"客户名称"
)
@Schema
(
description
=
"客户名称"
)
private
String
unitName
;
/**
* 客户编码
*/
@ExcelAttribute
(
name
=
"客户编码"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"客户编码不能超过32个字符"
)
@ExcelProperty
(
"客户编码"
)
@Schema
(
description
=
"客户编码"
)
private
String
unitNo
;
/**
* 项目id
*/
@ExcelAttribute
(
name
=
"项目id"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"项目id不能超过32个字符"
)
@ExcelProperty
(
"项目id"
)
@Schema
(
description
=
"项目id"
)
private
String
deptId
;
/**
* 项目名称
*/
@ExcelAttribute
(
name
=
"项目名称"
,
maxLength
=
50
)
@Length
(
max
=
50
,
message
=
"项目名称不能超过50个字符"
)
@ExcelProperty
(
"项目名称"
)
@Schema
(
description
=
"项目名称"
)
private
String
deptName
;
/**
* 项目编码
*/
@ExcelAttribute
(
name
=
"项目编码"
,
isNotEmpty
=
true
,
errorInfo
=
"项目编码不能为空"
,
maxLength
=
30
)
@NotBlank
(
message
=
"项目编码不能为空"
)
@Length
(
max
=
30
,
message
=
"项目编码不能超过30个字符"
)
@ExcelProperty
(
"项目编码"
)
@Schema
(
description
=
"项目编码"
)
private
String
deptNo
;
/**
* 业务类型一级分类
*/
@ExcelAttribute
(
name
=
"业务类型一级分类"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"业务类型一级分类不能超过32个字符"
)
@ExcelProperty
(
"业务类型一级分类"
)
@Schema
(
description
=
"业务类型一级分类"
)
private
String
businessPrimaryType
;
/**
* 业务类型二级分类
*/
@ExcelAttribute
(
name
=
"业务类型二级分类"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"业务类型二级分类不能超过32个字符"
)
@ExcelProperty
(
"业务类型二级分类"
)
@Schema
(
description
=
"业务类型二级分类"
)
private
String
businessSecondType
;
/**
* 业务类型三级分类
*/
@ExcelAttribute
(
name
=
"业务类型三级分类"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"业务类型三级分类不能超过32个字符"
)
@ExcelProperty
(
"业务类型三级分类"
)
@Schema
(
description
=
"业务类型三级分类"
)
private
String
businessThirdType
;
/**
* 合同类型(字典值)
*/
@ExcelAttribute
(
name
=
"合同类型(字典值)"
,
isNotEmpty
=
true
,
errorInfo
=
"合同类型(字典值)不能为空"
,
maxLength
=
2
)
@NotBlank
(
message
=
"合同类型(字典值)不能为空"
)
@Length
(
max
=
2
,
message
=
"合同类型(字典值)不能超过2个字符"
)
@ExcelProperty
(
"合同类型(字典值)"
)
@Schema
(
description
=
"合同类型(字典值)"
)
private
String
contractType
;
/**
* 工时制
*/
@ExcelAttribute
(
name
=
"工时制"
,
maxLength
=
1
)
@Length
(
max
=
1
,
message
=
"工时制不能超过1个字符"
)
@ExcelProperty
(
"工时制"
)
@Schema
(
description
=
"工时制"
)
private
String
workingHours
;
/**
* 就职岗位
*/
@ExcelAttribute
(
name
=
"就职岗位"
,
maxLength
=
50
)
@Length
(
max
=
50
,
message
=
"就职岗位不能超过50个字符"
)
@ExcelProperty
(
"就职岗位"
)
@Schema
(
description
=
"就职岗位"
)
private
String
post
;
/**
* 入职日期
*/
@ExcelAttribute
(
name
=
"入职日期"
,
isDate
=
true
)
@ExcelProperty
(
"入职日期"
)
@Schema
(
description
=
"入职日期"
)
private
Date
enjoinDate
;
/**
* 试用期(单位月)
*/
@ExcelAttribute
(
name
=
"试用期(单位月)"
,
maxLength
=
4
)
@Length
(
max
=
4
,
message
=
"试用期(单位月)不能超过4个字符"
)
@ExcelProperty
(
"试用期(单位月)"
)
@Schema
(
description
=
"试用期(单位月)"
)
private
String
tryPeriod
;
/**
* 项目档案来源(字典:4人员档案新建、5项目档案新建、1社保/公积金、3商险、2薪酬)
*/
@ExcelAttribute
(
name
=
"项目档案来源(字典:4人员档案新建、5项目档案新建、1社保/公积金、3商险、2薪酬)"
,
maxLength
=
5
)
@Length
(
max
=
5
,
message
=
"项目档案来源(字典:4人员档案新建、5项目档案新建、1社保/公积金、3商险、2薪酬)不能超过5个字符"
)
@ExcelProperty
(
"项目档案来源(字典:4人员档案新建、5项目档案新建、1社保/公积金、3商险、2薪酬)"
)
@Schema
(
description
=
"项目档案来源(字典:4人员档案新建、5项目档案新建、1社保/公积金、3商险、2薪酬)"
)
private
String
projectSource
;
/**
* 计税月份
*/
@ExcelAttribute
(
name
=
"计税月份"
,
maxLength
=
6
)
@Length
(
max
=
6
,
message
=
"计税月份不能超过6个字符"
)
@ExcelProperty
(
"计税月份"
)
@Schema
(
description
=
"计税月份"
)
private
String
taxMonth
;
/**
* 项目档案状态(0草稿、1已审核)
*/
@ExcelAttribute
(
name
=
"项目档案状态(0草稿、1已审核)"
,
isNotEmpty
=
true
,
errorInfo
=
"项目档案状态(0草稿、1已审核)不能为空"
)
@NotBlank
(
message
=
"项目档案状态(0草稿、1已审核)不能为空"
)
@ExcelProperty
(
"项目档案状态(0草稿、1已审核)"
)
@Schema
(
description
=
"项目档案状态(0草稿、1已审核)"
)
private
Integer
status
;
/**
* 项目状态(0正常;1已减项)
*/
@ExcelAttribute
(
name
=
"项目状态(0正常;1已减项)"
)
@ExcelProperty
(
"项目状态(0正常;1已减项)"
)
@Schema
(
description
=
"项目状态(0正常;1已减项)"
)
private
Integer
projectStatus
;
/**
* 员工合同状态(字典:0初始)
*/
@ExcelAttribute
(
name
=
"员工合同状态(字典:0初始)"
)
@ExcelProperty
(
"员工合同状态(字典:0初始)"
)
@Schema
(
description
=
"员工合同状态(字典:0初始)"
)
private
Integer
contractStatus
;
/**
* 近3个月发薪(0无;1是;2否)
*/
@ExcelAttribute
(
name
=
"近3个月发薪(0无;1是;2否)"
)
@ExcelProperty
(
"近3个月发薪(0无;1是;2否)"
)
@Schema
(
description
=
"近3个月发薪(0无;1是;2否)"
)
private
Integer
salaryStatus
;
/**
* 是否删除 0否/1是
*/
@ExcelAttribute
(
name
=
"是否删除 0否/1是"
,
isNotEmpty
=
true
,
errorInfo
=
"是否删除 0否/1是不能为空"
,
maxLength
=
1
)
@NotBlank
(
message
=
"是否删除 0否/1是不能为空"
)
@Length
(
max
=
1
,
message
=
"是否删除 0否/1是不能超过1个字符"
)
@ExcelProperty
(
"是否删除 0否/1是"
)
@Schema
(
description
=
"是否删除 0否/1是"
)
private
String
deleteFlag
;
/**
* 备注
*/
@ExcelAttribute
(
name
=
"备注"
,
maxLength
=
100
)
@Length
(
max
=
100
,
message
=
"备注不能超过100个字符"
)
@ExcelProperty
(
"备注"
)
@Schema
(
description
=
"备注"
)
private
String
remark
;
/**
* 商险状态(字典)
*/
@ExcelAttribute
(
name
=
"商险状态(字典)"
)
@ExcelProperty
(
"商险状态(字典)"
)
@Schema
(
description
=
"商险状态(字典)"
)
private
Integer
insuranceStatus
;
/**
* 社保状态(字典)
*/
@ExcelAttribute
(
name
=
"社保状态(字典)"
)
@ExcelProperty
(
"社保状态(字典)"
)
@Schema
(
description
=
"社保状态(字典)"
)
private
Integer
socialStatus
;
/**
* 公积金状态(字典)
*/
@ExcelAttribute
(
name
=
"公积金状态(字典)"
)
@ExcelProperty
(
"公积金状态(字典)"
)
@Schema
(
description
=
"公积金状态(字典)"
)
private
Integer
fundStatus
;
/**
* 是否同步减档(1是 0否)
*/
@ExcelAttribute
(
name
=
"是否同步减档(1是 0否)"
)
@ExcelProperty
(
"是否同步减档(1是 0否)"
)
@Schema
(
description
=
"是否同步减档(1是 0否)"
)
private
Integer
isLeaveEmployee
;
/**
* 社保-省
*/
@ExcelAttribute
(
name
=
"社保-省"
)
@ExcelProperty
(
"社保-省"
)
@Schema
(
description
=
"社保-省"
)
private
Integer
socialProvince
;
/**
* 社保-市
*/
@ExcelAttribute
(
name
=
"社保-市"
)
@ExcelProperty
(
"社保-市"
)
@Schema
(
description
=
"社保-市"
)
private
Integer
socialCity
;
/**
* 社保-县
*/
@ExcelAttribute
(
name
=
"社保-县"
)
@ExcelProperty
(
"社保-县"
)
@Schema
(
description
=
"社保-县"
)
private
Integer
socialTown
;
/**
* 标签
*/
@ExcelAttribute
(
name
=
"标签"
,
maxLength
=
20
)
@Length
(
max
=
20
,
message
=
"标签不能超过20个字符"
)
@ExcelProperty
(
"标签"
)
@Schema
(
description
=
"标签"
)
private
String
empLabel
;
}
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/vo/PreEmpMainDetailVo.java
0 → 100644
View file @
fb6482e2
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
vo
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.*
;
import
lombok.Data
;
import
java.io.Serializable
;
import
java.util.List
;
/**
* 预入职详情
*
* @author hgw
* @date 2024-6-17 16:43:37
*/
@Data
public
class
PreEmpMainDetailVo
implements
Serializable
{
private
static
final
long
serialVersionUID
=
1L
;
// 主表
private
TPreEmpMain
main
;
// 预入职-员工不良记录表
private
List
<
TPreEmpBadRecord
>
tPreEmpBadRecord
;
// 预入职-紧急联络人
private
List
<
TPreEmpContactInfo
>
tPreEmpContactInfo
;
// 预入职-员工申明
private
TPreEmpDeclaration
tPreEmpDeclaration
;
// 预入职-员工伤残信息表
private
List
<
TPreEmpDisabilityInfo
>
tPreEmpDisabilityInfo
;
// 预入职-员工学历信息表
private
List
<
TPreEmpEducation
>
tPreEmpEducation
;
// 预入职-员工家庭信息表
private
List
<
TPreEmpFamily
>
tPreEmpFamily
;
// 预入职-人员档案表
private
List
<
TPreEmployeeInfo
>
tPreEmployeeInfo
;
// 预入职-项目档案表
private
List
<
TPreEmployeeProject
>
tPreEmployeeProject
;
// 预入职-员工职业资格信息表
private
List
<
TPreEmpProfessionalQualification
>
tPreEmpProfessionalQualification
;
// 预入职-员工工作履历信息表
private
List
<
TPreEmpWorkRecording
>
tPreEmpWorkRecording
;
// 预入职-附件 21(预入职申明签名);22(预入职确认签名);23(预入职pdf文件)
private
List
<
TAttaInfo
>
attaInfoList
;
}
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/vo/TPreEmpMainSearchVo.java
0 → 100644
View file @
fb6482e2
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
vo
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpMain
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
java.time.LocalDateTime
;
/**
* 预入职-主表
*
* @author hgw
* @date 2024-06-17 11:31:08
*/
@Data
public
class
TPreEmpMainSearchVo
extends
TPreEmpMain
{
/**
* 多选导出或删除等操作
*/
@Schema
(
description
=
"选中ID,多个逗号分割"
)
private
String
ids
;
/**
* 创建时间区间 [开始时间,结束时间]
*/
@Schema
(
description
=
"创建时间区间"
)
private
LocalDateTime
[]
createTimes
;
/**
* @Author fxj
* 查询数据起
**/
@Schema
(
description
=
"查询limit 开始"
)
private
int
limitStart
;
/**
* @Author fxj
* 查询数据止
**/
@Schema
(
description
=
"查询limit 数据条数"
)
private
int
limitEnd
;
}
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/vo/TPreEmpMainVo.java
0 → 100644
View file @
fb6482e2
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
vo
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute
;
import
com.yifu.cloud.plus.v1.yifu.common.core.vo.RowIndex
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
org.hibernate.validator.constraints.Length
;
import
javax.validation.constraints.NotBlank
;
import
java.io.Serializable
;
import
java.util.Date
;
/**
* 预入职-主表
*
* @author hgw
* @date 2024-06-17 11:31:08
*/
@Data
public
class
TPreEmpMainVo
extends
RowIndex
implements
Serializable
{
/**
* 主键
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@NotBlank
(
message
=
"主键 不能为空"
)
@Length
(
max
=
32
,
message
=
"主键 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"主键"
,
isNotEmpty
=
true
,
errorInfo
=
"主键 不能为空"
,
maxLength
=
32
)
@Schema
(
description
=
"主键"
)
@ExcelProperty
(
"主键"
)
private
String
id
;
/**
* 审核状态(0待完善;1待审核;2审核通过;3审核不通过)
*/
@NotBlank
(
message
=
"审核状态(0待完善;1待审核;2审核通过;3审核不通过) 不能为空"
)
@Length
(
max
=
1
,
message
=
"审核状态(0待完善;1待审核;2审核通过;3审核不通过) 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"审核状态(0待完善;1待审核;2审核通过;3审核不通过)"
,
isNotEmpty
=
true
,
errorInfo
=
"审核状态(0待完善;1待审核;2审核通过;3审核不通过) 不能为空"
,
maxLength
=
1
)
@Schema
(
description
=
"审核状态(0待完善;1待审核;2审核通过;3审核不通过)"
)
@ExcelProperty
(
"审核状态(0待完善;1待审核;2审核通过;3审核不通过)"
)
private
String
status
;
/**
* 员工ID
*/
@Length
(
max
=
32
,
message
=
"员工ID 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"员工ID"
,
maxLength
=
32
)
@Schema
(
description
=
"员工ID"
)
@ExcelProperty
(
"员工ID"
)
private
String
empId
;
/**
* 员工姓名
*/
@Length
(
max
=
32
,
message
=
"员工姓名 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"员工姓名"
,
maxLength
=
32
)
@Schema
(
description
=
"员工姓名"
)
@ExcelProperty
(
"员工姓名"
)
private
String
empName
;
/**
* 身份证号
*/
@Length
(
max
=
20
,
message
=
"身份证号 不能超过20 个字符"
)
@ExcelAttribute
(
name
=
"身份证号"
,
maxLength
=
20
)
@Schema
(
description
=
"身份证号"
)
@ExcelProperty
(
"身份证号"
)
private
String
empIdcard
;
/**
* 手机号码
*/
@Length
(
max
=
32
,
message
=
"手机号码 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"手机号码"
,
maxLength
=
32
)
@Schema
(
description
=
"手机号码"
)
@ExcelProperty
(
"手机号码"
)
private
String
empPhone
;
/**
* 微信名
*/
@Length
(
max
=
32
,
message
=
"微信名 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"微信名"
,
maxLength
=
32
)
@Schema
(
description
=
"微信名"
)
@ExcelProperty
(
"微信名"
)
private
String
empWx
;
/**
* 客户id
*/
@Length
(
max
=
32
,
message
=
"客户id 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"客户id"
,
maxLength
=
32
)
@Schema
(
description
=
"客户id"
)
@ExcelProperty
(
"客户id"
)
private
String
unitId
;
/**
* 客户名称
*/
@Length
(
max
=
50
,
message
=
"客户名称 不能超过50 个字符"
)
@ExcelAttribute
(
name
=
"客户名称"
,
maxLength
=
50
)
@Schema
(
description
=
"客户名称"
)
@ExcelProperty
(
"客户名称"
)
private
String
unitName
;
/**
* 客户编码
*/
@Length
(
max
=
32
,
message
=
"客户编码 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"客户编码"
,
maxLength
=
32
)
@Schema
(
description
=
"客户编码"
)
@ExcelProperty
(
"客户编码"
)
private
String
unitNo
;
/**
* 项目id
*/
@Length
(
max
=
32
,
message
=
"项目id 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"项目id"
,
maxLength
=
32
)
@Schema
(
description
=
"项目id"
)
@ExcelProperty
(
"项目id"
)
private
String
deptId
;
/**
* 项目名称
*/
@Length
(
max
=
50
,
message
=
"项目名称 不能超过50 个字符"
)
@ExcelAttribute
(
name
=
"项目名称"
,
maxLength
=
50
)
@Schema
(
description
=
"项目名称"
)
@ExcelProperty
(
"项目名称"
)
private
String
deptName
;
/**
* 项目编码
*/
@NotBlank
(
message
=
"项目编码 不能为空"
)
@Length
(
max
=
30
,
message
=
"项目编码 不能超过30 个字符"
)
@ExcelAttribute
(
name
=
"项目编码"
,
isNotEmpty
=
true
,
errorInfo
=
"项目编码 不能为空"
,
maxLength
=
30
)
@Schema
(
description
=
"项目编码"
)
@ExcelProperty
(
"项目编码"
)
private
String
deptNo
;
/**
* 业务类型一级分类
*/
@Length
(
max
=
32
,
message
=
"业务类型一级分类 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"业务类型一级分类"
,
maxLength
=
32
)
@Schema
(
description
=
"业务类型一级分类"
)
@ExcelProperty
(
"业务类型一级分类"
)
private
String
businessPrimaryType
;
/**
* 业务类型二级分类
*/
@Length
(
max
=
32
,
message
=
"业务类型二级分类 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"业务类型二级分类"
,
maxLength
=
32
)
@Schema
(
description
=
"业务类型二级分类"
)
@ExcelProperty
(
"业务类型二级分类"
)
private
String
businessSecondType
;
/**
* 业务类型三级分类
*/
@Length
(
max
=
32
,
message
=
"业务类型三级分类 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"业务类型三级分类"
,
maxLength
=
32
)
@Schema
(
description
=
"业务类型三级分类"
)
@ExcelProperty
(
"业务类型三级分类"
)
private
String
businessThirdType
;
/**
* 员工类型(字典值,0外包1派遣2代理)
*/
@NotBlank
(
message
=
"员工类型(字典值,0外包1派遣2代理) 不能为空"
)
@Length
(
max
=
2
,
message
=
"员工类型(字典值,0外包1派遣2代理) 不能超过2 个字符"
)
@ExcelAttribute
(
name
=
"员工类型(字典值,0外包1派遣2代理)"
,
isNotEmpty
=
true
,
errorInfo
=
"员工类型(字典值,0外包1派遣2代理) 不能为空"
,
maxLength
=
2
)
@Schema
(
description
=
"员工类型(字典值,0外包1派遣2代理)"
)
@ExcelProperty
(
"员工类型(字典值,0外包1派遣2代理)"
)
private
String
empNatrue
;
/**
* 审核人ID
*/
@Length
(
max
=
32
,
message
=
"审核人ID 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"审核人ID"
,
maxLength
=
32
)
@Schema
(
description
=
"审核人ID"
)
@ExcelProperty
(
"审核人ID"
)
private
String
auditId
;
/**
* 审核人姓名
*/
@Length
(
max
=
20
,
message
=
"审核人姓名 不能超过20 个字符"
)
@ExcelAttribute
(
name
=
"审核人姓名"
,
maxLength
=
20
)
@Schema
(
description
=
"审核人姓名"
)
@ExcelProperty
(
"审核人姓名"
)
private
String
auditName
;
/**
* 审核时间
*/
@ExcelAttribute
(
name
=
"审核时间"
,
isDate
=
true
)
@Schema
(
description
=
"审核时间"
)
@ExcelProperty
(
"审核时间"
)
private
Date
auditTime
;
/**
* 创建者
*/
@Length
(
max
=
64
,
message
=
"创建者 不能超过64 个字符"
)
@ExcelAttribute
(
name
=
"创建者"
,
maxLength
=
64
)
@Schema
(
description
=
"创建者"
)
@ExcelProperty
(
"创建者"
)
private
String
createBy
;
/**
* 更新人
*/
@Length
(
max
=
64
,
message
=
"更新人 不能超过64 个字符"
)
@ExcelAttribute
(
name
=
"更新人"
,
maxLength
=
64
)
@Schema
(
description
=
"更新人"
)
@ExcelProperty
(
"更新人"
)
private
String
updateBy
;
/**
* 创建人姓名
*/
@Length
(
max
=
32
,
message
=
"创建人姓名 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"创建人姓名"
,
maxLength
=
32
)
@Schema
(
description
=
"创建人姓名"
)
@ExcelProperty
(
"创建人姓名"
)
private
String
createName
;
/**
* 创建时间
*/
@ExcelAttribute
(
name
=
"创建时间"
,
isDate
=
true
)
@Schema
(
description
=
"创建时间"
)
@ExcelProperty
(
"创建时间"
)
private
Date
createTime
;
/**
* 更新时间
*/
@ExcelAttribute
(
name
=
"更新时间"
,
isDate
=
true
)
@Schema
(
description
=
"更新时间"
)
@ExcelProperty
(
"更新时间"
)
private
Date
updateTime
;
/**
* 结算主体ID
*/
@Length
(
max
=
32
,
message
=
"结算主体ID 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"结算主体ID"
,
maxLength
=
32
)
@Schema
(
description
=
"结算主体ID"
)
@ExcelProperty
(
"结算主体ID"
)
private
String
settleDomain
;
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/controller/TPreEmpMainController.java
0 → 100644
View file @
fb6482e2
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
controller
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpMain
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.TPreEmpMainService
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.PreEmpMainDetailVo
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.TPreEmpMainSearchVo
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.ErrorMessage
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.common.core.vo.YifuUser
;
import
com.yifu.cloud.plus.v1.yifu.common.dapr.util.MenuUtil
;
import
com.yifu.cloud.plus.v1.yifu.common.log.annotation.SysLog
;
import
com.yifu.cloud.plus.v1.yifu.common.security.util.SecurityUtils
;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
lombok.RequiredArgsConstructor
;
import
lombok.SneakyThrows
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.multipart.MultipartFile
;
import
javax.servlet.http.HttpServletResponse
;
import
java.util.List
;
/**
* 预入职-主表
*
* @author hgw
* @date 2024-06-17 11:31:08
*/
@RestController
@RequiredArgsConstructor
@RequestMapping
(
"/tpreempmain"
)
@Tag
(
name
=
"预入职-主表管理"
)
public
class
TPreEmpMainController
{
private
final
TPreEmpMainService
tPreEmpMainService
;
private
final
MenuUtil
menuUtil
;
/**
* 简单分页查询
*
* @param page 分页对象
* @param tPreEmpMain 预入职-主表
* @return
*/
@Operation
(
description
=
"简单分页查询"
)
@GetMapping
(
"/page"
)
public
R
<
IPage
<
TPreEmpMain
>>
getTPreEmpMainPage
(
Page
<
TPreEmpMain
>
page
,
TPreEmpMainSearchVo
tPreEmpMain
)
{
YifuUser
user
=
SecurityUtils
.
getUser
();
menuUtil
.
setAuthSql
(
user
,
tPreEmpMain
);
return
new
R
<>(
tPreEmpMainService
.
getTPreEmpMainPage
(
page
,
tPreEmpMain
));
}
/**
* 不分页查询
*
* @param tPreEmpMain 预入职-主表
* @return
*/
@Operation
(
summary
=
"不分页查询"
,
description
=
"不分页查询"
)
@PostMapping
(
"/noPage"
)
//@PreAuthorize("@pms.hasPermission('archives_tpreempmain_get')" )
public
R
<
List
<
TPreEmpMain
>>
getTPreEmpMainNoPage
(
@RequestBody
TPreEmpMainSearchVo
tPreEmpMain
)
{
return
R
.
ok
(
tPreEmpMainService
.
noPageDiy
(
tPreEmpMain
));
}
/**
* 通过id查询预入职-主表
*
* @param id id
* @return R
*/
@Operation
(
summary
=
"通过id查询"
,
description
=
"通过id查询:hasPermission('archives_tpreempmain_get')"
)
@GetMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('archives_tpreempmain_get')"
)
public
R
<
PreEmpMainDetailVo
>
getById
(
@PathVariable
(
"id"
)
String
id
)
{
return
tPreEmpMainService
.
getInfoById
(
id
);
}
/**
* 草稿预入职
* hgw
* 2024-6-17 17:39:15
*/
@Operation
(
summary
=
"草稿预入职"
,
description
=
"草稿预入职:hasPermission('archives_tpreempmain_draft')"
)
@SysLog
(
"草稿预入职"
)
@PostMapping
(
"/saveDraftPreEmpMain"
)
@PreAuthorize
(
"@pms.hasPermission('archives_tpreempmain_draft')"
)
public
R
<
String
>
saveDraftPreEmpMain
(
@RequestBody
PreEmpMainDetailVo
vo
)
{
return
tPreEmpMainService
.
saveDraftPreEmpMain
(
vo
);
}
/**
* 保存预入职
* hgw
* 2024-6-17 17:39:15
*/
@Operation
(
summary
=
"保存预入职"
,
description
=
"保存预入职:hasPermission('archives_tpreempmain_add')"
)
@SysLog
(
"保存预入职"
)
@PostMapping
(
"/savePreEmpMain"
)
@PreAuthorize
(
"@pms.hasPermission('archives_tpreempmain_add')"
)
public
R
<
String
>
savePreEmpMain
(
@RequestBody
PreEmpMainDetailVo
vo
)
{
return
tPreEmpMainService
.
savePreEmpMain
(
vo
);
}
/**
* 修改预入职-主表
*
* @param tPreEmpMain 预入职-主表
* @return R
*/
@Operation
(
summary
=
"修改预入职-主表"
,
description
=
"修改预入职-主表:hasPermission('archives_tpreempmain_edit')"
)
@SysLog
(
"修改预入职-主表"
)
@PutMapping
@PreAuthorize
(
"@pms.hasPermission('archives_tpreempmain_edit')"
)
public
R
<
Boolean
>
updateById
(
@RequestBody
TPreEmpMain
tPreEmpMain
)
{
return
R
.
ok
(
tPreEmpMainService
.
updateById
(
tPreEmpMain
));
}
/**
* 通过id删除预入职-主表
*
* @param id id
* @return R
*/
@Operation
(
summary
=
"通过id删除预入职-主表"
,
description
=
"通过id删除预入职-主表:hasPermission('archives_tpreempmain_del')"
)
@SysLog
(
"通过id删除预入职-主表"
)
@DeleteMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('archives_tpreempmain_del')"
)
public
R
<
Boolean
>
removeById
(
@PathVariable
String
id
)
{
return
R
.
ok
(
tPreEmpMainService
.
removeById
(
id
));
}
/**
* 预入职-主表 批量导入
*
* @author hgw
* @date 2024-06-17 11:31:08
**/
@SneakyThrows
@Operation
(
description
=
"批量新增预入职-主表 hasPermission('archives_tpreempmain-batch-import')"
)
@SysLog
(
"批量新增预入职-主表"
)
@PostMapping
(
"/importListAdd"
)
@PreAuthorize
(
"@pms.hasPermission('archives_tpreempmain-batch-import')"
)
public
R
<
List
<
ErrorMessage
>>
importListAdd
(
@RequestBody
MultipartFile
file
)
{
return
tPreEmpMainService
.
importDiy
(
file
.
getInputStream
());
}
/**
* 预入职-主表 批量导出
*
* @author hgw
* @date 2024-06-17 11:31:08
**/
@Operation
(
description
=
"导出预入职-主表 hasPermission('archives_tpreempmain-export')"
)
@PostMapping
(
"/export"
)
@PreAuthorize
(
"@pms.hasPermission('archives_tpreempmain-export')"
)
public
void
export
(
HttpServletResponse
response
,
@RequestBody
TPreEmpMainSearchVo
searchVo
)
{
tPreEmpMainService
.
listExport
(
response
,
searchVo
);
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/mapper/TAttaInfoMapper.java
View file @
fb6482e2
...
@@ -36,6 +36,8 @@ public interface TAttaInfoMapper extends BaseMapper<TAttaInfo> {
...
@@ -36,6 +36,8 @@ public interface TAttaInfoMapper extends BaseMapper<TAttaInfo> {
**/
**/
List
<
TAttaInfo
>
getTAttaInfoList
(
@Param
(
"tAttaInfo"
)
TAttaInfo
tAttaInfo
);
List
<
TAttaInfo
>
getTAttaInfoList
(
@Param
(
"tAttaInfo"
)
TAttaInfo
tAttaInfo
);
List
<
TAttaInfo
>
getTAttaInfoListByDoMainId
(
@Param
(
"domainId"
)
String
domainId
);
List
<
TAttaInfo
>
getKeenAtta
(
@Param
(
"dayStart"
)
LocalDateTime
dayStart
,
@Param
(
"values"
)
Collection
<
String
>
values
);
List
<
TAttaInfo
>
getKeenAtta
(
@Param
(
"dayStart"
)
LocalDateTime
dayStart
,
@Param
(
"values"
)
Collection
<
String
>
values
);
int
updateDomainId
(
@Param
(
"domainId"
)
String
domainId
,
@Param
(
"ids"
)
List
<
String
>
ids
);
int
updateDomainId
(
@Param
(
"domainId"
)
String
domainId
,
@Param
(
"ids"
)
List
<
String
>
ids
);
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/mapper/TPreEmpBadRecordMapper.java
0 → 100644
View file @
fb6482e2
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpBadRecord
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
import
java.util.List
;
/**
* 预入职-员工不良记录表
*
* @author hgw
* @date 2024-06-17 11:31:08
*/
@Mapper
public
interface
TPreEmpBadRecordMapper
extends
BaseMapper
<
TPreEmpBadRecord
>
{
/**
* 预入职-员工不良记录表简单分页查询
* @param tPreEmpBadRecord 预入职-员工不良记录表
* @return
*/
List
<
TPreEmpBadRecord
>
getTPreEmpBadRecordList
(
@Param
(
"preMainId"
)
String
preMainId
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/mapper/TPreEmpContactInfoMapper.java
0 → 100644
View file @
fb6482e2
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpContactInfo
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
import
java.util.List
;
/**
* 预入职-紧急联络人
*
* @author hgw
* @date 2024-06-17 11:24:01
*/
@Mapper
public
interface
TPreEmpContactInfoMapper
extends
BaseMapper
<
TPreEmpContactInfo
>
{
/**
* 预入职-紧急联络人简单分页查询
*
* @param tPreEmpContactInfo 预入职-紧急联络人
* @return
*/
List
<
TPreEmpContactInfo
>
getTPreEmpContactInfoList
(
@Param
(
"preMainId"
)
String
preMainId
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/mapper/TPreEmpDeclarationMapper.java
0 → 100644
View file @
fb6482e2
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpDeclaration
;
import
org.apache.ibatis.annotations.Mapper
;
/**
* 预入职-员工申明
*
* @author hgw
* @date 2024-06-17 11:24:00
*/
@Mapper
public
interface
TPreEmpDeclarationMapper
extends
BaseMapper
<
TPreEmpDeclaration
>
{
/**
* 预入职-员工申明简单分页查询
*
* @return
*/
TPreEmpDeclaration
getTPreEmpDeclarationList
();
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/mapper/TPreEmpDisabilityInfoMapper.java
0 → 100644
View file @
fb6482e2
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpDisabilityInfo
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
import
java.util.List
;
/**
* 预入职-员工伤残信息表
*
* @author hgw
* @date 2024-06-17 11:24:01
*/
@Mapper
public
interface
TPreEmpDisabilityInfoMapper
extends
BaseMapper
<
TPreEmpDisabilityInfo
>
{
/**
* 预入职-员工伤残信息表简单分页查询
*
* @param tPreEmpDisabilityInfo 预入职-员工伤残信息表
* @return
*/
List
<
TPreEmpDisabilityInfo
>
getTPreEmpDisabilityInfoList
(
@Param
(
"preMainId"
)
String
preMainId
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/mapper/TPreEmpEducationMapper.java
0 → 100644
View file @
fb6482e2
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpEducation
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
import
java.util.List
;
/**
* 预入职-员工学历信息表
*
* @author hgw
* @date 2024-06-17 11:24:01
*/
@Mapper
public
interface
TPreEmpEducationMapper
extends
BaseMapper
<
TPreEmpEducation
>
{
/**
* 预入职-员工学历信息表简单分页查询
*
* @param tPreEmpEducation 预入职-员工学历信息表
* @return
*/
List
<
TPreEmpEducation
>
getTPreEmpEducationList
(
@Param
(
"preMainId"
)
String
preMainId
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/mapper/TPreEmpFamilyMapper.java
0 → 100644
View file @
fb6482e2
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpFamily
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
import
java.util.List
;
/**
* 预入职-员工家庭信息表
*
* @author hgw
* @date 2024-06-17 11:24:01
*/
@Mapper
public
interface
TPreEmpFamilyMapper
extends
BaseMapper
<
TPreEmpFamily
>
{
/**
* 预入职-员工家庭信息表简单分页查询
*
* @param tPreEmpFamily 预入职-员工家庭信息表
* @return
*/
List
<
TPreEmpFamily
>
getTPreEmpFamilyList
(
@Param
(
"preMainId"
)
String
preMainId
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/mapper/TPreEmpMainMapper.java
0 → 100644
View file @
fb6482e2
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpMain
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
/**
* 预入职-主表
*
* @author hgw
* @date 2024-06-17 11:31:08
*/
@Mapper
public
interface
TPreEmpMainMapper
extends
BaseMapper
<
TPreEmpMain
>
{
/**
* 预入职-主表简单分页查询
*
* @param tPreEmpMain 预入职-主表
* @return
*/
IPage
<
TPreEmpMain
>
getTPreEmpMainPage
(
Page
<
TPreEmpMain
>
page
,
@Param
(
"tPreEmpMain"
)
TPreEmpMain
tPreEmpMain
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/mapper/TPreEmpProfessionalQualificationMapper.java
0 → 100644
View file @
fb6482e2
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpProfessionalQualification
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
import
java.util.List
;
/**
* 预入职-员工职业资格信息表
*
* @author hgw
* @date 2024-06-17 11:24:01
*/
@Mapper
public
interface
TPreEmpProfessionalQualificationMapper
extends
BaseMapper
<
TPreEmpProfessionalQualification
>
{
/**
* 预入职-员工职业资格信息表简单分页查询
*
* @param tPreEmpProfessionalQualification 预入职-员工职业资格信息表
* @return
*/
List
<
TPreEmpProfessionalQualification
>
getTPreEmpProfessionalQualificationList
(
@Param
(
"preMainId"
)
String
preMainId
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/mapper/TPreEmpWorkRecordingMapper.java
0 → 100644
View file @
fb6482e2
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpWorkRecording
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
import
java.util.List
;
/**
* 预入职-员工工作履历信息表
*
* @author hgw
* @date 2024-06-17 11:24:01
*/
@Mapper
public
interface
TPreEmpWorkRecordingMapper
extends
BaseMapper
<
TPreEmpWorkRecording
>
{
/**
* 预入职-员工工作履历信息表简单分页查询
*
* @param tPreEmpWorkRecording 预入职-员工工作履历信息表
* @return
*/
List
<
TPreEmpWorkRecording
>
getTPreEmpWorkRecordingList
(
@Param
(
"preMainId"
)
String
preMainId
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/mapper/TPreEmployeeInfoMapper.java
0 → 100644
View file @
fb6482e2
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmployeeInfo
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
import
java.util.List
;
/**
* 预入职-人员档案表
*
* @author hgw
* @date 2024-06-17 11:24:01
*/
@Mapper
public
interface
TPreEmployeeInfoMapper
extends
BaseMapper
<
TPreEmployeeInfo
>
{
/**
* 预入职-人员档案表简单分页查询
*
* @param tPreEmployeeInfo 预入职-人员档案表
* @return
*/
List
<
TPreEmployeeInfo
>
getTPreEmployeeInfoList
(
@Param
(
"preMainId"
)
String
preMainId
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/mapper/TPreEmployeeProjectMapper.java
0 → 100644
View file @
fb6482e2
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmployeeProject
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
import
java.util.List
;
/**
* 预入职-项目档案表
*
* @author hgw
* @date 2024-06-17 11:24:01
*/
@Mapper
public
interface
TPreEmployeeProjectMapper
extends
BaseMapper
<
TPreEmployeeProject
>
{
/**
* 预入职-项目档案表简单分页查询
*
* @param tPreEmployeeProject 预入职-项目档案表
* @return
*/
List
<
TPreEmployeeProject
>
getTPreEmployeeProjectList
(
@Param
(
"preMainId"
)
String
preMainId
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/TAttaInfoService.java
View file @
fb6482e2
...
@@ -35,6 +35,14 @@ public interface TAttaInfoService extends IService<TAttaInfo> {
...
@@ -35,6 +35,14 @@ public interface TAttaInfoService extends IService<TAttaInfo> {
* @return
* @return
**/
**/
List
<
TAttaInfo
>
getTAttaInfoList
(
TAttaInfo
tAttaInfo
);
List
<
TAttaInfo
>
getTAttaInfoList
(
TAttaInfo
tAttaInfo
);
/**
* @param domainId 关联id
* @Description: 根据domainId获取附件
* @Author: hgw
* @Date: 2024/6/17 18:23
* @return: java.util.List<com.yifu.cloud.plus.v1.yifu.archives.entity.TAttaInfo>
**/
List
<
TAttaInfo
>
getTAttaInfoListByDoMainId
(
String
domainId
);
TAttaInfo
add
(
TAttaInfo
attaInfo
);
TAttaInfo
add
(
TAttaInfo
attaInfo
);
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/TPreEmpBadRecordService.java
0 → 100644
View file @
fb6482e2
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
service
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpBadRecord
;
import
java.util.List
;
/**
* 预入职-员工不良记录表
*
* @author hgw
* @date 2024-06-17 11:31:08
*/
public
interface
TPreEmpBadRecordService
extends
IService
<
TPreEmpBadRecord
>
{
/**
* 预入职-员工不良记录表简单分页查询
*
* @return
*/
List
<
TPreEmpBadRecord
>
getTPreEmpBadRecordList
(
String
preMainId
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/TPreEmpContactInfoService.java
0 → 100644
View file @
fb6482e2
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
service
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpContactInfo
;
import
java.util.List
;
/**
* 预入职-紧急联络人
*
* @author hgw
* @date 2024-06-17 11:24:01
*/
public
interface
TPreEmpContactInfoService
extends
IService
<
TPreEmpContactInfo
>
{
/**
* 预入职-紧急联络人简单分页查询
*
* @return
*/
List
<
TPreEmpContactInfo
>
getTPreEmpContactInfoList
(
String
preMainId
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/TPreEmpDeclarationService.java
0 → 100644
View file @
fb6482e2
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
service
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpDeclaration
;
/**
* 预入职-员工申明
*
* @author hgw
* @date 2024-06-17 11:24:00
*/
public
interface
TPreEmpDeclarationService
extends
IService
<
TPreEmpDeclaration
>
{
/**
* 预入职-员工申明简单分页查询
*
* @return
*/
TPreEmpDeclaration
getTPreEmpDeclarationList
();
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/TPreEmpDisabilityInfoService.java
0 → 100644
View file @
fb6482e2
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
service
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpDisabilityInfo
;
import
java.util.List
;
/**
* 预入职-员工伤残信息表
*
* @author hgw
* @date 2024-06-17 11:24:01
*/
public
interface
TPreEmpDisabilityInfoService
extends
IService
<
TPreEmpDisabilityInfo
>
{
/**
* 预入职-员工伤残信息表简单分页查询
*
* @return
*/
List
<
TPreEmpDisabilityInfo
>
getTPreEmpDisabilityInfoList
(
String
preMainId
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/TPreEmpEducationService.java
0 → 100644
View file @
fb6482e2
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
service
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpEducation
;
import
java.util.List
;
/**
* 预入职-员工学历信息表
*
* @author hgw
* @date 2024-06-17 11:24:01
*/
public
interface
TPreEmpEducationService
extends
IService
<
TPreEmpEducation
>
{
/**
* 预入职-员工学历信息表简单分页查询
*
* @return
*/
List
<
TPreEmpEducation
>
getTPreEmpEducationList
(
String
preMainId
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/TPreEmpFamilyService.java
0 → 100644
View file @
fb6482e2
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
service
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpFamily
;
import
java.util.List
;
/**
* 预入职-员工家庭信息表
*
* @author hgw
* @date 2024-06-17 11:24:01
*/
public
interface
TPreEmpFamilyService
extends
IService
<
TPreEmpFamily
>
{
/**
* 预入职-员工家庭信息表简单分页查询
*
* @return
*/
List
<
TPreEmpFamily
>
getTPreEmpFamilyList
(
String
preMainId
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/TPreEmpMainService.java
0 → 100644
View file @
fb6482e2
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
service
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpMain
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.PreEmpMainDetailVo
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.TPreEmpMainSearchVo
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.ErrorMessage
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
javax.servlet.http.HttpServletResponse
;
import
java.io.InputStream
;
import
java.util.List
;
/**
* 预入职-主表
*
* @author hgw
* @date 2024-06-17 11:31:08
*/
public
interface
TPreEmpMainService
extends
IService
<
TPreEmpMain
>
{
/**
* 预入职-主表简单分页查询
*
* @param tPreEmpMain 预入职-主表
* @return
*/
IPage
<
TPreEmpMain
>
getTPreEmpMainPage
(
Page
<
TPreEmpMain
>
page
,
TPreEmpMainSearchVo
tPreEmpMain
);
/**
* @Description: 详情
* @Author: hgw
* @Date: 2024/6/17 16:41
* @return: com.yifu.cloud.plus.v1.yifu.common.core.util.R<com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpMain>
**/
R
<
PreEmpMainDetailVo
>
getInfoById
(
String
id
);
// 草稿
R
<
String
>
saveDraftPreEmpMain
(
PreEmpMainDetailVo
vo
);
// 保存
R
<
String
>
savePreEmpMain
(
PreEmpMainDetailVo
vo
);
R
<
List
<
ErrorMessage
>>
importDiy
(
InputStream
inputStream
);
void
listExport
(
HttpServletResponse
response
,
TPreEmpMainSearchVo
searchVo
);
List
<
TPreEmpMain
>
noPageDiy
(
TPreEmpMainSearchVo
searchVo
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/TPreEmpProfessionalQualificationService.java
0 → 100644
View file @
fb6482e2
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
service
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpProfessionalQualification
;
import
java.util.List
;
/**
* 预入职-员工职业资格信息表
*
* @author hgw
* @date 2024-06-17 11:24:01
*/
public
interface
TPreEmpProfessionalQualificationService
extends
IService
<
TPreEmpProfessionalQualification
>
{
/**
* 预入职-员工职业资格信息表简单分页查询
*
* @return
*/
List
<
TPreEmpProfessionalQualification
>
getTPreEmpProfessionalQualificationList
(
String
preMainId
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/TPreEmpWorkRecordingService.java
0 → 100644
View file @
fb6482e2
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
service
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpWorkRecording
;
import
java.util.List
;
/**
* 预入职-员工工作履历信息表
*
* @author hgw
* @date 2024-06-17 11:24:01
*/
public
interface
TPreEmpWorkRecordingService
extends
IService
<
TPreEmpWorkRecording
>
{
/**
* 预入职-员工工作履历信息表简单分页查询
*
* @return
*/
List
<
TPreEmpWorkRecording
>
getTPreEmpWorkRecordingList
(
String
preMainId
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/TPreEmployeeInfoService.java
0 → 100644
View file @
fb6482e2
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
service
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmployeeInfo
;
import
java.util.List
;
/**
* 预入职-人员档案表
*
* @author hgw
* @date 2024-06-17 11:24:01
*/
public
interface
TPreEmployeeInfoService
extends
IService
<
TPreEmployeeInfo
>
{
/**
* 预入职-人员档案表简单分页查询
*
* @return
*/
List
<
TPreEmployeeInfo
>
getTPreEmployeeInfoList
(
String
preMainId
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/TPreEmployeeProjectService.java
0 → 100644
View file @
fb6482e2
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
service
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmployeeProject
;
import
java.util.List
;
/**
* 预入职-项目档案表
*
* @author hgw
* @date 2024-06-17 11:24:01
*/
public
interface
TPreEmployeeProjectService
extends
IService
<
TPreEmployeeProject
>
{
/**
* 预入职-项目档案表简单分页查询
*
* @return
*/
List
<
TPreEmployeeProject
>
getTPreEmployeeProjectList
(
String
preMainId
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TAttaInfoServiceImpl.java
View file @
fb6482e2
...
@@ -51,6 +51,10 @@ public class TAttaInfoServiceImpl extends ServiceImpl<TAttaInfoMapper, TAttaInfo
...
@@ -51,6 +51,10 @@ public class TAttaInfoServiceImpl extends ServiceImpl<TAttaInfoMapper, TAttaInfo
public
List
<
TAttaInfo
>
getTAttaInfoList
(
TAttaInfo
tAttaInfo
)
{
public
List
<
TAttaInfo
>
getTAttaInfoList
(
TAttaInfo
tAttaInfo
)
{
return
baseMapper
.
getTAttaInfoList
(
tAttaInfo
);
return
baseMapper
.
getTAttaInfoList
(
tAttaInfo
);
}
}
@Override
public
List
<
TAttaInfo
>
getTAttaInfoListByDoMainId
(
String
domainId
)
{
return
baseMapper
.
getTAttaInfoListByDoMainId
(
domainId
);
}
@Override
@Override
public
TAttaInfo
add
(
TAttaInfo
attaInfo
)
{
public
TAttaInfo
add
(
TAttaInfo
attaInfo
)
{
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TPreEmpBadRecordServiceImpl.java
0 → 100644
View file @
fb6482e2
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
service
.
impl
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpBadRecord
;
import
com.yifu.cloud.plus.v1.yifu.archives.mapper.TPreEmpBadRecordMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.TPreEmpBadRecordService
;
import
lombok.extern.log4j.Log4j2
;
import
org.springframework.stereotype.Service
;
import
java.util.List
;
/**
* 预入职-员工不良记录表
*
* @author hgw
* @date 2024-06-17 11:31:08
*/
@Log4j2
@Service
public
class
TPreEmpBadRecordServiceImpl
extends
ServiceImpl
<
TPreEmpBadRecordMapper
,
TPreEmpBadRecord
>
implements
TPreEmpBadRecordService
{
/**
* 预入职-员工不良记录表简单分页查询
*
* @return
*/
@Override
public
List
<
TPreEmpBadRecord
>
getTPreEmpBadRecordList
(
String
preMainId
)
{
return
baseMapper
.
getTPreEmpBadRecordList
(
preMainId
);
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TPreEmpContactInfoServiceImpl.java
0 → 100644
View file @
fb6482e2
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
service
.
impl
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpContactInfo
;
import
com.yifu.cloud.plus.v1.yifu.archives.mapper.TPreEmpContactInfoMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.TPreEmpContactInfoService
;
import
lombok.extern.log4j.Log4j2
;
import
org.springframework.stereotype.Service
;
import
java.util.List
;
/**
* 预入职-紧急联络人
*
* @author hgw
* @date 2024-06-17 11:24:01
*/
@Log4j2
@Service
public
class
TPreEmpContactInfoServiceImpl
extends
ServiceImpl
<
TPreEmpContactInfoMapper
,
TPreEmpContactInfo
>
implements
TPreEmpContactInfoService
{
/**
* 预入职-紧急联络人简单分页查询
*
* @return
*/
@Override
public
List
<
TPreEmpContactInfo
>
getTPreEmpContactInfoList
(
String
preMainId
)
{
return
baseMapper
.
getTPreEmpContactInfoList
(
preMainId
);
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TPreEmpDeclarationServiceImpl.java
0 → 100644
View file @
fb6482e2
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
service
.
impl
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpDeclaration
;
import
com.yifu.cloud.plus.v1.yifu.archives.mapper.TPreEmpDeclarationMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.TPreEmpDeclarationService
;
import
lombok.extern.log4j.Log4j2
;
import
org.springframework.stereotype.Service
;
/**
* 预入职-员工申明
*
* @author hgw
* @date 2024-06-17 11:24:00
*/
@Log4j2
@Service
public
class
TPreEmpDeclarationServiceImpl
extends
ServiceImpl
<
TPreEmpDeclarationMapper
,
TPreEmpDeclaration
>
implements
TPreEmpDeclarationService
{
/**
* 预入职-员工申明简单分页查询
*
* @return
*/
@Override
public
TPreEmpDeclaration
getTPreEmpDeclarationList
()
{
return
baseMapper
.
getTPreEmpDeclarationList
();
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TPreEmpDisabilityInfoServiceImpl.java
0 → 100644
View file @
fb6482e2
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
service
.
impl
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpDisabilityInfo
;
import
com.yifu.cloud.plus.v1.yifu.archives.mapper.TPreEmpDisabilityInfoMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.TPreEmpDisabilityInfoService
;
import
lombok.extern.log4j.Log4j2
;
import
org.springframework.stereotype.Service
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.ErrorMessage
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
javax.servlet.http.HttpServletResponse
;
import
java.io.InputStream
;
import
java.util.List
;
import
cn.hutool.core.bean.BeanUtil
;
import
cn.hutool.core.util.ArrayUtil
;
import
com.alibaba.excel.EasyExcel
;
import
com.alibaba.excel.ExcelWriter
;
import
com.alibaba.excel.context.AnalysisContext
;
import
com.alibaba.excel.read.listener.ReadListener
;
import
com.alibaba.excel.read.metadata.holder.ReadRowHolder
;
import
com.alibaba.excel.util.ListUtils
;
import
com.alibaba.excel.write.metadata.WriteSheet
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Wrappers
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.CommonConstants
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.*
;
import
com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity
;
import
javax.servlet.ServletOutputStream
;
import
java.io.IOException
;
import
java.net.URLEncoder
;
import
java.util.ArrayList
;
import
java.util.List
;
/**
* 预入职-员工伤残信息表
*
* @author hgw
* @date 2024-06-17 11:24:01
*/
@Log4j2
@Service
public
class
TPreEmpDisabilityInfoServiceImpl
extends
ServiceImpl
<
TPreEmpDisabilityInfoMapper
,
TPreEmpDisabilityInfo
>
implements
TPreEmpDisabilityInfoService
{
/**
* 预入职-员工伤残信息表简单分页查询
* @return
*/
@Override
public
List
<
TPreEmpDisabilityInfo
>
getTPreEmpDisabilityInfoList
(
String
preMainId
){
return
baseMapper
.
getTPreEmpDisabilityInfoList
(
preMainId
);
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TPreEmpEducationServiceImpl.java
0 → 100644
View file @
fb6482e2
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
service
.
impl
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpEducation
;
import
com.yifu.cloud.plus.v1.yifu.archives.mapper.TPreEmpEducationMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.TPreEmpEducationService
;
import
lombok.extern.log4j.Log4j2
;
import
org.springframework.stereotype.Service
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.ErrorMessage
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
javax.servlet.http.HttpServletResponse
;
import
java.io.InputStream
;
import
java.util.List
;
import
cn.hutool.core.bean.BeanUtil
;
import
cn.hutool.core.util.ArrayUtil
;
import
com.alibaba.excel.EasyExcel
;
import
com.alibaba.excel.ExcelWriter
;
import
com.alibaba.excel.context.AnalysisContext
;
import
com.alibaba.excel.read.listener.ReadListener
;
import
com.alibaba.excel.read.metadata.holder.ReadRowHolder
;
import
com.alibaba.excel.util.ListUtils
;
import
com.alibaba.excel.write.metadata.WriteSheet
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Wrappers
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.CommonConstants
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.*
;
import
com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity
;
import
javax.servlet.ServletOutputStream
;
import
java.io.IOException
;
import
java.net.URLEncoder
;
import
java.util.ArrayList
;
import
java.util.List
;
/**
* 预入职-员工学历信息表
*
* @author hgw
* @date 2024-06-17 11:24:01
*/
@Log4j2
@Service
public
class
TPreEmpEducationServiceImpl
extends
ServiceImpl
<
TPreEmpEducationMapper
,
TPreEmpEducation
>
implements
TPreEmpEducationService
{
/**
* 预入职-员工学历信息表简单分页查询
* @return
*/
@Override
public
List
<
TPreEmpEducation
>
getTPreEmpEducationList
(
String
preMainId
){
return
baseMapper
.
getTPreEmpEducationList
(
preMainId
);
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TPreEmpFamilyServiceImpl.java
0 → 100644
View file @
fb6482e2
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
service
.
impl
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpFamily
;
import
com.yifu.cloud.plus.v1.yifu.archives.mapper.TPreEmpFamilyMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.TPreEmpFamilyService
;
import
lombok.extern.log4j.Log4j2
;
import
org.springframework.stereotype.Service
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.ErrorMessage
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
javax.servlet.http.HttpServletResponse
;
import
java.io.InputStream
;
import
java.util.List
;
import
cn.hutool.core.bean.BeanUtil
;
import
cn.hutool.core.util.ArrayUtil
;
import
com.alibaba.excel.EasyExcel
;
import
com.alibaba.excel.ExcelWriter
;
import
com.alibaba.excel.context.AnalysisContext
;
import
com.alibaba.excel.read.listener.ReadListener
;
import
com.alibaba.excel.read.metadata.holder.ReadRowHolder
;
import
com.alibaba.excel.util.ListUtils
;
import
com.alibaba.excel.write.metadata.WriteSheet
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Wrappers
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.CommonConstants
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.*
;
import
com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity
;
import
javax.servlet.ServletOutputStream
;
import
java.io.IOException
;
import
java.net.URLEncoder
;
import
java.util.ArrayList
;
import
java.util.List
;
/**
* 预入职-员工家庭信息表
*
* @author hgw
* @date 2024-06-17 11:24:01
*/
@Log4j2
@Service
public
class
TPreEmpFamilyServiceImpl
extends
ServiceImpl
<
TPreEmpFamilyMapper
,
TPreEmpFamily
>
implements
TPreEmpFamilyService
{
/**
* 预入职-员工家庭信息表简单分页查询
* @return
*/
@Override
public
List
<
TPreEmpFamily
>
getTPreEmpFamilyList
(
String
preMainId
){
return
baseMapper
.
getTPreEmpFamilyList
(
preMainId
);
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TPreEmpMainServiceImpl.java
0 → 100644
View file @
fb6482e2
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
service
.
impl
;
import
cn.hutool.core.bean.BeanUtil
;
import
cn.hutool.core.util.ArrayUtil
;
import
com.alibaba.excel.EasyExcel
;
import
com.alibaba.excel.ExcelWriter
;
import
com.alibaba.excel.context.AnalysisContext
;
import
com.alibaba.excel.read.listener.ReadListener
;
import
com.alibaba.excel.read.metadata.holder.ReadRowHolder
;
import
com.alibaba.excel.util.ListUtils
;
import
com.alibaba.excel.write.metadata.WriteSheet
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Wrappers
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.*
;
import
com.yifu.cloud.plus.v1.yifu.archives.mapper.TPreEmpMainMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.*
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.PreEmpMainDetailVo
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.TPreEmpMainSearchVo
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.TPreEmpMainVo
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.CommonConstants
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.*
;
import
com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity
;
import
lombok.AllArgsConstructor
;
import
lombok.extern.log4j.Log4j2
;
import
org.springframework.stereotype.Service
;
import
javax.servlet.ServletOutputStream
;
import
javax.servlet.http.HttpServletResponse
;
import
java.io.IOException
;
import
java.io.InputStream
;
import
java.net.URLEncoder
;
import
java.util.ArrayList
;
import
java.util.List
;
/**
* 预入职-主表
*
* @author hgw
* @date 2024-06-17 11:31:08
*/
@Log4j2
@AllArgsConstructor
@Service
public
class
TPreEmpMainServiceImpl
extends
ServiceImpl
<
TPreEmpMainMapper
,
TPreEmpMain
>
implements
TPreEmpMainService
{
// 预入职-员工不良记录表
private
final
TPreEmpBadRecordService
tPreEmpBadRecordService
;
// 预入职-员工工作履历信息表
private
final
TPreEmpWorkRecordingService
tPreEmpWorkRecordingService
;
// 预入职-紧急联络人
private
final
TPreEmpContactInfoService
tPreEmpContactInfoService
;
// 预入职-员工申明
private
final
TPreEmpDeclarationService
tPreEmpDeclarationService
;
// 预入职-员工伤残信息表
private
final
TPreEmpDisabilityInfoService
tPreEmpDisabilityInfoService
;
// 预入职-员工学历信息表
private
final
TPreEmpEducationService
tPreEmpEducationService
;
// 预入职-员工家庭信息表
private
final
TPreEmpFamilyService
tPreEmpFamilyService
;
// 预入职-人员档案表
private
final
TPreEmployeeInfoService
tPreEmployeeInfoService
;
// 预入职-项目档案表
private
final
TPreEmployeeProjectService
tPreEmployeeProjectService
;
// 预入职-员工职业资格信息表
private
final
TPreEmpProfessionalQualificationService
tPreEmpProfessionalQualificationService
;
// 附件21(预入职申明签名);22(预入职确认签名);23(预入职pdf文件)
private
final
TAttaInfoService
tAttaInfoService
;
/**
* 预入职-主表简单分页查询
*
* @param tPreEmpMain 预入职-主表
* @return
*/
@Override
public
IPage
<
TPreEmpMain
>
getTPreEmpMainPage
(
Page
<
TPreEmpMain
>
page
,
TPreEmpMainSearchVo
tPreEmpMain
)
{
return
baseMapper
.
getTPreEmpMainPage
(
page
,
tPreEmpMain
);
}
/**
* @Description: 详情
* @Author: hgw
* @Date: 2024/6/17 17:19
* @return: com.yifu.cloud.plus.v1.yifu.common.core.util.R<com.yifu.cloud.plus.v1.yifu.archives.vo.PreEmpMainDetailVo>
**/
@Override
public
R
<
PreEmpMainDetailVo
>
getInfoById
(
String
id
)
{
TPreEmpMain
main
=
this
.
getById
(
id
);
PreEmpMainDetailVo
vo
=
new
PreEmpMainDetailVo
();
if
(
main
!=
null
&&
main
.
getId
()
!=
null
)
{
vo
.
setMain
(
main
);
// 预入职-员工不良记录表
List
<
TPreEmpBadRecord
>
tPreEmpBadRecord
=
tPreEmpBadRecordService
.
getTPreEmpBadRecordList
(
id
);
vo
.
setTPreEmpBadRecord
(
tPreEmpBadRecord
);
// 预入职-紧急联络人
List
<
TPreEmpContactInfo
>
tPreEmpContactInfo
=
tPreEmpContactInfoService
.
getTPreEmpContactInfoList
(
id
);
vo
.
setTPreEmpContactInfo
(
tPreEmpContactInfo
);
// 预入职-员工申明
TPreEmpDeclaration
tPreEmpDeclaration
=
tPreEmpDeclarationService
.
getTPreEmpDeclarationList
();
vo
.
setTPreEmpDeclaration
(
tPreEmpDeclaration
);
// 预入职-员工伤残信息表
List
<
TPreEmpDisabilityInfo
>
tPreEmpDisabilityInfo
=
tPreEmpDisabilityInfoService
.
getTPreEmpDisabilityInfoList
(
id
);
vo
.
setTPreEmpDisabilityInfo
(
tPreEmpDisabilityInfo
);
// 预入职-员工学历信息表
List
<
TPreEmpEducation
>
tPreEmpEducation
=
tPreEmpEducationService
.
getTPreEmpEducationList
(
id
);
vo
.
setTPreEmpEducation
(
tPreEmpEducation
);
// 预入职-员工家庭信息表
List
<
TPreEmpFamily
>
tPreEmpFamily
=
tPreEmpFamilyService
.
getTPreEmpFamilyList
(
id
);
vo
.
setTPreEmpFamily
(
tPreEmpFamily
);
// 预入职-人员档案表
List
<
TPreEmployeeInfo
>
tPreEmployeeInfo
=
tPreEmployeeInfoService
.
getTPreEmployeeInfoList
(
id
);
vo
.
setTPreEmployeeInfo
(
tPreEmployeeInfo
);
// 预入职-项目档案表
List
<
TPreEmployeeProject
>
tPreEmployeeProject
=
tPreEmployeeProjectService
.
getTPreEmployeeProjectList
(
id
);
vo
.
setTPreEmployeeProject
(
tPreEmployeeProject
);
// 预入职-员工职业资格信息表
List
<
TPreEmpProfessionalQualification
>
tPreEmpProfessionalQualification
=
tPreEmpProfessionalQualificationService
.
getTPreEmpProfessionalQualificationList
(
id
);
vo
.
setTPreEmpProfessionalQualification
(
tPreEmpProfessionalQualification
);
// 预入职-员工工作履历信息表
List
<
TPreEmpWorkRecording
>
tPreEmpWorkRecording
=
tPreEmpWorkRecordingService
.
getTPreEmpWorkRecordingList
(
id
);
vo
.
setTPreEmpWorkRecording
(
tPreEmpWorkRecording
);
// 预入职-附件 21(预入职申明签名);22(预入职确认签名);23(预入职pdf文件)
List
<
TAttaInfo
>
attaInfoList
=
tAttaInfoService
.
getTAttaInfoListByDoMainId
(
id
);
vo
.
setAttaInfoList
(
attaInfoList
);
return
R
.
ok
(
vo
);
}
else
{
return
R
.
failed
(
"根据ID,未找到预入职主表!"
);
}
}
/**
* @param vo
* @Description: 草稿
* @Author: hgw
* @Date: 2024/6/17 17:42
* @return: com.yifu.cloud.plus.v1.yifu.common.core.util.R<java.lang.Boolean>
**/
@Override
public
R
<
String
>
saveDraftPreEmpMain
(
PreEmpMainDetailVo
vo
)
{
return
saveBase
(
vo
,
CommonConstants
.
ZERO_STRING
);
}
/**
* @param vo
* @Description: 保存
* @Author: hgw
* @Date: 2024/6/17 17:42
* @return: com.yifu.cloud.plus.v1.yifu.common.core.util.R<java.lang.Boolean>
**/
@Override
public
R
<
String
>
savePreEmpMain
(
PreEmpMainDetailVo
vo
)
{
return
saveBase
(
vo
,
CommonConstants
.
ONE_STRING
);
}
/**
* @Description: 核心保存
* @Author: hgw
* @Date: 2024/6/17 17:44
* @return: com.yifu.cloud.plus.v1.yifu.common.core.util.R<java.lang.String>
**/
private
R
<
String
>
saveBase
(
PreEmpMainDetailVo
vo
,
String
status
)
{
TPreEmpMain
main
=
vo
.
getMain
();
if
(
main
!=
null
&&
Common
.
isNotNull
(
main
.
getEmpIdcard
()))
{
main
.
setStatus
(
status
);
this
.
saveOrUpdate
(
main
);
String
mainId
=
main
.
getId
();
// 预入职-员工不良记录表
List
<
TPreEmpBadRecord
>
tPreEmpBadRecord
=
vo
.
getTPreEmpBadRecord
();
if
(
tPreEmpBadRecord
!=
null
)
{
for
(
TPreEmpBadRecord
info
:
tPreEmpBadRecord
)
{
info
.
setPreMainId
(
mainId
);
}
tPreEmpBadRecordService
.
saveOrUpdateBatch
(
tPreEmpBadRecord
);
}
// 预入职-紧急联络人
List
<
TPreEmpContactInfo
>
tPreEmpContactInfo
=
vo
.
getTPreEmpContactInfo
();
if
(
tPreEmpContactInfo
!=
null
)
{
for
(
TPreEmpContactInfo
info
:
tPreEmpContactInfo
)
{
info
.
setPreMainId
(
mainId
);
}
tPreEmpContactInfoService
.
saveOrUpdateBatch
(
tPreEmpContactInfo
);
}
// 预入职-员工伤残信息表
List
<
TPreEmpDisabilityInfo
>
tPreEmpDisabilityInfo
=
vo
.
getTPreEmpDisabilityInfo
();
if
(
tPreEmpDisabilityInfo
!=
null
)
{
for
(
TPreEmpDisabilityInfo
info
:
tPreEmpDisabilityInfo
)
{
info
.
setPreMainId
(
mainId
);
}
tPreEmpDisabilityInfoService
.
saveOrUpdateBatch
(
tPreEmpDisabilityInfo
);
}
// 预入职-员工学历信息表
List
<
TPreEmpEducation
>
tPreEmpEducation
=
vo
.
getTPreEmpEducation
();
if
(
tPreEmpEducation
!=
null
)
{
for
(
TPreEmpEducation
info
:
tPreEmpEducation
)
{
info
.
setPreMainId
(
mainId
);
}
tPreEmpEducationService
.
saveOrUpdateBatch
(
tPreEmpEducation
);
}
// 预入职-员工家庭信息表
List
<
TPreEmpFamily
>
tPreEmpFamily
=
vo
.
getTPreEmpFamily
();
if
(
tPreEmpFamily
!=
null
)
{
for
(
TPreEmpFamily
info
:
tPreEmpFamily
)
{
info
.
setPreMainId
(
mainId
);
}
tPreEmpFamilyService
.
saveOrUpdateBatch
(
tPreEmpFamily
);
}
// 预入职-人员档案表
List
<
TPreEmployeeInfo
>
tPreEmployeeInfo
=
vo
.
getTPreEmployeeInfo
();
if
(
tPreEmployeeInfo
!=
null
)
{
for
(
TPreEmployeeInfo
info
:
tPreEmployeeInfo
)
{
info
.
setPreMainId
(
mainId
);
}
tPreEmployeeInfoService
.
saveOrUpdateBatch
(
tPreEmployeeInfo
);
}
// 预入职-项目档案表
List
<
TPreEmployeeProject
>
tPreEmployeeProject
=
vo
.
getTPreEmployeeProject
();
if
(
tPreEmployeeProject
!=
null
)
{
for
(
TPreEmployeeProject
info
:
tPreEmployeeProject
)
{
info
.
setPreMainId
(
mainId
);
}
tPreEmployeeProjectService
.
saveOrUpdateBatch
(
tPreEmployeeProject
);
}
// 预入职-员工职业资格信息表
List
<
TPreEmpProfessionalQualification
>
tPreEmpProfessionalQualification
=
vo
.
getTPreEmpProfessionalQualification
();
if
(
tPreEmpProfessionalQualification
!=
null
)
{
for
(
TPreEmpProfessionalQualification
info
:
tPreEmpProfessionalQualification
)
{
info
.
setPreMainId
(
mainId
);
}
tPreEmpProfessionalQualificationService
.
saveOrUpdateBatch
(
tPreEmpProfessionalQualification
);
}
// 预入职-员工工作履历信息表
List
<
TPreEmpWorkRecording
>
tPreEmpWorkRecording
=
vo
.
getTPreEmpWorkRecording
();
if
(
tPreEmpWorkRecording
!=
null
)
{
for
(
TPreEmpWorkRecording
info
:
tPreEmpWorkRecording
)
{
info
.
setPreMainId
(
mainId
);
}
tPreEmpWorkRecordingService
.
saveOrUpdateBatch
(
tPreEmpWorkRecording
);
}
return
R
.
ok
(
"成功"
);
}
else
{
return
R
.
failed
(
"身份证不可为空!"
);
}
}
/**
* 预入职-主表批量导出
*
* @return
*/
@Override
public
void
listExport
(
HttpServletResponse
response
,
TPreEmpMainSearchVo
searchVo
)
{
String
fileName
=
"预入职-主表批量导出"
+
DateUtil
.
getThisTime
()
+
".xlsx"
;
//获取要导出的列表
List
<
TPreEmpMain
>
list
=
new
ArrayList
<>();
long
count
=
noPageCountDiy
(
searchVo
);
ServletOutputStream
out
=
null
;
try
{
out
=
response
.
getOutputStream
();
response
.
setContentType
(
CommonConstants
.
MULTIPART_FORM_DATA
);
response
.
setCharacterEncoding
(
"utf-8"
);
response
.
setHeader
(
CommonConstants
.
CONTENT_DISPOSITION
,
CommonConstants
.
ATTACHMENT_FILENAME
+
URLEncoder
.
encode
(
fileName
,
CommonConstants
.
UTF8
));
// 这里 需要指定写用哪个class去写,然后写到第一个sheet,然后文件流会自动关闭
ExcelWriter
excelWriter
=
EasyExcel
.
write
(
out
,
TPreEmpMain
.
class
).
build
();
int
index
=
0
;
if
(
count
>
CommonConstants
.
ZERO_INT
)
{
for
(
int
i
=
0
;
i
<=
count
;
)
{
// 获取实际记录
searchVo
.
setLimitStart
(
i
);
searchVo
.
setLimitEnd
(
CommonConstants
.
EXCEL_EXPORT_LIMIT
);
list
=
noPageDiy
(
searchVo
);
if
(
Common
.
isNotNull
(
list
))
{
ExcelUtil
<
TPreEmpMain
>
util
=
new
ExcelUtil
<>(
TPreEmpMain
.
class
);
for
(
TPreEmpMain
vo
:
list
)
{
util
.
convertEntity
(
vo
,
null
,
null
,
null
);
}
}
if
(
Common
.
isNotNull
(
list
))
{
WriteSheet
writeSheet
=
EasyExcel
.
writerSheet
(
"预入职-主表"
+
index
).
build
();
excelWriter
.
write
(
list
,
writeSheet
);
index
++;
}
i
=
i
+
CommonConstants
.
EXCEL_EXPORT_LIMIT
;
if
(
Common
.
isNotNull
(
list
))
{
list
.
clear
();
}
}
}
else
{
WriteSheet
writeSheet
=
EasyExcel
.
writerSheet
(
"预入职-主表"
+
index
).
build
();
excelWriter
.
write
(
list
,
writeSheet
);
}
if
(
Common
.
isNotNull
(
list
))
{
list
.
clear
();
}
out
.
flush
();
excelWriter
.
finish
();
}
catch
(
Exception
e
)
{
log
.
error
(
"执行异常"
,
e
);
}
finally
{
try
{
if
(
null
!=
out
)
{
out
.
close
();
}
}
catch
(
IOException
e
)
{
log
.
error
(
"执行异常"
,
e
);
}
}
}
@Override
public
List
<
TPreEmpMain
>
noPageDiy
(
TPreEmpMainSearchVo
searchVo
)
{
LambdaQueryWrapper
<
TPreEmpMain
>
wrapper
=
buildQueryWrapper
(
searchVo
);
List
<
String
>
idList
=
Common
.
getList
(
searchVo
.
getIds
());
if
(
Common
.
isNotNull
(
idList
))
{
wrapper
.
in
(
TPreEmpMain:
:
getId
,
idList
);
}
if
(
searchVo
.
getLimitStart
()
>=
0
&&
searchVo
.
getLimitEnd
()
>
0
)
{
wrapper
.
last
(
" limit "
+
searchVo
.
getLimitStart
()
+
","
+
searchVo
.
getLimitEnd
());
}
wrapper
.
orderByDesc
(
BaseEntity:
:
getCreateTime
);
return
baseMapper
.
selectList
(
wrapper
);
}
private
Long
noPageCountDiy
(
TPreEmpMainSearchVo
searchVo
)
{
LambdaQueryWrapper
<
TPreEmpMain
>
wrapper
=
buildQueryWrapper
(
searchVo
);
List
<
String
>
idList
=
Common
.
getList
(
searchVo
.
getIds
());
if
(
Common
.
isNotNull
(
idList
))
{
wrapper
.
in
(
TPreEmpMain:
:
getId
,
idList
);
}
return
baseMapper
.
selectCount
(
wrapper
);
}
private
LambdaQueryWrapper
buildQueryWrapper
(
TPreEmpMainSearchVo
entity
)
{
LambdaQueryWrapper
<
TPreEmpMain
>
wrapper
=
Wrappers
.
lambdaQuery
();
if
(
ArrayUtil
.
isNotEmpty
(
entity
.
getCreateTimes
()))
{
wrapper
.
ge
(
TPreEmpMain:
:
getCreateTime
,
entity
.
getCreateTimes
()[
0
])
.
le
(
TPreEmpMain:
:
getCreateTime
,
entity
.
getCreateTimes
()[
1
]);
}
if
(
Common
.
isNotNull
(
entity
.
getCreateName
()))
{
wrapper
.
eq
(
TPreEmpMain:
:
getCreateName
,
entity
.
getCreateName
());
}
return
wrapper
;
}
@Override
public
R
<
List
<
ErrorMessage
>>
importDiy
(
InputStream
inputStream
)
{
List
<
ErrorMessage
>
errorMessageList
=
new
ArrayList
<>();
ExcelUtil
<
TPreEmpMainVo
>
util1
=
new
ExcelUtil
<>(
TPreEmpMainVo
.
class
);
;
// 写法2:
// 匿名内部类 不用额外写一个DemoDataListener
// 这里 需要指定读用哪个class去读,然后读取第一个sheet 文件流会自动关闭
try
{
EasyExcel
.
read
(
inputStream
,
TPreEmpMainVo
.
class
,
new
ReadListener
<
TPreEmpMainVo
>()
{
/**
* 单次缓存的数据量
*/
public
static
final
int
BATCH_COUNT
=
CommonConstants
.
BATCH_COUNT
;
/**
*临时存储
*/
private
List
<
TPreEmpMainVo
>
cachedDataList
=
ListUtils
.
newArrayListWithExpectedSize
(
BATCH_COUNT
);
@Override
public
void
invoke
(
TPreEmpMainVo
data
,
AnalysisContext
context
)
{
ReadRowHolder
readRowHolder
=
context
.
readRowHolder
();
Integer
rowIndex
=
readRowHolder
.
getRowIndex
();
data
.
setRowIndex
(
rowIndex
+
1
);
ErrorMessage
errorMessage
=
util1
.
checkEntity
(
data
,
data
.
getRowIndex
());
if
(
Common
.
isNotNull
(
errorMessage
))
{
errorMessageList
.
add
(
errorMessage
);
}
else
{
cachedDataList
.
add
(
data
);
}
if
(
cachedDataList
.
size
()
>=
BATCH_COUNT
)
{
saveData
();
// 存储完成清理 list
cachedDataList
=
ListUtils
.
newArrayListWithExpectedSize
(
BATCH_COUNT
);
}
}
@Override
public
void
doAfterAllAnalysed
(
AnalysisContext
context
)
{
saveData
();
}
/**
* 加上存储数据库
*/
private
void
saveData
()
{
log
.
info
(
"{}条数据,开始存储数据库!"
,
cachedDataList
.
size
());
importTPreEmpMain
(
cachedDataList
,
errorMessageList
);
log
.
info
(
"存储数据库成功!"
);
}
}).
sheet
().
doRead
();
}
catch
(
Exception
e
)
{
log
.
error
(
CommonConstants
.
IMPORT_DATA_ANALYSIS_ERROR
,
e
);
return
R
.
failed
(
CommonConstants
.
IMPORT_DATA_ANALYSIS_ERROR
);
}
return
R
.
ok
(
errorMessageList
);
}
private
void
importTPreEmpMain
(
List
<
TPreEmpMainVo
>
excelVOList
,
List
<
ErrorMessage
>
errorMessageList
)
{
// 个性化校验逻辑
ErrorMessage
errorMsg
;
// 执行数据插入操作 组装
for
(
int
i
=
0
;
i
<
excelVOList
.
size
();
i
++)
{
TPreEmpMainVo
excel
=
excelVOList
.
get
(
i
);
// 数据合法情况 TODO
// 插入
insertExcel
(
excel
);
errorMessageList
.
add
(
new
ErrorMessage
(
excel
.
getRowIndex
(),
CommonConstants
.
SAVE_SUCCESS
));
}
}
/**
* 插入excel bad record
*/
private
void
insertExcel
(
TPreEmpMainVo
excel
)
{
TPreEmpMain
insert
=
new
TPreEmpMain
();
BeanUtil
.
copyProperties
(
excel
,
insert
);
this
.
save
(
insert
);
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TPreEmpProfessionalQualificationServiceImpl.java
0 → 100644
View file @
fb6482e2
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
service
.
impl
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpProfessionalQualification
;
import
com.yifu.cloud.plus.v1.yifu.archives.mapper.TPreEmpProfessionalQualificationMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.TPreEmpProfessionalQualificationService
;
import
lombok.extern.log4j.Log4j2
;
import
org.springframework.stereotype.Service
;
import
java.util.List
;
/**
* 预入职-员工职业资格信息表
*
* @author hgw
* @date 2024-06-17 11:24:01
*/
@Log4j2
@Service
public
class
TPreEmpProfessionalQualificationServiceImpl
extends
ServiceImpl
<
TPreEmpProfessionalQualificationMapper
,
TPreEmpProfessionalQualification
>
implements
TPreEmpProfessionalQualificationService
{
/**
* 预入职-员工职业资格信息表简单分页查询
*
* @return
*/
@Override
public
List
<
TPreEmpProfessionalQualification
>
getTPreEmpProfessionalQualificationList
(
String
preMainId
)
{
return
baseMapper
.
getTPreEmpProfessionalQualificationList
(
preMainId
);
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TPreEmpWorkRecordingServiceImpl.java
0 → 100644
View file @
fb6482e2
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
service
.
impl
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpWorkRecording
;
import
com.yifu.cloud.plus.v1.yifu.archives.mapper.TPreEmpWorkRecordingMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.TPreEmpWorkRecordingService
;
import
lombok.extern.log4j.Log4j2
;
import
org.springframework.stereotype.Service
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.ErrorMessage
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
javax.servlet.http.HttpServletResponse
;
import
java.io.InputStream
;
import
java.util.List
;
import
cn.hutool.core.bean.BeanUtil
;
import
cn.hutool.core.util.ArrayUtil
;
import
com.alibaba.excel.EasyExcel
;
import
com.alibaba.excel.ExcelWriter
;
import
com.alibaba.excel.context.AnalysisContext
;
import
com.alibaba.excel.read.listener.ReadListener
;
import
com.alibaba.excel.read.metadata.holder.ReadRowHolder
;
import
com.alibaba.excel.util.ListUtils
;
import
com.alibaba.excel.write.metadata.WriteSheet
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Wrappers
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.CommonConstants
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.*
;
import
com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity
;
import
javax.servlet.ServletOutputStream
;
import
java.io.IOException
;
import
java.net.URLEncoder
;
import
java.util.ArrayList
;
import
java.util.List
;
/**
* 预入职-员工工作履历信息表
*
* @author hgw
* @date 2024-06-17 11:24:01
*/
@Log4j2
@Service
public
class
TPreEmpWorkRecordingServiceImpl
extends
ServiceImpl
<
TPreEmpWorkRecordingMapper
,
TPreEmpWorkRecording
>
implements
TPreEmpWorkRecordingService
{
/**
* 预入职-员工工作履历信息表简单分页查询
* @return
*/
@Override
public
List
<
TPreEmpWorkRecording
>
getTPreEmpWorkRecordingList
(
String
preMainId
){
return
baseMapper
.
getTPreEmpWorkRecordingList
(
preMainId
);
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TPreEmployeeInfoServiceImpl.java
0 → 100644
View file @
fb6482e2
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
service
.
impl
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmployeeInfo
;
import
com.yifu.cloud.plus.v1.yifu.archives.mapper.TPreEmployeeInfoMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.TPreEmployeeInfoService
;
import
lombok.extern.log4j.Log4j2
;
import
org.springframework.stereotype.Service
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.ErrorMessage
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
javax.servlet.http.HttpServletResponse
;
import
java.io.InputStream
;
import
java.util.List
;
import
cn.hutool.core.bean.BeanUtil
;
import
cn.hutool.core.util.ArrayUtil
;
import
com.alibaba.excel.EasyExcel
;
import
com.alibaba.excel.ExcelWriter
;
import
com.alibaba.excel.context.AnalysisContext
;
import
com.alibaba.excel.read.listener.ReadListener
;
import
com.alibaba.excel.read.metadata.holder.ReadRowHolder
;
import
com.alibaba.excel.util.ListUtils
;
import
com.alibaba.excel.write.metadata.WriteSheet
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Wrappers
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.CommonConstants
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.*
;
import
com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity
;
import
javax.servlet.ServletOutputStream
;
import
java.io.IOException
;
import
java.net.URLEncoder
;
import
java.util.ArrayList
;
import
java.util.List
;
/**
* 预入职-人员档案表
*
* @author hgw
* @date 2024-06-17 11:24:01
*/
@Log4j2
@Service
public
class
TPreEmployeeInfoServiceImpl
extends
ServiceImpl
<
TPreEmployeeInfoMapper
,
TPreEmployeeInfo
>
implements
TPreEmployeeInfoService
{
/**
* 预入职-人员档案表简单分页查询
* @return
*/
@Override
public
List
<
TPreEmployeeInfo
>
getTPreEmployeeInfoList
(
String
preMainId
){
return
baseMapper
.
getTPreEmployeeInfoList
(
preMainId
);
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TPreEmployeeProjectServiceImpl.java
0 → 100644
View file @
fb6482e2
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
service
.
impl
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmployeeProject
;
import
com.yifu.cloud.plus.v1.yifu.archives.mapper.TPreEmployeeProjectMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.TPreEmployeeProjectService
;
import
lombok.extern.log4j.Log4j2
;
import
org.springframework.stereotype.Service
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.ErrorMessage
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
javax.servlet.http.HttpServletResponse
;
import
java.io.InputStream
;
import
java.util.List
;
import
cn.hutool.core.bean.BeanUtil
;
import
cn.hutool.core.util.ArrayUtil
;
import
com.alibaba.excel.EasyExcel
;
import
com.alibaba.excel.ExcelWriter
;
import
com.alibaba.excel.context.AnalysisContext
;
import
com.alibaba.excel.read.listener.ReadListener
;
import
com.alibaba.excel.read.metadata.holder.ReadRowHolder
;
import
com.alibaba.excel.util.ListUtils
;
import
com.alibaba.excel.write.metadata.WriteSheet
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Wrappers
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.CommonConstants
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.*
;
import
com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity
;
import
javax.servlet.ServletOutputStream
;
import
java.io.IOException
;
import
java.net.URLEncoder
;
import
java.util.ArrayList
;
import
java.util.List
;
/**
* 预入职-项目档案表
*
* @author hgw
* @date 2024-06-17 11:24:01
*/
@Log4j2
@Service
public
class
TPreEmployeeProjectServiceImpl
extends
ServiceImpl
<
TPreEmployeeProjectMapper
,
TPreEmployeeProject
>
implements
TPreEmployeeProjectService
{
/**
* 预入职-项目档案表简单分页查询
* @return
*/
@Override
public
List
<
TPreEmployeeProject
>
getTPreEmployeeProjectList
(
String
preMainId
){
return
baseMapper
.
getTPreEmployeeProjectList
(
preMainId
);
}
}
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TAttaInfoMapper.xml
View file @
fb6482e2
...
@@ -76,6 +76,15 @@
...
@@ -76,6 +76,15 @@
<include
refid=
"tAttaInfo_where"
/>
<include
refid=
"tAttaInfo_where"
/>
</where>
</where>
</select>
</select>
<!--根据domainId 获取list-->
<select
id=
"getTAttaInfoListByDoMainId"
resultMap=
"tAttaInfoMap"
>
SELECT
<include
refid=
"Base_Column_List"
/>
FROM t_atta_info a
where a.domain_id = #{domainId}
</select>
<select
id=
"getKeenAtta"
resultMap=
"tAttaInfoMap"
>
<select
id=
"getKeenAtta"
resultMap=
"tAttaInfoMap"
>
SELECT
SELECT
<include
refid=
"Base_Column_List"
/>
<include
refid=
"Base_Column_List"
/>
...
...
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TPreEmpBadRecordMapper.xml
0 → 100644
View file @
fb6482e2
<?xml version="1.0" encoding="UTF-8"?>
<!--
~
~ Copyright (c) 2018-2025, lengleng All rights reserved.
~
~ Redistribution and use in source and binary forms, with or without
~ modification, are permitted provided that the following conditions are met:
~
~ Redistributions of source code must retain the above copyright notice,
~ this list of conditions and the following disclaimer.
~ Redistributions in binary form must reproduce the above copyright
~ notice, this list of conditions and the following disclaimer in the
~ documentation and/or other materials provided with the distribution.
~ Neither the name of the yifu4cloud.com developer nor the names of its
~ contributors may be used to endorse or promote products derived from
~ this software without specific prior written permission.
~ Author: lengleng (wangiegie@gmail.com)
~
-->
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.yifu.cloud.plus.v1.yifu.archives.mapper.TPreEmpBadRecordMapper"
>
<resultMap
id=
"tPreEmpBadRecordMap"
type=
"com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpBadRecord"
>
<id
property=
"id"
column=
"ID"
/>
<result
property=
"preMainId"
column=
"PRE_MAIN_ID"
/>
<result
property=
"empName"
column=
"EMP_NAME"
/>
<result
property=
"empId"
column=
"EMP_ID"
/>
<result
property=
"empIdcard"
column=
"EMP_IDCARD"
/>
<result
property=
"project"
column=
"PROJECT"
/>
<result
property=
"projectCode"
column=
"PROJECT_CODE"
/>
<result
property=
"happenTime"
column=
"HAPPEN_TIME"
/>
<result
property=
"remark"
column=
"REMARK"
/>
<result
property=
"loseFee"
column=
"LOSE_FEE"
/>
<result
property=
"loseFeeOther"
column=
"LOSE_FEE_OTHER"
/>
<result
property=
"createBy"
column=
"CREATE_BY"
/>
<result
property=
"updateBy"
column=
"UPDATE_BY"
/>
<result
property=
"createName"
column=
"CREATE_NAME"
/>
<result
property=
"createTime"
column=
"CREATE_TIME"
/>
<result
property=
"updateTime"
column=
"UPDATE_TIME"
/>
<result
property=
"settleDomain"
column=
"SETTLE_DOMAIN"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
a.ID,
a.PRE_MAIN_ID,
a.EMP_NAME,
a.EMP_ID,
a.EMP_IDCARD,
a.PROJECT,
a.PROJECT_CODE,
a.HAPPEN_TIME,
a.REMARK,
a.LOSE_FEE,
a.LOSE_FEE_OTHER,
a.CREATE_BY,
a.UPDATE_BY,
a.CREATE_NAME,
a.CREATE_TIME,
a.UPDATE_TIME,
a.SETTLE_DOMAIN
</sql>
<sql
id=
"tPreEmpBadRecord_where"
>
<if
test=
"tPreEmpBadRecord != null"
>
<if
test=
"tPreEmpBadRecord.id != null and tPreEmpBadRecord.id.trim() != ''"
>
AND a.ID = #{tPreEmpBadRecord.id}
</if>
<if
test=
"tPreEmpBadRecord.preMainId != null and tPreEmpBadRecord.preMainId.trim() != ''"
>
AND a.PRE_MAIN_ID = #{tPreEmpBadRecord.preMainId}
</if>
<if
test=
"tPreEmpBadRecord.empName != null and tPreEmpBadRecord.empName.trim() != ''"
>
AND a.EMP_NAME = #{tPreEmpBadRecord.empName}
</if>
<if
test=
"tPreEmpBadRecord.empId != null and tPreEmpBadRecord.empId.trim() != ''"
>
AND a.EMP_ID = #{tPreEmpBadRecord.empId}
</if>
<if
test=
"tPreEmpBadRecord.empIdcard != null and tPreEmpBadRecord.empIdcard.trim() != ''"
>
AND a.EMP_IDCARD = #{tPreEmpBadRecord.empIdcard}
</if>
<if
test=
"tPreEmpBadRecord.project != null and tPreEmpBadRecord.project.trim() != ''"
>
AND a.PROJECT = #{tPreEmpBadRecord.project}
</if>
<if
test=
"tPreEmpBadRecord.projectCode != null and tPreEmpBadRecord.projectCode.trim() != ''"
>
AND a.PROJECT_CODE = #{tPreEmpBadRecord.projectCode}
</if>
<if
test=
"tPreEmpBadRecord.happenTime != null"
>
AND a.HAPPEN_TIME = #{tPreEmpBadRecord.happenTime}
</if>
<if
test=
"tPreEmpBadRecord.remark != null and tPreEmpBadRecord.remark.trim() != ''"
>
AND a.REMARK = #{tPreEmpBadRecord.remark}
</if>
<if
test=
"tPreEmpBadRecord.loseFee != null"
>
AND a.LOSE_FEE = #{tPreEmpBadRecord.loseFee}
</if>
<if
test=
"tPreEmpBadRecord.loseFeeOther != null"
>
AND a.LOSE_FEE_OTHER = #{tPreEmpBadRecord.loseFeeOther}
</if>
<if
test=
"tPreEmpBadRecord.createBy != null and tPreEmpBadRecord.createBy.trim() != ''"
>
AND a.CREATE_BY = #{tPreEmpBadRecord.createBy}
</if>
<if
test=
"tPreEmpBadRecord.updateBy != null and tPreEmpBadRecord.updateBy.trim() != ''"
>
AND a.UPDATE_BY = #{tPreEmpBadRecord.updateBy}
</if>
<if
test=
"tPreEmpBadRecord.createName != null and tPreEmpBadRecord.createName.trim() != ''"
>
AND a.CREATE_NAME = #{tPreEmpBadRecord.createName}
</if>
<if
test=
"tPreEmpBadRecord.createTime != null"
>
AND a.CREATE_TIME = #{tPreEmpBadRecord.createTime}
</if>
<if
test=
"tPreEmpBadRecord.updateTime != null"
>
AND a.UPDATE_TIME = #{tPreEmpBadRecord.updateTime}
</if>
<if
test=
"tPreEmpBadRecord.settleDomain != null and tPreEmpBadRecord.settleDomain.trim() != ''"
>
AND a.SETTLE_DOMAIN = #{tPreEmpBadRecord.settleDomain}
</if>
</if>
</sql>
<!--tPreEmpBadRecord简单分页查询-->
<select
id=
"getTPreEmpBadRecordList"
resultMap=
"tPreEmpBadRecordMap"
>
SELECT
<include
refid=
"Base_Column_List"
/>
FROM t_pre_emp_bad_record a
<where>
1=1
<include
refid=
"tPreEmpBadRecord_where"
/>
</where>
</select>
</mapper>
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TPreEmpContactInfoMapper.xml
0 → 100644
View file @
fb6482e2
<?xml version="1.0" encoding="UTF-8"?>
<!--
~
~ Copyright (c) 2018-2025, lengleng All rights reserved.
~
~ Redistribution and use in source and binary forms, with or without
~ modification, are permitted provided that the following conditions are met:
~
~ Redistributions of source code must retain the above copyright notice,
~ this list of conditions and the following disclaimer.
~ Redistributions in binary form must reproduce the above copyright
~ notice, this list of conditions and the following disclaimer in the
~ documentation and/or other materials provided with the distribution.
~ Neither the name of the yifu4cloud.com developer nor the names of its
~ contributors may be used to endorse or promote products derived from
~ this software without specific prior written permission.
~ Author: lengleng (wangiegie@gmail.com)
~
-->
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.yifu.cloud.plus.v1.yifu.archives.mapper.TPreEmpContactInfoMapper"
>
<resultMap
id=
"tPreEmpContactInfoMap"
type=
"com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpContactInfo"
>
<id
property=
"id"
column=
"ID"
/>
<result
property=
"preMainId"
column=
"PRE_MAIN_ID"
/>
<result
property=
"empName"
column=
"EMP_NAME"
/>
<result
property=
"empIdcard"
column=
"EMP_IDCARD"
/>
<result
property=
"relationType"
column=
"RELATION_TYPE"
/>
<result
property=
"address"
column=
"ADDRESS"
/>
<result
property=
"tel"
column=
"TEL"
/>
<result
property=
"createBy"
column=
"CREATE_BY"
/>
<result
property=
"updateBy"
column=
"UPDATE_BY"
/>
<result
property=
"createName"
column=
"CREATE_NAME"
/>
<result
property=
"createTime"
column=
"CREATE_TIME"
/>
<result
property=
"updateTime"
column=
"UPDATE_TIME"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
a.ID,
a.PRE_MAIN_ID,
a.EMP_NAME,
a.EMP_IDCARD,
a.RELATION_TYPE,
a.ADDRESS,
a.TEL,
a.CREATE_BY,
a.UPDATE_BY,
a.CREATE_NAME,
a.CREATE_TIME,
a.UPDATE_TIME
</sql>
<sql
id=
"tPreEmpContactInfo_where"
>
<if
test=
"tPreEmpContactInfo != null"
>
<if
test=
"tPreEmpContactInfo.id != null and tPreEmpContactInfo.id.trim() != ''"
>
AND a.ID = #{tPreEmpContactInfo.id}
</if>
<if
test=
"tPreEmpContactInfo.preMainId != null and tPreEmpContactInfo.preMainId.trim() != ''"
>
AND a.PRE_MAIN_ID = #{tPreEmpContactInfo.preMainId}
</if>
<if
test=
"tPreEmpContactInfo.empName != null and tPreEmpContactInfo.empName.trim() != ''"
>
AND a.EMP_NAME = #{tPreEmpContactInfo.empName}
</if>
<if
test=
"tPreEmpContactInfo.relationType != null and tPreEmpContactInfo.relationType.trim() != ''"
>
AND a.RELATION_TYPE = #{tPreEmpContactInfo.relationType}
</if>
<if
test=
"tPreEmpContactInfo.address != null and tPreEmpContactInfo.address.trim() != ''"
>
AND a.ADDRESS = #{tPreEmpContactInfo.address}
</if>
<if
test=
"tPreEmpContactInfo.tel != null and tPreEmpContactInfo.tel.trim() != ''"
>
AND a.TEL = #{tPreEmpContactInfo.tel}
</if>
<if
test=
"tPreEmpContactInfo.createBy != null and tPreEmpContactInfo.createBy.trim() != ''"
>
AND a.CREATE_BY = #{tPreEmpContactInfo.createBy}
</if>
<if
test=
"tPreEmpContactInfo.updateBy != null and tPreEmpContactInfo.updateBy.trim() != ''"
>
AND a.UPDATE_BY = #{tPreEmpContactInfo.updateBy}
</if>
<if
test=
"tPreEmpContactInfo.createName != null and tPreEmpContactInfo.createName.trim() != ''"
>
AND a.CREATE_NAME = #{tPreEmpContactInfo.createName}
</if>
<if
test=
"tPreEmpContactInfo.createTime != null"
>
AND a.CREATE_TIME = #{tPreEmpContactInfo.createTime}
</if>
<if
test=
"tPreEmpContactInfo.updateTime != null"
>
AND a.UPDATE_TIME = #{tPreEmpContactInfo.updateTime}
</if>
</if>
</sql>
<!--tPreEmpContactInfo简单分页查询-->
<select
id=
"getTPreEmpContactInfoList"
resultMap=
"tPreEmpContactInfoMap"
>
SELECT
<include
refid=
"Base_Column_List"
/>
FROM t_pre_emp_contact_info a
<where>
1=1
<include
refid=
"tPreEmpContactInfo_where"
/>
</where>
</select>
</mapper>
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TPreEmpDeclarationMapper.xml
0 → 100644
View file @
fb6482e2
<?xml version="1.0" encoding="UTF-8"?>
<!--
~
~ Copyright (c) 2018-2025, lengleng All rights reserved.
~
~ Redistribution and use in source and binary forms, with or without
~ modification, are permitted provided that the following conditions are met:
~
~ Redistributions of source code must retain the above copyright notice,
~ this list of conditions and the following disclaimer.
~ Redistributions in binary form must reproduce the above copyright
~ notice, this list of conditions and the following disclaimer in the
~ documentation and/or other materials provided with the distribution.
~ Neither the name of the yifu4cloud.com developer nor the names of its
~ contributors may be used to endorse or promote products derived from
~ this software without specific prior written permission.
~ Author: lengleng (wangiegie@gmail.com)
~
-->
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.yifu.cloud.plus.v1.yifu.archives.mapper.TPreEmpDeclarationMapper"
>
<resultMap
id=
"tPreEmpDeclarationMap"
type=
"com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpDeclaration"
>
<id
property=
"id"
column=
"ID"
/>
<result
property=
"contentOne"
column=
"CONTENT_ONE"
/>
<result
property=
"contentTwo"
column=
"CONTENT_TWO"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
a.ID,
a.CONTENT_ONE,
a.CONTENT_TWO
</sql>
<!--tPreEmpDeclaration简单分页查询-->
<select
id=
"getTPreEmpDeclarationList"
resultMap=
"tPreEmpDeclarationMap"
>
SELECT
<include
refid=
"Base_Column_List"
/>
FROM t_pre_emp_declaration a
limit 1
</select>
</mapper>
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TPreEmpDisabilityInfoMapper.xml
0 → 100644
View file @
fb6482e2
<?xml version="1.0" encoding="UTF-8"?>
<!--
~
~ Copyright (c) 2018-2025, lengleng All rights reserved.
~
~ Redistribution and use in source and binary forms, with or without
~ modification, are permitted provided that the following conditions are met:
~
~ Redistributions of source code must retain the above copyright notice,
~ this list of conditions and the following disclaimer.
~ Redistributions in binary form must reproduce the above copyright
~ notice, this list of conditions and the following disclaimer in the
~ documentation and/or other materials provided with the distribution.
~ Neither the name of the yifu4cloud.com developer nor the names of its
~ contributors may be used to endorse or promote products derived from
~ this software without specific prior written permission.
~ Author: lengleng (wangiegie@gmail.com)
~
-->
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.yifu.cloud.plus.v1.yifu.archives.mapper.TPreEmpDisabilityInfoMapper"
>
<resultMap
id=
"tPreEmpDisabilityInfoMap"
type=
"com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpDisabilityInfo"
>
<id
property=
"id"
column=
"ID"
/>
<result
property=
"preMainId"
column=
"PRE_MAIN_ID"
/>
<result
property=
"empId"
column=
"EMP_ID"
/>
<result
property=
"empName"
column=
"EMP_NAME"
/>
<result
property=
"empCode"
column=
"EMP_CODE"
/>
<result
property=
"empIdcard"
column=
"EMP_IDCARD"
/>
<result
property=
"disabilityName"
column=
"DISABILITY_NAME"
/>
<result
property=
"disabilityLevel"
column=
"DISABILITY_LEVEL"
/>
<result
property=
"injuryIdentification"
column=
"INJURY_IDENTIFICATION"
/>
<result
property=
"startTime"
column=
"START_TIME"
/>
<result
property=
"endTime"
column=
"END_TIME"
/>
<result
property=
"occupationalDisease"
column=
"OCCUPATIONAL_DISEASE"
/>
<result
property=
"deleteFlag"
column=
"DELETE_FLAG"
/>
<result
property=
"settleDomain"
column=
"SETTLE_DOMAIN"
/>
<result
property=
"createBy"
column=
"CREATE_BY"
/>
<result
property=
"updateBy"
column=
"UPDATE_BY"
/>
<result
property=
"createName"
column=
"CREATE_NAME"
/>
<result
property=
"createTime"
column=
"CREATE_TIME"
/>
<result
property=
"updateTime"
column=
"UPDATE_TIME"
/>
<result
property=
"remark"
column=
"REMARK"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
a.ID,
a.PRE_MAIN_ID,
a.EMP_ID,
a.EMP_NAME,
a.EMP_CODE,
a.EMP_IDCARD,
a.DISABILITY_NAME,
a.DISABILITY_LEVEL,
a.INJURY_IDENTIFICATION,
a.START_TIME,
a.END_TIME,
a.OCCUPATIONAL_DISEASE,
a.DELETE_FLAG,
a.SETTLE_DOMAIN,
a.CREATE_BY,
a.UPDATE_BY,
a.CREATE_NAME,
a.CREATE_TIME,
a.UPDATE_TIME,
a.REMARK
</sql>
<sql
id=
"tPreEmpDisabilityInfo_where"
>
<if
test=
"tPreEmpDisabilityInfo != null"
>
<if
test=
"tPreEmpDisabilityInfo.id != null and tPreEmpDisabilityInfo.id.trim() != ''"
>
AND a.ID = #{tPreEmpDisabilityInfo.id}
</if>
<if
test=
"tPreEmpDisabilityInfo.preMainId != null and tPreEmpDisabilityInfo.preMainId.trim() != ''"
>
AND a.PRE_MAIN_ID = #{tPreEmpDisabilityInfo.preMainId}
</if>
<if
test=
"tPreEmpDisabilityInfo.empId != null and tPreEmpDisabilityInfo.empId.trim() != ''"
>
AND a.EMP_ID = #{tPreEmpDisabilityInfo.empId}
</if>
<if
test=
"tPreEmpDisabilityInfo.empName != null and tPreEmpDisabilityInfo.empName.trim() != ''"
>
AND a.EMP_NAME = #{tPreEmpDisabilityInfo.empName}
</if>
<if
test=
"tPreEmpDisabilityInfo.empCode != null and tPreEmpDisabilityInfo.empCode.trim() != ''"
>
AND a.EMP_CODE = #{tPreEmpDisabilityInfo.empCode}
</if>
<if
test=
"tPreEmpDisabilityInfo.empIdcard != null and tPreEmpDisabilityInfo.empIdcard.trim() != ''"
>
AND a.EMP_IDCARD = #{tPreEmpDisabilityInfo.empIdcard}
</if>
<if
test=
"tPreEmpDisabilityInfo.disabilityName != null and tPreEmpDisabilityInfo.disabilityName.trim() != ''"
>
AND a.DISABILITY_NAME = #{tPreEmpDisabilityInfo.disabilityName}
</if>
<if
test=
"tPreEmpDisabilityInfo.disabilityLevel != null and tPreEmpDisabilityInfo.disabilityLevel.trim() != ''"
>
AND a.DISABILITY_LEVEL = #{tPreEmpDisabilityInfo.disabilityLevel}
</if>
<if
test=
"tPreEmpDisabilityInfo.injuryIdentification != null and tPreEmpDisabilityInfo.injuryIdentification.trim() != ''"
>
AND a.INJURY_IDENTIFICATION = #{tPreEmpDisabilityInfo.injuryIdentification}
</if>
<if
test=
"tPreEmpDisabilityInfo.startTime != null"
>
AND a.START_TIME = #{tPreEmpDisabilityInfo.startTime}
</if>
<if
test=
"tPreEmpDisabilityInfo.endTime != null"
>
AND a.END_TIME = #{tPreEmpDisabilityInfo.endTime}
</if>
<if
test=
"tPreEmpDisabilityInfo.occupationalDisease != null and tPreEmpDisabilityInfo.occupationalDisease.trim() != ''"
>
AND a.OCCUPATIONAL_DISEASE = #{tPreEmpDisabilityInfo.occupationalDisease}
</if>
<if
test=
"tPreEmpDisabilityInfo.deleteFlag != null and tPreEmpDisabilityInfo.deleteFlag.trim() != ''"
>
AND a.DELETE_FLAG = #{tPreEmpDisabilityInfo.deleteFlag}
</if>
<if
test=
"tPreEmpDisabilityInfo.settleDomain != null and tPreEmpDisabilityInfo.settleDomain.trim() != ''"
>
AND a.SETTLE_DOMAIN = #{tPreEmpDisabilityInfo.settleDomain}
</if>
<if
test=
"tPreEmpDisabilityInfo.createBy != null and tPreEmpDisabilityInfo.createBy.trim() != ''"
>
AND a.CREATE_BY = #{tPreEmpDisabilityInfo.createBy}
</if>
<if
test=
"tPreEmpDisabilityInfo.updateBy != null and tPreEmpDisabilityInfo.updateBy.trim() != ''"
>
AND a.UPDATE_BY = #{tPreEmpDisabilityInfo.updateBy}
</if>
<if
test=
"tPreEmpDisabilityInfo.createName != null and tPreEmpDisabilityInfo.createName.trim() != ''"
>
AND a.CREATE_NAME = #{tPreEmpDisabilityInfo.createName}
</if>
<if
test=
"tPreEmpDisabilityInfo.createTime != null"
>
AND a.CREATE_TIME = #{tPreEmpDisabilityInfo.createTime}
</if>
<if
test=
"tPreEmpDisabilityInfo.updateTime != null"
>
AND a.UPDATE_TIME = #{tPreEmpDisabilityInfo.updateTime}
</if>
<if
test=
"tPreEmpDisabilityInfo.remark != null and tPreEmpDisabilityInfo.remark.trim() != ''"
>
AND a.REMARK = #{tPreEmpDisabilityInfo.remark}
</if>
</if>
</sql>
<!--tPreEmpDisabilityInfo简单分页查询-->
<select
id=
"getTPreEmpDisabilityInfoList"
resultMap=
"tPreEmpDisabilityInfoMap"
>
SELECT
<include
refid=
"Base_Column_List"
/>
FROM t_pre_emp_disability_info a
<where>
1=1
<include
refid=
"tPreEmpDisabilityInfo_where"
/>
</where>
</select>
</mapper>
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TPreEmpEducationMapper.xml
0 → 100644
View file @
fb6482e2
<?xml version="1.0" encoding="UTF-8"?>
<!--
~
~ Copyright (c) 2018-2025, lengleng All rights reserved.
~
~ Redistribution and use in source and binary forms, with or without
~ modification, are permitted provided that the following conditions are met:
~
~ Redistributions of source code must retain the above copyright notice,
~ this list of conditions and the following disclaimer.
~ Redistributions in binary form must reproduce the above copyright
~ notice, this list of conditions and the following disclaimer in the
~ documentation and/or other materials provided with the distribution.
~ Neither the name of the yifu4cloud.com developer nor the names of its
~ contributors may be used to endorse or promote products derived from
~ this software without specific prior written permission.
~ Author: lengleng (wangiegie@gmail.com)
~
-->
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.yifu.cloud.plus.v1.yifu.archives.mapper.TPreEmpEducationMapper"
>
<resultMap
id=
"tPreEmpEducationMap"
type=
"com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpEducation"
>
<id
property=
"id"
column=
"ID"
/>
<result
property=
"preMainId"
column=
"PRE_MAIN_ID"
/>
<result
property=
"empId"
column=
"EMP_ID"
/>
<result
property=
"empName"
column=
"EMP_NAME"
/>
<result
property=
"empCode"
column=
"EMP_CODE"
/>
<result
property=
"empIdcard"
column=
"EMP_IDCARD"
/>
<result
property=
"entryDate"
column=
"ENTRY_DATE"
/>
<result
property=
"educationName"
column=
"EDUCATION_NAME"
/>
<result
property=
"gradutionDate"
column=
"GRADUTION_DATE"
/>
<result
property=
"school"
column=
"SCHOOL"
/>
<result
property=
"educationSystem"
column=
"EDUCATION_SYSTEM"
/>
<result
property=
"highIdentification"
column=
"HIGH_IDENTIFICATION"
/>
<result
property=
"type"
column=
"TYPE"
/>
<result
property=
"collageSystem"
column=
"COLLAGE_SYSTEM"
/>
<result
property=
"deleteFlag"
column=
"DELETE_FLAG"
/>
<result
property=
"settleDomain"
column=
"SETTLE_DOMAIN"
/>
<result
property=
"dispatchFlag"
column=
"DISPATCH_FLAG"
/>
<result
property=
"createBy"
column=
"CREATE_BY"
/>
<result
property=
"updateBy"
column=
"UPDATE_BY"
/>
<result
property=
"createName"
column=
"CREATE_NAME"
/>
<result
property=
"createTime"
column=
"CREATE_TIME"
/>
<result
property=
"updateTime"
column=
"UPDATE_TIME"
/>
<result
property=
"remark"
column=
"REMARK"
/>
<result
property=
"certificationName"
column=
"CERTIFICATION_NAME"
/>
<result
property=
"major"
column=
"MAJOR"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
a.ID,
a.PRE_MAIN_ID,
a.EMP_ID,
a.EMP_NAME,
a.EMP_CODE,
a.EMP_IDCARD,
a.ENTRY_DATE,
a.EDUCATION_NAME,
a.GRADUTION_DATE,
a.SCHOOL,
a.EDUCATION_SYSTEM,
a.HIGH_IDENTIFICATION,
a.TYPE,
a.COLLAGE_SYSTEM,
a.DELETE_FLAG,
a.SETTLE_DOMAIN,
a.DISPATCH_FLAG,
a.CREATE_BY,
a.UPDATE_BY,
a.CREATE_NAME,
a.CREATE_TIME,
a.UPDATE_TIME,
a.REMARK,
a.CERTIFICATION_NAME,
a.MAJOR
</sql>
<sql
id=
"tPreEmpEducation_where"
>
<if
test=
"tPreEmpEducation != null"
>
<if
test=
"tPreEmpEducation.id != null and tPreEmpEducation.id.trim() != ''"
>
AND a.ID = #{tPreEmpEducation.id}
</if>
<if
test=
"tPreEmpEducation.preMainId != null and tPreEmpEducation.preMainId.trim() != ''"
>
AND a.PRE_MAIN_ID = #{tPreEmpEducation.preMainId}
</if>
<if
test=
"tPreEmpEducation.empId != null and tPreEmpEducation.empId.trim() != ''"
>
AND a.EMP_ID = #{tPreEmpEducation.empId}
</if>
<if
test=
"tPreEmpEducation.empName != null and tPreEmpEducation.empName.trim() != ''"
>
AND a.EMP_NAME = #{tPreEmpEducation.empName}
</if>
<if
test=
"tPreEmpEducation.empCode != null and tPreEmpEducation.empCode.trim() != ''"
>
AND a.EMP_CODE = #{tPreEmpEducation.empCode}
</if>
<if
test=
"tPreEmpEducation.empIdcard != null and tPreEmpEducation.empIdcard.trim() != ''"
>
AND a.EMP_IDCARD = #{tPreEmpEducation.empIdcard}
</if>
<if
test=
"tPreEmpEducation.entryDate != null"
>
AND a.ENTRY_DATE = #{tPreEmpEducation.entryDate}
</if>
<if
test=
"tPreEmpEducation.educationName != null and tPreEmpEducation.educationName.trim() != ''"
>
AND a.EDUCATION_NAME = #{tPreEmpEducation.educationName}
</if>
<if
test=
"tPreEmpEducation.gradutionDate != null"
>
AND a.GRADUTION_DATE = #{tPreEmpEducation.gradutionDate}
</if>
<if
test=
"tPreEmpEducation.school != null and tPreEmpEducation.school.trim() != ''"
>
AND a.SCHOOL = #{tPreEmpEducation.school}
</if>
<if
test=
"tPreEmpEducation.educationSystem != null and tPreEmpEducation.educationSystem.trim() != ''"
>
AND a.EDUCATION_SYSTEM = #{tPreEmpEducation.educationSystem}
</if>
<if
test=
"tPreEmpEducation.highIdentification != null and tPreEmpEducation.highIdentification.trim() != ''"
>
AND a.HIGH_IDENTIFICATION = #{tPreEmpEducation.highIdentification}
</if>
<if
test=
"tPreEmpEducation.type != null and tPreEmpEducation.type.trim() != ''"
>
AND a.TYPE = #{tPreEmpEducation.type}
</if>
<if
test=
"tPreEmpEducation.collageSystem != null and tPreEmpEducation.collageSystem.trim() != ''"
>
AND a.COLLAGE_SYSTEM = #{tPreEmpEducation.collageSystem}
</if>
<if
test=
"tPreEmpEducation.deleteFlag != null and tPreEmpEducation.deleteFlag.trim() != ''"
>
AND a.DELETE_FLAG = #{tPreEmpEducation.deleteFlag}
</if>
<if
test=
"tPreEmpEducation.settleDomain != null and tPreEmpEducation.settleDomain.trim() != ''"
>
AND a.SETTLE_DOMAIN = #{tPreEmpEducation.settleDomain}
</if>
<if
test=
"tPreEmpEducation.dispatchFlag != null and tPreEmpEducation.dispatchFlag.trim() != ''"
>
AND a.DISPATCH_FLAG = #{tPreEmpEducation.dispatchFlag}
</if>
<if
test=
"tPreEmpEducation.createBy != null and tPreEmpEducation.createBy.trim() != ''"
>
AND a.CREATE_BY = #{tPreEmpEducation.createBy}
</if>
<if
test=
"tPreEmpEducation.updateBy != null and tPreEmpEducation.updateBy.trim() != ''"
>
AND a.UPDATE_BY = #{tPreEmpEducation.updateBy}
</if>
<if
test=
"tPreEmpEducation.createName != null and tPreEmpEducation.createName.trim() != ''"
>
AND a.CREATE_NAME = #{tPreEmpEducation.createName}
</if>
<if
test=
"tPreEmpEducation.createTime != null"
>
AND a.CREATE_TIME = #{tPreEmpEducation.createTime}
</if>
<if
test=
"tPreEmpEducation.updateTime != null"
>
AND a.UPDATE_TIME = #{tPreEmpEducation.updateTime}
</if>
<if
test=
"tPreEmpEducation.remark != null and tPreEmpEducation.remark.trim() != ''"
>
AND a.REMARK = #{tPreEmpEducation.remark}
</if>
<if
test=
"tPreEmpEducation.certificationName != null and tPreEmpEducation.certificationName.trim() != ''"
>
AND a.CERTIFICATION_NAME = #{tPreEmpEducation.certificationName}
</if>
<if
test=
"tPreEmpEducation.major != null and tPreEmpEducation.major.trim() != ''"
>
AND a.MAJOR = #{tPreEmpEducation.major}
</if>
</if>
</sql>
<!--tPreEmpEducation简单分页查询-->
<select
id=
"getTPreEmpEducationList"
resultMap=
"tPreEmpEducationMap"
>
SELECT
<include
refid=
"Base_Column_List"
/>
FROM t_pre_emp_education a
<where>
1=1
<include
refid=
"tPreEmpEducation_where"
/>
</where>
</select>
</mapper>
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TPreEmpFamilyMapper.xml
0 → 100644
View file @
fb6482e2
<?xml version="1.0" encoding="UTF-8"?>
<!--
~
~ Copyright (c) 2018-2025, lengleng All rights reserved.
~
~ Redistribution and use in source and binary forms, with or without
~ modification, are permitted provided that the following conditions are met:
~
~ Redistributions of source code must retain the above copyright notice,
~ this list of conditions and the following disclaimer.
~ Redistributions in binary form must reproduce the above copyright
~ notice, this list of conditions and the following disclaimer in the
~ documentation and/or other materials provided with the distribution.
~ Neither the name of the yifu4cloud.com developer nor the names of its
~ contributors may be used to endorse or promote products derived from
~ this software without specific prior written permission.
~ Author: lengleng (wangiegie@gmail.com)
~
-->
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.yifu.cloud.plus.v1.yifu.archives.mapper.TPreEmpFamilyMapper"
>
<resultMap
id=
"tPreEmpFamilyMap"
type=
"com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpFamily"
>
<id
property=
"id"
column=
"ID"
/>
<result
property=
"preMainId"
column=
"PRE_MAIN_ID"
/>
<result
property=
"empId"
column=
"EMP_ID"
/>
<result
property=
"empCode"
column=
"EMP_CODE"
/>
<result
property=
"empName"
column=
"EMP_NAME"
/>
<result
property=
"empIdcard"
column=
"EMP_IDCARD"
/>
<result
property=
"relationshipSelf"
column=
"RELATIONSHIP_SELF"
/>
<result
property=
"familyName"
column=
"FAMILY_NAME"
/>
<result
property=
"birthday"
column=
"BIRTHDAY"
/>
<result
property=
"workUnit"
column=
"WORK_UNIT"
/>
<result
property=
"contractTel"
column=
"CONTRACT_TEL"
/>
<result
property=
"deleteFlag"
column=
"DELETE_FLAG"
/>
<result
property=
"settleDomain"
column=
"SETTLE_DOMAIN"
/>
<result
property=
"createBy"
column=
"CREATE_BY"
/>
<result
property=
"updateBy"
column=
"UPDATE_BY"
/>
<result
property=
"createName"
column=
"CREATE_NAME"
/>
<result
property=
"createTime"
column=
"CREATE_TIME"
/>
<result
property=
"updateTime"
column=
"UPDATE_TIME"
/>
<result
property=
"remark"
column=
"REMARK"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
a.ID,
a.PRE_MAIN_ID,
a.EMP_ID,
a.EMP_CODE,
a.EMP_NAME,
a.EMP_IDCARD,
a.RELATIONSHIP_SELF,
a.FAMILY_NAME,
a.BIRTHDAY,
a.WORK_UNIT,
a.CONTRACT_TEL,
a.DELETE_FLAG,
a.SETTLE_DOMAIN,
a.CREATE_BY,
a.UPDATE_BY,
a.CREATE_NAME,
a.CREATE_TIME,
a.UPDATE_TIME,
a.REMARK
</sql>
<sql
id=
"tPreEmpFamily_where"
>
<if
test=
"tPreEmpFamily != null"
>
<if
test=
"tPreEmpFamily.id != null and tPreEmpFamily.id.trim() != ''"
>
AND a.ID = #{tPreEmpFamily.id}
</if>
<if
test=
"tPreEmpFamily.preMainId != null and tPreEmpFamily.preMainId.trim() != ''"
>
AND a.PRE_MAIN_ID = #{tPreEmpFamily.preMainId}
</if>
<if
test=
"tPreEmpFamily.empId != null and tPreEmpFamily.empId.trim() != ''"
>
AND a.EMP_ID = #{tPreEmpFamily.empId}
</if>
<if
test=
"tPreEmpFamily.empCode != null and tPreEmpFamily.empCode.trim() != ''"
>
AND a.EMP_CODE = #{tPreEmpFamily.empCode}
</if>
<if
test=
"tPreEmpFamily.empName != null and tPreEmpFamily.empName.trim() != ''"
>
AND a.EMP_NAME = #{tPreEmpFamily.empName}
</if>
<if
test=
"tPreEmpFamily.empIdcard != null and tPreEmpFamily.empIdcard.trim() != ''"
>
AND a.EMP_IDCARD = #{tPreEmpFamily.empIdcard}
</if>
<if
test=
"tPreEmpFamily.relationshipSelf != null and tPreEmpFamily.relationshipSelf.trim() != ''"
>
AND a.RELATIONSHIP_SELF = #{tPreEmpFamily.relationshipSelf}
</if>
<if
test=
"tPreEmpFamily.familyName != null and tPreEmpFamily.familyName.trim() != ''"
>
AND a.FAMILY_NAME = #{tPreEmpFamily.familyName}
</if>
<if
test=
"tPreEmpFamily.birthday != null"
>
AND a.BIRTHDAY = #{tPreEmpFamily.birthday}
</if>
<if
test=
"tPreEmpFamily.workUnit != null and tPreEmpFamily.workUnit.trim() != ''"
>
AND a.WORK_UNIT = #{tPreEmpFamily.workUnit}
</if>
<if
test=
"tPreEmpFamily.contractTel != null and tPreEmpFamily.contractTel.trim() != ''"
>
AND a.CONTRACT_TEL = #{tPreEmpFamily.contractTel}
</if>
<if
test=
"tPreEmpFamily.deleteFlag != null and tPreEmpFamily.deleteFlag.trim() != ''"
>
AND a.DELETE_FLAG = #{tPreEmpFamily.deleteFlag}
</if>
<if
test=
"tPreEmpFamily.settleDomain != null and tPreEmpFamily.settleDomain.trim() != ''"
>
AND a.SETTLE_DOMAIN = #{tPreEmpFamily.settleDomain}
</if>
<if
test=
"tPreEmpFamily.createBy != null and tPreEmpFamily.createBy.trim() != ''"
>
AND a.CREATE_BY = #{tPreEmpFamily.createBy}
</if>
<if
test=
"tPreEmpFamily.updateBy != null and tPreEmpFamily.updateBy.trim() != ''"
>
AND a.UPDATE_BY = #{tPreEmpFamily.updateBy}
</if>
<if
test=
"tPreEmpFamily.createName != null and tPreEmpFamily.createName.trim() != ''"
>
AND a.CREATE_NAME = #{tPreEmpFamily.createName}
</if>
<if
test=
"tPreEmpFamily.createTime != null"
>
AND a.CREATE_TIME = #{tPreEmpFamily.createTime}
</if>
<if
test=
"tPreEmpFamily.updateTime != null"
>
AND a.UPDATE_TIME = #{tPreEmpFamily.updateTime}
</if>
<if
test=
"tPreEmpFamily.remark != null and tPreEmpFamily.remark.trim() != ''"
>
AND a.REMARK = #{tPreEmpFamily.remark}
</if>
</if>
</sql>
<!--tPreEmpFamily简单分页查询-->
<select
id=
"getTPreEmpFamilyList"
resultMap=
"tPreEmpFamilyMap"
>
SELECT
<include
refid=
"Base_Column_List"
/>
FROM t_pre_emp_family a
<where>
1=1
<include
refid=
"tPreEmpFamily_where"
/>
</where>
</select>
</mapper>
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TPreEmpMainMapper.xml
0 → 100644
View file @
fb6482e2
<?xml version="1.0" encoding="UTF-8"?>
<!--
~
~ Copyright (c) 2018-2025, lengleng All rights reserved.
~
~ Redistribution and use in source and binary forms, with or without
~ modification, are permitted provided that the following conditions are met:
~
~ Redistributions of source code must retain the above copyright notice,
~ this list of conditions and the following disclaimer.
~ Redistributions in binary form must reproduce the above copyright
~ notice, this list of conditions and the following disclaimer in the
~ documentation and/or other materials provided with the distribution.
~ Neither the name of the yifu4cloud.com developer nor the names of its
~ contributors may be used to endorse or promote products derived from
~ this software without specific prior written permission.
~ Author: lengleng (wangiegie@gmail.com)
~
-->
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.yifu.cloud.plus.v1.yifu.archives.mapper.TPreEmpMainMapper"
>
<resultMap
id=
"tPreEmpMainMap"
type=
"com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpMain"
>
<id
property=
"id"
column=
"ID"
/>
<result
property=
"status"
column=
"STATUS"
/>
<result
property=
"empId"
column=
"EMP_ID"
/>
<result
property=
"empName"
column=
"EMP_NAME"
/>
<result
property=
"empIdcard"
column=
"EMP_IDCARD"
/>
<result
property=
"empPhone"
column=
"EMP_PHONE"
/>
<result
property=
"empWx"
column=
"EMP_WX"
/>
<result
property=
"unitId"
column=
"UNIT_ID"
/>
<result
property=
"unitName"
column=
"UNIT_NAME"
/>
<result
property=
"unitNo"
column=
"UNIT_NO"
/>
<result
property=
"deptId"
column=
"DEPT_ID"
/>
<result
property=
"deptName"
column=
"DEPT_NAME"
/>
<result
property=
"deptNo"
column=
"DEPT_NO"
/>
<result
property=
"businessPrimaryType"
column=
"BUSINESS_PRIMARY_TYPE"
/>
<result
property=
"businessSecondType"
column=
"BUSINESS_SECOND_TYPE"
/>
<result
property=
"businessThirdType"
column=
"BUSINESS_THIRD_TYPE"
/>
<result
property=
"empNatrue"
column=
"EMP_NATRUE"
/>
<result
property=
"auditId"
column=
"AUDIT_ID"
/>
<result
property=
"auditName"
column=
"AUDIT_NAME"
/>
<result
property=
"auditTime"
column=
"AUDIT_TIME"
/>
<result
property=
"createBy"
column=
"CREATE_BY"
/>
<result
property=
"updateBy"
column=
"UPDATE_BY"
/>
<result
property=
"createName"
column=
"CREATE_NAME"
/>
<result
property=
"createTime"
column=
"CREATE_TIME"
/>
<result
property=
"updateTime"
column=
"UPDATE_TIME"
/>
<result
property=
"settleDomain"
column=
"SETTLE_DOMAIN"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
a.ID,
a.STATUS,
a.EMP_ID,
a.EMP_NAME,
a.EMP_IDCARD,
a.EMP_PHONE,
a.EMP_WX,
a.UNIT_ID,
a.UNIT_NAME,
a.UNIT_NO,
a.DEPT_ID,
a.DEPT_NAME,
a.DEPT_NO,
a.BUSINESS_PRIMARY_TYPE,
a.BUSINESS_SECOND_TYPE,
a.BUSINESS_THIRD_TYPE,
a.EMP_NATRUE,
a.AUDIT_ID,
a.AUDIT_NAME,
a.AUDIT_TIME,
a.CREATE_BY,
a.UPDATE_BY,
a.CREATE_NAME,
a.CREATE_TIME,
a.UPDATE_TIME,
a.SETTLE_DOMAIN
</sql>
<sql
id=
"tPreEmpMain_where"
>
<if
test=
"tPreEmpMain != null"
>
<if
test=
"tPreEmpMain.id != null and tPreEmpMain.id.trim() != ''"
>
AND a.ID = #{tPreEmpMain.id}
</if>
<if
test=
"tPreEmpMain.status != null and tPreEmpMain.status.trim() != ''"
>
AND a.STATUS = #{tPreEmpMain.status}
</if>
<if
test=
"tPreEmpMain.empId != null and tPreEmpMain.empId.trim() != ''"
>
AND a.EMP_ID = #{tPreEmpMain.empId}
</if>
<if
test=
"tPreEmpMain.empName != null and tPreEmpMain.empName.trim() != ''"
>
AND a.EMP_NAME = #{tPreEmpMain.empName}
</if>
<if
test=
"tPreEmpMain.empIdcard != null and tPreEmpMain.empIdcard.trim() != ''"
>
AND a.EMP_IDCARD = #{tPreEmpMain.empIdcard}
</if>
<if
test=
"tPreEmpMain.empPhone != null and tPreEmpMain.empPhone.trim() != ''"
>
AND a.EMP_PHONE = #{tPreEmpMain.empPhone}
</if>
<if
test=
"tPreEmpMain.empWx != null and tPreEmpMain.empWx.trim() != ''"
>
AND a.EMP_WX = #{tPreEmpMain.empWx}
</if>
<if
test=
"tPreEmpMain.unitId != null and tPreEmpMain.unitId.trim() != ''"
>
AND a.UNIT_ID = #{tPreEmpMain.unitId}
</if>
<if
test=
"tPreEmpMain.unitName != null and tPreEmpMain.unitName.trim() != ''"
>
AND a.UNIT_NAME = #{tPreEmpMain.unitName}
</if>
<if
test=
"tPreEmpMain.unitNo != null and tPreEmpMain.unitNo.trim() != ''"
>
AND a.UNIT_NO = #{tPreEmpMain.unitNo}
</if>
<if
test=
"tPreEmpMain.deptId != null and tPreEmpMain.deptId.trim() != ''"
>
AND a.DEPT_ID = #{tPreEmpMain.deptId}
</if>
<if
test=
"tPreEmpMain.deptName != null and tPreEmpMain.deptName.trim() != ''"
>
AND a.DEPT_NAME = #{tPreEmpMain.deptName}
</if>
<if
test=
"tPreEmpMain.deptNo != null and tPreEmpMain.deptNo.trim() != ''"
>
AND a.DEPT_NO = #{tPreEmpMain.deptNo}
</if>
<if
test=
"tPreEmpMain.businessPrimaryType != null and tPreEmpMain.businessPrimaryType.trim() != ''"
>
AND a.BUSINESS_PRIMARY_TYPE = #{tPreEmpMain.businessPrimaryType}
</if>
<if
test=
"tPreEmpMain.businessSecondType != null and tPreEmpMain.businessSecondType.trim() != ''"
>
AND a.BUSINESS_SECOND_TYPE = #{tPreEmpMain.businessSecondType}
</if>
<if
test=
"tPreEmpMain.businessThirdType != null and tPreEmpMain.businessThirdType.trim() != ''"
>
AND a.BUSINESS_THIRD_TYPE = #{tPreEmpMain.businessThirdType}
</if>
<if
test=
"tPreEmpMain.empNatrue != null and tPreEmpMain.empNatrue.trim() != ''"
>
AND a.EMP_NATRUE = #{tPreEmpMain.empNatrue}
</if>
<if
test=
"tPreEmpMain.auditId != null and tPreEmpMain.auditId.trim() != ''"
>
AND a.AUDIT_ID = #{tPreEmpMain.auditId}
</if>
<if
test=
"tPreEmpMain.auditName != null and tPreEmpMain.auditName.trim() != ''"
>
AND a.AUDIT_NAME = #{tPreEmpMain.auditName}
</if>
<if
test=
"tPreEmpMain.auditTime != null"
>
AND a.AUDIT_TIME = #{tPreEmpMain.auditTime}
</if>
<if
test=
"tPreEmpMain.createBy != null and tPreEmpMain.createBy.trim() != ''"
>
AND a.CREATE_BY = #{tPreEmpMain.createBy}
</if>
<if
test=
"tPreEmpMain.updateBy != null and tPreEmpMain.updateBy.trim() != ''"
>
AND a.UPDATE_BY = #{tPreEmpMain.updateBy}
</if>
<if
test=
"tPreEmpMain.createName != null and tPreEmpMain.createName.trim() != ''"
>
AND a.CREATE_NAME = #{tPreEmpMain.createName}
</if>
<if
test=
"tPreEmpMain.createTime != null"
>
AND a.CREATE_TIME = #{tPreEmpMain.createTime}
</if>
<if
test=
"tPreEmpMain.updateTime != null"
>
AND a.UPDATE_TIME = #{tPreEmpMain.updateTime}
</if>
<if
test=
"tPreEmpMain.settleDomain != null and tPreEmpMain.settleDomain.trim() != ''"
>
AND a.SETTLE_DOMAIN = #{tPreEmpMain.settleDomain}
</if>
</if>
</sql>
<!--tPreEmpMain简单分页查询-->
<select
id=
"getTPreEmpMainPage"
resultMap=
"tPreEmpMainMap"
>
SELECT
<include
refid=
"Base_Column_List"
/>
FROM t_pre_emp_main a
<where>
1=1
<include
refid=
"tPreEmpMain_where"
/>
<if
test=
"tPreEmpMain != null"
>
<if
test=
"tPreEmpMain.authSql != null and tPreEmpMain.authSql.trim() != ''"
>
${tPreEmpMain.authSql}
</if>
</if>
</where>
</select>
</mapper>
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TPreEmpProfessionalQualificationMapper.xml
0 → 100644
View file @
fb6482e2
<?xml version="1.0" encoding="UTF-8"?>
<!--
~
~ Copyright (c) 2018-2025, lengleng All rights reserved.
~
~ Redistribution and use in source and binary forms, with or without
~ modification, are permitted provided that the following conditions are met:
~
~ Redistributions of source code must retain the above copyright notice,
~ this list of conditions and the following disclaimer.
~ Redistributions in binary form must reproduce the above copyright
~ notice, this list of conditions and the following disclaimer in the
~ documentation and/or other materials provided with the distribution.
~ Neither the name of the yifu4cloud.com developer nor the names of its
~ contributors may be used to endorse or promote products derived from
~ this software without specific prior written permission.
~ Author: lengleng (wangiegie@gmail.com)
~
-->
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.yifu.cloud.plus.v1.yifu.archives.mapper.TPreEmpProfessionalQualificationMapper"
>
<resultMap
id=
"tPreEmpProfessionalQualificationMap"
type=
"com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpProfessionalQualification"
>
<id
property=
"id"
column=
"ID"
/>
<result
property=
"preMainId"
column=
"PRE_MAIN_ID"
/>
<result
property=
"empId"
column=
"EMP_ID"
/>
<result
property=
"empName"
column=
"EMP_NAME"
/>
<result
property=
"empCode"
column=
"EMP_CODE"
/>
<result
property=
"empIdcard"
column=
"EMP_IDCARD"
/>
<result
property=
"qualificationType"
column=
"QUALIFICATION_TYPE"
/>
<result
property=
"qualificationLevel"
column=
"QUALIFICATION_LEVEL"
/>
<result
property=
"certificationNo"
column=
"CERTIFICATION_NO"
/>
<result
property=
"obtainType"
column=
"OBTAIN_TYPE"
/>
<result
property=
"assessmentUnit"
column=
"ASSESSMENT_UNIT"
/>
<result
property=
"declareYear"
column=
"DECLARE_YEAR"
/>
<result
property=
"heightIdentification"
column=
"HEIGHT_IDENTIFICATION"
/>
<result
property=
"deleteFlag"
column=
"DELETE_FLAG"
/>
<result
property=
"settleDomain"
column=
"SETTLE_DOMAIN"
/>
<result
property=
"createBy"
column=
"CREATE_BY"
/>
<result
property=
"updateBy"
column=
"UPDATE_BY"
/>
<result
property=
"createName"
column=
"CREATE_NAME"
/>
<result
property=
"createTime"
column=
"CREATE_TIME"
/>
<result
property=
"updateTime"
column=
"UPDATE_TIME"
/>
<result
property=
"remark"
column=
"REMARK"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
a.ID,
a.PRE_MAIN_ID,
a.EMP_ID,
a.EMP_NAME,
a.EMP_CODE,
a.EMP_IDCARD,
a.QUALIFICATION_TYPE,
a.QUALIFICATION_LEVEL,
a.CERTIFICATION_NO,
a.OBTAIN_TYPE,
a.ASSESSMENT_UNIT,
a.DECLARE_YEAR,
a.HEIGHT_IDENTIFICATION,
a.DELETE_FLAG,
a.SETTLE_DOMAIN,
a.CREATE_BY,
a.UPDATE_BY,
a.CREATE_NAME,
a.CREATE_TIME,
a.UPDATE_TIME,
a.REMARK
</sql>
<sql
id=
"tPreEmpProfessionalQualification_where"
>
<if
test=
"tPreEmpProfessionalQualification != null"
>
<if
test=
"tPreEmpProfessionalQualification.id != null and tPreEmpProfessionalQualification.id.trim() != ''"
>
AND a.ID = #{tPreEmpProfessionalQualification.id}
</if>
<if
test=
"tPreEmpProfessionalQualification.preMainId != null and tPreEmpProfessionalQualification.preMainId.trim() != ''"
>
AND a.PRE_MAIN_ID = #{tPreEmpProfessionalQualification.preMainId}
</if>
<if
test=
"tPreEmpProfessionalQualification.empId != null and tPreEmpProfessionalQualification.empId.trim() != ''"
>
AND a.EMP_ID = #{tPreEmpProfessionalQualification.empId}
</if>
<if
test=
"tPreEmpProfessionalQualification.empName != null and tPreEmpProfessionalQualification.empName.trim() != ''"
>
AND a.EMP_NAME = #{tPreEmpProfessionalQualification.empName}
</if>
<if
test=
"tPreEmpProfessionalQualification.empCode != null and tPreEmpProfessionalQualification.empCode.trim() != ''"
>
AND a.EMP_CODE = #{tPreEmpProfessionalQualification.empCode}
</if>
<if
test=
"tPreEmpProfessionalQualification.empIdcard != null and tPreEmpProfessionalQualification.empIdcard.trim() != ''"
>
AND a.EMP_IDCARD = #{tPreEmpProfessionalQualification.empIdcard}
</if>
<if
test=
"tPreEmpProfessionalQualification.qualificationType != null and tPreEmpProfessionalQualification.qualificationType.trim() != ''"
>
AND a.QUALIFICATION_TYPE = #{tPreEmpProfessionalQualification.qualificationType}
</if>
<if
test=
"tPreEmpProfessionalQualification.qualificationLevel != null and tPreEmpProfessionalQualification.qualificationLevel.trim() != ''"
>
AND a.QUALIFICATION_LEVEL = #{tPreEmpProfessionalQualification.qualificationLevel}
</if>
<if
test=
"tPreEmpProfessionalQualification.certificationNo != null and tPreEmpProfessionalQualification.certificationNo.trim() != ''"
>
AND a.CERTIFICATION_NO = #{tPreEmpProfessionalQualification.certificationNo}
</if>
<if
test=
"tPreEmpProfessionalQualification.obtainType != null and tPreEmpProfessionalQualification.obtainType.trim() != ''"
>
AND a.OBTAIN_TYPE = #{tPreEmpProfessionalQualification.obtainType}
</if>
<if
test=
"tPreEmpProfessionalQualification.assessmentUnit != null and tPreEmpProfessionalQualification.assessmentUnit.trim() != ''"
>
AND a.ASSESSMENT_UNIT = #{tPreEmpProfessionalQualification.assessmentUnit}
</if>
<if
test=
"tPreEmpProfessionalQualification.declareYear != null and tPreEmpProfessionalQualification.declareYear.trim() != ''"
>
AND a.DECLARE_YEAR = #{tPreEmpProfessionalQualification.declareYear}
</if>
<if
test=
"tPreEmpProfessionalQualification.heightIdentification != null and tPreEmpProfessionalQualification.heightIdentification.trim() != ''"
>
AND a.HEIGHT_IDENTIFICATION = #{tPreEmpProfessionalQualification.heightIdentification}
</if>
<if
test=
"tPreEmpProfessionalQualification.deleteFlag != null and tPreEmpProfessionalQualification.deleteFlag.trim() != ''"
>
AND a.DELETE_FLAG = #{tPreEmpProfessionalQualification.deleteFlag}
</if>
<if
test=
"tPreEmpProfessionalQualification.settleDomain != null and tPreEmpProfessionalQualification.settleDomain.trim() != ''"
>
AND a.SETTLE_DOMAIN = #{tPreEmpProfessionalQualification.settleDomain}
</if>
<if
test=
"tPreEmpProfessionalQualification.createBy != null and tPreEmpProfessionalQualification.createBy.trim() != ''"
>
AND a.CREATE_BY = #{tPreEmpProfessionalQualification.createBy}
</if>
<if
test=
"tPreEmpProfessionalQualification.updateBy != null and tPreEmpProfessionalQualification.updateBy.trim() != ''"
>
AND a.UPDATE_BY = #{tPreEmpProfessionalQualification.updateBy}
</if>
<if
test=
"tPreEmpProfessionalQualification.createName != null and tPreEmpProfessionalQualification.createName.trim() != ''"
>
AND a.CREATE_NAME = #{tPreEmpProfessionalQualification.createName}
</if>
<if
test=
"tPreEmpProfessionalQualification.createTime != null"
>
AND a.CREATE_TIME = #{tPreEmpProfessionalQualification.createTime}
</if>
<if
test=
"tPreEmpProfessionalQualification.updateTime != null"
>
AND a.UPDATE_TIME = #{tPreEmpProfessionalQualification.updateTime}
</if>
<if
test=
"tPreEmpProfessionalQualification.remark != null and tPreEmpProfessionalQualification.remark.trim() != ''"
>
AND a.REMARK = #{tPreEmpProfessionalQualification.remark}
</if>
</if>
</sql>
<!--tPreEmpProfessionalQualification简单分页查询-->
<select
id=
"getTPreEmpProfessionalQualificationList"
resultMap=
"tPreEmpProfessionalQualificationMap"
>
SELECT
<include
refid=
"Base_Column_List"
/>
FROM t_pre_emp_professional_qualification a
<where>
1=1
<include
refid=
"tPreEmpProfessionalQualification_where"
/>
</where>
</select>
</mapper>
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TPreEmpWorkRecordingMapper.xml
0 → 100644
View file @
fb6482e2
<?xml version="1.0" encoding="UTF-8"?>
<!--
~
~ Copyright (c) 2018-2025, lengleng All rights reserved.
~
~ Redistribution and use in source and binary forms, with or without
~ modification, are permitted provided that the following conditions are met:
~
~ Redistributions of source code must retain the above copyright notice,
~ this list of conditions and the following disclaimer.
~ Redistributions in binary form must reproduce the above copyright
~ notice, this list of conditions and the following disclaimer in the
~ documentation and/or other materials provided with the distribution.
~ Neither the name of the yifu4cloud.com developer nor the names of its
~ contributors may be used to endorse or promote products derived from
~ this software without specific prior written permission.
~ Author: lengleng (wangiegie@gmail.com)
~
-->
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.yifu.cloud.plus.v1.yifu.archives.mapper.TPreEmpWorkRecordingMapper"
>
<resultMap
id=
"tPreEmpWorkRecordingMap"
type=
"com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpWorkRecording"
>
<id
property=
"id"
column=
"ID"
/>
<result
property=
"preMainId"
column=
"PRE_MAIN_ID"
/>
<result
property=
"empId"
column=
"EMP_ID"
/>
<result
property=
"empCode"
column=
"EMP_CODE"
/>
<result
property=
"empName"
column=
"EMP_NAME"
/>
<result
property=
"empIdcard"
column=
"EMP_IDCARD"
/>
<result
property=
"workUnit"
column=
"WORK_UNIT"
/>
<result
property=
"workDepart"
column=
"WORK_DEPART"
/>
<result
property=
"workJob"
column=
"WORK_JOB"
/>
<result
property=
"startDate"
column=
"START_DATE"
/>
<result
property=
"endDate"
column=
"END_DATE"
/>
<result
property=
"workingStatus"
column=
"WORKING_STATUS"
/>
<result
property=
"workingType"
column=
"WORKING_TYPE"
/>
<result
property=
"deleteFlag"
column=
"DELETE_FLAG"
/>
<result
property=
"settleDomain"
column=
"SETTLE_DOMAIN"
/>
<result
property=
"createBy"
column=
"CREATE_BY"
/>
<result
property=
"updateBy"
column=
"UPDATE_BY"
/>
<result
property=
"createName"
column=
"CREATE_NAME"
/>
<result
property=
"createTime"
column=
"CREATE_TIME"
/>
<result
property=
"updateTime"
column=
"UPDATE_TIME"
/>
<result
property=
"remark"
column=
"REMARK"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
a.ID,
a.PRE_MAIN_ID,
a.EMP_ID,
a.EMP_CODE,
a.EMP_NAME,
a.EMP_IDCARD,
a.WORK_UNIT,
a.WORK_DEPART,
a.WORK_JOB,
a.START_DATE,
a.END_DATE,
a.WORKING_STATUS,
a.WORKING_TYPE,
a.DELETE_FLAG,
a.SETTLE_DOMAIN,
a.CREATE_BY,
a.UPDATE_BY,
a.CREATE_NAME,
a.CREATE_TIME,
a.UPDATE_TIME,
a.REMARK
</sql>
<sql
id=
"tPreEmpWorkRecording_where"
>
<if
test=
"tPreEmpWorkRecording != null"
>
<if
test=
"tPreEmpWorkRecording.id != null and tPreEmpWorkRecording.id.trim() != ''"
>
AND a.ID = #{tPreEmpWorkRecording.id}
</if>
<if
test=
"tPreEmpWorkRecording.preMainId != null and tPreEmpWorkRecording.preMainId.trim() != ''"
>
AND a.PRE_MAIN_ID = #{tPreEmpWorkRecording.preMainId}
</if>
<if
test=
"tPreEmpWorkRecording.empId != null and tPreEmpWorkRecording.empId.trim() != ''"
>
AND a.EMP_ID = #{tPreEmpWorkRecording.empId}
</if>
<if
test=
"tPreEmpWorkRecording.empCode != null and tPreEmpWorkRecording.empCode.trim() != ''"
>
AND a.EMP_CODE = #{tPreEmpWorkRecording.empCode}
</if>
<if
test=
"tPreEmpWorkRecording.empName != null and tPreEmpWorkRecording.empName.trim() != ''"
>
AND a.EMP_NAME = #{tPreEmpWorkRecording.empName}
</if>
<if
test=
"tPreEmpWorkRecording.empIdcard != null and tPreEmpWorkRecording.empIdcard.trim() != ''"
>
AND a.EMP_IDCARD = #{tPreEmpWorkRecording.empIdcard}
</if>
<if
test=
"tPreEmpWorkRecording.workUnit != null and tPreEmpWorkRecording.workUnit.trim() != ''"
>
AND a.WORK_UNIT = #{tPreEmpWorkRecording.workUnit}
</if>
<if
test=
"tPreEmpWorkRecording.workDepart != null and tPreEmpWorkRecording.workDepart.trim() != ''"
>
AND a.WORK_DEPART = #{tPreEmpWorkRecording.workDepart}
</if>
<if
test=
"tPreEmpWorkRecording.workJob != null and tPreEmpWorkRecording.workJob.trim() != ''"
>
AND a.WORK_JOB = #{tPreEmpWorkRecording.workJob}
</if>
<if
test=
"tPreEmpWorkRecording.startDate != null"
>
AND a.START_DATE = #{tPreEmpWorkRecording.startDate}
</if>
<if
test=
"tPreEmpWorkRecording.endDate != null"
>
AND a.END_DATE = #{tPreEmpWorkRecording.endDate}
</if>
<if
test=
"tPreEmpWorkRecording.workingStatus != null and tPreEmpWorkRecording.workingStatus.trim() != ''"
>
AND a.WORKING_STATUS = #{tPreEmpWorkRecording.workingStatus}
</if>
<if
test=
"tPreEmpWorkRecording.workingType != null and tPreEmpWorkRecording.workingType.trim() != ''"
>
AND a.WORKING_TYPE = #{tPreEmpWorkRecording.workingType}
</if>
<if
test=
"tPreEmpWorkRecording.deleteFlag != null and tPreEmpWorkRecording.deleteFlag.trim() != ''"
>
AND a.DELETE_FLAG = #{tPreEmpWorkRecording.deleteFlag}
</if>
<if
test=
"tPreEmpWorkRecording.settleDomain != null and tPreEmpWorkRecording.settleDomain.trim() != ''"
>
AND a.SETTLE_DOMAIN = #{tPreEmpWorkRecording.settleDomain}
</if>
<if
test=
"tPreEmpWorkRecording.createBy != null and tPreEmpWorkRecording.createBy.trim() != ''"
>
AND a.CREATE_BY = #{tPreEmpWorkRecording.createBy}
</if>
<if
test=
"tPreEmpWorkRecording.updateBy != null and tPreEmpWorkRecording.updateBy.trim() != ''"
>
AND a.UPDATE_BY = #{tPreEmpWorkRecording.updateBy}
</if>
<if
test=
"tPreEmpWorkRecording.createName != null and tPreEmpWorkRecording.createName.trim() != ''"
>
AND a.CREATE_NAME = #{tPreEmpWorkRecording.createName}
</if>
<if
test=
"tPreEmpWorkRecording.createTime != null"
>
AND a.CREATE_TIME = #{tPreEmpWorkRecording.createTime}
</if>
<if
test=
"tPreEmpWorkRecording.updateTime != null"
>
AND a.UPDATE_TIME = #{tPreEmpWorkRecording.updateTime}
</if>
<if
test=
"tPreEmpWorkRecording.remark != null and tPreEmpWorkRecording.remark.trim() != ''"
>
AND a.REMARK = #{tPreEmpWorkRecording.remark}
</if>
</if>
</sql>
<!--tPreEmpWorkRecording简单分页查询-->
<select
id=
"getTPreEmpWorkRecordingList"
resultMap=
"tPreEmpWorkRecordingMap"
>
SELECT
<include
refid=
"Base_Column_List"
/>
FROM t_pre_emp_work_recording a
<where>
1=1
<include
refid=
"tPreEmpWorkRecording_where"
/>
</where>
</select>
</mapper>
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TPreEmployeeInfoMapper.xml
0 → 100644
View file @
fb6482e2
<?xml version="1.0" encoding="UTF-8"?>
<!--
~
~ Copyright (c) 2018-2025, lengleng All rights reserved.
~
~ Redistribution and use in source and binary forms, with or without
~ modification, are permitted provided that the following conditions are met:
~
~ Redistributions of source code must retain the above copyright notice,
~ this list of conditions and the following disclaimer.
~ Redistributions in binary form must reproduce the above copyright
~ notice, this list of conditions and the following disclaimer in the
~ documentation and/or other materials provided with the distribution.
~ Neither the name of the yifu4cloud.com developer nor the names of its
~ contributors may be used to endorse or promote products derived from
~ this software without specific prior written permission.
~ Author: lengleng (wangiegie@gmail.com)
~
-->
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.yifu.cloud.plus.v1.yifu.archives.mapper.TPreEmployeeInfoMapper"
>
<resultMap
id=
"tPreEmployeeInfoMap"
type=
"com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmployeeInfo"
>
<id
property=
"id"
column=
"ID"
/>
<result
property=
"preMainId"
column=
"PRE_MAIN_ID"
/>
<result
property=
"empCode"
column=
"EMP_CODE"
/>
<result
property=
"empNatrue"
column=
"EMP_NATRUE"
/>
<result
property=
"empName"
column=
"EMP_NAME"
/>
<result
property=
"empIdcard"
column=
"EMP_IDCARD"
/>
<result
property=
"validityStart"
column=
"VALIDITY_START"
/>
<result
property=
"validityEnd"
column=
"VALIDITY_END"
/>
<result
property=
"empSex"
column=
"EMP_SEX"
/>
<result
property=
"empBirthday"
column=
"EMP_BIRTHDAY"
/>
<result
property=
"empAge"
column=
"EMP_AGE"
/>
<result
property=
"empMarriStatus"
column=
"EMP_MARRI_STATUS"
/>
<result
property=
"empNational"
column=
"EMP_NATIONAL"
/>
<result
property=
"politicalStatus"
column=
"POLITICAL_STATUS"
/>
<result
property=
"empEmail"
column=
"EMP_EMAIL"
/>
<result
property=
"empPhone"
column=
"EMP_PHONE"
/>
<result
property=
"idProvince"
column=
"ID_PROVINCE"
/>
<result
property=
"idCity"
column=
"ID_CITY"
/>
<result
property=
"idTown"
column=
"ID_TOWN"
/>
<result
property=
"empRegisType"
column=
"EMP_REGIS_TYPE"
/>
<result
property=
"fileProvince"
column=
"FILE_PROVINCE"
/>
<result
property=
"fileCity"
column=
"FILE_CITY"
/>
<result
property=
"fileTown"
column=
"FILE_TOWN"
/>
<result
property=
"isCollege"
column=
"IS_COLLEGE"
/>
<result
property=
"hignEducation"
column=
"HIGN_EDUCATION"
/>
<result
property=
"school"
column=
"SCHOOL"
/>
<result
property=
"major"
column=
"MAJOR"
/>
<result
property=
"admissionDate"
column=
"ADMISSION_DATE"
/>
<result
property=
"gradutionDate"
column=
"GRADUTION_DATE"
/>
<result
property=
"remark"
column=
"REMARK"
/>
<result
property=
"fileSource"
column=
"FILE_SOURCE"
/>
<result
property=
"status"
column=
"STATUS"
/>
<result
property=
"fileStatus"
column=
"FILE_STATUS"
/>
<result
property=
"projectNum"
column=
"PROJECT_NUM"
/>
<result
property=
"contractStatus"
column=
"CONTRACT_STATUS"
/>
<result
property=
"insuranceStatus"
column=
"INSURANCE_STATUS"
/>
<result
property=
"socialStatus"
column=
"SOCIAL_STATUS"
/>
<result
property=
"fundStatus"
column=
"FUND_STATUS"
/>
<result
property=
"salaryStatus"
column=
"SALARY_STATUS"
/>
<result
property=
"deleteFlag"
column=
"DELETE_FLAG"
/>
<result
property=
"createBy"
column=
"CREATE_BY"
/>
<result
property=
"createName"
column=
"CREATE_NAME"
/>
<result
property=
"createTime"
column=
"CREATE_TIME"
/>
<result
property=
"updateBy"
column=
"UPDATE_BY"
/>
<result
property=
"updateTime"
column=
"UPDATE_TIME"
/>
<result
property=
"leaveUser"
column=
"LEAVE_USER"
/>
<result
property=
"leaveUserName"
column=
"LEAVE_USER_NAME"
/>
<result
property=
"leaveTime"
column=
"LEAVE_TIME"
/>
<result
property=
"leaveReason"
column=
"LEAVE_REASON"
/>
<result
property=
"leaveRemark"
column=
"LEAVE_REMARK"
/>
<result
property=
"contactAddress"
column=
"CONTACT_ADDRESS"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
a.ID,
a.PRE_MAIN_ID,
a.EMP_CODE,
a.EMP_NATRUE,
a.EMP_NAME,
a.EMP_IDCARD,
a.VALIDITY_START,
a.VALIDITY_END,
a.EMP_SEX,
a.EMP_BIRTHDAY,
a.EMP_AGE,
a.EMP_MARRI_STATUS,
a.EMP_NATIONAL,
a.POLITICAL_STATUS,
a.EMP_EMAIL,
a.EMP_PHONE,
a.ID_PROVINCE,
a.ID_CITY,
a.ID_TOWN,
a.EMP_REGIS_TYPE,
a.FILE_PROVINCE,
a.FILE_CITY,
a.FILE_TOWN,
a.IS_COLLEGE,
a.HIGN_EDUCATION,
a.SCHOOL,
a.MAJOR,
a.ADMISSION_DATE,
a.GRADUTION_DATE,
a.REMARK,
a.FILE_SOURCE,
a.STATUS,
a.FILE_STATUS,
a.PROJECT_NUM,
a.CONTRACT_STATUS,
a.INSURANCE_STATUS,
a.SOCIAL_STATUS,
a.FUND_STATUS,
a.SALARY_STATUS,
a.DELETE_FLAG,
a.CREATE_BY,
a.CREATE_NAME,
a.CREATE_TIME,
a.UPDATE_BY,
a.UPDATE_TIME,
a.LEAVE_USER,
a.LEAVE_USER_NAME,
a.LEAVE_TIME,
a.LEAVE_REASON,
a.LEAVE_REMARK,
a.CONTACT_ADDRESS
</sql>
<sql
id=
"tPreEmployeeInfo_where"
>
<if
test=
"tPreEmployeeInfo != null"
>
<if
test=
"tPreEmployeeInfo.id != null and tPreEmployeeInfo.id.trim() != ''"
>
AND a.ID = #{tPreEmployeeInfo.id}
</if>
<if
test=
"tPreEmployeeInfo.preMainId != null and tPreEmployeeInfo.preMainId.trim() != ''"
>
AND a.PRE_MAIN_ID = #{tPreEmployeeInfo.preMainId}
</if>
<if
test=
"tPreEmployeeInfo.empCode != null and tPreEmployeeInfo.empCode.trim() != ''"
>
AND a.EMP_CODE = #{tPreEmployeeInfo.empCode}
</if>
<if
test=
"tPreEmployeeInfo.empNatrue != null and tPreEmployeeInfo.empNatrue.trim() != ''"
>
AND a.EMP_NATRUE = #{tPreEmployeeInfo.empNatrue}
</if>
<if
test=
"tPreEmployeeInfo.empName != null and tPreEmployeeInfo.empName.trim() != ''"
>
AND a.EMP_NAME = #{tPreEmployeeInfo.empName}
</if>
<if
test=
"tPreEmployeeInfo.empIdcard != null and tPreEmployeeInfo.empIdcard.trim() != ''"
>
AND a.EMP_IDCARD = #{tPreEmployeeInfo.empIdcard}
</if>
<if
test=
"tPreEmployeeInfo.validityStart != null"
>
AND a.VALIDITY_START = #{tPreEmployeeInfo.validityStart}
</if>
<if
test=
"tPreEmployeeInfo.validityEnd != null"
>
AND a.VALIDITY_END = #{tPreEmployeeInfo.validityEnd}
</if>
<if
test=
"tPreEmployeeInfo.empSex != null and tPreEmployeeInfo.empSex.trim() != ''"
>
AND a.EMP_SEX = #{tPreEmployeeInfo.empSex}
</if>
<if
test=
"tPreEmployeeInfo.empBirthday != null"
>
AND a.EMP_BIRTHDAY = #{tPreEmployeeInfo.empBirthday}
</if>
<if
test=
"tPreEmployeeInfo.empAge != null"
>
AND a.EMP_AGE = #{tPreEmployeeInfo.empAge}
</if>
<if
test=
"tPreEmployeeInfo.empMarriStatus != null and tPreEmployeeInfo.empMarriStatus.trim() != ''"
>
AND a.EMP_MARRI_STATUS = #{tPreEmployeeInfo.empMarriStatus}
</if>
<if
test=
"tPreEmployeeInfo.empNational != null and tPreEmployeeInfo.empNational.trim() != ''"
>
AND a.EMP_NATIONAL = #{tPreEmployeeInfo.empNational}
</if>
<if
test=
"tPreEmployeeInfo.politicalStatus != null and tPreEmployeeInfo.politicalStatus.trim() != ''"
>
AND a.POLITICAL_STATUS = #{tPreEmployeeInfo.politicalStatus}
</if>
<if
test=
"tPreEmployeeInfo.empEmail != null and tPreEmployeeInfo.empEmail.trim() != ''"
>
AND a.EMP_EMAIL = #{tPreEmployeeInfo.empEmail}
</if>
<if
test=
"tPreEmployeeInfo.empPhone != null and tPreEmployeeInfo.empPhone.trim() != ''"
>
AND a.EMP_PHONE = #{tPreEmployeeInfo.empPhone}
</if>
<if
test=
"tPreEmployeeInfo.idProvince != null"
>
AND a.ID_PROVINCE = #{tPreEmployeeInfo.idProvince}
</if>
<if
test=
"tPreEmployeeInfo.idCity != null"
>
AND a.ID_CITY = #{tPreEmployeeInfo.idCity}
</if>
<if
test=
"tPreEmployeeInfo.idTown != null"
>
AND a.ID_TOWN = #{tPreEmployeeInfo.idTown}
</if>
<if
test=
"tPreEmployeeInfo.empRegisType != null and tPreEmployeeInfo.empRegisType.trim() != ''"
>
AND a.EMP_REGIS_TYPE = #{tPreEmployeeInfo.empRegisType}
</if>
<if
test=
"tPreEmployeeInfo.fileProvince != null"
>
AND a.FILE_PROVINCE = #{tPreEmployeeInfo.fileProvince}
</if>
<if
test=
"tPreEmployeeInfo.fileCity != null"
>
AND a.FILE_CITY = #{tPreEmployeeInfo.fileCity}
</if>
<if
test=
"tPreEmployeeInfo.fileTown != null"
>
AND a.FILE_TOWN = #{tPreEmployeeInfo.fileTown}
</if>
<if
test=
"tPreEmployeeInfo.isCollege != null"
>
AND a.IS_COLLEGE = #{tPreEmployeeInfo.isCollege}
</if>
<if
test=
"tPreEmployeeInfo.hignEducation != null and tPreEmployeeInfo.hignEducation.trim() != ''"
>
AND a.HIGN_EDUCATION = #{tPreEmployeeInfo.hignEducation}
</if>
<if
test=
"tPreEmployeeInfo.school != null and tPreEmployeeInfo.school.trim() != ''"
>
AND a.SCHOOL = #{tPreEmployeeInfo.school}
</if>
<if
test=
"tPreEmployeeInfo.major != null and tPreEmployeeInfo.major.trim() != ''"
>
AND a.MAJOR = #{tPreEmployeeInfo.major}
</if>
<if
test=
"tPreEmployeeInfo.admissionDate != null"
>
AND a.ADMISSION_DATE = #{tPreEmployeeInfo.admissionDate}
</if>
<if
test=
"tPreEmployeeInfo.gradutionDate != null"
>
AND a.GRADUTION_DATE = #{tPreEmployeeInfo.gradutionDate}
</if>
<if
test=
"tPreEmployeeInfo.remark != null and tPreEmployeeInfo.remark.trim() != ''"
>
AND a.REMARK = #{tPreEmployeeInfo.remark}
</if>
<if
test=
"tPreEmployeeInfo.fileSource != null and tPreEmployeeInfo.fileSource.trim() != ''"
>
AND a.FILE_SOURCE = #{tPreEmployeeInfo.fileSource}
</if>
<if
test=
"tPreEmployeeInfo.status != null"
>
AND a.STATUS = #{tPreEmployeeInfo.status}
</if>
<if
test=
"tPreEmployeeInfo.fileStatus != null"
>
AND a.FILE_STATUS = #{tPreEmployeeInfo.fileStatus}
</if>
<if
test=
"tPreEmployeeInfo.projectNum != null"
>
AND a.PROJECT_NUM = #{tPreEmployeeInfo.projectNum}
</if>
<if
test=
"tPreEmployeeInfo.contractStatus != null"
>
AND a.CONTRACT_STATUS = #{tPreEmployeeInfo.contractStatus}
</if>
<if
test=
"tPreEmployeeInfo.insuranceStatus != null"
>
AND a.INSURANCE_STATUS = #{tPreEmployeeInfo.insuranceStatus}
</if>
<if
test=
"tPreEmployeeInfo.socialStatus != null"
>
AND a.SOCIAL_STATUS = #{tPreEmployeeInfo.socialStatus}
</if>
<if
test=
"tPreEmployeeInfo.fundStatus != null"
>
AND a.FUND_STATUS = #{tPreEmployeeInfo.fundStatus}
</if>
<if
test=
"tPreEmployeeInfo.salaryStatus != null"
>
AND a.SALARY_STATUS = #{tPreEmployeeInfo.salaryStatus}
</if>
<if
test=
"tPreEmployeeInfo.deleteFlag != null and tPreEmployeeInfo.deleteFlag.trim() != ''"
>
AND a.DELETE_FLAG = #{tPreEmployeeInfo.deleteFlag}
</if>
<if
test=
"tPreEmployeeInfo.createBy != null and tPreEmployeeInfo.createBy.trim() != ''"
>
AND a.CREATE_BY = #{tPreEmployeeInfo.createBy}
</if>
<if
test=
"tPreEmployeeInfo.createName != null and tPreEmployeeInfo.createName.trim() != ''"
>
AND a.CREATE_NAME = #{tPreEmployeeInfo.createName}
</if>
<if
test=
"tPreEmployeeInfo.createTime != null"
>
AND a.CREATE_TIME = #{tPreEmployeeInfo.createTime}
</if>
<if
test=
"tPreEmployeeInfo.updateBy != null and tPreEmployeeInfo.updateBy.trim() != ''"
>
AND a.UPDATE_BY = #{tPreEmployeeInfo.updateBy}
</if>
<if
test=
"tPreEmployeeInfo.updateTime != null"
>
AND a.UPDATE_TIME = #{tPreEmployeeInfo.updateTime}
</if>
<if
test=
"tPreEmployeeInfo.leaveUser != null and tPreEmployeeInfo.leaveUser.trim() != ''"
>
AND a.LEAVE_USER = #{tPreEmployeeInfo.leaveUser}
</if>
<if
test=
"tPreEmployeeInfo.leaveUserName != null and tPreEmployeeInfo.leaveUserName.trim() != ''"
>
AND a.LEAVE_USER_NAME = #{tPreEmployeeInfo.leaveUserName}
</if>
<if
test=
"tPreEmployeeInfo.leaveTime != null"
>
AND a.LEAVE_TIME = #{tPreEmployeeInfo.leaveTime}
</if>
<if
test=
"tPreEmployeeInfo.leaveReason != null and tPreEmployeeInfo.leaveReason.trim() != ''"
>
AND a.LEAVE_REASON = #{tPreEmployeeInfo.leaveReason}
</if>
<if
test=
"tPreEmployeeInfo.leaveRemark != null and tPreEmployeeInfo.leaveRemark.trim() != ''"
>
AND a.LEAVE_REMARK = #{tPreEmployeeInfo.leaveRemark}
</if>
<if
test=
"tPreEmployeeInfo.contactAddress != null and tPreEmployeeInfo.contactAddress.trim() != ''"
>
AND a.CONTACT_ADDRESS = #{tPreEmployeeInfo.contactAddress}
</if>
</if>
</sql>
<!--tPreEmployeeInfo简单分页查询-->
<select
id=
"getTPreEmployeeInfoList"
resultMap=
"tPreEmployeeInfoMap"
>
SELECT
<include
refid=
"Base_Column_List"
/>
FROM t_pre_employee_info a
<where>
1=1
<include
refid=
"tPreEmployeeInfo_where"
/>
</where>
</select>
</mapper>
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TPreEmployeeProjectMapper.xml
0 → 100644
View file @
fb6482e2
<?xml version="1.0" encoding="UTF-8"?>
<!--
~
~ Copyright (c) 2018-2025, lengleng All rights reserved.
~
~ Redistribution and use in source and binary forms, with or without
~ modification, are permitted provided that the following conditions are met:
~
~ Redistributions of source code must retain the above copyright notice,
~ this list of conditions and the following disclaimer.
~ Redistributions in binary form must reproduce the above copyright
~ notice, this list of conditions and the following disclaimer in the
~ documentation and/or other materials provided with the distribution.
~ Neither the name of the yifu4cloud.com developer nor the names of its
~ contributors may be used to endorse or promote products derived from
~ this software without specific prior written permission.
~ Author: lengleng (wangiegie@gmail.com)
~
-->
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.yifu.cloud.plus.v1.yifu.archives.mapper.TPreEmployeeProjectMapper"
>
<resultMap
id=
"tPreEmployeeProjectMap"
type=
"com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmployeeProject"
>
<id
property=
"id"
column=
"ID"
/>
<result
property=
"preMainId"
column=
"PRE_MAIN_ID"
/>
<result
property=
"empId"
column=
"EMP_ID"
/>
<result
property=
"empCode"
column=
"EMP_CODE"
/>
<result
property=
"empNatrue"
column=
"EMP_NATRUE"
/>
<result
property=
"empName"
column=
"EMP_NAME"
/>
<result
property=
"empIdcard"
column=
"EMP_IDCARD"
/>
<result
property=
"bankName"
column=
"BANK_NAME"
/>
<result
property=
"bankSubName"
column=
"BANK_SUB_NAME"
/>
<result
property=
"bankNo"
column=
"BANK_NO"
/>
<result
property=
"leaveUser"
column=
"LEAVE_USER"
/>
<result
property=
"leaveTime"
column=
"LEAVE_TIME"
/>
<result
property=
"leaveReason"
column=
"LEAVE_REASON"
/>
<result
property=
"leaveRemark"
column=
"LEAVE_REMARK"
/>
<result
property=
"empNo"
column=
"EMP_NO"
/>
<result
property=
"unitId"
column=
"UNIT_ID"
/>
<result
property=
"unitName"
column=
"UNIT_NAME"
/>
<result
property=
"unitNo"
column=
"UNIT_NO"
/>
<result
property=
"deptId"
column=
"DEPT_ID"
/>
<result
property=
"deptName"
column=
"DEPT_NAME"
/>
<result
property=
"deptNo"
column=
"DEPT_NO"
/>
<result
property=
"businessPrimaryType"
column=
"BUSINESS_PRIMARY_TYPE"
/>
<result
property=
"businessSecondType"
column=
"BUSINESS_SECOND_TYPE"
/>
<result
property=
"businessThirdType"
column=
"BUSINESS_THIRD_TYPE"
/>
<result
property=
"contractType"
column=
"CONTRACT_TYPE"
/>
<result
property=
"workingHours"
column=
"WORKING_HOURS"
/>
<result
property=
"post"
column=
"POST"
/>
<result
property=
"enjoinDate"
column=
"ENJOIN_DATE"
/>
<result
property=
"tryPeriod"
column=
"TRY_PERIOD"
/>
<result
property=
"projectSource"
column=
"PROJECT_SOURCE"
/>
<result
property=
"taxMonth"
column=
"TAX_MONTH"
/>
<result
property=
"status"
column=
"STATUS"
/>
<result
property=
"projectStatus"
column=
"PROJECT_STATUS"
/>
<result
property=
"contractStatus"
column=
"CONTRACT_STATUS"
/>
<result
property=
"salaryStatus"
column=
"SALARY_STATUS"
/>
<result
property=
"deleteFlag"
column=
"DELETE_FLAG"
/>
<result
property=
"createBy"
column=
"CREATE_BY"
/>
<result
property=
"createName"
column=
"CREATE_NAME"
/>
<result
property=
"createTime"
column=
"CREATE_TIME"
/>
<result
property=
"updateBy"
column=
"UPDATE_BY"
/>
<result
property=
"updateTime"
column=
"UPDATE_TIME"
/>
<result
property=
"remark"
column=
"REMARK"
/>
<result
property=
"insuranceStatus"
column=
"INSURANCE_STATUS"
/>
<result
property=
"socialStatus"
column=
"SOCIAL_STATUS"
/>
<result
property=
"fundStatus"
column=
"FUND_STATUS"
/>
<result
property=
"isLeaveEmployee"
column=
"IS_LEAVE_EMPLOYEE"
/>
<result
property=
"socialProvince"
column=
"SOCIAL_PROVINCE"
/>
<result
property=
"socialCity"
column=
"SOCIAL_CITY"
/>
<result
property=
"socialTown"
column=
"SOCIAL_TOWN"
/>
<result
property=
"empLabel"
column=
"EMP_LABEL"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
a.ID,
a.PRE_MAIN_ID,
a.EMP_ID,
a.EMP_CODE,
a.EMP_NATRUE,
a.EMP_NAME,
a.EMP_IDCARD,
a.BANK_NAME,
a.BANK_SUB_NAME,
a.BANK_NO,
a.LEAVE_USER,
a.LEAVE_TIME,
a.LEAVE_REASON,
a.LEAVE_REMARK,
a.EMP_NO,
a.UNIT_ID,
a.UNIT_NAME,
a.UNIT_NO,
a.DEPT_ID,
a.DEPT_NAME,
a.DEPT_NO,
a.BUSINESS_PRIMARY_TYPE,
a.BUSINESS_SECOND_TYPE,
a.BUSINESS_THIRD_TYPE,
a.CONTRACT_TYPE,
a.WORKING_HOURS,
a.POST,
a.ENJOIN_DATE,
a.TRY_PERIOD,
a.PROJECT_SOURCE,
a.TAX_MONTH,
a.STATUS,
a.PROJECT_STATUS,
a.CONTRACT_STATUS,
a.SALARY_STATUS,
a.DELETE_FLAG,
a.CREATE_BY,
a.CREATE_NAME,
a.CREATE_TIME,
a.UPDATE_BY,
a.UPDATE_TIME,
a.REMARK,
a.INSURANCE_STATUS,
a.SOCIAL_STATUS,
a.FUND_STATUS,
a.IS_LEAVE_EMPLOYEE,
a.SOCIAL_PROVINCE,
a.SOCIAL_CITY,
a.SOCIAL_TOWN,
a.EMP_LABEL
</sql>
<sql
id=
"tPreEmployeeProject_where"
>
<if
test=
"tPreEmployeeProject != null"
>
<if
test=
"tPreEmployeeProject.id != null and tPreEmployeeProject.id.trim() != ''"
>
AND a.ID = #{tPreEmployeeProject.id}
</if>
<if
test=
"tPreEmployeeProject.preMainId != null and tPreEmployeeProject.preMainId.trim() != ''"
>
AND a.PRE_MAIN_ID = #{tPreEmployeeProject.preMainId}
</if>
<if
test=
"tPreEmployeeProject.empId != null and tPreEmployeeProject.empId.trim() != ''"
>
AND a.EMP_ID = #{tPreEmployeeProject.empId}
</if>
<if
test=
"tPreEmployeeProject.empCode != null and tPreEmployeeProject.empCode.trim() != ''"
>
AND a.EMP_CODE = #{tPreEmployeeProject.empCode}
</if>
<if
test=
"tPreEmployeeProject.empNatrue != null and tPreEmployeeProject.empNatrue.trim() != ''"
>
AND a.EMP_NATRUE = #{tPreEmployeeProject.empNatrue}
</if>
<if
test=
"tPreEmployeeProject.empName != null and tPreEmployeeProject.empName.trim() != ''"
>
AND a.EMP_NAME = #{tPreEmployeeProject.empName}
</if>
<if
test=
"tPreEmployeeProject.empIdcard != null and tPreEmployeeProject.empIdcard.trim() != ''"
>
AND a.EMP_IDCARD = #{tPreEmployeeProject.empIdcard}
</if>
<if
test=
"tPreEmployeeProject.bankName != null and tPreEmployeeProject.bankName.trim() != ''"
>
AND a.BANK_NAME = #{tPreEmployeeProject.bankName}
</if>
<if
test=
"tPreEmployeeProject.bankSubName != null and tPreEmployeeProject.bankSubName.trim() != ''"
>
AND a.BANK_SUB_NAME = #{tPreEmployeeProject.bankSubName}
</if>
<if
test=
"tPreEmployeeProject.bankNo != null and tPreEmployeeProject.bankNo.trim() != ''"
>
AND a.BANK_NO = #{tPreEmployeeProject.bankNo}
</if>
<if
test=
"tPreEmployeeProject.leaveUser != null and tPreEmployeeProject.leaveUser.trim() != ''"
>
AND a.LEAVE_USER = #{tPreEmployeeProject.leaveUser}
</if>
<if
test=
"tPreEmployeeProject.leaveTime != null"
>
AND a.LEAVE_TIME = #{tPreEmployeeProject.leaveTime}
</if>
<if
test=
"tPreEmployeeProject.leaveReason != null and tPreEmployeeProject.leaveReason.trim() != ''"
>
AND a.LEAVE_REASON = #{tPreEmployeeProject.leaveReason}
</if>
<if
test=
"tPreEmployeeProject.leaveRemark != null and tPreEmployeeProject.leaveRemark.trim() != ''"
>
AND a.LEAVE_REMARK = #{tPreEmployeeProject.leaveRemark}
</if>
<if
test=
"tPreEmployeeProject.empNo != null and tPreEmployeeProject.empNo.trim() != ''"
>
AND a.EMP_NO = #{tPreEmployeeProject.empNo}
</if>
<if
test=
"tPreEmployeeProject.unitId != null and tPreEmployeeProject.unitId.trim() != ''"
>
AND a.UNIT_ID = #{tPreEmployeeProject.unitId}
</if>
<if
test=
"tPreEmployeeProject.unitName != null and tPreEmployeeProject.unitName.trim() != ''"
>
AND a.UNIT_NAME = #{tPreEmployeeProject.unitName}
</if>
<if
test=
"tPreEmployeeProject.unitNo != null and tPreEmployeeProject.unitNo.trim() != ''"
>
AND a.UNIT_NO = #{tPreEmployeeProject.unitNo}
</if>
<if
test=
"tPreEmployeeProject.deptId != null and tPreEmployeeProject.deptId.trim() != ''"
>
AND a.DEPT_ID = #{tPreEmployeeProject.deptId}
</if>
<if
test=
"tPreEmployeeProject.deptName != null and tPreEmployeeProject.deptName.trim() != ''"
>
AND a.DEPT_NAME = #{tPreEmployeeProject.deptName}
</if>
<if
test=
"tPreEmployeeProject.deptNo != null and tPreEmployeeProject.deptNo.trim() != ''"
>
AND a.DEPT_NO = #{tPreEmployeeProject.deptNo}
</if>
<if
test=
"tPreEmployeeProject.businessPrimaryType != null and tPreEmployeeProject.businessPrimaryType.trim() != ''"
>
AND a.BUSINESS_PRIMARY_TYPE = #{tPreEmployeeProject.businessPrimaryType}
</if>
<if
test=
"tPreEmployeeProject.businessSecondType != null and tPreEmployeeProject.businessSecondType.trim() != ''"
>
AND a.BUSINESS_SECOND_TYPE = #{tPreEmployeeProject.businessSecondType}
</if>
<if
test=
"tPreEmployeeProject.businessThirdType != null and tPreEmployeeProject.businessThirdType.trim() != ''"
>
AND a.BUSINESS_THIRD_TYPE = #{tPreEmployeeProject.businessThirdType}
</if>
<if
test=
"tPreEmployeeProject.contractType != null and tPreEmployeeProject.contractType.trim() != ''"
>
AND a.CONTRACT_TYPE = #{tPreEmployeeProject.contractType}
</if>
<if
test=
"tPreEmployeeProject.workingHours != null and tPreEmployeeProject.workingHours.trim() != ''"
>
AND a.WORKING_HOURS = #{tPreEmployeeProject.workingHours}
</if>
<if
test=
"tPreEmployeeProject.post != null and tPreEmployeeProject.post.trim() != ''"
>
AND a.POST = #{tPreEmployeeProject.post}
</if>
<if
test=
"tPreEmployeeProject.enjoinDate != null"
>
AND a.ENJOIN_DATE = #{tPreEmployeeProject.enjoinDate}
</if>
<if
test=
"tPreEmployeeProject.tryPeriod != null and tPreEmployeeProject.tryPeriod.trim() != ''"
>
AND a.TRY_PERIOD = #{tPreEmployeeProject.tryPeriod}
</if>
<if
test=
"tPreEmployeeProject.projectSource != null and tPreEmployeeProject.projectSource.trim() != ''"
>
AND a.PROJECT_SOURCE = #{tPreEmployeeProject.projectSource}
</if>
<if
test=
"tPreEmployeeProject.taxMonth != null and tPreEmployeeProject.taxMonth.trim() != ''"
>
AND a.TAX_MONTH = #{tPreEmployeeProject.taxMonth}
</if>
<if
test=
"tPreEmployeeProject.status != null"
>
AND a.STATUS = #{tPreEmployeeProject.status}
</if>
<if
test=
"tPreEmployeeProject.projectStatus != null"
>
AND a.PROJECT_STATUS = #{tPreEmployeeProject.projectStatus}
</if>
<if
test=
"tPreEmployeeProject.contractStatus != null"
>
AND a.CONTRACT_STATUS = #{tPreEmployeeProject.contractStatus}
</if>
<if
test=
"tPreEmployeeProject.salaryStatus != null"
>
AND a.SALARY_STATUS = #{tPreEmployeeProject.salaryStatus}
</if>
<if
test=
"tPreEmployeeProject.deleteFlag != null and tPreEmployeeProject.deleteFlag.trim() != ''"
>
AND a.DELETE_FLAG = #{tPreEmployeeProject.deleteFlag}
</if>
<if
test=
"tPreEmployeeProject.createBy != null and tPreEmployeeProject.createBy.trim() != ''"
>
AND a.CREATE_BY = #{tPreEmployeeProject.createBy}
</if>
<if
test=
"tPreEmployeeProject.createName != null and tPreEmployeeProject.createName.trim() != ''"
>
AND a.CREATE_NAME = #{tPreEmployeeProject.createName}
</if>
<if
test=
"tPreEmployeeProject.createTime != null"
>
AND a.CREATE_TIME = #{tPreEmployeeProject.createTime}
</if>
<if
test=
"tPreEmployeeProject.updateBy != null and tPreEmployeeProject.updateBy.trim() != ''"
>
AND a.UPDATE_BY = #{tPreEmployeeProject.updateBy}
</if>
<if
test=
"tPreEmployeeProject.updateTime != null"
>
AND a.UPDATE_TIME = #{tPreEmployeeProject.updateTime}
</if>
<if
test=
"tPreEmployeeProject.remark != null and tPreEmployeeProject.remark.trim() != ''"
>
AND a.REMARK = #{tPreEmployeeProject.remark}
</if>
<if
test=
"tPreEmployeeProject.insuranceStatus != null"
>
AND a.INSURANCE_STATUS = #{tPreEmployeeProject.insuranceStatus}
</if>
<if
test=
"tPreEmployeeProject.socialStatus != null"
>
AND a.SOCIAL_STATUS = #{tPreEmployeeProject.socialStatus}
</if>
<if
test=
"tPreEmployeeProject.fundStatus != null"
>
AND a.FUND_STATUS = #{tPreEmployeeProject.fundStatus}
</if>
<if
test=
"tPreEmployeeProject.isLeaveEmployee != null"
>
AND a.IS_LEAVE_EMPLOYEE = #{tPreEmployeeProject.isLeaveEmployee}
</if>
<if
test=
"tPreEmployeeProject.socialProvince != null"
>
AND a.SOCIAL_PROVINCE = #{tPreEmployeeProject.socialProvince}
</if>
<if
test=
"tPreEmployeeProject.socialCity != null"
>
AND a.SOCIAL_CITY = #{tPreEmployeeProject.socialCity}
</if>
<if
test=
"tPreEmployeeProject.socialTown != null"
>
AND a.SOCIAL_TOWN = #{tPreEmployeeProject.socialTown}
</if>
<if
test=
"tPreEmployeeProject.empLabel != null and tPreEmployeeProject.empLabel.trim() != ''"
>
AND a.EMP_LABEL = #{tPreEmployeeProject.empLabel}
</if>
</if>
</sql>
<!--tPreEmployeeProject简单分页查询-->
<select
id=
"getTPreEmployeeProjectList"
resultMap=
"tPreEmployeeProjectMap"
>
SELECT
<include
refid=
"Base_Column_List"
/>
FROM t_pre_employee_project a
<where>
1=1
<include
refid=
"tPreEmployeeProject_where"
/>
</where>
</select>
</mapper>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment