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
00ac9b10
Commit
00ac9b10
authored
Jun 13, 2025
by
chenyuxi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 瓜子相关代码提交
parent
9355a2ec
Show whitespace changes
Inline
Side-by-side
Showing
58 changed files
with
4390 additions
and
2 deletions
+4390
-2
TGzEmpContactInfo.java
...cloud/plus/v1/yifu/archives/entity/TGzEmpContactInfo.java
+112
-0
TGzEmpEducation.java
...u/cloud/plus/v1/yifu/archives/entity/TGzEmpEducation.java
+160
-0
TGzEmpFamily.java
...yifu/cloud/plus/v1/yifu/archives/entity/TGzEmpFamily.java
+129
-0
TGzEmpInfo.java
...m/yifu/cloud/plus/v1/yifu/archives/entity/TGzEmpInfo.java
+527
-0
TGzEmpSkill.java
.../yifu/cloud/plus/v1/yifu/archives/entity/TGzEmpSkill.java
+104
-0
TGzEmpWork.java
...m/yifu/cloud/plus/v1/yifu/archives/entity/TGzEmpWork.java
+129
-0
TGzEmpContactInfoSearchVo.java
...d/plus/v1/yifu/archives/vo/TGzEmpContactInfoSearchVo.java
+38
-0
TGzEmpEducationSearchVo.java
...oud/plus/v1/yifu/archives/vo/TGzEmpEducationSearchVo.java
+39
-0
TGzEmpFamilySearchVo.java
.../cloud/plus/v1/yifu/archives/vo/TGzEmpFamilySearchVo.java
+39
-0
TGzEmpInfoSearchVo.java
...fu/cloud/plus/v1/yifu/archives/vo/TGzEmpInfoSearchVo.java
+49
-0
TGzEmpSkillSearchVo.java
...u/cloud/plus/v1/yifu/archives/vo/TGzEmpSkillSearchVo.java
+38
-0
TGzEmpWorkSearchVo.java
...fu/cloud/plus/v1/yifu/archives/vo/TGzEmpWorkSearchVo.java
+38
-0
TGzEmpContactInfoController.java
...yifu/archives/controller/TGzEmpContactInfoController.java
+91
-0
TGzEmpEducationController.java
...1/yifu/archives/controller/TGzEmpEducationController.java
+91
-0
TGzEmpFamilyController.java
...s/v1/yifu/archives/controller/TGzEmpFamilyController.java
+133
-0
TGzEmpInfoController.java
...lus/v1/yifu/archives/controller/TGzEmpInfoController.java
+147
-0
TGzEmpSkillController.java
...us/v1/yifu/archives/controller/TGzEmpSkillController.java
+91
-0
TGzEmpWorkController.java
...lus/v1/yifu/archives/controller/TGzEmpWorkController.java
+91
-0
TGzEmpContactInfoMapper.java
...plus/v1/yifu/archives/mapper/TGzEmpContactInfoMapper.java
+41
-0
TGzEmpEducationMapper.java
...d/plus/v1/yifu/archives/mapper/TGzEmpEducationMapper.java
+41
-0
TGzEmpFamilyMapper.java
...loud/plus/v1/yifu/archives/mapper/TGzEmpFamilyMapper.java
+42
-0
TGzEmpInfoMapper.java
.../cloud/plus/v1/yifu/archives/mapper/TGzEmpInfoMapper.java
+42
-0
TGzEmpSkillMapper.java
...cloud/plus/v1/yifu/archives/mapper/TGzEmpSkillMapper.java
+42
-0
TGzEmpWorkMapper.java
.../cloud/plus/v1/yifu/archives/mapper/TGzEmpWorkMapper.java
+42
-0
TGzEmpContactInfoService.java
...us/v1/yifu/archives/service/TGzEmpContactInfoService.java
+48
-0
TGzEmpEducationService.java
...plus/v1/yifu/archives/service/TGzEmpEducationService.java
+48
-0
TGzEmpFamilyService.java
...ud/plus/v1/yifu/archives/service/TGzEmpFamilyService.java
+48
-0
TGzEmpInfoService.java
...loud/plus/v1/yifu/archives/service/TGzEmpInfoService.java
+50
-0
TGzEmpSkillService.java
...oud/plus/v1/yifu/archives/service/TGzEmpSkillService.java
+46
-0
TGzEmpWorkService.java
...loud/plus/v1/yifu/archives/service/TGzEmpWorkService.java
+48
-0
LGuaziOfferRecordServiceImpl.java
...u/archives/service/impl/LGuaziOfferRecordServiceImpl.java
+2
-0
TGzEmpContactInfoServiceImpl.java
...u/archives/service/impl/TGzEmpContactInfoServiceImpl.java
+99
-0
TGzEmpEducationServiceImpl.java
...ifu/archives/service/impl/TGzEmpEducationServiceImpl.java
+99
-0
TGzEmpFamilyServiceImpl.java
...1/yifu/archives/service/impl/TGzEmpFamilyServiceImpl.java
+98
-0
TGzEmpInfoServiceImpl.java
.../v1/yifu/archives/service/impl/TGzEmpInfoServiceImpl.java
+175
-0
TGzEmpSkillServiceImpl.java
...v1/yifu/archives/service/impl/TGzEmpSkillServiceImpl.java
+99
-0
TGzEmpWorkServiceImpl.java
.../v1/yifu/archives/service/impl/TGzEmpWorkServiceImpl.java
+81
-0
TGzOfferInfoServiceImpl.java
...1/yifu/archives/service/impl/TGzOfferInfoServiceImpl.java
+2
-0
TGzEmpContactInfoMapper.xml
...biz/src/main/resources/mapper/TGzEmpContactInfoMapper.xml
+109
-0
TGzEmpEducationMapper.xml
...s-biz/src/main/resources/mapper/TGzEmpEducationMapper.xml
+139
-0
TGzEmpFamilyMapper.xml
...ives-biz/src/main/resources/mapper/TGzEmpFamilyMapper.xml
+119
-0
TGzEmpInfoMapper.xml
...chives-biz/src/main/resources/mapper/TGzEmpInfoMapper.xml
+374
-0
TGzEmpSkillMapper.xml
...hives-biz/src/main/resources/mapper/TGzEmpSkillMapper.xml
+104
-0
TGzEmpWorkMapper.xml
...chives-biz/src/main/resources/mapper/TGzEmpWorkMapper.xml
+119
-0
SysDictItem.java
...yifu.cloud.plus.v1/yifu/admin/api/entity/SysDictItem.java
+3
-0
SysOutEmpCategorizeFormInfo.java
...v1/yifu/admin/api/entity/SysOutEmpCategorizeFormInfo.java
+4
-0
SysOutEmpCategorizeFormInfoVo.java
...s.v1/yifu/admin/api/vo/SysOutEmpCategorizeFormInfoVo.java
+20
-0
DictController.java
...u/cloud/plus/v1/yifu/admin/controller/DictController.java
+16
-0
SysOutEmpCategorizeFormInfoController.java
...min/controller/SysOutEmpCategorizeFormInfoController.java
+0
-1
SysOutEmpFormInfoController.java
...v1/yifu/admin/controller/SysOutEmpFormInfoController.java
+13
-0
SysOutEmpCategorizeFormInfoMapper.java
.../yifu/admin/mapper/SysOutEmpCategorizeFormInfoMapper.java
+6
-0
SysDictService.java
...yifu/cloud/plus/v1/yifu/admin/service/SysDictService.java
+3
-0
SysOutEmpCategorizeFormInfoService.java
...ifu/admin/service/SysOutEmpCategorizeFormInfoService.java
+4
-0
SysOutEmpFormInfoService.java
.../plus/v1/yifu/admin/service/SysOutEmpFormInfoService.java
+8
-0
SysDictServiceImpl.java
...d/plus/v1/yifu/admin/service/impl/SysDictServiceImpl.java
+34
-0
SysOutEmpCategorizeFormInfoServiceImpl.java
.../service/impl/SysOutEmpCategorizeFormInfoServiceImpl.java
+7
-0
SysOutEmpFormInfoServiceImpl.java
...yifu/admin/service/impl/SysOutEmpFormInfoServiceImpl.java
+54
-1
SysOutEmpCategorizeFormInfoMapper.xml
...in/resources/mapper/SysOutEmpCategorizeFormInfoMapper.xml
+15
-0
No files found.
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/entity/TGzEmpContactInfo.java
0 → 100644
View file @
00ac9b10
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
entity
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableLogic
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute
;
import
org.hibernate.validator.constraints.Length
;
import
javax.validation.constraints.NotBlank
;
/**
* 瓜子紧急联系人
*
* @author chenyx
* @date 2025-06-13 15:19:04
*/
@Data
@TableName
(
"t_gz_emp_contact_info"
)
@EqualsAndHashCode
(
callSuper
=
true
)
@Schema
(
description
=
"瓜子紧急联系人"
)
public
class
TGzEmpContactInfo
extends
BaseEntity
{
/**
* 主键
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@ExcelProperty
(
"主键"
)
@Schema
(
description
=
"主键"
)
private
String
id
;
/**
* 关联瓜子档案ID
*/
@ExcelAttribute
(
name
=
"关联瓜子档案ID"
,
isNotEmpty
=
true
,
errorInfo
=
"关联瓜子档案ID不能为空"
,
maxLength
=
32
)
@NotBlank
(
message
=
"关联瓜子档案ID不能为空"
)
@Length
(
max
=
32
,
message
=
"关联瓜子档案ID不能超过32个字符"
)
@ExcelProperty
(
"关联瓜子档案ID"
)
@Schema
(
description
=
"关联瓜子档案ID"
)
private
String
empId
;
/**
* 紧急联系人姓名
*/
@ExcelAttribute
(
name
=
"紧急联系人姓名"
,
maxLength
=
20
)
@Length
(
max
=
20
,
message
=
"紧急联系人姓名不能超过20个字符"
)
@ExcelProperty
(
"紧急联系人姓名"
)
@Schema
(
description
=
"紧急联系人姓名"
)
private
String
emergName
;
/**
* 与本人关系
*/
@ExcelAttribute
(
name
=
"与本人关系"
,
maxLength
=
50
)
@Length
(
max
=
50
,
message
=
"与本人关系不能超过50个字符"
)
@ExcelProperty
(
"与本人关系"
)
@Schema
(
description
=
"与本人关系"
)
private
String
emergRelation
;
/**
* 联系人住址
*/
@ExcelAttribute
(
name
=
"联系人住址"
,
maxLength
=
200
)
@Length
(
max
=
200
,
message
=
"联系人住址不能超过200个字符"
)
@ExcelProperty
(
"联系人住址"
)
@Schema
(
description
=
"联系人住址"
)
private
String
emergAddress
;
/**
* 联系电话
*/
@ExcelAttribute
(
name
=
"联系电话"
,
maxLength
=
20
)
@Length
(
max
=
20
,
message
=
"联系电话不能超过20个字符"
)
@ExcelProperty
(
"联系电话"
)
@Schema
(
description
=
"联系电话"
)
private
String
emergPhone
;
/**
* 是否主要联系人: Y:是,N不是(系统自动推送默认值“是”)
*/
@ExcelAttribute
(
name
=
"是否主要联系人: Y:是,N不是(系统自动推送默认值“是”)"
,
maxLength
=
1
)
@Length
(
max
=
1
,
message
=
"是否主要联系人: Y:是,N不是(系统自动推送默认值“是”)不能超过1个字符"
)
@ExcelProperty
(
"是否主要联系人: Y:是,N不是(系统自动推送默认值“是”)"
)
@Schema
(
description
=
"是否主要联系人: Y:是,N不是(系统自动推送默认值“是”)"
)
private
String
primaryNid
;
/**
* 删除标记
*/
@ExcelAttribute
(
name
=
"删除标记"
,
maxLength
=
1
)
@Length
(
max
=
1
,
message
=
"删除标记不能超过1个字符"
)
@ExcelProperty
(
"删除标记"
)
@Schema
(
description
=
"删除标记"
)
@TableLogic
private
String
delFlag
;
}
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/entity/TGzEmpEducation.java
0 → 100644
View file @
00ac9b10
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
entity
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableLogic
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute
;
import
org.hibernate.validator.constraints.Length
;
import
java.util.Date
;
import
javax.validation.constraints.NotBlank
;
/**
* 瓜子教育经历
*
* @author chenyx
* @date 2025-06-13 15:19:04
*/
@Data
@TableName
(
"t_gz_emp_education"
)
@EqualsAndHashCode
(
callSuper
=
true
)
@Schema
(
description
=
"瓜子教育经历"
)
public
class
TGzEmpEducation
extends
BaseEntity
{
/**
* 主键
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@ExcelProperty
(
"主键"
)
@Schema
(
description
=
"主键"
)
private
String
id
;
/**
* 关联瓜子档案ID
*/
@ExcelAttribute
(
name
=
"关联瓜子档案ID"
,
isNotEmpty
=
true
,
errorInfo
=
"关联瓜子档案ID不能为空"
,
maxLength
=
32
)
@NotBlank
(
message
=
"关联瓜子档案ID不能为空"
)
@Length
(
max
=
32
,
message
=
"关联瓜子档案ID不能超过32个字符"
)
@ExcelProperty
(
"关联瓜子档案ID"
)
@Schema
(
description
=
"关联瓜子档案ID"
)
private
String
empId
;
/**
* 删除标记
*/
@ExcelAttribute
(
name
=
"删除标记"
,
maxLength
=
1
)
@Length
(
max
=
1
,
message
=
"删除标记不能超过1个字符"
)
@ExcelProperty
(
"删除标记"
)
@Schema
(
description
=
"删除标记"
)
@TableLogic
private
String
delFlag
;
/**
* 学历
*/
@ExcelAttribute
(
name
=
"学历"
,
maxLength
=
2
)
@Length
(
max
=
2
,
message
=
"学历不能超过2个字符"
)
@ExcelProperty
(
"学历"
)
@Schema
(
description
=
"学历"
)
private
String
eduQual
;
/**
* 学位
*/
@ExcelAttribute
(
name
=
"学位"
,
maxLength
=
2
)
@Length
(
max
=
2
,
message
=
"学位不能超过2个字符"
)
@ExcelProperty
(
"学位"
)
@Schema
(
description
=
"学位"
)
private
String
eduDegree
;
/**
* 教育方式
*/
@ExcelAttribute
(
name
=
"教育方式"
,
maxLength
=
2
)
@Length
(
max
=
2
,
message
=
"教育方式不能超过2个字符"
)
@ExcelProperty
(
"教育方式"
)
@Schema
(
description
=
"教育方式"
)
private
String
eduType
;
/**
* 院校名称
*/
@ExcelAttribute
(
name
=
"院校名称"
,
maxLength
=
48
)
@Length
(
max
=
48
,
message
=
"院校名称不能超过48个字符"
)
@ExcelProperty
(
"院校名称"
)
@Schema
(
description
=
"院校名称"
)
private
String
school
;
/**
* 入学日期
*/
@ExcelAttribute
(
name
=
"入学日期"
,
isDate
=
true
)
@ExcelProperty
(
"入学日期"
)
@Schema
(
description
=
"入学日期"
)
private
Date
eduStartDate
;
/**
* 毕业日期
*/
@ExcelAttribute
(
name
=
"毕业日期"
,
isDate
=
true
)
@ExcelProperty
(
"毕业日期"
)
@Schema
(
description
=
"毕业日期"
)
private
Date
eduEndDate
;
/**
* 毕业类型
*/
@ExcelAttribute
(
name
=
"毕业类型"
,
maxLength
=
2
)
@Length
(
max
=
2
,
message
=
"毕业类型不能超过2个字符"
)
@ExcelProperty
(
"毕业类型"
)
@Schema
(
description
=
"毕业类型"
)
private
String
gradutionType
;
/**
* 专业
*/
@ExcelAttribute
(
name
=
"专业"
,
maxLength
=
48
)
@Length
(
max
=
48
,
message
=
"专业不能超过48个字符"
)
@ExcelProperty
(
"专业"
)
@Schema
(
description
=
"专业"
)
private
String
major
;
/**
* 是否最高学历 Y:是,N不是(系统默认为“是”)
*/
@ExcelAttribute
(
name
=
"是否最高学历 Y:是,N不是(系统默认为“是”)"
,
maxLength
=
1
)
@Length
(
max
=
1
,
message
=
"是否最高学历 Y:是,N不是(系统默认为“是”)不能超过1个字符"
)
@ExcelProperty
(
"是否最高学历 Y:是,N不是(系统默认为“是”)"
)
@Schema
(
description
=
"是否最高学历 Y:是,N不是(系统默认为“是”)"
)
private
String
highEduQualFlag
;
/**
* 是否最高学位 Y:是,N不是
*/
@ExcelAttribute
(
name
=
"是否最高学位 Y:是,N不是"
,
maxLength
=
1
)
@Length
(
max
=
1
,
message
=
"是否最高学位 Y:是,N不是不能超过1个字符"
)
@ExcelProperty
(
"是否最高学位 Y:是,N不是"
)
@Schema
(
description
=
"是否最高学位 Y:是,N不是"
)
private
String
highEduDegreeFlag
;
/**
* 是否第一学历 Y:是,N不是
*/
@ExcelAttribute
(
name
=
"是否第一学历 Y:是,N不是"
,
maxLength
=
1
)
@Length
(
max
=
1
,
message
=
"是否第一学历 Y:是,N不是不能超过1个字符"
)
@ExcelProperty
(
"是否第一学历 Y:是,N不是"
)
@Schema
(
description
=
"是否第一学历 Y:是,N不是"
)
private
String
firstDegreeFlag
;
}
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/entity/TGzEmpFamily.java
0 → 100644
View file @
00ac9b10
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
entity
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableLogic
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute
;
import
org.hibernate.validator.constraints.Length
;
import
javax.validation.constraints.NotBlank
;
/**
* 瓜子家庭成员
*
* @author chenyx
* @date 2025-06-13 15:19:03
*/
@Data
@TableName
(
"t_gz_emp_family"
)
@EqualsAndHashCode
(
callSuper
=
true
)
@Schema
(
description
=
"瓜子家庭成员"
)
public
class
TGzEmpFamily
extends
BaseEntity
{
/**
* 主键
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@ExcelProperty
(
"主键"
)
@Schema
(
description
=
"主键"
)
private
String
id
;
/**
* 关联瓜子档案ID
*/
@ExcelAttribute
(
name
=
"关联瓜子档案ID"
,
isNotEmpty
=
true
,
errorInfo
=
"关联瓜子档案ID不能为空"
,
maxLength
=
32
)
@NotBlank
(
message
=
"关联瓜子档案ID不能为空"
)
@Length
(
max
=
32
,
message
=
"关联瓜子档案ID不能超过32个字符"
)
@ExcelProperty
(
"关联瓜子档案ID"
)
@Schema
(
description
=
"关联瓜子档案ID"
)
private
String
empId
;
/**
* 删除标记
*/
@ExcelAttribute
(
name
=
"删除标记"
,
maxLength
=
1
)
@Length
(
max
=
1
,
message
=
"删除标记不能超过1个字符"
)
@ExcelProperty
(
"删除标记"
)
@Schema
(
description
=
"删除标记"
)
@TableLogic
private
String
delFlag
;
/**
* 与本人关系
*/
@ExcelAttribute
(
name
=
"与本人关系"
,
maxLength
=
2
)
@Length
(
max
=
2
,
message
=
"与本人关系不能超过2个字符"
)
@ExcelProperty
(
"与本人关系"
)
@Schema
(
description
=
"与本人关系"
)
private
String
familyRelation
;
/**
* 家庭成员姓名
*/
@ExcelAttribute
(
name
=
"家庭成员姓名"
,
maxLength
=
50
)
@Length
(
max
=
50
,
message
=
"家庭成员姓名不能超过50个字符"
)
@ExcelProperty
(
"家庭成员姓名"
)
@Schema
(
description
=
"家庭成员姓名"
)
private
String
familyName
;
/**
* 联系电话
*/
@ExcelAttribute
(
name
=
"联系电话"
,
maxLength
=
20
)
@Length
(
max
=
20
,
message
=
"联系电话不能超过20个字符"
)
@ExcelProperty
(
"联系电话"
)
@Schema
(
description
=
"联系电话"
)
private
String
familyPhone
;
/**
* 联系人住址
*/
@ExcelAttribute
(
name
=
"联系人住址"
,
maxLength
=
55
)
@Length
(
max
=
55
,
message
=
"联系人住址不能超过55个字符"
)
@ExcelProperty
(
"联系人住址"
)
@Schema
(
description
=
"联系人住址"
)
private
String
familyAddress
;
/**
* 成员所在单位名称
*/
@ExcelAttribute
(
name
=
"成员所在单位名称"
,
maxLength
=
30
)
@Length
(
max
=
30
,
message
=
"成员所在单位名称不能超过30个字符"
)
@ExcelProperty
(
"成员所在单位名称"
)
@Schema
(
description
=
"成员所在单位名称"
)
private
String
familyCompany
;
/**
* 是否客户单位任职: Y:是,N不是
*/
@ExcelAttribute
(
name
=
"是否客户单位任职: Y:是,N不是"
,
maxLength
=
1
)
@Length
(
max
=
1
,
message
=
"是否客户单位任职: Y:是,N不是不能超过1个字符"
)
@ExcelProperty
(
"是否客户单位任职: Y:是,N不是"
)
@Schema
(
description
=
"是否客户单位任职: Y:是,N不是"
)
private
String
gzEmeFlag
;
/**
* 职务
*/
@ExcelAttribute
(
name
=
"职务"
,
maxLength
=
30
)
@Length
(
max
=
30
,
message
=
"职务不能超过30个字符"
)
@ExcelProperty
(
"职务"
)
@Schema
(
description
=
"职务"
)
private
String
jobCode
;
}
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/entity/TGzEmpInfo.java
0 → 100644
View file @
00ac9b10
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
entity
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableLogic
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute
;
import
org.hibernate.validator.constraints.Length
;
import
javax.validation.constraints.NotBlank
;
import
java.util.Date
;
/**
* 瓜子档案表
*
* @author chenyx
* @date 2025-06-13 15:19:03
*/
@Data
@TableName
(
"t_gz_emp_info"
)
@EqualsAndHashCode
(
callSuper
=
true
)
@Schema
(
description
=
"瓜子档案表"
)
public
class
TGzEmpInfo
extends
BaseEntity
{
/**
* 主键
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@ExcelProperty
(
"主键"
)
@Schema
(
description
=
"主键"
)
private
String
id
;
/**
* 关联瓜子offerID
*/
@ExcelAttribute
(
name
=
"关联瓜子offerID"
,
isNotEmpty
=
true
,
errorInfo
=
"关联瓜子offerID不能为空"
,
maxLength
=
32
)
@NotBlank
(
message
=
"关联瓜子offerID不能为空"
)
@Length
(
max
=
32
,
message
=
"关联瓜子offerID不能超过32个字符"
)
@ExcelProperty
(
"关联瓜子offerID"
)
@Schema
(
description
=
"关联瓜子offerID"
)
private
String
offerId
;
/**
* 档案推送状态(0:待推送;1:已推送)
*/
@ExcelAttribute
(
name
=
"档案推送状态(0:待推送;1:已推送)"
,
maxLength
=
1
)
@Length
(
max
=
1
,
message
=
"档案推送状态(0:待推送;1:已推送)不能超过1个字符"
)
@ExcelProperty
(
"档案推送状态(0:待推送;1:已推送)"
)
@Schema
(
description
=
"档案推送状态(0:待推送;1:已推送)"
)
private
String
empPushStatus
;
/**
* 合同信息推送状态(0:待推送;1:已推送)
*/
@ExcelAttribute
(
name
=
"合同信息推送状态(0:待推送;1:已推送)"
,
maxLength
=
1
)
@Length
(
max
=
1
,
message
=
"合同信息推送状态(0:待推送;1:已推送)不能超过1个字符"
)
@ExcelProperty
(
"合同信息推送状态(0:待推送;1:已推送)"
)
@Schema
(
description
=
"合同信息推送状态(0:待推送;1:已推送)"
)
private
String
contractPushStatus
;
/**
* 合同附件推送状态(0:待推送;1:已推送)
*/
@ExcelAttribute
(
name
=
"合同附件推送状态(0:待推送;1:已推送)"
,
maxLength
=
1
)
@Length
(
max
=
1
,
message
=
"合同附件推送状态(0:待推送;1:已推送)不能超过1个字符"
)
@ExcelProperty
(
"合同附件推送状态(0:待推送;1:已推送)"
)
@Schema
(
description
=
"合同附件推送状态(0:待推送;1:已推送)"
)
private
String
contractAttaPushStatus
;
/**
* 删除标记
*/
@ExcelAttribute
(
name
=
"删除标记"
,
maxLength
=
1
)
@Length
(
max
=
1
,
message
=
"删除标记不能超过1个字符"
)
@ExcelProperty
(
"删除标记"
)
@Schema
(
description
=
"删除标记"
)
@TableLogic
private
String
delFlag
;
/**
* 员工姓名
*/
@ExcelAttribute
(
name
=
"员工姓名"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"员工姓名不能超过32个字符"
)
@ExcelProperty
(
"员工姓名"
)
@Schema
(
description
=
"员工姓名"
)
private
String
name
;
/**
* 姓名拼音
*/
@ExcelAttribute
(
name
=
"姓名拼音"
,
maxLength
=
100
)
@Length
(
max
=
100
,
message
=
"姓名拼音不能超过100个字符"
)
@ExcelProperty
(
"姓名拼音"
)
@Schema
(
description
=
"姓名拼音"
)
private
String
nameAc
;
/**
* 出生日期
*/
@ExcelAttribute
(
name
=
"出生日期"
,
isDate
=
true
)
@ExcelProperty
(
"出生日期"
)
@Schema
(
description
=
"出生日期"
)
private
Date
birthdate
;
/**
* 性别
*/
@ExcelAttribute
(
name
=
"性别"
,
maxLength
=
2
)
@Length
(
max
=
2
,
message
=
"性别不能超过2个字符"
)
@ExcelProperty
(
"性别"
)
@Schema
(
description
=
"性别"
)
private
String
sex
;
/**
* 星座
*/
@ExcelAttribute
(
name
=
"星座"
,
maxLength
=
10
)
@Length
(
max
=
10
,
message
=
"星座不能超过10个字符"
)
@ExcelProperty
(
"星座"
)
@Schema
(
description
=
"星座"
)
private
String
constel
;
/**
* 血型
*/
@ExcelAttribute
(
name
=
"血型"
,
maxLength
=
2
)
@Length
(
max
=
2
,
message
=
"血型不能超过2个字符"
)
@ExcelProperty
(
"血型"
)
@Schema
(
description
=
"血型"
)
private
String
bloodType
;
/**
* 首次工作日期
*/
@ExcelAttribute
(
name
=
"首次工作日期"
,
isDate
=
true
)
@ExcelProperty
(
"首次工作日期"
)
@Schema
(
description
=
"首次工作日期"
)
private
Date
startDate
;
/**
* 国籍
*/
@ExcelAttribute
(
name
=
"国籍"
,
maxLength
=
2
)
@Length
(
max
=
2
,
message
=
"国籍不能超过2个字符"
)
@ExcelProperty
(
"国籍"
)
@Schema
(
description
=
"国籍"
)
private
String
country
;
/**
* 籍贯
*/
@ExcelAttribute
(
name
=
"籍贯"
,
maxLength
=
12
)
@Length
(
max
=
12
,
message
=
"籍贯不能超过12个字符"
)
@ExcelProperty
(
"籍贯"
)
@Schema
(
description
=
"籍贯"
)
private
String
nativePlace
;
/**
* 民族
*/
@ExcelAttribute
(
name
=
"民族"
,
maxLength
=
10
)
@Length
(
max
=
10
,
message
=
"民族不能超过10个字符"
)
@ExcelProperty
(
"民族"
)
@Schema
(
description
=
"民族"
)
private
String
ethnicGrpCd
;
/**
* 婚姻状态
*/
@ExcelAttribute
(
name
=
"婚姻状态"
,
maxLength
=
1
)
@Length
(
max
=
1
,
message
=
"婚姻状态不能超过1个字符"
)
@ExcelProperty
(
"婚姻状态"
)
@Schema
(
description
=
"婚姻状态"
)
private
String
marStatus
;
/**
* 政治面貌
*/
@ExcelAttribute
(
name
=
"政治面貌"
,
maxLength
=
3
)
@Length
(
max
=
3
,
message
=
"政治面貌不能超过3个字符"
)
@ExcelProperty
(
"政治面貌"
)
@Schema
(
description
=
"政治面貌"
)
private
String
politicalSta
;
/**
* 是否新参社保(Y:是 N:否)
*/
@ExcelAttribute
(
name
=
"是否新参社保(Y:是 N:否)"
,
maxLength
=
1
)
@Length
(
max
=
1
,
message
=
"是否新参社保(Y:是 N:否)不能超过1个字符"
)
@ExcelProperty
(
"是否新参社保(Y:是 N:否)"
)
@Schema
(
description
=
"是否新参社保(Y:是 N:否)"
)
private
String
insuranceSta
;
/**
* 驾照类型
*/
@ExcelAttribute
(
name
=
"驾照类型"
,
maxLength
=
2
)
@Length
(
max
=
2
,
message
=
"驾照类型不能超过2个字符"
)
@ExcelProperty
(
"驾照类型"
)
@Schema
(
description
=
"驾照类型"
)
private
String
driverType
;
/**
* 驾照失效日期
*/
@ExcelAttribute
(
name
=
"驾照失效日期"
,
isDate
=
true
)
@ExcelProperty
(
"驾照失效日期"
)
@Schema
(
description
=
"驾照失效日期"
)
private
Date
driverLicenExp
;
/**
* 证件类型
*/
@ExcelAttribute
(
name
=
"证件类型"
,
maxLength
=
2
)
@Length
(
max
=
2
,
message
=
"证件类型不能超过2个字符"
)
@ExcelProperty
(
"证件类型"
)
@Schema
(
description
=
"证件类型"
)
private
String
nationalIdType
;
/**
* 证件号码
*/
@ExcelAttribute
(
name
=
"证件号码"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"证件号码不能超过32个字符"
)
@ExcelProperty
(
"证件号码"
)
@Schema
(
description
=
"证件号码"
)
private
String
nationalId
;
/**
* 是否永久有效(Y:是 N:否)
*/
@ExcelAttribute
(
name
=
"是否永久有效(Y:是 N:否)"
,
maxLength
=
2
)
@Length
(
max
=
2
,
message
=
"是否永久有效(Y:是 N:否)不能超过2个字符"
)
@ExcelProperty
(
"是否永久有效(Y:是 N:否)"
)
@Schema
(
description
=
"是否永久有效(Y:是 N:否)"
)
private
String
persistFlag
;
/**
* 证件有效期开始日期
*/
@ExcelAttribute
(
name
=
"证件有效期开始日期"
,
isDate
=
true
)
@ExcelProperty
(
"证件有效期开始日期"
)
@Schema
(
description
=
"证件有效期开始日期"
)
private
Date
nidStartDate
;
/**
* 证件有效期结束日期
*/
@ExcelAttribute
(
name
=
"证件有效期结束日期"
,
isDate
=
true
)
@ExcelProperty
(
"证件有效期结束日期"
)
@Schema
(
description
=
"证件有效期结束日期"
)
private
Date
nidExpiryDate
;
/**
* 移动电话
*/
@ExcelAttribute
(
name
=
"移动电话"
,
maxLength
=
11
)
@Length
(
max
=
11
,
message
=
"移动电话不能超过11个字符"
)
@ExcelProperty
(
"移动电话"
)
@Schema
(
description
=
"移动电话"
)
private
String
phone
;
/**
* 个人邮箱
*/
@ExcelAttribute
(
name
=
"个人邮箱"
,
maxLength
=
50
)
@Length
(
max
=
50
,
message
=
"个人邮箱不能超过50个字符"
)
@ExcelProperty
(
"个人邮箱"
)
@Schema
(
description
=
"个人邮箱"
)
private
String
mail
;
/**
* 地址类型
*/
@ExcelAttribute
(
name
=
"地址类型"
,
maxLength
=
8
)
@Length
(
max
=
8
,
message
=
"地址类型不能超过8个字符"
)
@ExcelProperty
(
"地址类型"
)
@Schema
(
description
=
"地址类型"
)
private
String
addressType
;
/**
* 家庭住址-所在省编码
*/
@ExcelAttribute
(
name
=
"家庭住址-所在省编码"
,
maxLength
=
12
)
@Length
(
max
=
12
,
message
=
"家庭住址-所在省编码不能超过12个字符"
)
@ExcelProperty
(
"家庭住址-所在省编码"
)
@Schema
(
description
=
"家庭住址-所在省编码"
)
private
String
stateId
;
/**
* 家庭住址-所在市编码
*/
@ExcelAttribute
(
name
=
"家庭住址-所在市编码"
,
maxLength
=
12
)
@Length
(
max
=
12
,
message
=
"家庭住址-所在市编码不能超过12个字符"
)
@ExcelProperty
(
"家庭住址-所在市编码"
)
@Schema
(
description
=
"家庭住址-所在市编码"
)
private
String
cityId
;
/**
* 家庭住址-所在区编码
*/
@ExcelAttribute
(
name
=
"家庭住址-所在区编码"
,
maxLength
=
12
)
@Length
(
max
=
12
,
message
=
"家庭住址-所在区编码不能超过12个字符"
)
@ExcelProperty
(
"家庭住址-所在区编码"
)
@Schema
(
description
=
"家庭住址-所在区编码"
)
private
String
countyId
;
/**
* 家庭住址-详细地址
*/
@ExcelAttribute
(
name
=
"家庭住址-详细地址"
,
maxLength
=
200
)
@Length
(
max
=
200
,
message
=
"家庭住址-详细地址不能超过200个字符"
)
@ExcelProperty
(
"家庭住址-详细地址"
)
@Schema
(
description
=
"家庭住址-详细地址"
)
private
String
address
;
/**
* 合同签署方式
*/
@ExcelAttribute
(
name
=
"合同签署方式"
,
maxLength
=
3
)
@Length
(
max
=
3
,
message
=
"合同签署方式不能超过3个字符"
)
@ExcelProperty
(
"合同签署方式"
)
@Schema
(
description
=
"合同签署方式"
)
private
String
sginatureMethod
;
/**
* 合同编号
*/
@ExcelAttribute
(
name
=
"合同编号"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"合同编号不能超过32个字符"
)
@ExcelProperty
(
"合同编号"
)
@Schema
(
description
=
"合同编号"
)
private
String
contractNum
;
/**
* 合同类型
*/
@ExcelAttribute
(
name
=
"合同类型"
,
maxLength
=
2
)
@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
sginatureType
;
/**
* 试用期
*/
@ExcelAttribute
(
name
=
"试用期"
,
maxLength
=
2
)
@Length
(
max
=
2
,
message
=
"试用期不能超过2个字符"
)
@ExcelProperty
(
"试用期"
)
@Schema
(
description
=
"试用期"
)
private
String
probation
;
/**
* 合同签订日期
*/
@ExcelAttribute
(
name
=
"合同签订日期"
,
isDate
=
true
)
@ExcelProperty
(
"合同签订日期"
)
@Schema
(
description
=
"合同签订日期"
)
private
Date
sginatureDt
;
/**
* 合同开始日期
*/
@ExcelAttribute
(
name
=
"合同开始日期"
,
isDate
=
true
)
@ExcelProperty
(
"合同开始日期"
)
@Schema
(
description
=
"合同开始日期"
)
private
Date
contractBeginDt
;
/**
* 合同预计结束日期
*/
@ExcelAttribute
(
name
=
"合同预计结束日期"
,
isDate
=
true
)
@ExcelProperty
(
"合同预计结束日期"
)
@Schema
(
description
=
"合同预计结束日期"
)
private
Date
contractExpEndDt
;
/**
* 合同结束日期
*/
@ExcelAttribute
(
name
=
"合同结束日期"
,
isDate
=
true
)
@ExcelProperty
(
"合同结束日期"
)
@Schema
(
description
=
"合同结束日期"
)
private
Date
contractEndDt
;
/**
* 预计转正日期
*/
@ExcelAttribute
(
name
=
"预计转正日期"
,
isDate
=
true
)
@ExcelProperty
(
"预计转正日期"
)
@Schema
(
description
=
"预计转正日期"
)
private
Date
probationDt
;
/**
* 试用期预计结束日期
*/
@ExcelAttribute
(
name
=
"试用期预计结束日期"
,
isDate
=
true
)
@ExcelProperty
(
"试用期预计结束日期"
)
@Schema
(
description
=
"试用期预计结束日期"
)
private
Date
prcExpDt
;
/**
* 合同工作地
*/
@ExcelAttribute
(
name
=
"合同工作地"
,
maxLength
=
200
)
@Length
(
max
=
200
,
message
=
"合同工作地不能超过200个字符"
)
@ExcelProperty
(
"合同工作地"
)
@Schema
(
description
=
"合同工作地"
)
private
String
workLocation
;
/**
* 状态
*/
@ExcelAttribute
(
name
=
"状态"
,
maxLength
=
2
)
@Length
(
max
=
2
,
message
=
"状态不能超过2个字符"
)
@ExcelProperty
(
"状态"
)
@Schema
(
description
=
"状态"
)
private
String
contractState
;
/**
* 户口类型
*/
@ExcelAttribute
(
name
=
"户口类型"
,
maxLength
=
10
)
@Length
(
max
=
10
,
message
=
"户口类型不能超过10个字符"
)
@ExcelProperty
(
"户口类型"
)
@Schema
(
description
=
"户口类型"
)
private
String
hukouType
;
/**
* 户口-所在省编码
*/
@ExcelAttribute
(
name
=
"户口-所在省编码"
,
maxLength
=
12
)
@Length
(
max
=
12
,
message
=
"户口-所在省编码不能超过12个字符"
)
@ExcelProperty
(
"户口-所在省编码"
)
@Schema
(
description
=
"户口-所在省编码"
)
private
String
hukouProvince
;
/**
* 户口-所在市编码
*/
@ExcelAttribute
(
name
=
"户口-所在市编码"
,
maxLength
=
12
)
@Length
(
max
=
12
,
message
=
"户口-所在市编码不能超过12个字符"
)
@ExcelProperty
(
"户口-所在市编码"
)
@Schema
(
description
=
"户口-所在市编码"
)
private
String
hukouCity
;
/**
* 户口-所在区编码
*/
@ExcelAttribute
(
name
=
"户口-所在区编码"
,
maxLength
=
12
)
@Length
(
max
=
12
,
message
=
"户口-所在区编码不能超过12个字符"
)
@ExcelProperty
(
"户口-所在区编码"
)
@Schema
(
description
=
"户口-所在区编码"
)
private
String
hukouCounty
;
/**
* 户口地址
*/
@ExcelAttribute
(
name
=
"户口地址"
,
maxLength
=
100
)
@Length
(
max
=
100
,
message
=
"户口地址不能超过100个字符"
)
@ExcelProperty
(
"户口地址"
)
@Schema
(
description
=
"户口地址"
)
private
String
hukouDetail
;
/**
* 银行账户类型
*/
@ExcelAttribute
(
name
=
"银行账户类型"
,
maxLength
=
2
)
@Length
(
max
=
2
,
message
=
"银行账户类型不能超过2个字符"
)
@ExcelProperty
(
"银行账户类型"
)
@Schema
(
description
=
"银行账户类型"
)
private
String
accountType
;
/**
* 银行账户状态
*/
@ExcelAttribute
(
name
=
"银行账户状态"
,
maxLength
=
5
)
@Length
(
max
=
5
,
message
=
"银行账户状态不能超过5个字符"
)
@ExcelProperty
(
"银行账户状态"
)
@Schema
(
description
=
"银行账户状态"
)
private
String
accountStatus
;
/**
* 银行账户国家/地区
*/
@ExcelAttribute
(
name
=
"银行账户国家/地区"
,
maxLength
=
100
)
@Length
(
max
=
100
,
message
=
"银行账户国家/地区不能超过100个字符"
)
@ExcelProperty
(
"银行账户国家/地区"
)
@Schema
(
description
=
"银行账户国家/地区"
)
private
String
accountCountry
;
/**
* 开户行银行编码
*/
@ExcelAttribute
(
name
=
"开户行银行编码"
,
maxLength
=
100
)
@Length
(
max
=
100
,
message
=
"开户行银行编码不能超过100个字符"
)
@ExcelProperty
(
"开户行银行编码"
)
@Schema
(
description
=
"开户行银行编码"
)
private
String
bankCd
;
/**
* 联行号ID
*/
@ExcelAttribute
(
name
=
"联行号ID"
,
maxLength
=
100
)
@Length
(
max
=
100
,
message
=
"联行号ID不能超过100个字符"
)
@ExcelProperty
(
"联行号ID"
)
@Schema
(
description
=
"联行号ID"
)
private
String
cnapsId
;
/**
* 开户行名称
*/
@ExcelAttribute
(
name
=
"开户行名称"
,
maxLength
=
100
)
@Length
(
max
=
100
,
message
=
"开户行名称不能超过100个字符"
)
@ExcelProperty
(
"开户行名称"
)
@Schema
(
description
=
"开户行名称"
)
private
String
bankName
;
/**
* 开户行所在省
*/
@ExcelAttribute
(
name
=
"开户行所在省"
,
maxLength
=
100
)
@Length
(
max
=
100
,
message
=
"开户行所在省不能超过100个字符"
)
@ExcelProperty
(
"开户行所在省"
)
@Schema
(
description
=
"开户行所在省"
)
private
String
accountProvince
;
/**
* 开户行所在市
*/
@ExcelAttribute
(
name
=
"开户行所在市"
,
maxLength
=
100
)
@Length
(
max
=
100
,
message
=
"开户行所在市不能超过100个字符"
)
@ExcelProperty
(
"开户行所在市"
)
@Schema
(
description
=
"开户行所在市"
)
private
String
accountCity
;
/**
* 账号ID
*/
@ExcelAttribute
(
name
=
"账号ID"
,
maxLength
=
100
)
@Length
(
max
=
100
,
message
=
"账号ID不能超过100个字符"
)
@ExcelProperty
(
"账号ID"
)
@Schema
(
description
=
"账号ID"
)
private
String
accountEcId
;
/**
* 持卡人姓名
*/
@ExcelAttribute
(
name
=
"持卡人姓名"
,
maxLength
=
100
)
@Length
(
max
=
100
,
message
=
"持卡人姓名不能超过100个字符"
)
@ExcelProperty
(
"持卡人姓名"
)
@Schema
(
description
=
"持卡人姓名"
)
private
String
accountName
;
}
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/entity/TGzEmpSkill.java
0 → 100644
View file @
00ac9b10
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
entity
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableLogic
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute
;
import
org.hibernate.validator.constraints.Length
;
import
java.util.Date
;
import
javax.validation.constraints.NotBlank
;
/**
* 瓜子技能证书
*
* @author chenyx
* @date 2025-06-13 15:19:03
*/
@Data
@TableName
(
"t_gz_emp_skill"
)
@EqualsAndHashCode
(
callSuper
=
true
)
@Schema
(
description
=
"瓜子技能证书"
)
public
class
TGzEmpSkill
extends
BaseEntity
{
/**
* 主键
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@ExcelProperty
(
"主键"
)
@Schema
(
description
=
"主键"
)
private
String
id
;
/**
* 关联瓜子档案ID
*/
@ExcelAttribute
(
name
=
"关联瓜子档案ID"
,
isNotEmpty
=
true
,
errorInfo
=
"关联瓜子档案ID不能为空"
,
maxLength
=
32
)
@NotBlank
(
message
=
"关联瓜子档案ID不能为空"
)
@Length
(
max
=
32
,
message
=
"关联瓜子档案ID不能超过32个字符"
)
@ExcelProperty
(
"关联瓜子档案ID"
)
@Schema
(
description
=
"关联瓜子档案ID"
)
private
String
empId
;
/**
* 删除标记
*/
@ExcelAttribute
(
name
=
"删除标记"
,
maxLength
=
1
)
@Length
(
max
=
1
,
message
=
"删除标记不能超过1个字符"
)
@ExcelProperty
(
"删除标记"
)
@Schema
(
description
=
"删除标记"
)
@TableLogic
private
String
delFlag
;
/**
* 专业技能名称
*/
@ExcelAttribute
(
name
=
"专业技能名称"
,
maxLength
=
30
)
@Length
(
max
=
30
,
message
=
"专业技能名称不能超过30个字符"
)
@ExcelProperty
(
"专业技能名称"
)
@Schema
(
description
=
"专业技能名称"
)
private
String
skillName
;
/**
* 获得日期
*/
@ExcelAttribute
(
name
=
"获得日期"
,
isDate
=
true
)
@ExcelProperty
(
"获得日期"
)
@Schema
(
description
=
"获得日期"
)
private
Date
skillDate
;
/**
* 授予单位
*/
@ExcelAttribute
(
name
=
"授予单位"
,
maxLength
=
30
)
@Length
(
max
=
30
,
message
=
"授予单位不能超过30个字符"
)
@ExcelProperty
(
"授予单位"
)
@Schema
(
description
=
"授予单位"
)
private
String
skillOrg
;
/**
* 技术等级
*/
@ExcelAttribute
(
name
=
"技术等级"
,
maxLength
=
30
)
@Length
(
max
=
30
,
message
=
"技术等级不能超过30个字符"
)
@ExcelProperty
(
"技术等级"
)
@Schema
(
description
=
"技术等级"
)
private
String
skillLevel
;
}
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/entity/TGzEmpWork.java
0 → 100644
View file @
00ac9b10
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
entity
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableLogic
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute
;
import
org.hibernate.validator.constraints.Length
;
import
java.util.Date
;
import
javax.validation.constraints.NotBlank
;
/**
* 瓜子工作经历
*
* @author chenyx
* @date 2025-06-13 15:19:04
*/
@Data
@TableName
(
"t_gz_emp_work"
)
@EqualsAndHashCode
(
callSuper
=
true
)
@Schema
(
description
=
"瓜子工作经历"
)
public
class
TGzEmpWork
extends
BaseEntity
{
/**
* 主键
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@ExcelProperty
(
"主键"
)
@Schema
(
description
=
"主键"
)
private
String
id
;
/**
* 关联瓜子档案ID
*/
@ExcelAttribute
(
name
=
"关联瓜子档案ID"
,
isNotEmpty
=
true
,
errorInfo
=
"关联瓜子档案ID不能为空"
,
maxLength
=
32
)
@NotBlank
(
message
=
"关联瓜子档案ID不能为空"
)
@Length
(
max
=
32
,
message
=
"关联瓜子档案ID不能超过32个字符"
)
@ExcelProperty
(
"关联瓜子档案ID"
)
@Schema
(
description
=
"关联瓜子档案ID"
)
private
String
empId
;
/**
* 删除标记
*/
@ExcelAttribute
(
name
=
"删除标记"
,
maxLength
=
1
)
@Length
(
max
=
1
,
message
=
"删除标记不能超过1个字符"
)
@ExcelProperty
(
"删除标记"
)
@Schema
(
description
=
"删除标记"
)
@TableLogic
private
String
delFlag
;
/**
* 单位名称
*/
@ExcelAttribute
(
name
=
"单位名称"
,
maxLength
=
30
)
@Length
(
max
=
30
,
message
=
"单位名称不能超过30个字符"
)
@ExcelProperty
(
"单位名称"
)
@Schema
(
description
=
"单位名称"
)
private
String
workUnit
;
/**
* 开始工作日期
*/
@ExcelAttribute
(
name
=
"开始工作日期"
,
isDate
=
true
)
@ExcelProperty
(
"开始工作日期"
)
@Schema
(
description
=
"开始工作日期"
)
private
Date
workStartDate
;
/**
* 结束工作日期
*/
@ExcelAttribute
(
name
=
"结束工作日期"
,
isDate
=
true
)
@ExcelProperty
(
"结束工作日期"
)
@Schema
(
description
=
"结束工作日期"
)
private
Date
workEndDate
;
/**
* 工作部门
*/
@ExcelAttribute
(
name
=
"工作部门"
,
maxLength
=
30
)
@Length
(
max
=
30
,
message
=
"工作部门不能超过30个字符"
)
@ExcelProperty
(
"工作部门"
)
@Schema
(
description
=
"工作部门"
)
private
String
workDept
;
/**
* 职务名称
*/
@ExcelAttribute
(
name
=
"职务名称"
,
maxLength
=
30
)
@Length
(
max
=
30
,
message
=
"职务名称不能超过30个字符"
)
@ExcelProperty
(
"职务名称"
)
@Schema
(
description
=
"职务名称"
)
private
String
workJob
;
/**
* 证明人
*/
@ExcelAttribute
(
name
=
"证明人"
,
maxLength
=
30
)
@Length
(
max
=
30
,
message
=
"证明人不能超过30个字符"
)
@ExcelProperty
(
"证明人"
)
@Schema
(
description
=
"证明人"
)
private
String
certifierName
;
/**
* 证明人联系电话
*/
@ExcelAttribute
(
name
=
"证明人联系电话"
,
maxLength
=
20
)
@Length
(
max
=
20
,
message
=
"证明人联系电话不能超过20个字符"
)
@ExcelProperty
(
"证明人联系电话"
)
@Schema
(
description
=
"证明人联系电话"
)
private
String
certifierPhone
;
}
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/vo/TGzEmpContactInfoSearchVo.java
0 → 100644
View file @
00ac9b10
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
vo
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TGzEmpContactInfo
;
import
lombok.Data
;
/**
* 瓜子紧急联系人
*
* @author chenyx
* @date 2025-06-13 15:19:04
*/
@Data
public
class
TGzEmpContactInfoSearchVo
extends
TGzEmpContactInfo
{
/**
* 多选导出或删除等操作
*/
@Schema
(
description
=
"选中ID,多个逗号分割"
)
private
String
ids
;
}
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/vo/TGzEmpEducationSearchVo.java
0 → 100644
View file @
00ac9b10
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
vo
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TGzEmpEducation
;
import
lombok.Data
;
/**
* 瓜子教育经历
*
* @author chenyx
* @date 2025-06-13 15:19:04
*/
@Data
public
class
TGzEmpEducationSearchVo
extends
TGzEmpEducation
{
/**
* 多选导出或删除等操作
*/
@Schema
(
description
=
"选中ID,多个逗号分割"
)
private
String
ids
;
}
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/vo/TGzEmpFamilySearchVo.java
0 → 100644
View file @
00ac9b10
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
vo
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TGzEmpFamily
;
import
lombok.Data
;
/**
* 瓜子家庭成员
*
* @author chenyx
* @date 2025-06-13 15:19:03
*/
@Data
public
class
TGzEmpFamilySearchVo
extends
TGzEmpFamily
{
/**
* 多选导出或删除等操作
*/
@Schema
(
description
=
"选中ID,多个逗号分割"
)
private
String
ids
;
}
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/vo/TGzEmpInfoSearchVo.java
0 → 100644
View file @
00ac9b10
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
vo
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TGzEmpInfo
;
import
lombok.Data
;
/**
* 瓜子档案表
*
* @author chenyx
* @date 2025-06-13 15:19:03
*/
@Data
public
class
TGzEmpInfoSearchVo
extends
TGzEmpInfo
{
/**
* 多选导出或删除等操作
*/
@Schema
(
description
=
"选中ID,多个逗号分割"
)
private
String
ids
;
/**
* @Author fxj
* 查询数据起
**/
private
int
limitStart
;
/**
* @Author fxj
* 查询数据止
**/
private
int
limitEnd
;
}
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/vo/TGzEmpSkillSearchVo.java
0 → 100644
View file @
00ac9b10
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
vo
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TGzEmpSkill
;
import
lombok.Data
;
/**
* 瓜子技能证书
*
* @author chenyx
* @date 2025-06-13 15:19:03
*/
@Data
public
class
TGzEmpSkillSearchVo
extends
TGzEmpSkill
{
/**
* 多选导出或删除等操作
*/
@Schema
(
description
=
"选中ID,多个逗号分割"
)
private
String
ids
;
}
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/vo/TGzEmpWorkSearchVo.java
0 → 100644
View file @
00ac9b10
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
vo
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TGzEmpWork
;
import
lombok.Data
;
/**
* 瓜子工作经历
*
* @author chenyx
* @date 2025-06-13 15:19:04
*/
@Data
public
class
TGzEmpWorkSearchVo
extends
TGzEmpWork
{
/**
* 多选导出或删除等操作
*/
@Schema
(
description
=
"选中ID,多个逗号分割"
)
private
String
ids
;
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/controller/TGzEmpContactInfoController.java
0 → 100644
View file @
00ac9b10
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
controller
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.common.log.annotation.SysLog
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TGzEmpContactInfo
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.TGzEmpContactInfoService
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.TGzEmpContactInfoSearchVo
;
import
lombok.extern.log4j.Log4j2
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
lombok.RequiredArgsConstructor
;
import
org.springframework.web.bind.annotation.*
;
import
java.util.List
;
/**
* 瓜子紧急联系人
*
* @author chenyx
* @date 2025-06-13 15:19:04
*/
@Log4j2
@RestController
@RequiredArgsConstructor
@RequestMapping
(
"/tgzempcontactinfo"
)
@Tag
(
name
=
"瓜子紧急联系人管理"
)
public
class
TGzEmpContactInfoController
{
private
final
TGzEmpContactInfoService
tGzEmpContactInfoService
;
/**
* 简单分页查询
*
* @param page 分页对象
* @param tGzEmpContactInfo 瓜子紧急联系人
* @return
*/
@Operation
(
description
=
"简单分页查询"
)
@GetMapping
(
"/page"
)
public
R
<
IPage
<
TGzEmpContactInfo
>>
getTGzEmpContactInfoPage
(
Page
<
TGzEmpContactInfo
>
page
,
TGzEmpContactInfoSearchVo
tGzEmpContactInfo
)
{
return
new
R
<>(
tGzEmpContactInfoService
.
getTGzEmpContactInfoPage
(
page
,
tGzEmpContactInfo
));
}
/**
* 不分页查询
*
* @param tGzEmpContactInfo 瓜子紧急联系人
* @return
*/
@Operation
(
summary
=
"不分页查询"
,
description
=
"不分页查询"
)
@PostMapping
(
"/noPage"
)
public
R
<
List
<
TGzEmpContactInfo
>>
getTGzEmpContactInfoNoPage
(
@RequestBody
TGzEmpContactInfoSearchVo
tGzEmpContactInfo
)
{
return
R
.
ok
(
tGzEmpContactInfoService
.
noPageDiy
(
tGzEmpContactInfo
));
}
/**
* 通过id查询瓜子紧急联系人
*
* @param id id
* @return R
*/
@Operation
(
summary
=
"通过id查询"
,
description
=
"通过id查询:hasPermission('archives_tgzempcontactinfo_get')"
)
@GetMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('archives_tgzempcontactinfo_get')"
)
public
R
<
TGzEmpContactInfo
>
getById
(
@PathVariable
(
"id"
)
String
id
)
{
return
R
.
ok
(
tGzEmpContactInfoService
.
getById
(
id
));
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/controller/TGzEmpEducationController.java
0 → 100644
View file @
00ac9b10
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
controller
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.common.log.annotation.SysLog
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TGzEmpEducation
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.TGzEmpEducationService
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.TGzEmpEducationSearchVo
;
import
lombok.extern.log4j.Log4j2
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
lombok.RequiredArgsConstructor
;
import
org.springframework.web.bind.annotation.*
;
import
java.util.List
;
/**
* 瓜子教育经历
*
* @author chenyx
* @date 2025-06-13 15:19:04
*/
@Log4j2
@RestController
@RequiredArgsConstructor
@RequestMapping
(
"/tgzempeducation"
)
@Tag
(
name
=
"瓜子教育经历管理"
)
public
class
TGzEmpEducationController
{
private
final
TGzEmpEducationService
tGzEmpEducationService
;
/**
* 简单分页查询
*
* @param page 分页对象
* @param tGzEmpEducation 瓜子教育经历
* @return
*/
@Operation
(
description
=
"简单分页查询"
)
@GetMapping
(
"/page"
)
public
R
<
IPage
<
TGzEmpEducation
>>
getTGzEmpEducationPage
(
Page
<
TGzEmpEducation
>
page
,
TGzEmpEducationSearchVo
tGzEmpEducation
)
{
return
new
R
<>(
tGzEmpEducationService
.
getTGzEmpEducationPage
(
page
,
tGzEmpEducation
));
}
/**
* 不分页查询
*
* @param tGzEmpEducation 瓜子教育经历
* @return
*/
@Operation
(
summary
=
"不分页查询"
,
description
=
"不分页查询"
)
@PostMapping
(
"/noPage"
)
public
R
<
List
<
TGzEmpEducation
>>
getTGzEmpEducationNoPage
(
@RequestBody
TGzEmpEducationSearchVo
tGzEmpEducation
)
{
return
R
.
ok
(
tGzEmpEducationService
.
noPageDiy
(
tGzEmpEducation
));
}
/**
* 通过id查询瓜子教育经历
*
* @param id id
* @return R
*/
@Operation
(
summary
=
"通过id查询"
,
description
=
"通过id查询:hasPermission('archives_tgzempeducation_get')"
)
@GetMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('archives_tgzempeducation_get')"
)
public
R
<
TGzEmpEducation
>
getById
(
@PathVariable
(
"id"
)
String
id
)
{
return
R
.
ok
(
tGzEmpEducationService
.
getById
(
id
));
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/controller/TGzEmpFamilyController.java
0 → 100644
View file @
00ac9b10
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
controller
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.common.log.annotation.SysLog
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TGzEmpFamily
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.TGzEmpFamilyService
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.TGzEmpFamilySearchVo
;
import
lombok.extern.log4j.Log4j2
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
lombok.RequiredArgsConstructor
;
import
org.springframework.web.bind.annotation.*
;
import
java.util.List
;
/**
* 瓜子家庭成员
*
* @author chenyx
* @date 2025-06-13 15:19:03
*/
@Log4j2
@RestController
@RequiredArgsConstructor
@RequestMapping
(
"/tgzempfamily"
)
@Tag
(
name
=
"瓜子家庭成员管理"
)
public
class
TGzEmpFamilyController
{
private
final
TGzEmpFamilyService
tGzEmpFamilyService
;
/**
* 简单分页查询
*
* @param page 分页对象
* @param tGzEmpFamily 瓜子家庭成员
* @return
*/
@Operation
(
description
=
"简单分页查询"
)
@GetMapping
(
"/page"
)
public
R
<
IPage
<
TGzEmpFamily
>>
getTGzEmpFamilyPage
(
Page
<
TGzEmpFamily
>
page
,
TGzEmpFamilySearchVo
tGzEmpFamily
)
{
return
new
R
<>(
tGzEmpFamilyService
.
getTGzEmpFamilyPage
(
page
,
tGzEmpFamily
));
}
/**
* 不分页查询
*
* @param tGzEmpFamily 瓜子家庭成员
* @return
*/
@Operation
(
summary
=
"不分页查询"
,
description
=
"不分页查询"
)
@PostMapping
(
"/noPage"
)
public
R
<
List
<
TGzEmpFamily
>>
getTGzEmpFamilyNoPage
(
@RequestBody
TGzEmpFamilySearchVo
tGzEmpFamily
)
{
return
R
.
ok
(
tGzEmpFamilyService
.
noPageDiy
(
tGzEmpFamily
));
}
/**
* 通过id查询瓜子家庭成员
*
* @param id id
* @return R
*/
@Operation
(
summary
=
"通过id查询"
,
description
=
"通过id查询:hasPermission('archives_tgzempfamily_get')"
)
@GetMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('archives_tgzempfamily_get')"
)
public
R
<
TGzEmpFamily
>
getById
(
@PathVariable
(
"id"
)
String
id
)
{
return
R
.
ok
(
tGzEmpFamilyService
.
getById
(
id
));
}
/**
* 新增瓜子家庭成员
*
* @param tGzEmpFamily 瓜子家庭成员
* @return R
*/
@Operation
(
summary
=
"新增瓜子家庭成员"
,
description
=
"新增瓜子家庭成员:hasPermission('archives_tgzempfamily_add')"
)
@SysLog
(
"新增瓜子家庭成员"
)
@PostMapping
@PreAuthorize
(
"@pms.hasPermission('archives_tgzempfamily_add')"
)
public
R
<
Boolean
>
save
(
@RequestBody
TGzEmpFamily
tGzEmpFamily
)
{
return
R
.
ok
(
tGzEmpFamilyService
.
save
(
tGzEmpFamily
));
}
/**
* 修改瓜子家庭成员
*
* @param tGzEmpFamily 瓜子家庭成员
* @return R
*/
@Operation
(
summary
=
"修改瓜子家庭成员"
,
description
=
"修改瓜子家庭成员:hasPermission('archives_tgzempfamily_edit')"
)
@SysLog
(
"修改瓜子家庭成员"
)
@PutMapping
@PreAuthorize
(
"@pms.hasPermission('archives_tgzempfamily_edit')"
)
public
R
<
Boolean
>
updateById
(
@RequestBody
TGzEmpFamily
tGzEmpFamily
)
{
return
R
.
ok
(
tGzEmpFamilyService
.
updateById
(
tGzEmpFamily
));
}
/**
* 通过id删除瓜子家庭成员
*
* @param id id
* @return R
*/
@Operation
(
summary
=
"通过id删除瓜子家庭成员"
,
description
=
"通过id删除瓜子家庭成员:hasPermission('archives_tgzempfamily_del')"
)
@SysLog
(
"通过id删除瓜子家庭成员"
)
@DeleteMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('archives_tgzempfamily_del')"
)
public
R
<
Boolean
>
removeById
(
@PathVariable
String
id
)
{
return
R
.
ok
(
tGzEmpFamilyService
.
removeById
(
id
));
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/controller/TGzEmpInfoController.java
0 → 100644
View file @
00ac9b10
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
controller
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.common.log.annotation.SysLog
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TGzEmpInfo
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.TGzEmpInfoService
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.TGzEmpInfoSearchVo
;
import
lombok.extern.log4j.Log4j2
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
lombok.RequiredArgsConstructor
;
import
org.springframework.web.bind.annotation.*
;
import
javax.servlet.http.HttpServletResponse
;
import
java.util.List
;
/**
* 瓜子档案表
*
* @author chenyx
* @date 2025-06-13 15:19:03
*/
@Log4j2
@RestController
@RequiredArgsConstructor
@RequestMapping
(
"/tgzempinfo"
)
@Tag
(
name
=
"瓜子档案表管理"
)
public
class
TGzEmpInfoController
{
private
final
TGzEmpInfoService
tGzEmpInfoService
;
/**
* 简单分页查询
*
* @param page 分页对象
* @param tGzEmpInfo 瓜子档案表
* @return
*/
@Operation
(
description
=
"简单分页查询"
)
@GetMapping
(
"/page"
)
public
R
<
IPage
<
TGzEmpInfo
>>
getTGzEmpInfoPage
(
Page
<
TGzEmpInfo
>
page
,
TGzEmpInfoSearchVo
tGzEmpInfo
)
{
return
new
R
<>(
tGzEmpInfoService
.
getTGzEmpInfoPage
(
page
,
tGzEmpInfo
));
}
/**
* 不分页查询
*
* @param tGzEmpInfo 瓜子档案表
* @return
*/
@Operation
(
summary
=
"不分页查询"
,
description
=
"不分页查询"
)
@PostMapping
(
"/noPage"
)
public
R
<
List
<
TGzEmpInfo
>>
getTGzEmpInfoNoPage
(
@RequestBody
TGzEmpInfoSearchVo
tGzEmpInfo
)
{
return
R
.
ok
(
tGzEmpInfoService
.
noPageDiy
(
tGzEmpInfo
));
}
/**
* 通过id查询瓜子档案表
*
* @param id id
* @return R
*/
@Operation
(
summary
=
"通过id查询"
,
description
=
"通过id查询:hasPermission('archives_tgzempinfo_get')"
)
@GetMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('archives_tgzempinfo_get')"
)
public
R
<
TGzEmpInfo
>
getById
(
@PathVariable
(
"id"
)
String
id
)
{
return
R
.
ok
(
tGzEmpInfoService
.
getById
(
id
));
}
/**
* 新增瓜子档案表
*
* @param tGzEmpInfo 瓜子档案表
* @return R
*/
@Operation
(
summary
=
"新增瓜子档案表"
,
description
=
"新增瓜子档案表:hasPermission('archives_tgzempinfo_add')"
)
@SysLog
(
"新增瓜子档案表"
)
@PostMapping
@PreAuthorize
(
"@pms.hasPermission('archives_tgzempinfo_add')"
)
public
R
<
Boolean
>
save
(
@RequestBody
TGzEmpInfo
tGzEmpInfo
)
{
return
R
.
ok
(
tGzEmpInfoService
.
save
(
tGzEmpInfo
));
}
/**
* 修改瓜子档案表
*
* @param tGzEmpInfo 瓜子档案表
* @return R
*/
@Operation
(
summary
=
"修改瓜子档案表"
,
description
=
"修改瓜子档案表:hasPermission('archives_tgzempinfo_edit')"
)
@SysLog
(
"修改瓜子档案表"
)
@PutMapping
@PreAuthorize
(
"@pms.hasPermission('archives_tgzempinfo_edit')"
)
public
R
<
Boolean
>
updateById
(
@RequestBody
TGzEmpInfo
tGzEmpInfo
)
{
return
R
.
ok
(
tGzEmpInfoService
.
updateById
(
tGzEmpInfo
));
}
/**
* 通过id删除瓜子档案表
*
* @param id id
* @return R
*/
@Operation
(
summary
=
"通过id删除瓜子档案表"
,
description
=
"通过id删除瓜子档案表:hasPermission('archives_tgzempinfo_del')"
)
@SysLog
(
"通过id删除瓜子档案表"
)
@DeleteMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('archives_tgzempinfo_del')"
)
public
R
<
Boolean
>
removeById
(
@PathVariable
String
id
)
{
return
R
.
ok
(
tGzEmpInfoService
.
removeById
(
id
));
}
/**
* 瓜子档案表 批量导出
*
* @author chenyx
* @date 2025-06-13 15:19:03
**/
@Operation
(
description
=
"导出瓜子档案表 hasPermission('archives_tgzempinfo-export')"
)
@PostMapping
(
"/export"
)
@PreAuthorize
(
"@pms.hasPermission('archives_tgzempinfo-export')"
)
public
void
export
(
HttpServletResponse
response
,
@RequestBody
TGzEmpInfoSearchVo
searchVo
)
{
tGzEmpInfoService
.
listExport
(
response
,
searchVo
);
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/controller/TGzEmpSkillController.java
0 → 100644
View file @
00ac9b10
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
controller
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.common.log.annotation.SysLog
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TGzEmpSkill
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.TGzEmpSkillService
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.TGzEmpSkillSearchVo
;
import
lombok.extern.log4j.Log4j2
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
lombok.RequiredArgsConstructor
;
import
org.springframework.web.bind.annotation.*
;
import
java.util.List
;
/**
* 瓜子技能证书
*
* @author chenyx
* @date 2025-06-13 15:19:03
*/
@Log4j2
@RestController
@RequiredArgsConstructor
@RequestMapping
(
"/tgzempskill"
)
@Tag
(
name
=
"瓜子技能证书管理"
)
public
class
TGzEmpSkillController
{
private
final
TGzEmpSkillService
tGzEmpSkillService
;
/**
* 简单分页查询
*
* @param page 分页对象
* @param tGzEmpSkill 瓜子技能证书
* @return
*/
@Operation
(
description
=
"简单分页查询"
)
@GetMapping
(
"/page"
)
public
R
<
IPage
<
TGzEmpSkill
>>
getTGzEmpSkillPage
(
Page
<
TGzEmpSkill
>
page
,
TGzEmpSkillSearchVo
tGzEmpSkill
)
{
return
new
R
<>(
tGzEmpSkillService
.
getTGzEmpSkillPage
(
page
,
tGzEmpSkill
));
}
/**
* 不分页查询
*
* @param tGzEmpSkill 瓜子技能证书
* @return
*/
@Operation
(
summary
=
"不分页查询"
,
description
=
"不分页查询"
)
@PostMapping
(
"/noPage"
)
public
R
<
List
<
TGzEmpSkill
>>
getTGzEmpSkillNoPage
(
@RequestBody
TGzEmpSkillSearchVo
tGzEmpSkill
)
{
return
R
.
ok
(
tGzEmpSkillService
.
noPageDiy
(
tGzEmpSkill
));
}
/**
* 通过id查询瓜子技能证书
*
* @param id id
* @return R
*/
@Operation
(
summary
=
"通过id查询"
,
description
=
"通过id查询:hasPermission('archives_tgzempskill_get')"
)
@GetMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('archives_tgzempskill_get')"
)
public
R
<
TGzEmpSkill
>
getById
(
@PathVariable
(
"id"
)
String
id
)
{
return
R
.
ok
(
tGzEmpSkillService
.
getById
(
id
));
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/controller/TGzEmpWorkController.java
0 → 100644
View file @
00ac9b10
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
controller
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.common.log.annotation.SysLog
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TGzEmpWork
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.TGzEmpWorkService
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.TGzEmpWorkSearchVo
;
import
lombok.extern.log4j.Log4j2
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
lombok.RequiredArgsConstructor
;
import
org.springframework.web.bind.annotation.*
;
import
java.util.List
;
/**
* 瓜子工作经历
*
* @author chenyx
* @date 2025-06-13 15:19:04
*/
@Log4j2
@RestController
@RequiredArgsConstructor
@RequestMapping
(
"/tgzempwork"
)
@Tag
(
name
=
"瓜子工作经历管理"
)
public
class
TGzEmpWorkController
{
private
final
TGzEmpWorkService
tGzEmpWorkService
;
/**
* 简单分页查询
*
* @param page 分页对象
* @param tGzEmpWork 瓜子工作经历
* @return
*/
@Operation
(
description
=
"简单分页查询"
)
@GetMapping
(
"/page"
)
public
R
<
IPage
<
TGzEmpWork
>>
getTGzEmpWorkPage
(
Page
<
TGzEmpWork
>
page
,
TGzEmpWorkSearchVo
tGzEmpWork
)
{
return
new
R
<>(
tGzEmpWorkService
.
getTGzEmpWorkPage
(
page
,
tGzEmpWork
));
}
/**
* 不分页查询
*
* @param tGzEmpWork 瓜子工作经历
* @return
*/
@Operation
(
summary
=
"不分页查询"
,
description
=
"不分页查询"
)
@PostMapping
(
"/noPage"
)
public
R
<
List
<
TGzEmpWork
>>
getTGzEmpWorkNoPage
(
@RequestBody
TGzEmpWorkSearchVo
tGzEmpWork
)
{
return
R
.
ok
(
tGzEmpWorkService
.
noPageDiy
(
tGzEmpWork
));
}
/**
* 通过id查询瓜子工作经历
*
* @param id id
* @return R
*/
@Operation
(
summary
=
"通过id查询"
,
description
=
"通过id查询:hasPermission('archives_tgzempwork_get')"
)
@GetMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('archives_tgzempwork_get')"
)
public
R
<
TGzEmpWork
>
getById
(
@PathVariable
(
"id"
)
String
id
)
{
return
R
.
ok
(
tGzEmpWorkService
.
getById
(
id
));
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/mapper/TGzEmpContactInfoMapper.java
0 → 100644
View file @
00ac9b10
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TGzEmpContactInfo
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
/**
* 瓜子紧急联系人
*
* @author chenyx
* @date 2025-06-13 15:19:04
*/
@Mapper
public
interface
TGzEmpContactInfoMapper
extends
BaseMapper
<
TGzEmpContactInfo
>
{
/**
* 瓜子紧急联系人简单分页查询
* @param tGzEmpContactInfo 瓜子紧急联系人
* @return
*/
IPage
<
TGzEmpContactInfo
>
getTGzEmpContactInfoPage
(
Page
<
TGzEmpContactInfo
>
page
,
@Param
(
"tGzEmpContactInfo"
)
TGzEmpContactInfo
tGzEmpContactInfo
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/mapper/TGzEmpEducationMapper.java
0 → 100644
View file @
00ac9b10
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TGzEmpEducation
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
/**
* 瓜子教育经历
*
* @author chenyx
* @date 2025-06-13 15:19:04
*/
@Mapper
public
interface
TGzEmpEducationMapper
extends
BaseMapper
<
TGzEmpEducation
>
{
/**
* 瓜子教育经历简单分页查询
* @param tGzEmpEducation 瓜子教育经历
* @return
*/
IPage
<
TGzEmpEducation
>
getTGzEmpEducationPage
(
Page
<
TGzEmpEducation
>
page
,
@Param
(
"tGzEmpEducation"
)
TGzEmpEducation
tGzEmpEducation
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/mapper/TGzEmpFamilyMapper.java
0 → 100644
View file @
00ac9b10
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TGzEmpFamily
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
/**
* 瓜子家庭成员
*
* @author chenyx
* @date 2025-06-13 15:19:03
*/
@Mapper
public
interface
TGzEmpFamilyMapper
extends
BaseMapper
<
TGzEmpFamily
>
{
/**
* 瓜子家庭成员简单分页查询
*
* @param tGzEmpFamily 瓜子家庭成员
* @return
*/
IPage
<
TGzEmpFamily
>
getTGzEmpFamilyPage
(
Page
<
TGzEmpFamily
>
page
,
@Param
(
"tGzEmpFamily"
)
TGzEmpFamily
tGzEmpFamily
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/mapper/TGzEmpInfoMapper.java
0 → 100644
View file @
00ac9b10
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TGzEmpInfo
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
/**
* 瓜子档案表
*
* @author chenyx
* @date 2025-06-13 15:19:03
*/
@Mapper
public
interface
TGzEmpInfoMapper
extends
BaseMapper
<
TGzEmpInfo
>
{
/**
* 瓜子档案表简单分页查询
*
* @param tGzEmpInfo 瓜子档案表
* @return
*/
IPage
<
TGzEmpInfo
>
getTGzEmpInfoPage
(
Page
<
TGzEmpInfo
>
page
,
@Param
(
"tGzEmpInfo"
)
TGzEmpInfo
tGzEmpInfo
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/mapper/TGzEmpSkillMapper.java
0 → 100644
View file @
00ac9b10
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TGzEmpSkill
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
/**
* 瓜子技能证书
*
* @author chenyx
* @date 2025-06-13 15:19:03
*/
@Mapper
public
interface
TGzEmpSkillMapper
extends
BaseMapper
<
TGzEmpSkill
>
{
/**
* 瓜子技能证书简单分页查询
*
* @param tGzEmpSkill 瓜子技能证书
* @return
*/
IPage
<
TGzEmpSkill
>
getTGzEmpSkillPage
(
Page
<
TGzEmpSkill
>
page
,
@Param
(
"tGzEmpSkill"
)
TGzEmpSkill
tGzEmpSkill
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/mapper/TGzEmpWorkMapper.java
0 → 100644
View file @
00ac9b10
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TGzEmpWork
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
/**
* 瓜子工作经历
*
* @author chenyx
* @date 2025-06-13 15:19:04
*/
@Mapper
public
interface
TGzEmpWorkMapper
extends
BaseMapper
<
TGzEmpWork
>
{
/**
* 瓜子工作经历简单分页查询
*
* @param tGzEmpWork 瓜子工作经历
* @return
*/
IPage
<
TGzEmpWork
>
getTGzEmpWorkPage
(
Page
<
TGzEmpWork
>
page
,
@Param
(
"tGzEmpWork"
)
TGzEmpWork
tGzEmpWork
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/TGzEmpContactInfoService.java
0 → 100644
View file @
00ac9b10
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
service
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TGzEmpContactInfo
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.ErrorMessage
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.TGzEmpContactInfoSearchVo
;
import
javax.servlet.http.HttpServletResponse
;
import
java.io.InputStream
;
import
java.util.List
;
/**
* 瓜子紧急联系人
*
* @author chenyx
* @date 2025-06-13 15:19:04
*/
public
interface
TGzEmpContactInfoService
extends
IService
<
TGzEmpContactInfo
>
{
/**
* 瓜子紧急联系人简单分页查询
*
* @param tGzEmpContactInfo 瓜子紧急联系人
* @return
*/
IPage
<
TGzEmpContactInfo
>
getTGzEmpContactInfoPage
(
Page
<
TGzEmpContactInfo
>
page
,
TGzEmpContactInfoSearchVo
tGzEmpContactInfo
);
List
<
TGzEmpContactInfo
>
noPageDiy
(
TGzEmpContactInfoSearchVo
searchVo
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/TGzEmpEducationService.java
0 → 100644
View file @
00ac9b10
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
service
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TGzEmpEducation
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.ErrorMessage
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.TGzEmpEducationSearchVo
;
import
javax.servlet.http.HttpServletResponse
;
import
java.io.InputStream
;
import
java.util.List
;
/**
* 瓜子教育经历
*
* @author chenyx
* @date 2025-06-13 15:19:04
*/
public
interface
TGzEmpEducationService
extends
IService
<
TGzEmpEducation
>
{
/**
* 瓜子教育经历简单分页查询
*
* @param tGzEmpEducation 瓜子教育经历
* @return
*/
IPage
<
TGzEmpEducation
>
getTGzEmpEducationPage
(
Page
<
TGzEmpEducation
>
page
,
TGzEmpEducationSearchVo
tGzEmpEducation
);
List
<
TGzEmpEducation
>
noPageDiy
(
TGzEmpEducationSearchVo
searchVo
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/TGzEmpFamilyService.java
0 → 100644
View file @
00ac9b10
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
service
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TGzEmpFamily
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.ErrorMessage
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.TGzEmpFamilySearchVo
;
import
javax.servlet.http.HttpServletResponse
;
import
java.io.InputStream
;
import
java.util.List
;
/**
* 瓜子家庭成员
*
* @author chenyx
* @date 2025-06-13 15:19:03
*/
public
interface
TGzEmpFamilyService
extends
IService
<
TGzEmpFamily
>
{
/**
* 瓜子家庭成员简单分页查询
*
* @param tGzEmpFamily 瓜子家庭成员
* @return
*/
IPage
<
TGzEmpFamily
>
getTGzEmpFamilyPage
(
Page
<
TGzEmpFamily
>
page
,
TGzEmpFamilySearchVo
tGzEmpFamily
);
List
<
TGzEmpFamily
>
noPageDiy
(
TGzEmpFamilySearchVo
searchVo
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/TGzEmpInfoService.java
0 → 100644
View file @
00ac9b10
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
service
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TGzEmpInfo
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.ErrorMessage
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.TGzEmpInfoSearchVo
;
import
javax.servlet.http.HttpServletResponse
;
import
java.io.InputStream
;
import
java.util.List
;
/**
* 瓜子档案表
*
* @author chenyx
* @date 2025-06-13 15:19:03
*/
public
interface
TGzEmpInfoService
extends
IService
<
TGzEmpInfo
>
{
/**
* 瓜子档案表简单分页查询
*
* @param tGzEmpInfo 瓜子档案表
* @return
*/
IPage
<
TGzEmpInfo
>
getTGzEmpInfoPage
(
Page
<
TGzEmpInfo
>
page
,
TGzEmpInfoSearchVo
tGzEmpInfo
);
void
listExport
(
HttpServletResponse
response
,
TGzEmpInfoSearchVo
searchVo
);
List
<
TGzEmpInfo
>
noPageDiy
(
TGzEmpInfoSearchVo
searchVo
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/TGzEmpSkillService.java
0 → 100644
View file @
00ac9b10
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
service
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TGzEmpSkill
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.ErrorMessage
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.TGzEmpSkillSearchVo
;
import
javax.servlet.http.HttpServletResponse
;
import
java.io.InputStream
;
import
java.util.List
;
/**
* 瓜子技能证书
*
* @author chenyx
* @date 2025-06-13 15:19:03
*/
public
interface
TGzEmpSkillService
extends
IService
<
TGzEmpSkill
>
{
/**
* 瓜子技能证书简单分页查询
* @param tGzEmpSkill 瓜子技能证书
* @return
*/
IPage
<
TGzEmpSkill
>
getTGzEmpSkillPage
(
Page
<
TGzEmpSkill
>
page
,
TGzEmpSkillSearchVo
tGzEmpSkill
);
List
<
TGzEmpSkill
>
noPageDiy
(
TGzEmpSkillSearchVo
searchVo
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/TGzEmpWorkService.java
0 → 100644
View file @
00ac9b10
/*
* 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.TGzEmpWork
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.ErrorMessage
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.TGzEmpWorkSearchVo
;
import
javax.servlet.http.HttpServletResponse
;
import
java.io.InputStream
;
import
java.util.List
;
/**
* 瓜子工作经历
*
* @author chenyx
* @date 2025-06-13 15:19:04
*/
public
interface
TGzEmpWorkService
extends
IService
<
TGzEmpWork
>
{
/**
* 瓜子工作经历简单分页查询
*
* @param tGzEmpWork 瓜子工作经历
* @return
*/
IPage
<
TGzEmpWork
>
getTGzEmpWorkPage
(
Page
<
TGzEmpWork
>
page
,
TGzEmpWorkSearchVo
tGzEmpWork
);
List
<
TGzEmpWork
>
noPageDiy
(
TGzEmpWorkSearchVo
searchVo
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/LGuaziOfferRecordServiceImpl.java
View file @
00ac9b10
...
...
@@ -20,6 +20,7 @@ import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.LGuaziOfferRecord
;
import
com.yifu.cloud.plus.v1.yifu.archives.mapper.LGuaziOfferRecordMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.LGuaziOfferRecordService
;
import
lombok.RequiredArgsConstructor
;
import
lombok.extern.log4j.Log4j2
;
import
org.springframework.stereotype.Service
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
...
...
@@ -33,6 +34,7 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
*/
@Log4j2
@Service
@RequiredArgsConstructor
public
class
LGuaziOfferRecordServiceImpl
extends
ServiceImpl
<
LGuaziOfferRecordMapper
,
LGuaziOfferRecord
>
implements
LGuaziOfferRecordService
{
/**
* 瓜子offer操作日志简单分页查询
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TGzEmpContactInfoServiceImpl.java
0 → 100644
View file @
00ac9b10
/*
* 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.TGzEmpContactInfo
;
import
com.yifu.cloud.plus.v1.yifu.archives.mapper.TGzEmpContactInfoMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.TGzEmpContactInfoService
;
import
lombok.RequiredArgsConstructor
;
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
com.yifu.cloud.plus.v1.yifu.archives.vo.TGzEmpContactInfoSearchVo
;
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
;
/**
* 瓜子紧急联系人
*
* @author chenyx
* @date 2025-06-13 15:19:04
*/
@Log4j2
@Service
@RequiredArgsConstructor
public
class
TGzEmpContactInfoServiceImpl
extends
ServiceImpl
<
TGzEmpContactInfoMapper
,
TGzEmpContactInfo
>
implements
TGzEmpContactInfoService
{
/**
* 瓜子紧急联系人简单分页查询
*
* @param tGzEmpContactInfo 瓜子紧急联系人
* @return
*/
@Override
public
IPage
<
TGzEmpContactInfo
>
getTGzEmpContactInfoPage
(
Page
<
TGzEmpContactInfo
>
page
,
TGzEmpContactInfoSearchVo
tGzEmpContactInfo
)
{
return
baseMapper
.
getTGzEmpContactInfoPage
(
page
,
tGzEmpContactInfo
);
}
@Override
public
List
<
TGzEmpContactInfo
>
noPageDiy
(
TGzEmpContactInfoSearchVo
searchVo
)
{
LambdaQueryWrapper
<
TGzEmpContactInfo
>
wrapper
=
buildQueryWrapper
(
searchVo
);
List
<
String
>
idList
=
Common
.
getList
(
searchVo
.
getIds
());
if
(
Common
.
isNotNull
(
idList
))
{
wrapper
.
in
(
TGzEmpContactInfo:
:
getId
,
idList
);
}
wrapper
.
orderByDesc
(
BaseEntity:
:
getCreateTime
);
return
baseMapper
.
selectList
(
wrapper
);
}
private
LambdaQueryWrapper
buildQueryWrapper
(
TGzEmpContactInfoSearchVo
entity
)
{
LambdaQueryWrapper
<
TGzEmpContactInfo
>
wrapper
=
Wrappers
.
lambdaQuery
();
if
(
Common
.
isNotNull
(
entity
.
getCreateName
()))
{
wrapper
.
eq
(
TGzEmpContactInfo:
:
getCreateName
,
entity
.
getCreateName
());
}
return
wrapper
;
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TGzEmpEducationServiceImpl.java
0 → 100644
View file @
00ac9b10
/*
* 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.TGzEmpEducation
;
import
com.yifu.cloud.plus.v1.yifu.archives.mapper.TGzEmpEducationMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.TGzEmpEducationService
;
import
lombok.RequiredArgsConstructor
;
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
com.yifu.cloud.plus.v1.yifu.archives.vo.TGzEmpEducationSearchVo
;
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
;
/**
* 瓜子教育经历
*
* @author chenyx
* @date 2025-06-13 15:19:04
*/
@Log4j2
@Service
@RequiredArgsConstructor
public
class
TGzEmpEducationServiceImpl
extends
ServiceImpl
<
TGzEmpEducationMapper
,
TGzEmpEducation
>
implements
TGzEmpEducationService
{
/**
* 瓜子教育经历简单分页查询
*
* @param tGzEmpEducation 瓜子教育经历
* @return
*/
@Override
public
IPage
<
TGzEmpEducation
>
getTGzEmpEducationPage
(
Page
<
TGzEmpEducation
>
page
,
TGzEmpEducationSearchVo
tGzEmpEducation
)
{
return
baseMapper
.
getTGzEmpEducationPage
(
page
,
tGzEmpEducation
);
}
@Override
public
List
<
TGzEmpEducation
>
noPageDiy
(
TGzEmpEducationSearchVo
searchVo
)
{
LambdaQueryWrapper
<
TGzEmpEducation
>
wrapper
=
buildQueryWrapper
(
searchVo
);
List
<
String
>
idList
=
Common
.
getList
(
searchVo
.
getIds
());
if
(
Common
.
isNotNull
(
idList
))
{
wrapper
.
in
(
TGzEmpEducation:
:
getId
,
idList
);
}
wrapper
.
orderByDesc
(
BaseEntity:
:
getCreateTime
);
return
baseMapper
.
selectList
(
wrapper
);
}
private
LambdaQueryWrapper
buildQueryWrapper
(
TGzEmpEducationSearchVo
entity
)
{
LambdaQueryWrapper
<
TGzEmpEducation
>
wrapper
=
Wrappers
.
lambdaQuery
();
if
(
Common
.
isNotNull
(
entity
.
getCreateName
()))
{
wrapper
.
eq
(
TGzEmpEducation:
:
getCreateName
,
entity
.
getCreateName
());
}
return
wrapper
;
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TGzEmpFamilyServiceImpl.java
0 → 100644
View file @
00ac9b10
/*
* 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.TGzEmpFamily
;
import
com.yifu.cloud.plus.v1.yifu.archives.mapper.TGzEmpFamilyMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.TGzEmpFamilyService
;
import
lombok.RequiredArgsConstructor
;
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
com.yifu.cloud.plus.v1.yifu.archives.vo.TGzEmpFamilySearchVo
;
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
;
/**
* 瓜子家庭成员
*
* @author chenyx
* @date 2025-06-13 15:19:03
*/
@Log4j2
@Service
@RequiredArgsConstructor
public
class
TGzEmpFamilyServiceImpl
extends
ServiceImpl
<
TGzEmpFamilyMapper
,
TGzEmpFamily
>
implements
TGzEmpFamilyService
{
/**
* 瓜子家庭成员简单分页查询
*
* @param tGzEmpFamily 瓜子家庭成员
* @return
*/
@Override
public
IPage
<
TGzEmpFamily
>
getTGzEmpFamilyPage
(
Page
<
TGzEmpFamily
>
page
,
TGzEmpFamilySearchVo
tGzEmpFamily
)
{
return
baseMapper
.
getTGzEmpFamilyPage
(
page
,
tGzEmpFamily
);
}
@Override
public
List
<
TGzEmpFamily
>
noPageDiy
(
TGzEmpFamilySearchVo
searchVo
)
{
LambdaQueryWrapper
<
TGzEmpFamily
>
wrapper
=
buildQueryWrapper
(
searchVo
);
List
<
String
>
idList
=
Common
.
getList
(
searchVo
.
getIds
());
if
(
Common
.
isNotNull
(
idList
))
{
wrapper
.
in
(
TGzEmpFamily:
:
getId
,
idList
);
}
wrapper
.
orderByDesc
(
BaseEntity:
:
getCreateTime
);
return
baseMapper
.
selectList
(
wrapper
);
}
private
LambdaQueryWrapper
buildQueryWrapper
(
TGzEmpFamilySearchVo
entity
)
{
LambdaQueryWrapper
<
TGzEmpFamily
>
wrapper
=
Wrappers
.
lambdaQuery
();
if
(
Common
.
isNotNull
(
entity
.
getCreateName
()))
{
wrapper
.
eq
(
TGzEmpFamily:
:
getCreateName
,
entity
.
getCreateName
());
}
return
wrapper
;
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TGzEmpInfoServiceImpl.java
0 → 100644
View file @
00ac9b10
/*
* 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.TGzEmpInfo
;
import
com.yifu.cloud.plus.v1.yifu.archives.mapper.TGzEmpInfoMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.TGzEmpInfoService
;
import
lombok.RequiredArgsConstructor
;
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
com.yifu.cloud.plus.v1.yifu.archives.vo.TGzEmpInfoSearchVo
;
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
;
/**
* 瓜子档案表
*
* @author chenyx
* @date 2025-06-13 15:19:03
*/
@Log4j2
@Service
@RequiredArgsConstructor
public
class
TGzEmpInfoServiceImpl
extends
ServiceImpl
<
TGzEmpInfoMapper
,
TGzEmpInfo
>
implements
TGzEmpInfoService
{
/**
* 瓜子档案表简单分页查询
*
* @param tGzEmpInfo 瓜子档案表
* @return
*/
@Override
public
IPage
<
TGzEmpInfo
>
getTGzEmpInfoPage
(
Page
<
TGzEmpInfo
>
page
,
TGzEmpInfoSearchVo
tGzEmpInfo
)
{
return
baseMapper
.
getTGzEmpInfoPage
(
page
,
tGzEmpInfo
);
}
/**
* 瓜子档案表批量导出
*
* @param searchVo 瓜子档案表
* @return
*/
@Override
public
void
listExport
(
HttpServletResponse
response
,
TGzEmpInfoSearchVo
searchVo
)
{
String
fileName
=
"瓜子档案表批量导出"
+
DateUtil
.
getThisTime
()
+
".xlsx"
;
//获取要导出的列表
List
<
TGzEmpInfo
>
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,然后文件流会自动关闭
//EasyExcel.write(out, TEmpBadRecord.class).sheet("不良记录").doWrite(list);
ExcelWriter
excelWriter
=
EasyExcel
.
write
(
out
,
TGzEmpInfo
.
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
<
TGzEmpInfo
>
util
=
new
ExcelUtil
<>(
TGzEmpInfo
.
class
);
for
(
TGzEmpInfo
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
<
TGzEmpInfo
>
noPageDiy
(
TGzEmpInfoSearchVo
searchVo
)
{
LambdaQueryWrapper
<
TGzEmpInfo
>
wrapper
=
buildQueryWrapper
(
searchVo
);
List
<
String
>
idList
=
Common
.
getList
(
searchVo
.
getIds
());
if
(
Common
.
isNotNull
(
idList
))
{
wrapper
.
in
(
TGzEmpInfo:
:
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
(
TGzEmpInfoSearchVo
searchVo
)
{
LambdaQueryWrapper
<
TGzEmpInfo
>
wrapper
=
buildQueryWrapper
(
searchVo
);
List
<
String
>
idList
=
Common
.
getList
(
searchVo
.
getIds
());
if
(
Common
.
isNotNull
(
idList
))
{
wrapper
.
in
(
TGzEmpInfo:
:
getId
,
idList
);
}
return
baseMapper
.
selectCount
(
wrapper
);
}
private
LambdaQueryWrapper
buildQueryWrapper
(
TGzEmpInfoSearchVo
entity
)
{
LambdaQueryWrapper
<
TGzEmpInfo
>
wrapper
=
Wrappers
.
lambdaQuery
();
if
(
Common
.
isNotNull
(
entity
.
getCreateName
()))
{
wrapper
.
eq
(
TGzEmpInfo:
:
getCreateName
,
entity
.
getCreateName
());
}
return
wrapper
;
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TGzEmpSkillServiceImpl.java
0 → 100644
View file @
00ac9b10
/*
* 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.TGzEmpSkill
;
import
com.yifu.cloud.plus.v1.yifu.archives.mapper.TGzEmpSkillMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.TGzEmpSkillService
;
import
lombok.RequiredArgsConstructor
;
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
com.yifu.cloud.plus.v1.yifu.archives.vo.TGzEmpSkillSearchVo
;
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
;
/**
* 瓜子技能证书
*
* @author chenyx
* @date 2025-06-13 15:19:03
*/
@Log4j2
@Service
@RequiredArgsConstructor
public
class
TGzEmpSkillServiceImpl
extends
ServiceImpl
<
TGzEmpSkillMapper
,
TGzEmpSkill
>
implements
TGzEmpSkillService
{
/**
* 瓜子技能证书简单分页查询
*
* @param tGzEmpSkill 瓜子技能证书
* @return
*/
@Override
public
IPage
<
TGzEmpSkill
>
getTGzEmpSkillPage
(
Page
<
TGzEmpSkill
>
page
,
TGzEmpSkillSearchVo
tGzEmpSkill
)
{
return
baseMapper
.
getTGzEmpSkillPage
(
page
,
tGzEmpSkill
);
}
@Override
public
List
<
TGzEmpSkill
>
noPageDiy
(
TGzEmpSkillSearchVo
searchVo
)
{
LambdaQueryWrapper
<
TGzEmpSkill
>
wrapper
=
buildQueryWrapper
(
searchVo
);
List
<
String
>
idList
=
Common
.
getList
(
searchVo
.
getIds
());
if
(
Common
.
isNotNull
(
idList
))
{
wrapper
.
in
(
TGzEmpSkill:
:
getId
,
idList
);
}
wrapper
.
orderByDesc
(
BaseEntity:
:
getCreateTime
);
return
baseMapper
.
selectList
(
wrapper
);
}
private
LambdaQueryWrapper
buildQueryWrapper
(
TGzEmpSkillSearchVo
entity
)
{
LambdaQueryWrapper
<
TGzEmpSkill
>
wrapper
=
Wrappers
.
lambdaQuery
();
if
(
Common
.
isNotNull
(
entity
.
getCreateName
()))
{
wrapper
.
eq
(
TGzEmpSkill:
:
getCreateName
,
entity
.
getCreateName
());
}
return
wrapper
;
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TGzEmpWorkServiceImpl.java
0 → 100644
View file @
00ac9b10
/*
* 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.TGzEmpWork
;
import
com.yifu.cloud.plus.v1.yifu.archives.mapper.TGzEmpWorkMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.TGzEmpWorkService
;
import
lombok.RequiredArgsConstructor
;
import
lombok.extern.log4j.Log4j2
;
import
org.springframework.stereotype.Service
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.TGzEmpWorkSearchVo
;
import
java.util.List
;
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.util.*
;
import
com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity
;
/**
* 瓜子工作经历
*
* @author chenyx
* @date 2025-06-13 15:19:04
*/
@Log4j2
@Service
@RequiredArgsConstructor
public
class
TGzEmpWorkServiceImpl
extends
ServiceImpl
<
TGzEmpWorkMapper
,
TGzEmpWork
>
implements
TGzEmpWorkService
{
/**
* 瓜子工作经历简单分页查询
*
* @param tGzEmpWork 瓜子工作经历
* @return
*/
@Override
public
IPage
<
TGzEmpWork
>
getTGzEmpWorkPage
(
Page
<
TGzEmpWork
>
page
,
TGzEmpWorkSearchVo
tGzEmpWork
)
{
return
baseMapper
.
getTGzEmpWorkPage
(
page
,
tGzEmpWork
);
}
@Override
public
List
<
TGzEmpWork
>
noPageDiy
(
TGzEmpWorkSearchVo
searchVo
)
{
LambdaQueryWrapper
<
TGzEmpWork
>
wrapper
=
buildQueryWrapper
(
searchVo
);
List
<
String
>
idList
=
Common
.
getList
(
searchVo
.
getIds
());
if
(
Common
.
isNotNull
(
idList
))
{
wrapper
.
in
(
TGzEmpWork:
:
getId
,
idList
);
}
wrapper
.
orderByDesc
(
BaseEntity:
:
getCreateTime
);
return
baseMapper
.
selectList
(
wrapper
);
}
private
LambdaQueryWrapper
buildQueryWrapper
(
TGzEmpWorkSearchVo
entity
)
{
LambdaQueryWrapper
<
TGzEmpWork
>
wrapper
=
Wrappers
.
lambdaQuery
();
if
(
Common
.
isNotNull
(
entity
.
getCreateName
()))
{
wrapper
.
eq
(
TGzEmpWork:
:
getCreateName
,
entity
.
getCreateName
());
}
return
wrapper
;
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TGzOfferInfoServiceImpl.java
View file @
00ac9b10
...
...
@@ -20,6 +20,7 @@ import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TGzOfferInfo
;
import
com.yifu.cloud.plus.v1.yifu.archives.mapper.TGzOfferInfoMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.TGzOfferInfoService
;
import
lombok.RequiredArgsConstructor
;
import
lombok.extern.log4j.Log4j2
;
import
org.springframework.stereotype.Service
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
...
...
@@ -33,6 +34,7 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
*/
@Log4j2
@Service
@RequiredArgsConstructor
public
class
TGzOfferInfoServiceImpl
extends
ServiceImpl
<
TGzOfferInfoMapper
,
TGzOfferInfo
>
implements
TGzOfferInfoService
{
/**
* 瓜子offer信息接收表简单分页查询
...
...
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TGzEmpContactInfoMapper.xml
0 → 100644
View file @
00ac9b10
<?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.TGzEmpContactInfoMapper"
>
<resultMap
id=
"tGzEmpContactInfoMap"
type=
"com.yifu.cloud.plus.v1.yifu.archives.entity.TGzEmpContactInfo"
>
<id
property=
"id"
column=
"id"
/>
<result
property=
"empId"
column=
"emp_id"
/>
<result
property=
"emergName"
column=
"emerg_name"
/>
<result
property=
"emergRelation"
column=
"emerg_relation"
/>
<result
property=
"emergAddress"
column=
"emerg_address"
/>
<result
property=
"emergPhone"
column=
"emerg_phone"
/>
<result
property=
"primaryNid"
column=
"primary_nid"
/>
<result
property=
"delFlag"
column=
"del_flag"
/>
<result
property=
"createTime"
column=
"create_time"
/>
<result
property=
"createBy"
column=
"create_by"
/>
<result
property=
"createName"
column=
"create_name"
/>
<result
property=
"updateBy"
column=
"update_by"
/>
<result
property=
"updateTime"
column=
"update_time"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
a.id,
a.emp_id,
a.emerg_name,
a.emerg_relation,
a.emerg_address,
a.emerg_phone,
a.primary_nid,
a.del_flag,
a.create_time,
a.create_by,
a.create_name,
a.update_by,
a.update_time
</sql>
<sql
id=
"tGzEmpContactInfo_where"
>
<if
test=
"tGzEmpContactInfo != null"
>
<if
test=
"tGzEmpContactInfo.id != null and tGzEmpContactInfo.id.trim() != ''"
>
AND a.id = #{tGzEmpContactInfo.id}
</if>
<if
test=
"tGzEmpContactInfo.empId != null and tGzEmpContactInfo.empId.trim() != ''"
>
AND a.emp_id = #{tGzEmpContactInfo.empId}
</if>
<if
test=
"tGzEmpContactInfo.emergName != null and tGzEmpContactInfo.emergName.trim() != ''"
>
AND a.emerg_name = #{tGzEmpContactInfo.emergName}
</if>
<if
test=
"tGzEmpContactInfo.emergRelation != null and tGzEmpContactInfo.emergRelation.trim() != ''"
>
AND a.emerg_relation = #{tGzEmpContactInfo.emergRelation}
</if>
<if
test=
"tGzEmpContactInfo.emergAddress != null and tGzEmpContactInfo.emergAddress.trim() != ''"
>
AND a.emerg_address = #{tGzEmpContactInfo.emergAddress}
</if>
<if
test=
"tGzEmpContactInfo.emergPhone != null and tGzEmpContactInfo.emergPhone.trim() != ''"
>
AND a.emerg_phone = #{tGzEmpContactInfo.emergPhone}
</if>
<if
test=
"tGzEmpContactInfo.primaryNid != null and tGzEmpContactInfo.primaryNid.trim() != ''"
>
AND a.primary_nid = #{tGzEmpContactInfo.primaryNid}
</if>
<if
test=
"tGzEmpContactInfo.delFlag != null and tGzEmpContactInfo.delFlag.trim() != ''"
>
AND a.del_flag = #{tGzEmpContactInfo.delFlag}
</if>
<if
test=
"tGzEmpContactInfo.createTime != null"
>
AND a.create_time = #{tGzEmpContactInfo.createTime}
</if>
<if
test=
"tGzEmpContactInfo.createBy != null and tGzEmpContactInfo.createBy.trim() != ''"
>
AND a.create_by = #{tGzEmpContactInfo.createBy}
</if>
<if
test=
"tGzEmpContactInfo.createName != null and tGzEmpContactInfo.createName.trim() != ''"
>
AND a.create_name = #{tGzEmpContactInfo.createName}
</if>
<if
test=
"tGzEmpContactInfo.updateBy != null and tGzEmpContactInfo.updateBy.trim() != ''"
>
AND a.update_by = #{tGzEmpContactInfo.updateBy}
</if>
<if
test=
"tGzEmpContactInfo.updateTime != null"
>
AND a.update_time = #{tGzEmpContactInfo.updateTime}
</if>
</if>
</sql>
<!--tGzEmpContactInfo简单分页查询-->
<select
id=
"getTGzEmpContactInfoPage"
resultMap=
"tGzEmpContactInfoMap"
>
SELECT
<include
refid=
"Base_Column_List"
/>
FROM t_gz_emp_contact_info a
<where>
1=1
<include
refid=
"tGzEmpContactInfo_where"
/>
</where>
</select>
</mapper>
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TGzEmpEducationMapper.xml
0 → 100644
View file @
00ac9b10
<?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.TGzEmpEducationMapper"
>
<resultMap
id=
"tGzEmpEducationMap"
type=
"com.yifu.cloud.plus.v1.yifu.archives.entity.TGzEmpEducation"
>
<id
property=
"id"
column=
"id"
/>
<result
property=
"empId"
column=
"emp_id"
/>
<result
property=
"delFlag"
column=
"del_flag"
/>
<result
property=
"createTime"
column=
"create_time"
/>
<result
property=
"createBy"
column=
"create_by"
/>
<result
property=
"createName"
column=
"create_name"
/>
<result
property=
"updateBy"
column=
"update_by"
/>
<result
property=
"updateTime"
column=
"update_time"
/>
<result
property=
"eduQual"
column=
"edu_qual"
/>
<result
property=
"eduDegree"
column=
"edu_degree"
/>
<result
property=
"eduType"
column=
"edu_type"
/>
<result
property=
"school"
column=
"school"
/>
<result
property=
"eduStartDate"
column=
"edu_start_date"
/>
<result
property=
"eduEndDate"
column=
"edu_end_date"
/>
<result
property=
"gradutionType"
column=
"gradution_type"
/>
<result
property=
"major"
column=
"major"
/>
<result
property=
"highEduQualFlag"
column=
"high_edu_qual_flag"
/>
<result
property=
"highEduDegreeFlag"
column=
"high_edu_degree_flag"
/>
<result
property=
"firstDegreeFlag"
column=
"first_degree_flag"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
a.id,
a.emp_id,
a.del_flag,
a.create_time,
a.create_by,
a.create_name,
a.update_by,
a.update_time,
a.edu_qual,
a.edu_degree,
a.edu_type,
a.school,
a.edu_start_date,
a.edu_end_date,
a.gradution_type,
a.major,
a.high_edu_qual_flag,
a.high_edu_degree_flag,
a.first_degree_flag
</sql>
<sql
id=
"tGzEmpEducation_where"
>
<if
test=
"tGzEmpEducation != null"
>
<if
test=
"tGzEmpEducation.id != null and tGzEmpEducation.id.trim() != ''"
>
AND a.id = #{tGzEmpEducation.id}
</if>
<if
test=
"tGzEmpEducation.empId != null and tGzEmpEducation.empId.trim() != ''"
>
AND a.emp_id = #{tGzEmpEducation.empId}
</if>
<if
test=
"tGzEmpEducation.delFlag != null and tGzEmpEducation.delFlag.trim() != ''"
>
AND a.del_flag = #{tGzEmpEducation.delFlag}
</if>
<if
test=
"tGzEmpEducation.createTime != null"
>
AND a.create_time = #{tGzEmpEducation.createTime}
</if>
<if
test=
"tGzEmpEducation.createBy != null and tGzEmpEducation.createBy.trim() != ''"
>
AND a.create_by = #{tGzEmpEducation.createBy}
</if>
<if
test=
"tGzEmpEducation.createName != null and tGzEmpEducation.createName.trim() != ''"
>
AND a.create_name = #{tGzEmpEducation.createName}
</if>
<if
test=
"tGzEmpEducation.updateBy != null and tGzEmpEducation.updateBy.trim() != ''"
>
AND a.update_by = #{tGzEmpEducation.updateBy}
</if>
<if
test=
"tGzEmpEducation.updateTime != null"
>
AND a.update_time = #{tGzEmpEducation.updateTime}
</if>
<if
test=
"tGzEmpEducation.eduQual != null and tGzEmpEducation.eduQual.trim() != ''"
>
AND a.edu_qual = #{tGzEmpEducation.eduQual}
</if>
<if
test=
"tGzEmpEducation.eduDegree != null and tGzEmpEducation.eduDegree.trim() != ''"
>
AND a.edu_degree = #{tGzEmpEducation.eduDegree}
</if>
<if
test=
"tGzEmpEducation.eduType != null and tGzEmpEducation.eduType.trim() != ''"
>
AND a.edu_type = #{tGzEmpEducation.eduType}
</if>
<if
test=
"tGzEmpEducation.school != null and tGzEmpEducation.school.trim() != ''"
>
AND a.school = #{tGzEmpEducation.school}
</if>
<if
test=
"tGzEmpEducation.eduStartDate != null"
>
AND a.edu_start_date = #{tGzEmpEducation.eduStartDate}
</if>
<if
test=
"tGzEmpEducation.eduEndDate != null"
>
AND a.edu_end_date = #{tGzEmpEducation.eduEndDate}
</if>
<if
test=
"tGzEmpEducation.gradutionType != null and tGzEmpEducation.gradutionType.trim() != ''"
>
AND a.gradution_type = #{tGzEmpEducation.gradutionType}
</if>
<if
test=
"tGzEmpEducation.major != null and tGzEmpEducation.major.trim() != ''"
>
AND a.major = #{tGzEmpEducation.major}
</if>
<if
test=
"tGzEmpEducation.highEduQualFlag != null and tGzEmpEducation.highEduQualFlag.trim() != ''"
>
AND a.high_edu_qual_flag = #{tGzEmpEducation.highEduQualFlag}
</if>
<if
test=
"tGzEmpEducation.highEduDegreeFlag != null and tGzEmpEducation.highEduDegreeFlag.trim() != ''"
>
AND a.high_edu_degree_flag = #{tGzEmpEducation.highEduDegreeFlag}
</if>
<if
test=
"tGzEmpEducation.firstDegreeFlag != null and tGzEmpEducation.firstDegreeFlag.trim() != ''"
>
AND a.first_degree_flag = #{tGzEmpEducation.firstDegreeFlag}
</if>
</if>
</sql>
<!--tGzEmpEducation简单分页查询-->
<select
id=
"getTGzEmpEducationPage"
resultMap=
"tGzEmpEducationMap"
>
SELECT
<include
refid=
"Base_Column_List"
/>
FROM t_gz_emp_education a
<where>
1=1
<include
refid=
"tGzEmpEducation_where"
/>
</where>
</select>
</mapper>
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TGzEmpFamilyMapper.xml
0 → 100644
View file @
00ac9b10
<?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.TGzEmpFamilyMapper"
>
<resultMap
id=
"tGzEmpFamilyMap"
type=
"com.yifu.cloud.plus.v1.yifu.archives.entity.TGzEmpFamily"
>
<id
property=
"id"
column=
"id"
/>
<result
property=
"empId"
column=
"emp_id"
/>
<result
property=
"delFlag"
column=
"del_flag"
/>
<result
property=
"createTime"
column=
"create_time"
/>
<result
property=
"createBy"
column=
"create_by"
/>
<result
property=
"createName"
column=
"create_name"
/>
<result
property=
"updateBy"
column=
"update_by"
/>
<result
property=
"updateTime"
column=
"update_time"
/>
<result
property=
"familyRelation"
column=
"family_relation"
/>
<result
property=
"familyName"
column=
"family_name"
/>
<result
property=
"familyPhone"
column=
"family_phone"
/>
<result
property=
"familyAddress"
column=
"family_address"
/>
<result
property=
"familyCompany"
column=
"family_company"
/>
<result
property=
"gzEmeFlag"
column=
"gz_eme_flag"
/>
<result
property=
"jobCode"
column=
"job_code"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
a.id,
a.emp_id,
a.del_flag,
a.create_time,
a.create_by,
a.create_name,
a.update_by,
a.update_time,
a.family_relation,
a.family_name,
a.family_phone,
a.family_address,
a.family_company,
a.gz_eme_flag,
a.job_code
</sql>
<sql
id=
"tGzEmpFamily_where"
>
<if
test=
"tGzEmpFamily != null"
>
<if
test=
"tGzEmpFamily.id != null and tGzEmpFamily.id.trim() != ''"
>
AND a.id = #{tGzEmpFamily.id}
</if>
<if
test=
"tGzEmpFamily.empId != null and tGzEmpFamily.empId.trim() != ''"
>
AND a.emp_id = #{tGzEmpFamily.empId}
</if>
<if
test=
"tGzEmpFamily.delFlag != null and tGzEmpFamily.delFlag.trim() != ''"
>
AND a.del_flag = #{tGzEmpFamily.delFlag}
</if>
<if
test=
"tGzEmpFamily.createTime != null"
>
AND a.create_time = #{tGzEmpFamily.createTime}
</if>
<if
test=
"tGzEmpFamily.createBy != null and tGzEmpFamily.createBy.trim() != ''"
>
AND a.create_by = #{tGzEmpFamily.createBy}
</if>
<if
test=
"tGzEmpFamily.createName != null and tGzEmpFamily.createName.trim() != ''"
>
AND a.create_name = #{tGzEmpFamily.createName}
</if>
<if
test=
"tGzEmpFamily.updateBy != null and tGzEmpFamily.updateBy.trim() != ''"
>
AND a.update_by = #{tGzEmpFamily.updateBy}
</if>
<if
test=
"tGzEmpFamily.updateTime != null"
>
AND a.update_time = #{tGzEmpFamily.updateTime}
</if>
<if
test=
"tGzEmpFamily.familyRelation != null and tGzEmpFamily.familyRelation.trim() != ''"
>
AND a.family_relation = #{tGzEmpFamily.familyRelation}
</if>
<if
test=
"tGzEmpFamily.familyName != null and tGzEmpFamily.familyName.trim() != ''"
>
AND a.family_name = #{tGzEmpFamily.familyName}
</if>
<if
test=
"tGzEmpFamily.familyPhone != null and tGzEmpFamily.familyPhone.trim() != ''"
>
AND a.family_phone = #{tGzEmpFamily.familyPhone}
</if>
<if
test=
"tGzEmpFamily.familyAddress != null and tGzEmpFamily.familyAddress.trim() != ''"
>
AND a.family_address = #{tGzEmpFamily.familyAddress}
</if>
<if
test=
"tGzEmpFamily.familyCompany != null and tGzEmpFamily.familyCompany.trim() != ''"
>
AND a.family_company = #{tGzEmpFamily.familyCompany}
</if>
<if
test=
"tGzEmpFamily.gzEmeFlag != null and tGzEmpFamily.gzEmeFlag.trim() != ''"
>
AND a.gz_eme_flag = #{tGzEmpFamily.gzEmeFlag}
</if>
<if
test=
"tGzEmpFamily.jobCode != null and tGzEmpFamily.jobCode.trim() != ''"
>
AND a.job_code = #{tGzEmpFamily.jobCode}
</if>
</if>
</sql>
<!--tGzEmpFamily简单分页查询-->
<select
id=
"getTGzEmpFamilyPage"
resultMap=
"tGzEmpFamilyMap"
>
SELECT
<include
refid=
"Base_Column_List"
/>
FROM t_gz_emp_family a
<where>
1=1
<include
refid=
"tGzEmpFamily_where"
/>
</where>
</select>
</mapper>
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TGzEmpInfoMapper.xml
0 → 100644
View file @
00ac9b10
<?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.TGzEmpInfoMapper"
>
<resultMap
id=
"tGzEmpInfoMap"
type=
"com.yifu.cloud.plus.v1.yifu.archives.entity.TGzEmpInfo"
>
<id
property=
"id"
column=
"id"
/>
<result
property=
"offerId"
column=
"offer_id"
/>
<result
property=
"empPushStatus"
column=
"emp_push_status"
/>
<result
property=
"contractPushStatus"
column=
"contract_push_status"
/>
<result
property=
"contractAttaPushStatus"
column=
"contract_atta_push_status"
/>
<result
property=
"delFlag"
column=
"del_flag"
/>
<result
property=
"createTime"
column=
"create_time"
/>
<result
property=
"createBy"
column=
"create_by"
/>
<result
property=
"createName"
column=
"create_name"
/>
<result
property=
"updateBy"
column=
"update_by"
/>
<result
property=
"updateTime"
column=
"update_time"
/>
<result
property=
"name"
column=
"name"
/>
<result
property=
"nameAc"
column=
"name_ac"
/>
<result
property=
"birthdate"
column=
"birthdate"
/>
<result
property=
"sex"
column=
"sex"
/>
<result
property=
"constel"
column=
"constel"
/>
<result
property=
"bloodType"
column=
"blood_type"
/>
<result
property=
"startDate"
column=
"start_date"
/>
<result
property=
"country"
column=
"country"
/>
<result
property=
"nativePlace"
column=
"native_place"
/>
<result
property=
"ethnicGrpCd"
column=
"ethnic_grp_cd"
/>
<result
property=
"marStatus"
column=
"mar_status"
/>
<result
property=
"politicalSta"
column=
"political_sta"
/>
<result
property=
"insuranceSta"
column=
"insurance_sta"
/>
<result
property=
"driverType"
column=
"driver_type"
/>
<result
property=
"driverLicenExp"
column=
"driver_licen_exp"
/>
<result
property=
"nationalIdType"
column=
"national_id_type"
/>
<result
property=
"nationalId"
column=
"national_id"
/>
<result
property=
"persistFlag"
column=
"persist_flag"
/>
<result
property=
"nidStartDate"
column=
"nid_start_date"
/>
<result
property=
"nidExpiryDate"
column=
"nid_expiry_date"
/>
<result
property=
"phone"
column=
"phone"
/>
<result
property=
"mail"
column=
"mail"
/>
<result
property=
"addressType"
column=
"address_type"
/>
<result
property=
"stateId"
column=
"state_id"
/>
<result
property=
"cityId"
column=
"city_id"
/>
<result
property=
"countyId"
column=
"county_id"
/>
<result
property=
"address"
column=
"address"
/>
<result
property=
"sginatureMethod"
column=
"sginature_method"
/>
<result
property=
"contractNum"
column=
"contract_num"
/>
<result
property=
"contractType"
column=
"contract_type"
/>
<result
property=
"sginatureType"
column=
"sginature_type"
/>
<result
property=
"probation"
column=
"probation"
/>
<result
property=
"sginatureDt"
column=
"sginature_dt"
/>
<result
property=
"contractBeginDt"
column=
"contract_begin_dt"
/>
<result
property=
"contractExpEndDt"
column=
"contract_exp_end_dt"
/>
<result
property=
"contractEndDt"
column=
"contract_end_dt"
/>
<result
property=
"probationDt"
column=
"probation_dt"
/>
<result
property=
"prcExpDt"
column=
"prc_exp_dt"
/>
<result
property=
"workLocation"
column=
"work_location"
/>
<result
property=
"contractState"
column=
"contract_state"
/>
<result
property=
"hukouType"
column=
"hukou_type"
/>
<result
property=
"hukouProvince"
column=
"hukou_province"
/>
<result
property=
"hukouCity"
column=
"hukou_city"
/>
<result
property=
"hukouCounty"
column=
"hukou_county"
/>
<result
property=
"hukouDetail"
column=
"hukou_detail"
/>
<result
property=
"accountType"
column=
"account_type"
/>
<result
property=
"accountStatus"
column=
"account_status"
/>
<result
property=
"accountCountry"
column=
"account_country"
/>
<result
property=
"bankCd"
column=
"bank_cd"
/>
<result
property=
"cnapsId"
column=
"cnaps_id"
/>
<result
property=
"bankName"
column=
"bank_name"
/>
<result
property=
"accountProvince"
column=
"account_province"
/>
<result
property=
"accountCity"
column=
"account_city"
/>
<result
property=
"accountEcId"
column=
"account_ec_id"
/>
<result
property=
"accountName"
column=
"account_name"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
a.id,
a.offer_id,
a.emp_push_status,
a.contract_push_status,
a.contract_atta_push_status,
a.del_flag,
a.create_time,
a.create_by,
a.create_name,
a.update_by,
a.update_time,
a.name,
a.name_ac,
a.birthdate,
a.sex,
a.constel,
a.blood_type,
a.start_date,
a.country,
a.native_place,
a.ethnic_grp_cd,
a.mar_status,
a.political_sta,
a.insurance_sta,
a.driver_type,
a.driver_licen_exp,
a.national_id_type,
a.national_id,
a.persist_flag,
a.nid_start_date,
a.nid_expiry_date,
a.phone,
a.mail,
a.address_type,
a.state_id,
a.city_id,
a.county_id,
a.address,
a.sginature_method,
a.contract_num,
a.contract_type,
a.sginature_type,
a.probation,
a.sginature_dt,
a.contract_begin_dt,
a.contract_exp_end_dt,
a.contract_end_dt,
a.probation_dt,
a.prc_exp_dt,
a.work_location,
a.contract_state,
a.hukou_type,
a.hukou_province,
a.hukou_city,
a.hukou_county,
a.hukou_detail,
a.account_type,
a.account_status,
a.account_country,
a.bank_cd,
a.cnaps_id,
a.bank_name,
a.account_province,
a.account_city,
a.account_ec_id,
a.account_name
</sql>
<sql
id=
"tGzEmpInfo_where"
>
<if
test=
"tGzEmpInfo != null"
>
<if
test=
"tGzEmpInfo.id != null and tGzEmpInfo.id.trim() != ''"
>
AND a.id = #{tGzEmpInfo.id}
</if>
<if
test=
"tGzEmpInfo.offerId != null and tGzEmpInfo.offerId.trim() != ''"
>
AND a.offer_id = #{tGzEmpInfo.offerId}
</if>
<if
test=
"tGzEmpInfo.empPushStatus != null and tGzEmpInfo.empPushStatus.trim() != ''"
>
AND a.emp_push_status = #{tGzEmpInfo.empPushStatus}
</if>
<if
test=
"tGzEmpInfo.contractPushStatus != null and tGzEmpInfo.contractPushStatus.trim() != ''"
>
AND a.contract_push_status = #{tGzEmpInfo.contractPushStatus}
</if>
<if
test=
"tGzEmpInfo.contractAttaPushStatus != null and tGzEmpInfo.contractAttaPushStatus.trim() != ''"
>
AND a.contract_atta_push_status = #{tGzEmpInfo.contractAttaPushStatus}
</if>
<if
test=
"tGzEmpInfo.delFlag != null and tGzEmpInfo.delFlag.trim() != ''"
>
AND a.del_flag = #{tGzEmpInfo.delFlag}
</if>
<if
test=
"tGzEmpInfo.createTime != null"
>
AND a.create_time = #{tGzEmpInfo.createTime}
</if>
<if
test=
"tGzEmpInfo.createBy != null and tGzEmpInfo.createBy.trim() != ''"
>
AND a.create_by = #{tGzEmpInfo.createBy}
</if>
<if
test=
"tGzEmpInfo.createName != null and tGzEmpInfo.createName.trim() != ''"
>
AND a.create_name = #{tGzEmpInfo.createName}
</if>
<if
test=
"tGzEmpInfo.updateBy != null and tGzEmpInfo.updateBy.trim() != ''"
>
AND a.update_by = #{tGzEmpInfo.updateBy}
</if>
<if
test=
"tGzEmpInfo.updateTime != null"
>
AND a.update_time = #{tGzEmpInfo.updateTime}
</if>
<if
test=
"tGzEmpInfo.name != null and tGzEmpInfo.name.trim() != ''"
>
AND a.name = #{tGzEmpInfo.name}
</if>
<if
test=
"tGzEmpInfo.nameAc != null and tGzEmpInfo.nameAc.trim() != ''"
>
AND a.name_ac = #{tGzEmpInfo.nameAc}
</if>
<if
test=
"tGzEmpInfo.birthdate != null"
>
AND a.birthdate = #{tGzEmpInfo.birthdate}
</if>
<if
test=
"tGzEmpInfo.sex != null and tGzEmpInfo.sex.trim() != ''"
>
AND a.sex = #{tGzEmpInfo.sex}
</if>
<if
test=
"tGzEmpInfo.constel != null and tGzEmpInfo.constel.trim() != ''"
>
AND a.constel = #{tGzEmpInfo.constel}
</if>
<if
test=
"tGzEmpInfo.bloodType != null and tGzEmpInfo.bloodType.trim() != ''"
>
AND a.blood_type = #{tGzEmpInfo.bloodType}
</if>
<if
test=
"tGzEmpInfo.startDate != null"
>
AND a.start_date = #{tGzEmpInfo.startDate}
</if>
<if
test=
"tGzEmpInfo.country != null and tGzEmpInfo.country.trim() != ''"
>
AND a.country = #{tGzEmpInfo.country}
</if>
<if
test=
"tGzEmpInfo.nativePlace != null and tGzEmpInfo.nativePlace.trim() != ''"
>
AND a.native_place = #{tGzEmpInfo.nativePlace}
</if>
<if
test=
"tGzEmpInfo.ethnicGrpCd != null and tGzEmpInfo.ethnicGrpCd.trim() != ''"
>
AND a.ethnic_grp_cd = #{tGzEmpInfo.ethnicGrpCd}
</if>
<if
test=
"tGzEmpInfo.marStatus != null and tGzEmpInfo.marStatus.trim() != ''"
>
AND a.mar_status = #{tGzEmpInfo.marStatus}
</if>
<if
test=
"tGzEmpInfo.politicalSta != null and tGzEmpInfo.politicalSta.trim() != ''"
>
AND a.political_sta = #{tGzEmpInfo.politicalSta}
</if>
<if
test=
"tGzEmpInfo.insuranceSta != null and tGzEmpInfo.insuranceSta.trim() != ''"
>
AND a.insurance_sta = #{tGzEmpInfo.insuranceSta}
</if>
<if
test=
"tGzEmpInfo.driverType != null and tGzEmpInfo.driverType.trim() != ''"
>
AND a.driver_type = #{tGzEmpInfo.driverType}
</if>
<if
test=
"tGzEmpInfo.driverLicenExp != null"
>
AND a.driver_licen_exp = #{tGzEmpInfo.driverLicenExp}
</if>
<if
test=
"tGzEmpInfo.nationalIdType != null and tGzEmpInfo.nationalIdType.trim() != ''"
>
AND a.national_id_type = #{tGzEmpInfo.nationalIdType}
</if>
<if
test=
"tGzEmpInfo.nationalId != null and tGzEmpInfo.nationalId.trim() != ''"
>
AND a.national_id = #{tGzEmpInfo.nationalId}
</if>
<if
test=
"tGzEmpInfo.persistFlag != null and tGzEmpInfo.persistFlag.trim() != ''"
>
AND a.persist_flag = #{tGzEmpInfo.persistFlag}
</if>
<if
test=
"tGzEmpInfo.nidStartDate != null"
>
AND a.nid_start_date = #{tGzEmpInfo.nidStartDate}
</if>
<if
test=
"tGzEmpInfo.nidExpiryDate != null"
>
AND a.nid_expiry_date = #{tGzEmpInfo.nidExpiryDate}
</if>
<if
test=
"tGzEmpInfo.phone != null and tGzEmpInfo.phone.trim() != ''"
>
AND a.phone = #{tGzEmpInfo.phone}
</if>
<if
test=
"tGzEmpInfo.mail != null and tGzEmpInfo.mail.trim() != ''"
>
AND a.mail = #{tGzEmpInfo.mail}
</if>
<if
test=
"tGzEmpInfo.addressType != null and tGzEmpInfo.addressType.trim() != ''"
>
AND a.address_type = #{tGzEmpInfo.addressType}
</if>
<if
test=
"tGzEmpInfo.stateId != null and tGzEmpInfo.stateId.trim() != ''"
>
AND a.state_id = #{tGzEmpInfo.stateId}
</if>
<if
test=
"tGzEmpInfo.cityId != null and tGzEmpInfo.cityId.trim() != ''"
>
AND a.city_id = #{tGzEmpInfo.cityId}
</if>
<if
test=
"tGzEmpInfo.countyId != null and tGzEmpInfo.countyId.trim() != ''"
>
AND a.county_id = #{tGzEmpInfo.countyId}
</if>
<if
test=
"tGzEmpInfo.address != null and tGzEmpInfo.address.trim() != ''"
>
AND a.address = #{tGzEmpInfo.address}
</if>
<if
test=
"tGzEmpInfo.sginatureMethod != null and tGzEmpInfo.sginatureMethod.trim() != ''"
>
AND a.sginature_method = #{tGzEmpInfo.sginatureMethod}
</if>
<if
test=
"tGzEmpInfo.contractNum != null and tGzEmpInfo.contractNum.trim() != ''"
>
AND a.contract_num = #{tGzEmpInfo.contractNum}
</if>
<if
test=
"tGzEmpInfo.contractType != null and tGzEmpInfo.contractType.trim() != ''"
>
AND a.contract_type = #{tGzEmpInfo.contractType}
</if>
<if
test=
"tGzEmpInfo.sginatureType != null and tGzEmpInfo.sginatureType.trim() != ''"
>
AND a.sginature_type = #{tGzEmpInfo.sginatureType}
</if>
<if
test=
"tGzEmpInfo.probation != null and tGzEmpInfo.probation.trim() != ''"
>
AND a.probation = #{tGzEmpInfo.probation}
</if>
<if
test=
"tGzEmpInfo.sginatureDt != null"
>
AND a.sginature_dt = #{tGzEmpInfo.sginatureDt}
</if>
<if
test=
"tGzEmpInfo.contractBeginDt != null"
>
AND a.contract_begin_dt = #{tGzEmpInfo.contractBeginDt}
</if>
<if
test=
"tGzEmpInfo.contractExpEndDt != null"
>
AND a.contract_exp_end_dt = #{tGzEmpInfo.contractExpEndDt}
</if>
<if
test=
"tGzEmpInfo.contractEndDt != null"
>
AND a.contract_end_dt = #{tGzEmpInfo.contractEndDt}
</if>
<if
test=
"tGzEmpInfo.probationDt != null"
>
AND a.probation_dt = #{tGzEmpInfo.probationDt}
</if>
<if
test=
"tGzEmpInfo.prcExpDt != null"
>
AND a.prc_exp_dt = #{tGzEmpInfo.prcExpDt}
</if>
<if
test=
"tGzEmpInfo.workLocation != null and tGzEmpInfo.workLocation.trim() != ''"
>
AND a.work_location = #{tGzEmpInfo.workLocation}
</if>
<if
test=
"tGzEmpInfo.contractState != null and tGzEmpInfo.contractState.trim() != ''"
>
AND a.contract_state = #{tGzEmpInfo.contractState}
</if>
<if
test=
"tGzEmpInfo.hukouType != null and tGzEmpInfo.hukouType.trim() != ''"
>
AND a.hukou_type = #{tGzEmpInfo.hukouType}
</if>
<if
test=
"tGzEmpInfo.hukouProvince != null and tGzEmpInfo.hukouProvince.trim() != ''"
>
AND a.hukou_province = #{tGzEmpInfo.hukouProvince}
</if>
<if
test=
"tGzEmpInfo.hukouCity != null and tGzEmpInfo.hukouCity.trim() != ''"
>
AND a.hukou_city = #{tGzEmpInfo.hukouCity}
</if>
<if
test=
"tGzEmpInfo.hukouCounty != null and tGzEmpInfo.hukouCounty.trim() != ''"
>
AND a.hukou_county = #{tGzEmpInfo.hukouCounty}
</if>
<if
test=
"tGzEmpInfo.hukouDetail != null and tGzEmpInfo.hukouDetail.trim() != ''"
>
AND a.hukou_detail = #{tGzEmpInfo.hukouDetail}
</if>
<if
test=
"tGzEmpInfo.accountType != null and tGzEmpInfo.accountType.trim() != ''"
>
AND a.account_type = #{tGzEmpInfo.accountType}
</if>
<if
test=
"tGzEmpInfo.accountStatus != null and tGzEmpInfo.accountStatus.trim() != ''"
>
AND a.account_status = #{tGzEmpInfo.accountStatus}
</if>
<if
test=
"tGzEmpInfo.accountCountry != null and tGzEmpInfo.accountCountry.trim() != ''"
>
AND a.account_country = #{tGzEmpInfo.accountCountry}
</if>
<if
test=
"tGzEmpInfo.bankCd != null and tGzEmpInfo.bankCd.trim() != ''"
>
AND a.bank_cd = #{tGzEmpInfo.bankCd}
</if>
<if
test=
"tGzEmpInfo.cnapsId != null and tGzEmpInfo.cnapsId.trim() != ''"
>
AND a.cnaps_id = #{tGzEmpInfo.cnapsId}
</if>
<if
test=
"tGzEmpInfo.bankName != null and tGzEmpInfo.bankName.trim() != ''"
>
AND a.bank_name = #{tGzEmpInfo.bankName}
</if>
<if
test=
"tGzEmpInfo.accountProvince != null and tGzEmpInfo.accountProvince.trim() != ''"
>
AND a.account_province = #{tGzEmpInfo.accountProvince}
</if>
<if
test=
"tGzEmpInfo.accountCity != null and tGzEmpInfo.accountCity.trim() != ''"
>
AND a.account_city = #{tGzEmpInfo.accountCity}
</if>
<if
test=
"tGzEmpInfo.accountEcId != null and tGzEmpInfo.accountEcId.trim() != ''"
>
AND a.account_ec_id = #{tGzEmpInfo.accountEcId}
</if>
<if
test=
"tGzEmpInfo.accountName != null and tGzEmpInfo.accountName.trim() != ''"
>
AND a.account_name = #{tGzEmpInfo.accountName}
</if>
</if>
</sql>
<!--tGzEmpInfo简单分页查询-->
<select
id=
"getTGzEmpInfoPage"
resultMap=
"tGzEmpInfoMap"
>
SELECT
<include
refid=
"Base_Column_List"
/>
FROM t_gz_emp_info a
<where>
1=1
<include
refid=
"tGzEmpInfo_where"
/>
</where>
</select>
</mapper>
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TGzEmpSkillMapper.xml
0 → 100644
View file @
00ac9b10
<?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.TGzEmpSkillMapper"
>
<resultMap
id=
"tGzEmpSkillMap"
type=
"com.yifu.cloud.plus.v1.yifu.archives.entity.TGzEmpSkill"
>
<id
property=
"id"
column=
"id"
/>
<result
property=
"empId"
column=
"emp_id"
/>
<result
property=
"delFlag"
column=
"del_flag"
/>
<result
property=
"createTime"
column=
"create_time"
/>
<result
property=
"createBy"
column=
"create_by"
/>
<result
property=
"createName"
column=
"create_name"
/>
<result
property=
"updateBy"
column=
"update_by"
/>
<result
property=
"updateTime"
column=
"update_time"
/>
<result
property=
"skillName"
column=
"skill_name"
/>
<result
property=
"skillDate"
column=
"skill_date"
/>
<result
property=
"skillOrg"
column=
"skill_org"
/>
<result
property=
"skillLevel"
column=
"skill_level"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
a.id,
a.emp_id,
a.del_flag,
a.create_time,
a.create_by,
a.create_name,
a.update_by,
a.update_time,
a.skill_name,
a.skill_date,
a.skill_org,
a.skill_level
</sql>
<sql
id=
"tGzEmpSkill_where"
>
<if
test=
"tGzEmpSkill != null"
>
<if
test=
"tGzEmpSkill.id != null and tGzEmpSkill.id.trim() != ''"
>
AND a.id = #{tGzEmpSkill.id}
</if>
<if
test=
"tGzEmpSkill.empId != null and tGzEmpSkill.empId.trim() != ''"
>
AND a.emp_id = #{tGzEmpSkill.empId}
</if>
<if
test=
"tGzEmpSkill.delFlag != null and tGzEmpSkill.delFlag.trim() != ''"
>
AND a.del_flag = #{tGzEmpSkill.delFlag}
</if>
<if
test=
"tGzEmpSkill.createTime != null"
>
AND a.create_time = #{tGzEmpSkill.createTime}
</if>
<if
test=
"tGzEmpSkill.createBy != null and tGzEmpSkill.createBy.trim() != ''"
>
AND a.create_by = #{tGzEmpSkill.createBy}
</if>
<if
test=
"tGzEmpSkill.createName != null and tGzEmpSkill.createName.trim() != ''"
>
AND a.create_name = #{tGzEmpSkill.createName}
</if>
<if
test=
"tGzEmpSkill.updateBy != null and tGzEmpSkill.updateBy.trim() != ''"
>
AND a.update_by = #{tGzEmpSkill.updateBy}
</if>
<if
test=
"tGzEmpSkill.updateTime != null"
>
AND a.update_time = #{tGzEmpSkill.updateTime}
</if>
<if
test=
"tGzEmpSkill.skillName != null and tGzEmpSkill.skillName.trim() != ''"
>
AND a.skill_name = #{tGzEmpSkill.skillName}
</if>
<if
test=
"tGzEmpSkill.skillDate != null"
>
AND a.skill_date = #{tGzEmpSkill.skillDate}
</if>
<if
test=
"tGzEmpSkill.skillOrg != null and tGzEmpSkill.skillOrg.trim() != ''"
>
AND a.skill_org = #{tGzEmpSkill.skillOrg}
</if>
<if
test=
"tGzEmpSkill.skillLevel != null and tGzEmpSkill.skillLevel.trim() != ''"
>
AND a.skill_level = #{tGzEmpSkill.skillLevel}
</if>
</if>
</sql>
<!--tGzEmpSkill简单分页查询-->
<select
id=
"getTGzEmpSkillPage"
resultMap=
"tGzEmpSkillMap"
>
SELECT
<include
refid=
"Base_Column_List"
/>
FROM t_gz_emp_skill a
<where>
1=1
<include
refid=
"tGzEmpSkill_where"
/>
</where>
</select>
</mapper>
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TGzEmpWorkMapper.xml
0 → 100644
View file @
00ac9b10
<?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.TGzEmpWorkMapper"
>
<resultMap
id=
"tGzEmpWorkMap"
type=
"com.yifu.cloud.plus.v1.yifu.archives.entity.TGzEmpWork"
>
<id
property=
"id"
column=
"id"
/>
<result
property=
"empId"
column=
"emp_id"
/>
<result
property=
"delFlag"
column=
"del_flag"
/>
<result
property=
"createTime"
column=
"create_time"
/>
<result
property=
"createBy"
column=
"create_by"
/>
<result
property=
"createName"
column=
"create_name"
/>
<result
property=
"updateBy"
column=
"update_by"
/>
<result
property=
"updateTime"
column=
"update_time"
/>
<result
property=
"workUnit"
column=
"work_unit"
/>
<result
property=
"workStartDate"
column=
"work_start_date"
/>
<result
property=
"workEndDate"
column=
"work_end_date"
/>
<result
property=
"workDept"
column=
"work_dept"
/>
<result
property=
"workJob"
column=
"work_job"
/>
<result
property=
"certifierName"
column=
"certifier_name"
/>
<result
property=
"certifierPhone"
column=
"certifier_phone"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
a.id,
a.emp_id,
a.del_flag,
a.create_time,
a.create_by,
a.create_name,
a.update_by,
a.update_time,
a.work_unit,
a.work_start_date,
a.work_end_date,
a.work_dept,
a.work_job,
a.certifier_name,
a.certifier_phone
</sql>
<sql
id=
"tGzEmpWork_where"
>
<if
test=
"tGzEmpWork != null"
>
<if
test=
"tGzEmpWork.id != null and tGzEmpWork.id.trim() != ''"
>
AND a.id = #{tGzEmpWork.id}
</if>
<if
test=
"tGzEmpWork.empId != null and tGzEmpWork.empId.trim() != ''"
>
AND a.emp_id = #{tGzEmpWork.empId}
</if>
<if
test=
"tGzEmpWork.delFlag != null and tGzEmpWork.delFlag.trim() != ''"
>
AND a.del_flag = #{tGzEmpWork.delFlag}
</if>
<if
test=
"tGzEmpWork.createTime != null"
>
AND a.create_time = #{tGzEmpWork.createTime}
</if>
<if
test=
"tGzEmpWork.createBy != null and tGzEmpWork.createBy.trim() != ''"
>
AND a.create_by = #{tGzEmpWork.createBy}
</if>
<if
test=
"tGzEmpWork.createName != null and tGzEmpWork.createName.trim() != ''"
>
AND a.create_name = #{tGzEmpWork.createName}
</if>
<if
test=
"tGzEmpWork.updateBy != null and tGzEmpWork.updateBy.trim() != ''"
>
AND a.update_by = #{tGzEmpWork.updateBy}
</if>
<if
test=
"tGzEmpWork.updateTime != null"
>
AND a.update_time = #{tGzEmpWork.updateTime}
</if>
<if
test=
"tGzEmpWork.workUnit != null and tGzEmpWork.workUnit.trim() != ''"
>
AND a.work_unit = #{tGzEmpWork.workUnit}
</if>
<if
test=
"tGzEmpWork.workStartDate != null"
>
AND a.work_start_date = #{tGzEmpWork.workStartDate}
</if>
<if
test=
"tGzEmpWork.workEndDate != null"
>
AND a.work_end_date = #{tGzEmpWork.workEndDate}
</if>
<if
test=
"tGzEmpWork.workDept != null and tGzEmpWork.workDept.trim() != ''"
>
AND a.work_dept = #{tGzEmpWork.workDept}
</if>
<if
test=
"tGzEmpWork.workJob != null and tGzEmpWork.workJob.trim() != ''"
>
AND a.work_job = #{tGzEmpWork.workJob}
</if>
<if
test=
"tGzEmpWork.certifierName != null and tGzEmpWork.certifierName.trim() != ''"
>
AND a.certifier_name = #{tGzEmpWork.certifierName}
</if>
<if
test=
"tGzEmpWork.certifierPhone != null and tGzEmpWork.certifierPhone.trim() != ''"
>
AND a.certifier_phone = #{tGzEmpWork.certifierPhone}
</if>
</if>
</sql>
<!--tGzEmpWork简单分页查询-->
<select
id=
"getTGzEmpWorkPage"
resultMap=
"tGzEmpWorkMap"
>
SELECT
<include
refid=
"Base_Column_List"
/>
FROM t_gz_emp_work a
<where>
1=1
<include
refid=
"tGzEmpWork_where"
/>
</where>
</select>
</mapper>
yifu-upms/yifu-upms-api/src/main/java/com/yifu.cloud.plus.v1/yifu/admin/api/entity/SysDictItem.java
View file @
00ac9b10
...
...
@@ -116,4 +116,7 @@ public class SysDictItem extends BaseEntity {
@Schema
(
description
=
"上级字典项标签"
)
private
String
parentLabelOfValue
;
@Schema
(
description
=
"客户端标识"
)
private
String
clientId
;
}
yifu-upms/yifu-upms-api/src/main/java/com/yifu.cloud.plus.v1/yifu/admin/api/entity/SysOutEmpCategorizeFormInfo.java
View file @
00ac9b10
...
...
@@ -46,6 +46,10 @@ public class SysOutEmpCategorizeFormInfo extends BaseEntity {
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@Schema
(
description
=
"主键"
)
private
String
id
;
@Schema
(
description
=
"附属信息分类标识"
)
private
String
fieldName
;
/**
* 分类名称
*/
...
...
yifu-upms/yifu-upms-api/src/main/java/com/yifu.cloud.plus.v1/yifu/admin/api/vo/SysOutEmpCategorizeFormInfoVo.java
0 → 100644
View file @
00ac9b10
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
admin
.
api
.
vo
;
import
com.yifu.cloud.plus.v1.yifu.admin.api.entity.SysOutEmpCategorizeFormInfo
;
import
com.yifu.cloud.plus.v1.yifu.admin.api.entity.SysOutEmpFormInfo
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
java.util.List
;
/**
* 瓜子采集配置(前端用配置进行展示)
*
* @author chenyx
* @date 2025-06-11 15:57:30
*/
@Data
public
class
SysOutEmpCategorizeFormInfoVo
extends
SysOutEmpCategorizeFormInfo
{
@Schema
(
description
=
"字段配置"
)
private
List
<
SysOutEmpFormInfo
>
sysOutEmpFormInfoList
;
}
yifu-upms/yifu-upms-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/admin/controller/DictController.java
View file @
00ac9b10
...
...
@@ -20,6 +20,7 @@ import cn.hutool.core.lang.tree.Tree;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Wrappers
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.google.common.collect.Maps
;
import
com.yifu.cloud.plus.v1.yifu.admin.api.entity.SysDict
;
import
com.yifu.cloud.plus.v1.yifu.admin.api.entity.SysDictItem
;
import
com.yifu.cloud.plus.v1.yifu.admin.service.SysDictItemService
;
...
...
@@ -39,6 +40,7 @@ import org.springframework.security.access.prepost.PreAuthorize;
import
org.springframework.web.bind.annotation.*
;
import
javax.validation.Valid
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.Map
;
...
...
@@ -361,4 +363,18 @@ public class DictController {
.
eq
(
SysDictItem:
:
getDisable
,
CommonConstants
.
ZERO_STRING
));
return
new
R
<>(
allList
);
}
/**
* 获取指定端下的字典列表
* @param clientId 客户端标识
* @author chenyx
* @date 2025-06-11 15:57:30
* @since 1.7.12
**/
@GetMapping
(
"/getDictListByClientId"
)
public
R
<
Map
<
String
,
List
<
SysDictItem
>>>
getDictMapByClientId
(
@RequestParam
String
clientId
)
{
return
new
R
<>(
sysDictService
.
getDictMapByClientId
(
clientId
));
}
}
yifu-upms/yifu-upms-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/admin/controller/SysOutEmpCategorizeFormInfoController.java
View file @
00ac9b10
...
...
@@ -44,7 +44,6 @@ public class SysOutEmpCategorizeFormInfoController {
private
final
SysOutEmpCategorizeFormInfoService
sysOutEmpCategorizeFormInfoService
;
/**
* 简单分页查询
* @param page 分页对象
...
...
yifu-upms/yifu-upms-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/admin/controller/SysOutEmpFormInfoController.java
View file @
00ac9b10
...
...
@@ -19,7 +19,9 @@ package com.yifu.cloud.plus.v1.yifu.admin.controller;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.admin.api.entity.SysOutEmpCategorizeFormInfo
;
import
com.yifu.cloud.plus.v1.yifu.admin.api.entity.SysOutEmpFormInfo
;
import
com.yifu.cloud.plus.v1.yifu.admin.api.vo.SysOutEmpCategorizeFormInfoVo
;
import
com.yifu.cloud.plus.v1.yifu.admin.api.vo.SysOutEmpFormInfoVo
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.common.log.annotation.SysLog
;
...
...
@@ -48,6 +50,17 @@ public class SysOutEmpFormInfoController {
private
final
SysOutEmpFormInfoService
sysOutEmpFormInfoService
;
/**
* 瓜子采集配置列表
* @param isLookToc C端:0
* @return List<SysOutEmpCategorizeFormInfoVo>
*/
@Operation
(
description
=
"瓜子采集配置列表"
)
@GetMapping
(
"/configList"
)
public
R
<
List
<
SysOutEmpCategorizeFormInfoVo
>>
getConfigList
(
@RequestParam
String
isLookToc
)
{
return
new
R
<>(
sysOutEmpFormInfoService
.
getConfigList
(
isLookToc
));
}
/**
* 简单分页查询
* @param page 分页对象
...
...
yifu-upms/yifu-upms-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/admin/mapper/SysOutEmpCategorizeFormInfoMapper.java
View file @
00ac9b10
...
...
@@ -21,9 +21,12 @@ 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.admin.api.entity.SysOutEmpCategorizeFormInfo
;
import
com.yifu.cloud.plus.v1.yifu.admin.api.vo.SysOutEmpCategorizeFormInfoVo
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
import
java.util.List
;
/**
* 瓜子采集表单信息分类表
*
...
...
@@ -39,4 +42,7 @@ public interface SysOutEmpCategorizeFormInfoMapper extends BaseMapper<SysOutEmpC
* @return
*/
IPage
<
SysOutEmpCategorizeFormInfo
>
getSysOutEmpCategorizeFormInfoPage
(
Page
<
SysOutEmpCategorizeFormInfo
>
page
,
@Param
(
"sysOutEmpCategorizeFormInfo"
)
SysOutEmpCategorizeFormInfo
sysOutEmpCategorizeFormInfo
);
List
<
SysOutEmpCategorizeFormInfoVo
>
getCategorizeVoList
(
@Param
(
"isLookToc"
)
String
isLookToc
);
}
yifu-upms/yifu-upms-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/admin/service/SysDictService.java
View file @
00ac9b10
...
...
@@ -23,6 +23,7 @@ import com.yifu.cloud.plus.v1.yifu.admin.api.entity.SysDictItem;
import
com.yifu.cloud.plus.v1.yifu.admin.api.vo.DictRedisVo
;
import
java.util.List
;
import
java.util.Map
;
/**
* 字典表
...
...
@@ -61,4 +62,6 @@ public interface SysDictService extends IService<SysDict> {
List
<
SysDictItem
>
findDetailsByItemType
(
String
itemType
);
Map
<
String
,
List
<
SysDictItem
>>
getDictMapByClientId
(
String
clientId
);
}
yifu-upms/yifu-upms-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/admin/service/SysOutEmpCategorizeFormInfoService.java
View file @
00ac9b10
...
...
@@ -21,6 +21,9 @@ import com.baomidou.mybatisplus.extension.service.IService;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.admin.api.entity.SysOutEmpCategorizeFormInfo
;
import
com.yifu.cloud.plus.v1.yifu.admin.api.vo.SysOutEmpCategorizeFormInfoVo
;
import
java.util.List
;
/**
* 瓜子采集表单信息分类表
...
...
@@ -37,5 +40,6 @@ public interface SysOutEmpCategorizeFormInfoService extends IService<SysOutEmpCa
*/
IPage
<
SysOutEmpCategorizeFormInfo
>
getSysOutEmpCategorizeFormInfoPage
(
Page
<
SysOutEmpCategorizeFormInfo
>
page
,
SysOutEmpCategorizeFormInfo
sysOutEmpCategorizeFormInfo
);
List
<
SysOutEmpCategorizeFormInfoVo
>
getCategorizeVoList
(
String
isLookToc
);
}
yifu-upms/yifu-upms-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/admin/service/SysOutEmpFormInfoService.java
View file @
00ac9b10
...
...
@@ -21,6 +21,7 @@ import com.baomidou.mybatisplus.extension.service.IService;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.admin.api.entity.SysOutEmpFormInfo
;
import
com.yifu.cloud.plus.v1.yifu.admin.api.vo.SysOutEmpCategorizeFormInfoVo
;
import
com.yifu.cloud.plus.v1.yifu.admin.api.vo.SysOutEmpFormInfoVo
;
import
java.util.List
;
...
...
@@ -31,6 +32,13 @@ import java.util.List;
* @date 2025-06-11 15:57:30
*/
public
interface
SysOutEmpFormInfoService
extends
IService
<
SysOutEmpFormInfo
>
{
/**
* 瓜子C端采集配置列表
* @return List<SysOutEmpCategorizeFormInfoVo>
*/
List
<
SysOutEmpCategorizeFormInfoVo
>
getConfigList
(
String
isLookToc
);
/**
* 瓜子采集字段配置表(前端用配置进行展示)简单分页查询
* @param sysOutEmpFormInfo 瓜子采集字段配置表(前端用配置进行展示)
...
...
yifu-upms/yifu-upms-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/admin/service/impl/SysDictServiceImpl.java
View file @
00ac9b10
...
...
@@ -28,8 +28,10 @@ import com.yifu.cloud.plus.v1.yifu.admin.mapper.SysDictItemMapper;
import
com.yifu.cloud.plus.v1.yifu.admin.mapper.SysDictMapper
;
import
com.yifu.cloud.plus.v1.yifu.admin.service.SysDictService
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.CacheConstants
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.CommonConstants
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.enums.DictTypeEnum
;
import
com.yifu.cloud.plus.v1.yifu.common.core.exception.ErrorCodes
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.Common
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.MsgUtils
;
import
com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity
;
import
lombok.RequiredArgsConstructor
;
...
...
@@ -38,7 +40,10 @@ import org.springframework.stereotype.Service;
import
org.springframework.transaction.annotation.Transactional
;
import
org.springframework.util.Assert
;
import
java.util.ArrayList
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.Map
;
/**
* 字典表
...
...
@@ -151,4 +156,33 @@ public class SysDictServiceImpl extends ServiceImpl<SysDictMapper, SysDict> impl
return
dictItemMapper
.
selectList
(
Wrappers
.<
SysDictItem
>
query
().
lambda
()
.
eq
(
SysDictItem:
:
getType
,
itemType
));
}
@Override
public
Map
<
String
,
List
<
SysDictItem
>>
getDictMapByClientId
(
String
clientId
)
{
Map
<
String
,
List
<
SysDictItem
>>
dictMap
=
new
HashMap
<>();
List
<
SysDictItem
>
sysDictList
=
dictItemMapper
.
selectList
(
Wrappers
.<
SysDictItem
>
query
().
lambda
()
.
eq
(
SysDictItem:
:
getDelFlag
,
CommonConstants
.
ZERO_STRING
)
.
eq
(
SysDictItem:
:
getDisable
,
CommonConstants
.
ZERO_STRING
)
.
eq
(
SysDictItem:
:
getClientId
,
clientId
)
.
orderByAsc
(
SysDictItem:
:
getSortOrder
).
orderByAsc
(
SysDictItem:
:
getId
)
);
if
(
Common
.
isEmpty
(
sysDictList
)){
return
dictMap
;
}
for
(
SysDictItem
dictInfo
:
sysDictList
){
// 获取指定分类下的配置字段
List
<
SysDictItem
>
dictListByCategorize
=
dictMap
.
get
(
dictInfo
.
getType
());
if
(
Common
.
isEmpty
(
dictListByCategorize
))
{
// 关联的模块列表
dictListByCategorize
=
new
ArrayList
<>();
}
dictListByCategorize
.
add
(
dictInfo
);
dictMap
.
put
(
dictInfo
.
getType
(),
dictListByCategorize
);
}
return
dictMap
;
}
}
yifu-upms/yifu-upms-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/admin/service/impl/SysOutEmpCategorizeFormInfoServiceImpl.java
View file @
00ac9b10
...
...
@@ -18,6 +18,7 @@ package com.yifu.cloud.plus.v1.yifu.admin.service.impl;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.yifu.cloud.plus.v1.yifu.admin.api.entity.SysOutEmpCategorizeFormInfo
;
import
com.yifu.cloud.plus.v1.yifu.admin.api.vo.SysOutEmpCategorizeFormInfoVo
;
import
com.yifu.cloud.plus.v1.yifu.admin.mapper.SysOutEmpCategorizeFormInfoMapper
;
import
com.yifu.cloud.plus.v1.yifu.admin.service.SysOutEmpCategorizeFormInfoService
;
import
lombok.extern.log4j.Log4j2
;
...
...
@@ -25,6 +26,8 @@ import org.springframework.stereotype.Service;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
java.util.List
;
/**
* 瓜子采集表单信息分类表
...
...
@@ -46,4 +49,8 @@ public class SysOutEmpCategorizeFormInfoServiceImpl extends ServiceImpl<SysOutEm
return
baseMapper
.
getSysOutEmpCategorizeFormInfoPage
(
page
,
sysOutEmpCategorizeFormInfo
);
}
@Override
public
List
<
SysOutEmpCategorizeFormInfoVo
>
getCategorizeVoList
(
String
isLookToc
)
{
return
baseMapper
.
getCategorizeVoList
(
isLookToc
);
}
}
yifu-upms/yifu-upms-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/admin/service/impl/SysOutEmpFormInfoServiceImpl.java
View file @
00ac9b10
...
...
@@ -17,13 +17,19 @@
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
admin
.
service
.
impl
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.yifu.cloud.plus.v1.yifu.admin.api.entity.SysOutEmpCategorizeFormInfo
;
import
com.yifu.cloud.plus.v1.yifu.admin.api.entity.SysOutEmpFormInfo
;
import
com.yifu.cloud.plus.v1.yifu.admin.api.vo.SysOutEmpCategorizeFormInfoVo
;
import
com.yifu.cloud.plus.v1.yifu.admin.api.vo.SysOutEmpFormInfoVo
;
import
com.yifu.cloud.plus.v1.yifu.admin.mapper.SysOutEmpFormInfoMapper
;
import
com.yifu.cloud.plus.v1.yifu.admin.service.SysOutEmpCategorizeFormInfoService
;
import
com.yifu.cloud.plus.v1.yifu.admin.service.SysOutEmpFormInfoService
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.CommonConstants
;
import
lombok.RequiredArgsConstructor
;
import
lombok.extern.log4j.Log4j2
;
import
org.springframework.stereotype.Service
;
import
java.util.List
;
import
java.util.*
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
...
...
@@ -41,7 +47,54 @@ import com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity;
*/
@Log4j2
@Service
@RequiredArgsConstructor
public
class
SysOutEmpFormInfoServiceImpl
extends
ServiceImpl
<
SysOutEmpFormInfoMapper
,
SysOutEmpFormInfo
>
implements
SysOutEmpFormInfoService
{
private
final
SysOutEmpCategorizeFormInfoService
categorizeFormInfoService
;
/**
* 瓜子C端采集配置列表
*
* @return List<SysOutEmpCategorizeFormInfoVo>
*/
@Override
public
List
<
SysOutEmpCategorizeFormInfoVo
>
getConfigList
(
String
isLookToc
)
{
List
<
SysOutEmpCategorizeFormInfoVo
>
categorizeFormInfoVoList
=
categorizeFormInfoService
.
getCategorizeVoList
(
isLookToc
);
if
(
Common
.
isEmpty
(
categorizeFormInfoVoList
)){
return
categorizeFormInfoVoList
;
}
Map
<
String
,
List
<
SysOutEmpFormInfo
>>
formListMap
=
new
HashMap
<>();
LambdaQueryWrapper
<
SysOutEmpFormInfo
>
formQuery
=
Wrappers
.<
SysOutEmpFormInfo
>
lambdaQuery
()
.
eq
(
SysOutEmpFormInfo:
:
getDelFlag
,
CommonConstants
.
ZERO_STRING
)
.
orderByAsc
(
SysOutEmpFormInfo:
:
getSort
).
orderByDesc
(
SysOutEmpFormInfo:
:
getId
);
List
<
SysOutEmpFormInfo
>
formInfoList
=
this
.
list
(
formQuery
);
if
(
Common
.
isEmpty
(
formInfoList
)){
return
categorizeFormInfoVoList
;
}
for
(
SysOutEmpFormInfo
formInfo
:
formInfoList
){
// 获取指定分类下的配置字段
List
<
SysOutEmpFormInfo
>
formInfoListByCategorize
=
formListMap
.
get
(
formInfo
.
getCategorizeId
());
if
(
Common
.
isEmpty
(
formInfoListByCategorize
))
{
// 关联的模块列表
formInfoListByCategorize
=
new
ArrayList
<>();
}
formInfoListByCategorize
.
add
(
formInfo
);
formListMap
.
put
(
formInfo
.
getCategorizeId
(),
formInfoListByCategorize
);
}
for
(
SysOutEmpCategorizeFormInfoVo
categorizeFormInfoVo
:
categorizeFormInfoVoList
){
if
(
Common
.
isNotNull
(
formListMap
.
get
(
categorizeFormInfoVo
.
getId
()))){
categorizeFormInfoVo
.
setSysOutEmpFormInfoList
(
formListMap
.
get
(
categorizeFormInfoVo
.
getId
()));
}
}
return
categorizeFormInfoVoList
;
}
/**
* 瓜子采集字段配置表(前端用配置进行展示)简单分页查询
*
...
...
yifu-upms/yifu-upms-biz/src/main/resources/mapper/SysOutEmpCategorizeFormInfoMapper.xml
View file @
00ac9b10
...
...
@@ -26,6 +26,7 @@
<resultMap
id=
"sysOutEmpCategorizeFormInfoMap"
type=
"com.yifu.cloud.plus.v1.yifu.admin.api.entity.SysOutEmpCategorizeFormInfo"
>
<id
property=
"id"
column=
"id"
/>
<result
property=
"fieldName"
column=
"field_name"
/>
<result
property=
"name"
column=
"name"
/>
<result
property=
"sort"
column=
"sort"
/>
<result
property=
"groupType"
column=
"group_type"
/>
...
...
@@ -39,6 +40,7 @@
</resultMap>
<sql
id=
"Base_Column_List"
>
a.id,
a.field_name,
a.name,
a.sort,
a.group_type,
...
...
@@ -97,4 +99,17 @@
<include
refid=
"sysOutEmpCategorizeFormInfo_where"
/>
</where>
</select>
<select
id=
"getCategorizeVoList"
resultType=
"com.yifu.cloud.plus.v1.yifu.admin.api.vo.SysOutEmpCategorizeFormInfoVo"
>
SELECT
<include
refid=
"Base_Column_List"
/>
FROM sys_out_emp_categorize_form_info a
<where>
a.del_flag = '0'
<if
test=
"isLookToc != null and isLookToc.trim() != ''"
>
AND a.is_look_toc = #{isLookToc}
</if>
</where>
order by a.sort,a.id desc
</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