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
af79d1c7
Commit
af79d1c7
authored
Jun 11, 2025
by
chenyuxi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 瓜子相关表代码初始化
parent
c1775c64
Hide whitespace changes
Inline
Side-by-side
Showing
39 changed files
with
3085 additions
and
0 deletions
+3085
-0
LGuaziOfferRecord.java
...cloud/plus/v1/yifu/archives/entity/LGuaziOfferRecord.java
+77
-0
TGzOfferInfo.java
...yifu/cloud/plus/v1/yifu/archives/entity/TGzOfferInfo.java
+341
-0
LGuaziOfferRecordVo.java
...u/cloud/plus/v1/yifu/archives/vo/LGuaziOfferRecordVo.java
+31
-0
TGzOfferInfoVo.java
...m/yifu/cloud/plus/v1/yifu/archives/vo/TGzOfferInfoVo.java
+32
-0
LGuaziOfferRecordController.java
...yifu/archives/controller/LGuaziOfferRecordController.java
+85
-0
TGzOfferInfoController.java
...s/v1/yifu/archives/controller/TGzOfferInfoController.java
+99
-0
LGuaziOfferRecordMapper.java
...plus/v1/yifu/archives/mapper/LGuaziOfferRecordMapper.java
+41
-0
TGzOfferInfoMapper.java
...loud/plus/v1/yifu/archives/mapper/TGzOfferInfoMapper.java
+41
-0
LGuaziOfferRecordService.java
...us/v1/yifu/archives/service/LGuaziOfferRecordService.java
+39
-0
TGzOfferInfoService.java
...ud/plus/v1/yifu/archives/service/TGzOfferInfoService.java
+39
-0
LGuaziOfferRecordServiceImpl.java
...u/archives/service/impl/LGuaziOfferRecordServiceImpl.java
+46
-0
TGzOfferInfoServiceImpl.java
...1/yifu/archives/service/impl/TGzOfferInfoServiceImpl.java
+47
-0
LGuaziOfferRecordMapper.xml
...biz/src/main/resources/mapper/LGuaziOfferRecordMapper.xml
+84
-0
TGzOfferInfoMapper.xml
...ives-biz/src/main/resources/mapper/TGzOfferInfoMapper.xml
+239
-0
SysOutEmpCategorizeFormInfo.java
...v1/yifu/admin/api/entity/SysOutEmpCategorizeFormInfo.java
+80
-0
SysOutEmpFormInfo.java
...loud.plus.v1/yifu/admin/api/entity/SysOutEmpFormInfo.java
+170
-0
SysOutRelDict.java
...fu.cloud.plus.v1/yifu/admin/api/entity/SysOutRelDict.java
+68
-0
SysOutRelDictItem.java
...loud.plus.v1/yifu/admin/api/entity/SysOutRelDictItem.java
+77
-0
SysOutEmpFormInfoVo.java
....cloud.plus.v1/yifu/admin/api/vo/SysOutEmpFormInfoVo.java
+39
-0
SysOutEmpCategorizeFormInfoController.java
...min/controller/SysOutEmpCategorizeFormInfoController.java
+112
-0
SysOutEmpFormInfoController.java
...v1/yifu/admin/controller/SysOutEmpFormInfoController.java
+124
-0
SysOutRelDictController.java
...lus/v1/yifu/admin/controller/SysOutRelDictController.java
+110
-0
SysOutRelDictItemController.java
...v1/yifu/admin/controller/SysOutRelDictItemController.java
+111
-0
SysOutEmpCategorizeFormInfoMapper.java
.../yifu/admin/mapper/SysOutEmpCategorizeFormInfoMapper.java
+42
-0
SysOutEmpFormInfoMapper.java
...ud/plus/v1/yifu/admin/mapper/SysOutEmpFormInfoMapper.java
+42
-0
SysOutRelDictItemMapper.java
...ud/plus/v1/yifu/admin/mapper/SysOutRelDictItemMapper.java
+32
-0
SysOutRelDictMapper.java
.../cloud/plus/v1/yifu/admin/mapper/SysOutRelDictMapper.java
+32
-0
SysOutEmpCategorizeFormInfoService.java
...ifu/admin/service/SysOutEmpCategorizeFormInfoService.java
+41
-0
SysOutEmpFormInfoService.java
.../plus/v1/yifu/admin/service/SysOutEmpFormInfoService.java
+42
-0
SysOutRelDictItemService.java
.../plus/v1/yifu/admin/service/SysOutRelDictItemService.java
+35
-0
SysOutRelDictService.java
...loud/plus/v1/yifu/admin/service/SysOutRelDictService.java
+35
-0
SysOutEmpCategorizeFormInfoServiceImpl.java
.../service/impl/SysOutEmpCategorizeFormInfoServiceImpl.java
+49
-0
SysOutEmpFormInfoServiceImpl.java
...yifu/admin/service/impl/SysOutEmpFormInfoServiceImpl.java
+74
-0
SysOutRelDictItemServiceImpl.java
...yifu/admin/service/impl/SysOutRelDictItemServiceImpl.java
+57
-0
SysOutRelDictServiceImpl.java
.../v1/yifu/admin/service/impl/SysOutRelDictServiceImpl.java
+57
-0
SysOutEmpCategorizeFormInfoMapper.xml
...in/resources/mapper/SysOutEmpCategorizeFormInfoMapper.xml
+100
-0
SysOutEmpFormInfoMapper.xml
...biz/src/main/resources/mapper/SysOutEmpFormInfoMapper.xml
+174
-0
SysOutRelDictItemMapper.xml
...biz/src/main/resources/mapper/SysOutRelDictItemMapper.xml
+74
-0
SysOutRelDictMapper.xml
...pms-biz/src/main/resources/mapper/SysOutRelDictMapper.xml
+67
-0
No files found.
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/entity/LGuaziOfferRecord.java
0 → 100644
View file @
af79d1c7
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
entity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableLogic
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
org.hibernate.validator.constraints.Length
;
import
javax.validation.constraints.NotBlank
;
/**
* 瓜子offer操作日志
*
* @author chenyx
* @date 2025-06-11 15:59:04
*/
@Data
@TableName
(
"l_guazi_offer_record"
)
@EqualsAndHashCode
(
callSuper
=
true
)
@Schema
(
description
=
"瓜子offer操作日志"
)
public
class
LGuaziOfferRecord
extends
BaseEntity
{
/**
* id
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@Schema
(
description
=
"id"
)
private
String
id
;
/**
* 关联瓜子offerID
*/
@NotBlank
(
message
=
"关联瓜子offerID不能为空"
)
@Length
(
max
=
32
,
message
=
"关联瓜子offerID不能超过32个字符"
)
@Schema
(
description
=
"关联瓜子offerID"
)
private
String
offerId
;
/**
* 操作内容
*/
@NotBlank
(
message
=
"操作内容不能为空"
)
@Schema
(
description
=
"操作内容"
)
private
String
content
;
/**
* 记录来源(1:手动更新状态;2:编辑offer信息;3:发送Offer查阅短信;4:发送信息收集短信;5:(系统触发)收集短信发送成功;6:(系统触发)C端采集提交;7:(系统触发)档案审核通过;8:(系统触发)档案审核不通过;9:(系统触发)发起合同申请10:(系统触发)合同审核通过;11:(系统触发)合同归档;12:发送合同下载短信)
*/
@Length
(
max
=
2
,
message
=
"记录来源(1:手动更新状态;2:编辑offer信息;3:发送Offer查阅短信;4:发送信息收集短信;5:(系统触发)收集短信发送成功;6:(系统触发)C端采集提交;7:(系统触发)档案审核通过;8:(系统触发)档案审核不通过;9:(系统触发)发起合同申请10:(系统触发)合同审核通过;11:(系统触发)合同归档;12:发送合同下载短信)不能超过2个字符"
)
@Schema
(
description
=
"记录来源(1:手动更新状态;2:编辑offer信息;3:发送Offer查阅短信;4:发送信息收集短信;5:(系统触发)收集短信发送成功;6:(系统触发)C端采集提交;7:(系统触发)档案审核通过;8:(系统触发)档案审核不通过;9:(系统触发)发起合同申请10:(系统触发)合同审核通过;11:(系统触发)合同归档;12:发送合同下载短信)"
)
private
String
recordFrom
;
/**
* 删除标记
*/
@Length
(
max
=
1
,
message
=
"删除标记不能超过1个字符"
)
@Schema
(
description
=
"删除标记"
)
@TableLogic
private
String
delFlag
;
}
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/entity/TGzOfferInfo.java
0 → 100644
View file @
af79d1c7
/*
* 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.math.BigDecimal
;
import
java.util.Date
;
/**
* 瓜子offer信息接收表
*
* @author chenyx
* @date 2025-06-11 15:58:37
*/
@Data
@TableName
(
"t_gz_offer_info"
)
@EqualsAndHashCode
(
callSuper
=
true
)
@Schema
(
description
=
"瓜子offer信息接收表"
)
public
class
TGzOfferInfo
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
bizId
;
/**
* 接收时间
*/
@ExcelAttribute
(
name
=
"接收时间"
,
isDate
=
true
)
@ExcelProperty
(
"接收时间"
)
@Schema
(
description
=
"接收时间"
)
private
Date
receiveTime
;
/**
* Offer状态(3:待发送Offer,4:待接受Offer,5:拒绝Offer,7:接受offer,9:候选人填写信息,10:取消offer,12:候选人信息审核,13:待签署,8:合同审核通过。99:已归档)
*/
@ExcelAttribute
(
name
=
"Offer状态(3:待发送Offer,4:待接受Offer,5:拒绝Offer,7:接受offer,9:候选人填写信息,10:取消offer,12:候选人信息审核,13:待签署,8:合同审核通过。99:已归档)"
,
isNotEmpty
=
true
,
errorInfo
=
"Offer状态(3:待发送Offer,4:待接受Offer,5:拒绝Offer,7:接受offer,9:候选人填写信息,10:取消offer,12:候选人信息审核,13:待签署,8:合同审核通过。99:已归档)不能为空"
,
maxLength
=
2
)
@NotBlank
(
message
=
"Offer状态(3:待发送Offer,4:待接受Offer,5:拒绝Offer,7:接受offer,9:候选人填写信息,10:取消offer,12:候选人信息审核,13:待签署,8:合同审核通过。99:已归档)不能为空"
)
@Length
(
max
=
2
,
message
=
"Offer状态(3:待发送Offer,4:待接受Offer,5:拒绝Offer,7:接受offer,9:候选人填写信息,10:取消offer,12:候选人信息审核,13:待签署,8:合同审核通过。99:已归档)不能超过2个字符"
)
@ExcelProperty
(
"Offer状态(3:待发送Offer,4:待接受Offer,5:拒绝Offer,7:接受offer,9:候选人填写信息,10:取消offer,12:候选人信息审核,13:待签署,8:合同审核通过。99:已归档)"
)
@Schema
(
description
=
"Offer状态(3:待发送Offer,4:待接受Offer,5:拒绝Offer,7:接受offer,9:候选人填写信息,10:取消offer,12:候选人信息审核,13:待签署,8:合同审核通过。99:已归档)"
)
private
String
offerStatus
;
/**
* Offer短信通知状态( 0:已发送;1:未发送)
*/
@ExcelAttribute
(
name
=
"Offer短信通知状态( 0:已发送;1:未发送)"
,
maxLength
=
1
)
@Length
(
max
=
1
,
message
=
"Offer短信通知状态( 0:已发送;1:未发送)不能超过1个字符"
)
@ExcelProperty
(
"Offer短信通知状态( 0:已发送;1:未发送)"
)
@Schema
(
description
=
"Offer短信通知状态( 0:已发送;1:未发送)"
)
private
String
offerSendStatus
;
/**
* 人员类别编码:参考字典
*/
@ExcelAttribute
(
name
=
"人员类别编码:参考字典"
,
maxLength
=
2
)
@Length
(
max
=
2
,
message
=
"人员类别编码:参考字典不能超过2个字符"
)
@ExcelProperty
(
"人员类别编码:参考字典"
)
@Schema
(
description
=
"人员类别编码:参考字典"
)
private
String
empType
;
/**
* 人员类别名称
*/
@ExcelAttribute
(
name
=
"人员类别名称"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"人员类别名称不能超过32个字符"
)
@ExcelProperty
(
"人员类别名称"
)
@Schema
(
description
=
"人员类别名称"
)
private
String
empTypeDescr
;
/**
* 外签类型:A: 洼地外签/ B:属地外签
*/
@ExcelAttribute
(
name
=
"外签类型:A: 洼地外签/ B:属地外签"
,
maxLength
=
2
)
@Length
(
max
=
2
,
message
=
"外签类型:A: 洼地外签/ B:属地外签不能超过2个字符"
)
@ExcelProperty
(
"外签类型:A: 洼地外签/ B:属地外签"
)
@Schema
(
description
=
"外签类型:A: 洼地外签/ B:属地外签"
)
private
String
outSginType
;
/**
* 合同公司主体:公司信息表
*/
@ExcelAttribute
(
name
=
"合同公司主体:公司信息表"
,
maxLength
=
20
)
@Length
(
max
=
20
,
message
=
"合同公司主体:公司信息表不能超过20个字符"
)
@ExcelProperty
(
"合同公司主体:公司信息表"
)
@Schema
(
description
=
"合同公司主体:公司信息表"
)
private
String
com
ра
n
у
;
/**
* 姓名
*/
@ExcelAttribute
(
name
=
"姓名"
,
maxLength
=
50
)
@Length
(
max
=
50
,
message
=
"姓名不能超过50个字符"
)
@ExcelProperty
(
"姓名"
)
@Schema
(
description
=
"姓名"
)
private
String
name
;
/**
* 姓名拼音
*/
@ExcelAttribute
(
name
=
"姓名拼音"
,
maxLength
=
100
)
@Length
(
max
=
100
,
message
=
"姓名拼音不能超过100个字符"
)
@ExcelProperty
(
"姓名拼音"
)
@Schema
(
description
=
"姓名拼音"
)
private
String
nameAc
;
/**
* 姓氏拼音
*/
@ExcelAttribute
(
name
=
"姓氏拼音"
,
maxLength
=
50
)
@Length
(
max
=
50
,
message
=
"姓氏拼音不能超过50个字符"
)
@ExcelProperty
(
"姓氏拼音"
)
@Schema
(
description
=
"姓氏拼音"
)
private
String
lastNameAc
;
/**
* 名字拼音
*/
@ExcelAttribute
(
name
=
"名字拼音"
,
maxLength
=
50
)
@Length
(
max
=
50
,
message
=
"名字拼音不能超过50个字符"
)
@ExcelProperty
(
"名字拼音"
)
@Schema
(
description
=
"名字拼音"
)
private
String
firstNameAc
;
/**
* 国籍编码
*/
@ExcelAttribute
(
name
=
"国籍编码"
,
maxLength
=
10
)
@Length
(
max
=
10
,
message
=
"国籍编码不能超过10个字符"
)
@ExcelProperty
(
"国籍编码"
)
@Schema
(
description
=
"国籍编码"
)
private
String
country
;
/**
* 国籍描述
*/
@ExcelAttribute
(
name
=
"国籍描述"
,
maxLength
=
30
)
@Length
(
max
=
30
,
message
=
"国籍描述不能超过30个字符"
)
@ExcelProperty
(
"国籍描述"
)
@Schema
(
description
=
"国籍描述"
)
private
String
countryDescr
;
/**
* 证件类型编码
*/
@ExcelAttribute
(
name
=
"证件类型编码"
,
maxLength
=
6
)
@Length
(
max
=
6
,
message
=
"证件类型编码不能超过6个字符"
)
@ExcelProperty
(
"证件类型编码"
)
@Schema
(
description
=
"证件类型编码"
)
private
String
nationalIdType
;
/**
* 证件类型描述
*/
@ExcelAttribute
(
name
=
"证件类型描述"
,
maxLength
=
30
)
@Length
(
max
=
30
,
message
=
"证件类型描述不能超过30个字符"
)
@ExcelProperty
(
"证件类型描述"
)
@Schema
(
description
=
"证件类型描述"
)
private
String
nationalIdTypeDescr
;
/**
* 证件号码
*/
@ExcelAttribute
(
name
=
"证件号码"
,
maxLength
=
50
)
@Length
(
max
=
50
,
message
=
"证件号码不能超过50个字符"
)
@ExcelProperty
(
"证件号码"
)
@Schema
(
description
=
"证件号码"
)
private
String
nationalId
;
/**
* 性别(F:女M:男)
*/
@ExcelAttribute
(
name
=
"性别(F:女M:男)"
,
maxLength
=
10
)
@Length
(
max
=
10
,
message
=
"性别(F:女M:男)不能超过10个字符"
)
@ExcelProperty
(
"性别(F:女M:男)"
)
@Schema
(
description
=
"性别(F:女M:男)"
)
private
String
sex
;
/**
* 个人手机号
*/
@ExcelAttribute
(
name
=
"个人手机号"
,
maxLength
=
30
)
@Length
(
max
=
30
,
message
=
"个人手机号不能超过30个字符"
)
@ExcelProperty
(
"个人手机号"
)
@Schema
(
description
=
"个人手机号"
)
private
String
phone
;
/**
* 个人邮箱
*/
@ExcelAttribute
(
name
=
"个人邮箱"
,
maxLength
=
100
)
@Length
(
max
=
100
,
message
=
"个人邮箱不能超过100个字符"
)
@ExcelProperty
(
"个人邮箱"
)
@Schema
(
description
=
"个人邮箱"
)
private
String
email
;
/**
* 直接上级姓名
*/
@ExcelAttribute
(
name
=
"直接上级姓名"
,
maxLength
=
200
)
@Length
(
max
=
200
,
message
=
"直接上级姓名不能超过200个字符"
)
@ExcelProperty
(
"直接上级姓名"
)
@Schema
(
description
=
"直接上级姓名"
)
private
String
supervisorName
;
/**
* 职务描述
*/
@ExcelAttribute
(
name
=
"职务描述"
,
maxLength
=
50
)
@Length
(
max
=
50
,
message
=
"职务描述不能超过50个字符"
)
@ExcelProperty
(
"职务描述"
)
@Schema
(
description
=
"职务描述"
)
private
String
jobcodeDescr
;
/**
* 工作地点
*/
@ExcelAttribute
(
name
=
"工作地点"
,
maxLength
=
12
)
@Length
(
max
=
12
,
message
=
"工作地点不能超过12个字符"
)
@ExcelProperty
(
"工作地点"
)
@Schema
(
description
=
"工作地点"
)
private
String
workLocation
;
/**
* 工作地点描述
*/
@ExcelAttribute
(
name
=
"工作地点描述"
,
maxLength
=
12
)
@Length
(
max
=
12
,
message
=
"工作地点描述不能超过12个字符"
)
@ExcelProperty
(
"工作地点描述"
)
@Schema
(
description
=
"工作地点描述"
)
private
String
workLocationDescr
;
/**
* 预计入职日期:yyyy-MM-dd
*/
@ExcelAttribute
(
name
=
"预计入职日期:yyyy-MM-dd"
,
isDate
=
true
)
@ExcelProperty
(
"预计入职日期:yyyy-MM-dd"
)
@Schema
(
description
=
"预计入职日期:yyyy-MM-dd"
)
private
Date
expEntryDate
;
/**
* 部门名称
*/
@ExcelAttribute
(
name
=
"部门名称"
,
maxLength
=
200
)
@Length
(
max
=
200
,
message
=
"部门名称不能超过200个字符"
)
@ExcelProperty
(
"部门名称"
)
@Schema
(
description
=
"部门名称"
)
private
String
deptName
;
/**
* 基本工资,两位小数
*/
@ExcelAttribute
(
name
=
"基本工资,两位小数"
)
@ExcelProperty
(
"基本工资,两位小数"
)
@Schema
(
description
=
"基本工资,两位小数"
)
private
BigDecimal
basePay
;
/**
* 绩效工资,两位小数
*/
@ExcelAttribute
(
name
=
"绩效工资,两位小数"
)
@ExcelProperty
(
"绩效工资,两位小数"
)
@Schema
(
description
=
"绩效工资,两位小数"
)
private
BigDecimal
perfomPay
;
/**
* 年终奖月数
*/
@ExcelAttribute
(
name
=
"年终奖月数"
)
@ExcelProperty
(
"年终奖月数"
)
@Schema
(
description
=
"年终奖月数"
)
private
Integer
yearBonusMonth
;
/**
* 社保缴纳地编码
*/
@ExcelAttribute
(
name
=
"社保缴纳地编码"
,
maxLength
=
12
)
@Length
(
max
=
12
,
message
=
"社保缴纳地编码不能超过12个字符"
)
@ExcelProperty
(
"社保缴纳地编码"
)
@Schema
(
description
=
"社保缴纳地编码"
)
private
String
socialInsuranceLocation
;
/**
* 社保缴纳地
*/
@ExcelAttribute
(
name
=
"社保缴纳地"
,
maxLength
=
30
)
@Length
(
max
=
30
,
message
=
"社保缴纳地不能超过30个字符"
)
@ExcelProperty
(
"社保缴纳地"
)
@Schema
(
description
=
"社保缴纳地"
)
private
String
socialInsuranceLocationDescr
;
/**
* 社保基数
*/
@ExcelAttribute
(
name
=
"社保基数"
)
@ExcelProperty
(
"社保基数"
)
@Schema
(
description
=
"社保基数"
)
private
BigDecimal
socialInsuranceBase
;
/**
* 公积金基数
*/
@ExcelAttribute
(
name
=
"公积金基数"
)
@ExcelProperty
(
"公积金基数"
)
@Schema
(
description
=
"公积金基数"
)
private
BigDecimal
houseAccFundBaseMax
;
/**
* 是否转正后缴纳公积金(Y:是 N:否)
*/
@ExcelAttribute
(
name
=
"是否转正后缴纳公积金(Y:是 N:否)"
,
maxLength
=
1
)
@Length
(
max
=
1
,
message
=
"是否转正后缴纳公积金(Y:是 N:否)不能超过1个字符"
)
@ExcelProperty
(
"是否转正后缴纳公积金(Y:是 N:否)"
)
@Schema
(
description
=
"是否转正后缴纳公积金(Y:是 N:否)"
)
private
String
beRegularEmpPay
;
/**
* 申请人邮箱
*/
@ExcelAttribute
(
name
=
"申请人邮箱"
,
maxLength
=
60
)
@Length
(
max
=
60
,
message
=
"申请人邮箱不能超过60个字符"
)
@ExcelProperty
(
"申请人邮箱"
)
@Schema
(
description
=
"申请人邮箱"
)
private
String
applyUserEmail
;
/**
* 删除标记
*/
@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/vo/LGuaziOfferRecordVo.java
0 → 100644
View file @
af79d1c7
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
vo
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.LGuaziOfferRecord
;
import
lombok.Data
;
/**
* 瓜子offer操作日志
*
* @author chenyx
* @date 2025-06-11 15:59:04
*/
@Data
public
class
LGuaziOfferRecordVo
extends
LGuaziOfferRecord
{
}
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/vo/TGzOfferInfoVo.java
0 → 100644
View file @
af79d1c7
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
vo
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TGzOfferInfo
;
import
lombok.Data
;
/**
* 瓜子offer信息接收表
*
* @author chenyx
* @date 2025-06-11 15:58:37
*/
@Data
public
class
TGzOfferInfoVo
extends
TGzOfferInfo
{
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/controller/LGuaziOfferRecordController.java
0 → 100644
View file @
af79d1c7
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
controller
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.common.log.annotation.SysLog
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.LGuaziOfferRecord
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.LGuaziOfferRecordService
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
lombok.RequiredArgsConstructor
;
import
org.springframework.web.bind.annotation.*
;
/**
* 瓜子offer操作日志
*
* @author chenyx
* @date 2025-06-11 15:59:04
*/
@RestController
@RequiredArgsConstructor
@RequestMapping
(
"/lguaziofferrecord"
)
@Tag
(
name
=
"瓜子offer操作日志管理"
)
public
class
LGuaziOfferRecordController
{
private
final
LGuaziOfferRecordService
lGuaziOfferRecordService
;
/**
* 简单分页查询
* @param page 分页对象
* @param lGuaziOfferRecord 瓜子offer操作日志
* @return
*/
@Operation
(
description
=
"简单分页查询"
)
@GetMapping
(
"/page"
)
public
R
<
IPage
<
LGuaziOfferRecord
>>
getLGuaziOfferRecordPage
(
Page
<
LGuaziOfferRecord
>
page
,
LGuaziOfferRecord
lGuaziOfferRecord
)
{
return
new
R
<>(
lGuaziOfferRecordService
.
getLGuaziOfferRecordPage
(
page
,
lGuaziOfferRecord
));
}
/**
* 通过id查询瓜子offer操作日志
* @param id id
* @return R
*/
@Operation
(
summary
=
"通过id查询"
,
description
=
"通过id查询:hasPermission('archives_lguaziofferrecord_get')"
)
@GetMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('archives_lguaziofferrecord_get')"
)
public
R
<
LGuaziOfferRecord
>
getById
(
@PathVariable
(
"id"
)
String
id
)
{
return
R
.
ok
(
lGuaziOfferRecordService
.
getById
(
id
));
}
/**
* 新增瓜子offer操作日志
* @param lGuaziOfferRecord 瓜子offer操作日志
* @return R
*/
@Operation
(
summary
=
"新增瓜子offer操作日志"
,
description
=
"新增瓜子offer操作日志:hasPermission('archives_lguaziofferrecord_add')"
)
@SysLog
(
"新增瓜子offer操作日志"
)
@PostMapping
@PreAuthorize
(
"@pms.hasPermission('archives_lguaziofferrecord_add')"
)
public
R
<
Boolean
>
save
(
@RequestBody
LGuaziOfferRecord
lGuaziOfferRecord
)
{
return
R
.
ok
(
lGuaziOfferRecordService
.
save
(
lGuaziOfferRecord
));
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/controller/TGzOfferInfoController.java
0 → 100644
View file @
af79d1c7
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
controller
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.common.log.annotation.SysLog
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TGzOfferInfo
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.TGzOfferInfoService
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
lombok.RequiredArgsConstructor
;
import
org.springframework.web.bind.annotation.*
;
/**
* 瓜子offer信息接收表
*
* @author chenyx
* @date 2025-06-11 15:58:37
*/
@RestController
@RequiredArgsConstructor
@RequestMapping
(
"/tgzofferinfo"
)
@Tag
(
name
=
"瓜子offer信息接收表管理"
)
public
class
TGzOfferInfoController
{
private
final
TGzOfferInfoService
tGzOfferInfoService
;
/**
* 简单分页查询
* @param page 分页对象
* @param tGzOfferInfo 瓜子offer信息接收表
* @return
*/
@Operation
(
description
=
"简单分页查询"
)
@GetMapping
(
"/page"
)
public
R
<
IPage
<
TGzOfferInfo
>>
getTGzOfferInfoPage
(
Page
<
TGzOfferInfo
>
page
,
TGzOfferInfo
tGzOfferInfo
)
{
return
new
R
<>(
tGzOfferInfoService
.
getTGzOfferInfoPage
(
page
,
tGzOfferInfo
));
}
/**
* 通过id查询瓜子offer信息接收表
* @param id id
* @return R
*/
@Operation
(
summary
=
"通过id查询"
,
description
=
"通过id查询:hasPermission('archives_tgzofferinfo_get')"
)
@GetMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('archives_tgzofferinfo_get')"
)
public
R
<
TGzOfferInfo
>
getById
(
@PathVariable
(
"id"
)
String
id
)
{
return
R
.
ok
(
tGzOfferInfoService
.
getById
(
id
));
}
/**
* 新增瓜子offer信息接收表
* @param tGzOfferInfo 瓜子offer信息接收表
* @return R
*/
@Operation
(
summary
=
"新增瓜子offer信息接收表"
,
description
=
"新增瓜子offer信息接收表:hasPermission('archives_tgzofferinfo_add')"
)
@SysLog
(
"新增瓜子offer信息接收表"
)
@PostMapping
@PreAuthorize
(
"@pms.hasPermission('archives_tgzofferinfo_add')"
)
public
R
<
Boolean
>
save
(
@RequestBody
TGzOfferInfo
tGzOfferInfo
)
{
return
R
.
ok
(
tGzOfferInfoService
.
save
(
tGzOfferInfo
));
}
/**
* 修改瓜子offer信息接收表
* @param tGzOfferInfo 瓜子offer信息接收表
* @return R
*/
@Operation
(
summary
=
"修改瓜子offer信息接收表"
,
description
=
"修改瓜子offer信息接收表:hasPermission('archives_tgzofferinfo_edit')"
)
@SysLog
(
"修改瓜子offer信息接收表"
)
@PutMapping
@PreAuthorize
(
"@pms.hasPermission('archives_tgzofferinfo_edit')"
)
public
R
<
Boolean
>
updateById
(
@RequestBody
TGzOfferInfo
tGzOfferInfo
)
{
return
R
.
ok
(
tGzOfferInfoService
.
updateById
(
tGzOfferInfo
));
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/mapper/LGuaziOfferRecordMapper.java
0 → 100644
View file @
af79d1c7
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.LGuaziOfferRecord
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
/**
* 瓜子offer操作日志
*
* @author chenyx
* @date 2025-06-11 15:59:04
*/
@Mapper
public
interface
LGuaziOfferRecordMapper
extends
BaseMapper
<
LGuaziOfferRecord
>
{
/**
* 瓜子offer操作日志简单分页查询
* @param lGuaziOfferRecord 瓜子offer操作日志
* @return
*/
IPage
<
LGuaziOfferRecord
>
getLGuaziOfferRecordPage
(
Page
<
LGuaziOfferRecord
>
page
,
@Param
(
"lGuaziOfferRecord"
)
LGuaziOfferRecord
lGuaziOfferRecord
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/mapper/TGzOfferInfoMapper.java
0 → 100644
View file @
af79d1c7
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TGzOfferInfo
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
/**
* 瓜子offer信息接收表
*
* @author chenyx
* @date 2025-06-11 15:58:37
*/
@Mapper
public
interface
TGzOfferInfoMapper
extends
BaseMapper
<
TGzOfferInfo
>
{
/**
* 瓜子offer信息接收表简单分页查询
* @param tGzOfferInfo 瓜子offer信息接收表
* @return
*/
IPage
<
TGzOfferInfo
>
getTGzOfferInfoPage
(
Page
<
TGzOfferInfo
>
page
,
@Param
(
"tGzOfferInfo"
)
TGzOfferInfo
tGzOfferInfo
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/LGuaziOfferRecordService.java
0 → 100644
View file @
af79d1c7
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
service
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.LGuaziOfferRecord
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
/**
* 瓜子offer操作日志
*
* @author chenyx
* @date 2025-06-11 15:59:04
*/
public
interface
LGuaziOfferRecordService
extends
IService
<
LGuaziOfferRecord
>
{
/**
* 瓜子offer操作日志简单分页查询
* @param lGuaziOfferRecord 瓜子offer操作日志
* @return
*/
IPage
<
LGuaziOfferRecord
>
getLGuaziOfferRecordPage
(
Page
<
LGuaziOfferRecord
>
page
,
LGuaziOfferRecord
lGuaziOfferRecord
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/TGzOfferInfoService.java
0 → 100644
View file @
af79d1c7
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
service
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TGzOfferInfo
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
/**
* 瓜子offer信息接收表
*
* @author chenyx
* @date 2025-06-11 15:58:37
*/
public
interface
TGzOfferInfoService
extends
IService
<
TGzOfferInfo
>
{
/**
* 瓜子offer信息接收表简单分页查询
* @param tGzOfferInfo 瓜子offer信息接收表
* @return
*/
IPage
<
TGzOfferInfo
>
getTGzOfferInfoPage
(
Page
<
TGzOfferInfo
>
page
,
TGzOfferInfo
tGzOfferInfo
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/LGuaziOfferRecordServiceImpl.java
0 → 100644
View file @
af79d1c7
/*
* 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.LGuaziOfferRecord
;
import
com.yifu.cloud.plus.v1.yifu.archives.mapper.LGuaziOfferRecordMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.LGuaziOfferRecordService
;
import
lombok.extern.log4j.Log4j2
;
import
org.springframework.stereotype.Service
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
/**
* 瓜子offer操作日志
*
* @author chenyx
* @date 2025-06-11 15:59:04
*/
@Log4j2
@Service
public
class
LGuaziOfferRecordServiceImpl
extends
ServiceImpl
<
LGuaziOfferRecordMapper
,
LGuaziOfferRecord
>
implements
LGuaziOfferRecordService
{
/**
* 瓜子offer操作日志简单分页查询
* @param lGuaziOfferRecord 瓜子offer操作日志
* @return
*/
@Override
public
IPage
<
LGuaziOfferRecord
>
getLGuaziOfferRecordPage
(
Page
<
LGuaziOfferRecord
>
page
,
LGuaziOfferRecord
lGuaziOfferRecord
){
return
baseMapper
.
getLGuaziOfferRecordPage
(
page
,
lGuaziOfferRecord
);
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TGzOfferInfoServiceImpl.java
0 → 100644
View file @
af79d1c7
/*
* 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.TGzOfferInfo
;
import
com.yifu.cloud.plus.v1.yifu.archives.mapper.TGzOfferInfoMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.TGzOfferInfoService
;
import
lombok.extern.log4j.Log4j2
;
import
org.springframework.stereotype.Service
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
/**
* 瓜子offer信息接收表
*
* @author chenyx
* @date 2025-06-11 15:58:37
*/
@Log4j2
@Service
public
class
TGzOfferInfoServiceImpl
extends
ServiceImpl
<
TGzOfferInfoMapper
,
TGzOfferInfo
>
implements
TGzOfferInfoService
{
/**
* 瓜子offer信息接收表简单分页查询
* @param tGzOfferInfo 瓜子offer信息接收表
* @return
*/
@Override
public
IPage
<
TGzOfferInfo
>
getTGzOfferInfoPage
(
Page
<
TGzOfferInfo
>
page
,
TGzOfferInfo
tGzOfferInfo
){
return
baseMapper
.
getTGzOfferInfoPage
(
page
,
tGzOfferInfo
);
}
}
yifu-archives/yifu-archives-biz/src/main/resources/mapper/LGuaziOfferRecordMapper.xml
0 → 100644
View file @
af79d1c7
<?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.LGuaziOfferRecordMapper"
>
<resultMap
id=
"lGuaziOfferRecordMap"
type=
"com.yifu.cloud.plus.v1.yifu.archives.entity.LGuaziOfferRecord"
>
<id
property=
"id"
column=
"id"
/>
<result
property=
"offerId"
column=
"offer_id"
/>
<result
property=
"content"
column=
"content"
/>
<result
property=
"recordFrom"
column=
"record_from"
/>
<result
property=
"delFlag"
column=
"del_flag"
/>
<result
property=
"createTime"
column=
"create_time"
/>
<result
property=
"createBy"
column=
"create_by"
/>
<result
property=
"createName"
column=
"create_name"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
a.id,
a.offer_id,
a.content,
a.record_from,
a.del_flag,
a.create_time,
a.create_by,
a.create_name
</sql>
<sql
id=
"lGuaziOfferRecord_where"
>
<if
test=
"lGuaziOfferRecord != null"
>
<if
test=
"lGuaziOfferRecord.id != null and lGuaziOfferRecord.id.trim() != ''"
>
AND a.id = #{lGuaziOfferRecord.id}
</if>
<if
test=
"lGuaziOfferRecord.offerId != null and lGuaziOfferRecord.offerId.trim() != ''"
>
AND a.offer_id = #{lGuaziOfferRecord.offerId}
</if>
<if
test=
"lGuaziOfferRecord.content != null and lGuaziOfferRecord.content.trim() != ''"
>
AND a.content = #{lGuaziOfferRecord.content}
</if>
<if
test=
"lGuaziOfferRecord.recordFrom != null and lGuaziOfferRecord.recordFrom.trim() != ''"
>
AND a.record_from = #{lGuaziOfferRecord.recordFrom}
</if>
<if
test=
"lGuaziOfferRecord.delFlag != null and lGuaziOfferRecord.delFlag.trim() != ''"
>
AND a.del_flag = #{lGuaziOfferRecord.delFlag}
</if>
<if
test=
"lGuaziOfferRecord.createTime != null"
>
AND a.create_time = #{lGuaziOfferRecord.createTime}
</if>
<if
test=
"lGuaziOfferRecord.createBy != null and lGuaziOfferRecord.createBy.trim() != ''"
>
AND a.create_by = #{lGuaziOfferRecord.createBy}
</if>
<if
test=
"lGuaziOfferRecord.createName != null and lGuaziOfferRecord.createName.trim() != ''"
>
AND a.create_name = #{lGuaziOfferRecord.createName}
</if>
</if>
</sql>
<!--lGuaziOfferRecord简单分页查询-->
<select
id=
"getLGuaziOfferRecordPage"
resultMap=
"lGuaziOfferRecordMap"
>
SELECT
<include
refid=
"Base_Column_List"
/>
FROM l_guazi_offer_record a
<where>
1=1
<include
refid=
"lGuaziOfferRecord_where"
/>
</where>
</select>
</mapper>
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TGzOfferInfoMapper.xml
0 → 100644
View file @
af79d1c7
<?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.TGzOfferInfoMapper"
>
<resultMap
id=
"tGzOfferInfoMap"
type=
"com.yifu.cloud.plus.v1.yifu.archives.entity.TGzOfferInfo"
>
<id
property=
"id"
column=
"id"
/>
<result
property=
"bizId"
column=
"biz_id"
/>
<result
property=
"receiveTime"
column=
"receive_time"
/>
<result
property=
"offerStatus"
column=
"offer_status"
/>
<result
property=
"offerSendStatus"
column=
"offer_send_status"
/>
<result
property=
"updateBy"
column=
"update_by"
/>
<result
property=
"updateTime"
column=
"update_time"
/>
<result
property=
"empType"
column=
"emp_type"
/>
<result
property=
"empTypeDescr"
column=
"emp_type_descr"
/>
<result
property=
"outSginType"
column=
"out_sgin_type"
/>
<result
property=
"comраnу"
column=
"comраnу"
/>
<result
property=
"name"
column=
"name"
/>
<result
property=
"nameAc"
column=
"name_ac"
/>
<result
property=
"lastNameAc"
column=
"last_name_ac"
/>
<result
property=
"firstNameAc"
column=
"first_name_ac"
/>
<result
property=
"country"
column=
"country"
/>
<result
property=
"countryDescr"
column=
"country_descr"
/>
<result
property=
"nationalIdType"
column=
"national_id_type"
/>
<result
property=
"nationalIdTypeDescr"
column=
"national_id_type_descr"
/>
<result
property=
"nationalId"
column=
"national_id"
/>
<result
property=
"sex"
column=
"sex"
/>
<result
property=
"phone"
column=
"phone"
/>
<result
property=
"email"
column=
"email"
/>
<result
property=
"supervisorName"
column=
"supervisor_name"
/>
<result
property=
"jobcodeDescr"
column=
"jobcode_descr"
/>
<result
property=
"workLocation"
column=
"work_location"
/>
<result
property=
"workLocationDescr"
column=
"work_location_descr"
/>
<result
property=
"expEntryDate"
column=
"exp_entry_date"
/>
<result
property=
"deptName"
column=
"dept_name"
/>
<result
property=
"basePay"
column=
"base_pay"
/>
<result
property=
"perfomPay"
column=
"perfom_pay"
/>
<result
property=
"yearBonusMonth"
column=
"year_bonus_month"
/>
<result
property=
"socialInsuranceLocation"
column=
"social_insurance_location"
/>
<result
property=
"socialInsuranceLocationDescr"
column=
"social_insurance_location_descr"
/>
<result
property=
"socialInsuranceBase"
column=
"social_insurance_base"
/>
<result
property=
"houseAccFundBaseMax"
column=
"house_acc_fund_base_max"
/>
<result
property=
"beRegularEmpPay"
column=
"be_regular_emp_pay"
/>
<result
property=
"applyUserEmail"
column=
"apply_user_email"
/>
<result
property=
"delFlag"
column=
"del_flag"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
a.id,
a.biz_id,
a.receive_time,
a.offer_status,
a.offer_send_status,
a.update_by,
a.update_time,
a.emp_type,
a.emp_type_descr,
a.out_sgin_type,
a.comраnу,
a.name,
a.name_ac,
a.last_name_ac,
a.first_name_ac,
a.country,
a.country_descr,
a.national_id_type,
a.national_id_type_descr,
a.national_id,
a.sex,
a.phone,
a.email,
a.supervisor_name,
a.jobcode_descr,
a.work_location,
a.work_location_descr,
a.exp_entry_date,
a.dept_name,
a.base_pay,
a.perfom_pay,
a.year_bonus_month,
a.social_insurance_location,
a.social_insurance_location_descr,
a.social_insurance_base,
a.house_acc_fund_base_max,
a.be_regular_emp_pay,
a.apply_user_email,
a.del_flag
</sql>
<sql
id=
"tGzOfferInfo_where"
>
<if
test=
"tGzOfferInfo != null"
>
<if
test=
"tGzOfferInfo.id != null and tGzOfferInfo.id.trim() != ''"
>
AND a.id = #{tGzOfferInfo.id}
</if>
<if
test=
"tGzOfferInfo.bizId != null and tGzOfferInfo.bizId.trim() != ''"
>
AND a.biz_id = #{tGzOfferInfo.bizId}
</if>
<if
test=
"tGzOfferInfo.receiveTime != null"
>
AND a.receive_time = #{tGzOfferInfo.receiveTime}
</if>
<if
test=
"tGzOfferInfo.offerStatus != null and tGzOfferInfo.offerStatus.trim() != ''"
>
AND a.offer_status = #{tGzOfferInfo.offerStatus}
</if>
<if
test=
"tGzOfferInfo.offerSendStatus != null and tGzOfferInfo.offerSendStatus.trim() != ''"
>
AND a.offer_send_status = #{tGzOfferInfo.offerSendStatus}
</if>
<if
test=
"tGzOfferInfo.updateBy != null and tGzOfferInfo.updateBy.trim() != ''"
>
AND a.update_by = #{tGzOfferInfo.updateBy}
</if>
<if
test=
"tGzOfferInfo.updateTime != null"
>
AND a.update_time = #{tGzOfferInfo.updateTime}
</if>
<if
test=
"tGzOfferInfo.empType != null and tGzOfferInfo.empType.trim() != ''"
>
AND a.emp_type = #{tGzOfferInfo.empType}
</if>
<if
test=
"tGzOfferInfo.empTypeDescr != null and tGzOfferInfo.empTypeDescr.trim() != ''"
>
AND a.emp_type_descr = #{tGzOfferInfo.empTypeDescr}
</if>
<if
test=
"tGzOfferInfo.outSginType != null and tGzOfferInfo.outSginType.trim() != ''"
>
AND a.out_sgin_type = #{tGzOfferInfo.outSginType}
</if>
<if
test=
"tGzOfferInfo.comраnу != null and tGzOfferInfo.comраnу.trim() != ''"
>
AND a.comраnу = #{tGzOfferInfo.comраnу}
</if>
<if
test=
"tGzOfferInfo.name != null and tGzOfferInfo.name.trim() != ''"
>
AND a.name = #{tGzOfferInfo.name}
</if>
<if
test=
"tGzOfferInfo.nameAc != null and tGzOfferInfo.nameAc.trim() != ''"
>
AND a.name_ac = #{tGzOfferInfo.nameAc}
</if>
<if
test=
"tGzOfferInfo.lastNameAc != null and tGzOfferInfo.lastNameAc.trim() != ''"
>
AND a.last_name_ac = #{tGzOfferInfo.lastNameAc}
</if>
<if
test=
"tGzOfferInfo.firstNameAc != null and tGzOfferInfo.firstNameAc.trim() != ''"
>
AND a.first_name_ac = #{tGzOfferInfo.firstNameAc}
</if>
<if
test=
"tGzOfferInfo.country != null and tGzOfferInfo.country.trim() != ''"
>
AND a.country = #{tGzOfferInfo.country}
</if>
<if
test=
"tGzOfferInfo.countryDescr != null and tGzOfferInfo.countryDescr.trim() != ''"
>
AND a.country_descr = #{tGzOfferInfo.countryDescr}
</if>
<if
test=
"tGzOfferInfo.nationalIdType != null and tGzOfferInfo.nationalIdType.trim() != ''"
>
AND a.national_id_type = #{tGzOfferInfo.nationalIdType}
</if>
<if
test=
"tGzOfferInfo.nationalIdTypeDescr != null and tGzOfferInfo.nationalIdTypeDescr.trim() != ''"
>
AND a.national_id_type_descr = #{tGzOfferInfo.nationalIdTypeDescr}
</if>
<if
test=
"tGzOfferInfo.nationalId != null and tGzOfferInfo.nationalId.trim() != ''"
>
AND a.national_id = #{tGzOfferInfo.nationalId}
</if>
<if
test=
"tGzOfferInfo.sex != null and tGzOfferInfo.sex.trim() != ''"
>
AND a.sex = #{tGzOfferInfo.sex}
</if>
<if
test=
"tGzOfferInfo.phone != null and tGzOfferInfo.phone.trim() != ''"
>
AND a.phone = #{tGzOfferInfo.phone}
</if>
<if
test=
"tGzOfferInfo.email != null and tGzOfferInfo.email.trim() != ''"
>
AND a.email = #{tGzOfferInfo.email}
</if>
<if
test=
"tGzOfferInfo.supervisorName != null and tGzOfferInfo.supervisorName.trim() != ''"
>
AND a.supervisor_name = #{tGzOfferInfo.supervisorName}
</if>
<if
test=
"tGzOfferInfo.jobcodeDescr != null and tGzOfferInfo.jobcodeDescr.trim() != ''"
>
AND a.jobcode_descr = #{tGzOfferInfo.jobcodeDescr}
</if>
<if
test=
"tGzOfferInfo.workLocation != null and tGzOfferInfo.workLocation.trim() != ''"
>
AND a.work_location = #{tGzOfferInfo.workLocation}
</if>
<if
test=
"tGzOfferInfo.workLocationDescr != null and tGzOfferInfo.workLocationDescr.trim() != ''"
>
AND a.work_location_descr = #{tGzOfferInfo.workLocationDescr}
</if>
<if
test=
"tGzOfferInfo.expEntryDate != null"
>
AND a.exp_entry_date = #{tGzOfferInfo.expEntryDate}
</if>
<if
test=
"tGzOfferInfo.deptName != null and tGzOfferInfo.deptName.trim() != ''"
>
AND a.dept_name = #{tGzOfferInfo.deptName}
</if>
<if
test=
"tGzOfferInfo.basePay != null"
>
AND a.base_pay = #{tGzOfferInfo.basePay}
</if>
<if
test=
"tGzOfferInfo.perfomPay != null"
>
AND a.perfom_pay = #{tGzOfferInfo.perfomPay}
</if>
<if
test=
"tGzOfferInfo.yearBonusMonth != null"
>
AND a.year_bonus_month = #{tGzOfferInfo.yearBonusMonth}
</if>
<if
test=
"tGzOfferInfo.socialInsuranceLocation != null and tGzOfferInfo.socialInsuranceLocation.trim() != ''"
>
AND a.social_insurance_location = #{tGzOfferInfo.socialInsuranceLocation}
</if>
<if
test=
"tGzOfferInfo.socialInsuranceLocationDescr != null and tGzOfferInfo.socialInsuranceLocationDescr.trim() != ''"
>
AND a.social_insurance_location_descr = #{tGzOfferInfo.socialInsuranceLocationDescr}
</if>
<if
test=
"tGzOfferInfo.socialInsuranceBase != null"
>
AND a.social_insurance_base = #{tGzOfferInfo.socialInsuranceBase}
</if>
<if
test=
"tGzOfferInfo.houseAccFundBaseMax != null"
>
AND a.house_acc_fund_base_max = #{tGzOfferInfo.houseAccFundBaseMax}
</if>
<if
test=
"tGzOfferInfo.beRegularEmpPay != null and tGzOfferInfo.beRegularEmpPay.trim() != ''"
>
AND a.be_regular_emp_pay = #{tGzOfferInfo.beRegularEmpPay}
</if>
<if
test=
"tGzOfferInfo.applyUserEmail != null and tGzOfferInfo.applyUserEmail.trim() != ''"
>
AND a.apply_user_email = #{tGzOfferInfo.applyUserEmail}
</if>
<if
test=
"tGzOfferInfo.delFlag != null and tGzOfferInfo.delFlag.trim() != ''"
>
AND a.del_flag = #{tGzOfferInfo.delFlag}
</if>
</if>
</sql>
<!--tGzOfferInfo简单分页查询-->
<select
id=
"getTGzOfferInfoPage"
resultMap=
"tGzOfferInfoMap"
>
SELECT
<include
refid=
"Base_Column_List"
/>
FROM t_gz_offer_info a
<where>
1=1
<include
refid=
"tGzOfferInfo_where"
/>
</where>
</select>
</mapper>
yifu-upms/yifu-upms-api/src/main/java/com/yifu.cloud.plus.v1/yifu/admin/api/entity/SysOutEmpCategorizeFormInfo.java
0 → 100644
View file @
af79d1c7
/*
* 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
.
admin
.
api
.
entity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableLogic
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
org.hibernate.validator.constraints.Length
;
/**
* 瓜子采集表单信息分类表
*
* @author chenyx
* @date 2025-06-11 15:57:30
*/
@Data
@TableName
(
"sys_out_emp_categorize_form_info"
)
@EqualsAndHashCode
(
callSuper
=
true
)
@Schema
(
description
=
"瓜子采集表单信息分类表"
)
public
class
SysOutEmpCategorizeFormInfo
extends
BaseEntity
{
/**
* 主键
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@Schema
(
description
=
"主键"
)
private
String
id
;
/**
* 分类名称
*/
@Length
(
max
=
100
,
message
=
"分类名称不能超过100个字符"
)
@Schema
(
description
=
"分类名称"
)
private
String
name
;
/**
* 排序
*/
@Schema
(
description
=
"排序"
)
private
Integer
sort
;
/**
* 分组类型(1:单个信息组,2:多个信息组)
*/
@Length
(
max
=
1
,
message
=
"分组类型(1:单个信息组,2:多个信息组)不能超过1个字符"
)
@Schema
(
description
=
"分组类型(1:单个信息组,2:多个信息组)"
)
private
String
groupType
;
/**
* C端是否可见(0:是,1:否)
*/
@Length
(
max
=
1
,
message
=
"C端是否可见(0:是,1:否)不能超过1个字符"
)
@Schema
(
description
=
"C端是否可见(0:是,1:否)"
)
private
String
isLookToc
;
/**
* 删除标记
*/
@Length
(
max
=
1
,
message
=
"删除标记不能超过1个字符"
)
@Schema
(
description
=
"删除标记"
)
@TableLogic
private
String
delFlag
;
}
yifu-upms/yifu-upms-api/src/main/java/com/yifu.cloud.plus.v1/yifu/admin/api/entity/SysOutEmpFormInfo.java
0 → 100644
View file @
af79d1c7
/*
* 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
.
admin
.
api
.
entity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableLogic
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
org.hibernate.validator.constraints.Length
;
/**
* 瓜子采集字段配置表(前端用配置进行展示)
*
* @author chenyx
* @date 2025-06-11 15:57:30
*/
@Data
@TableName
(
"sys_out_emp_form_info"
)
@EqualsAndHashCode
(
callSuper
=
true
)
@Schema
(
description
=
"瓜子采集字段配置表(前端用配置进行展示)"
)
public
class
SysOutEmpFormInfo
extends
BaseEntity
{
/**
* 主键
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@Schema
(
description
=
"主键"
)
private
String
id
;
/**
* 归属分类ID
*/
@Length
(
max
=
32
,
message
=
"归属分类ID不能超过32个字符"
)
@Schema
(
description
=
"归属分类ID"
)
private
String
categorizeId
;
/**
* 字段标识名称
*/
@Length
(
max
=
100
,
message
=
"字段标识名称不能超过100个字符"
)
@Schema
(
description
=
"字段标识名称"
)
private
String
fieldName
;
/**
* 字段中文名称
*/
@Length
(
max
=
100
,
message
=
"字段中文名称不能超过100个字符"
)
@Schema
(
description
=
"字段中文名称"
)
private
String
fieldZhName
;
/**
* 排序
*/
@Schema
(
description
=
"排序"
)
private
Integer
sort
;
/**
* C端是否可见(0:是,1:否)
*/
@Length
(
max
=
1
,
message
=
"C端是否可见(0:是,1:否)不能超过1个字符"
)
@Schema
(
description
=
"C端是否可见(0:是,1:否)"
)
private
String
isLookToc
;
/**
* 是否员工侧填写(1:系统带出不可编辑,2:系统带出可编辑,3:系统未带出员工填写)
*/
@Length
(
max
=
2
,
message
=
"是否员工侧填写(1:系统带出不可编辑,2:系统带出可编辑,3:系统未带出员工填写)不能超过2个字符"
)
@Schema
(
description
=
"是否员工侧填写(1:系统带出不可编辑,2:系统带出可编辑,3:系统未带出员工填写)"
)
private
String
empFillType
;
/**
* 字段状态( 0正常 1停用)
*/
@Length
(
max
=
1
,
message
=
"字段状态( 0正常 1停用)不能超过1个字符"
)
@Schema
(
description
=
"字段状态( 0正常 1停用)"
)
private
String
fieldStatus
;
/**
* 字段类型( 1:文本,2:下拉单选,3:下拉多选,4:省市区控件,5:开户支行控件,6:附件,7:年月日控件)
*/
@Length
(
max
=
2
,
message
=
"字段类型( 1:文本,2:下拉单选,3:下拉多选,4:省市区控件,5:开户支行控件,6:附件,7:年月日控件)不能超过2个字符"
)
@Schema
(
description
=
"字段类型( 1:文本,2:下拉单选,3:下拉多选,4:省市区控件,5:开户支行控件,6:附件,7:年月日控件)"
)
private
String
fieldType
;
/**
* 对应字典标识
*/
@Length
(
max
=
100
,
message
=
"对应字典标识不能超过100个字符"
)
@Schema
(
description
=
"对应字典标识"
)
private
String
dictType
;
/**
* 是否必填(0:是,1:否,2:联动必填)
*/
@Length
(
max
=
2
,
message
=
"是否必填(0:是,1:否,2:联动必填)不能超过2个字符"
)
@Schema
(
description
=
"是否必填(0:是,1:否,2:联动必填)"
)
private
String
isRequired
;
/**
* 联动必填时,联动字段
*/
@Length
(
max
=
100
,
message
=
"联动必填时,联动字段不能超过100个字符"
)
@Schema
(
description
=
"联动必填时,联动字段"
)
private
String
relField
;
/**
* 联动必填时,联动字段值
*/
@Length
(
max
=
100
,
message
=
"联动必填时,联动字段值不能超过100个字符"
)
@Schema
(
description
=
"联动必填时,联动字段值"
)
private
String
relFieldValue
;
/**
* 删除标记
*/
@Length
(
max
=
1
,
message
=
"删除标记不能超过1个字符"
)
@Schema
(
description
=
"删除标记"
)
@TableLogic
private
String
delFlag
;
/**
* 是否有映射关系(0:是,1:否)
*/
@Length
(
max
=
1
,
message
=
"是否有映射关系(0:是,1:否)不能超过1个字符"
)
@Schema
(
description
=
"是否有映射关系(0:是,1:否)"
)
private
String
haveWanxinMapping
;
/**
* 有映射关系时,映射类型(0:字段映射,1:字典值映射)
*/
@Length
(
max
=
1
,
message
=
"有映射关系时,映射类型(0:字段映射,1:字典值映射)不能超过1个字符"
)
@Schema
(
description
=
"有映射关系时,映射类型(0:字段映射,1:字典值映射)"
)
private
String
wanxinMappingType
;
/**
* 有映射关系时,皖信字段标识名称
*/
@Length
(
max
=
100
,
message
=
"有映射关系时,皖信字段标识名称不能超过100个字符"
)
@Schema
(
description
=
"有映射关系时,皖信字段标识名称"
)
private
String
wanxinFieldName
;
/**
* 有映射关系时,皖信字段中文名称
*/
@Length
(
max
=
100
,
message
=
"有映射关系时,皖信字段中文名称不能超过100个字符"
)
@Schema
(
description
=
"有映射关系时,皖信字段中文名称"
)
private
String
wanxinFieldZhName
;
/**
* 有映射关系时,皖信字段类型( 1:文本,2:下拉单选,3:下拉多选,4:省市区控件,5:开户支行控件,6:附件,7:年月日控件)
*/
@Length
(
max
=
2
,
message
=
"有映射关系时,皖信字段类型( 1:文本,2:下拉单选,3:下拉多选,4:省市区控件,5:开户支行控件,6:附件,7:年月日控件)不能超过2个字符"
)
@Schema
(
description
=
"有映射关系时,皖信字段类型( 1:文本,2:下拉单选,3:下拉多选,4:省市区控件,5:开户支行控件,6:附件,7:年月日控件)"
)
private
String
wanxinFieldType
;
/**
* 是否校验(0:是,1:否)
*/
@Length
(
max
=
2
,
message
=
"是否校验(0:是,1:否)不能超过2个字符"
)
@Schema
(
description
=
"是否校验(0:是,1:否)"
)
private
String
isCheck
;
/**
* 校验规则(前端提供)
*/
@Length
(
max
=
100
,
message
=
"校验规则(前端提供)不能超过100个字符"
)
@Schema
(
description
=
"校验规则(前端提供)"
)
private
String
checkValue
;
}
yifu-upms/yifu-upms-api/src/main/java/com/yifu.cloud.plus.v1/yifu/admin/api/entity/SysOutRelDict.java
0 → 100644
View file @
af79d1c7
/*
* 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
.
admin
.
api
.
entity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
org.hibernate.validator.constraints.Length
;
/**
* 外部字典与皖信字典的映射关系表
*
* @author chenyx
* @date 2025-06-11 15:57:30
*/
@Data
@TableName
(
"sys_out_rel_dict"
)
@EqualsAndHashCode
(
callSuper
=
true
)
@Schema
(
description
=
"外部字典与皖信字典的映射关系表"
)
public
class
SysOutRelDict
extends
BaseEntity
{
/**
* 字典ID
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@Schema
(
description
=
"字典ID"
)
private
Long
id
;
/**
* 外部端字典标识
*/
@Length
(
max
=
128
,
message
=
"外部端字典标识不能超过128个字符"
)
@Schema
(
description
=
"外部端字典标识"
)
private
String
clientType
;
/**
* 对照皖信字典项标识
*/
@Length
(
max
=
128
,
message
=
"对照皖信字典项标识不能超过128个字符"
)
@Schema
(
description
=
"对照皖信字典项标识"
)
private
String
sysDictType
;
/**
* 外部端标识(gz:瓜子)
*/
@Length
(
max
=
32
,
message
=
"外部端标识(gz:瓜子)不能超过32个字符"
)
@Schema
(
description
=
"外部端标识(gz:瓜子)"
)
private
String
clientId
;
}
yifu-upms/yifu-upms-api/src/main/java/com/yifu.cloud.plus.v1/yifu/admin/api/entity/SysOutRelDictItem.java
0 → 100644
View file @
af79d1c7
/*
* 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
.
admin
.
api
.
entity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
org.hibernate.validator.constraints.Length
;
/**
* 外部字典值数据表
*
* @author chenyx
* @date 2025-06-11 15:57:30
*/
@Data
@TableName
(
"sys_out_rel_dict_item"
)
@EqualsAndHashCode
(
callSuper
=
true
)
@Schema
(
description
=
"外部字典值数据表"
)
public
class
SysOutRelDictItem
extends
BaseEntity
{
/**
* 字典值ID
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@Schema
(
description
=
"字典值ID"
)
private
Long
id
;
/**
* 外部端所属字典类型
*/
@Length
(
max
=
128
,
message
=
"外部端所属字典类型不能超过128个字符"
)
@Schema
(
description
=
"外部端所属字典类型"
)
private
String
dictType
;
/**
* 外部端字典值value
*/
@Length
(
max
=
20
,
message
=
"外部端字典值value不能超过20个字符"
)
@Schema
(
description
=
"外部端字典值value"
)
private
String
value
;
/**
* 对照皖信所属字典类型
*/
@Schema
(
description
=
"对照皖信所属字典类型"
)
private
Long
sysDictType
;
/**
* 对照皖信字典值
*/
@Schema
(
description
=
"对照皖信字典值"
)
private
Long
sysDictValue
;
/**
* 外部端标识(gz:瓜子)
*/
@Length
(
max
=
32
,
message
=
"外部端标识(gz:瓜子)不能超过32个字符"
)
@Schema
(
description
=
"外部端标识(gz:瓜子)"
)
private
String
clientId
;
}
yifu-upms/yifu-upms-api/src/main/java/com/yifu.cloud.plus.v1/yifu/admin/api/vo/SysOutEmpFormInfoVo.java
0 → 100644
View file @
af79d1c7
/*
* 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
.
admin
.
api
.
vo
;
import
com.yifu.cloud.plus.v1.yifu.admin.api.entity.SysOutEmpFormInfo
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
/**
* 瓜子采集字段配置表(前端用配置进行展示)
*
* @author chenyx
* @date 2025-06-11 15:57:30
*/
@Data
public
class
SysOutEmpFormInfoVo
extends
SysOutEmpFormInfo
{
/**
* 多选导出或删除等操作
*/
@Schema
(
description
=
"选中ID,多个逗号分割"
)
private
String
ids
;
}
yifu-upms/yifu-upms-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/admin/controller/SysOutEmpCategorizeFormInfoController.java
0 → 100644
View file @
af79d1c7
/*
* 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
.
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.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.common.log.annotation.SysLog
;
import
com.yifu.cloud.plus.v1.yifu.admin.service.SysOutEmpCategorizeFormInfoService
;
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.*
;
/**
* 瓜子采集表单信息分类表
*
* @author chenyx
* @date 2025-06-11 15:57:30
*/
@RestController
@RequiredArgsConstructor
@RequestMapping
(
"/sysoutempcategorizeforminfo"
)
@Tag
(
name
=
"瓜子采集表单信息分类表管理"
)
public
class
SysOutEmpCategorizeFormInfoController
{
private
final
SysOutEmpCategorizeFormInfoService
sysOutEmpCategorizeFormInfoService
;
/**
* 简单分页查询
* @param page 分页对象
* @param sysOutEmpCategorizeFormInfo 瓜子采集表单信息分类表
* @return
*/
@Operation
(
description
=
"简单分页查询"
)
@GetMapping
(
"/page"
)
public
R
<
IPage
<
SysOutEmpCategorizeFormInfo
>>
getSysOutEmpCategorizeFormInfoPage
(
Page
<
SysOutEmpCategorizeFormInfo
>
page
,
SysOutEmpCategorizeFormInfo
sysOutEmpCategorizeFormInfo
)
{
return
new
R
<>(
sysOutEmpCategorizeFormInfoService
.
getSysOutEmpCategorizeFormInfoPage
(
page
,
sysOutEmpCategorizeFormInfo
));
}
/**
* 通过id查询瓜子采集表单信息分类表
* @param id id
* @return R
*/
@Operation
(
summary
=
"通过id查询"
,
description
=
"通过id查询:hasPermission('admin_sysoutempcategorizeforminfo_get')"
)
@GetMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('admin_sysoutempcategorizeforminfo_get')"
)
public
R
<
SysOutEmpCategorizeFormInfo
>
getById
(
@PathVariable
(
"id"
)
String
id
)
{
return
R
.
ok
(
sysOutEmpCategorizeFormInfoService
.
getById
(
id
));
}
/**
* 新增瓜子采集表单信息分类表
* @param sysOutEmpCategorizeFormInfo 瓜子采集表单信息分类表
* @return R
*/
@Operation
(
summary
=
"新增瓜子采集表单信息分类表"
,
description
=
"新增瓜子采集表单信息分类表:hasPermission('admin_sysoutempcategorizeforminfo_add')"
)
@SysLog
(
"新增瓜子采集表单信息分类表"
)
@PostMapping
@PreAuthorize
(
"@pms.hasPermission('admin_sysoutempcategorizeforminfo_add')"
)
public
R
<
Boolean
>
save
(
@RequestBody
SysOutEmpCategorizeFormInfo
sysOutEmpCategorizeFormInfo
)
{
return
R
.
ok
(
sysOutEmpCategorizeFormInfoService
.
save
(
sysOutEmpCategorizeFormInfo
));
}
/**
* 修改瓜子采集表单信息分类表
* @param sysOutEmpCategorizeFormInfo 瓜子采集表单信息分类表
* @return R
*/
@Operation
(
summary
=
"修改瓜子采集表单信息分类表"
,
description
=
"修改瓜子采集表单信息分类表:hasPermission('admin_sysoutempcategorizeforminfo_edit')"
)
@SysLog
(
"修改瓜子采集表单信息分类表"
)
@PutMapping
@PreAuthorize
(
"@pms.hasPermission('admin_sysoutempcategorizeforminfo_edit')"
)
public
R
<
Boolean
>
updateById
(
@RequestBody
SysOutEmpCategorizeFormInfo
sysOutEmpCategorizeFormInfo
)
{
return
R
.
ok
(
sysOutEmpCategorizeFormInfoService
.
updateById
(
sysOutEmpCategorizeFormInfo
));
}
/**
* 通过id删除瓜子采集表单信息分类表
* @param id id
* @return R
*/
@Operation
(
summary
=
"通过id删除瓜子采集表单信息分类表"
,
description
=
"通过id删除瓜子采集表单信息分类表:hasPermission('admin_sysoutempcategorizeforminfo_del')"
)
@SysLog
(
"通过id删除瓜子采集表单信息分类表"
)
@DeleteMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('admin_sysoutempcategorizeforminfo_del')"
)
public
R
<
Boolean
>
removeById
(
@PathVariable
String
id
)
{
return
R
.
ok
(
sysOutEmpCategorizeFormInfoService
.
removeById
(
id
));
}
}
yifu-upms/yifu-upms-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/admin/controller/SysOutEmpFormInfoController.java
0 → 100644
View file @
af79d1c7
/*
* 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
.
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.SysOutEmpFormInfo
;
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
;
import
com.yifu.cloud.plus.v1.yifu.admin.service.SysOutEmpFormInfoService
;
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-11 15:57:30
*/
@RestController
@RequiredArgsConstructor
@RequestMapping
(
"/sysoutempforminfo"
)
@Tag
(
name
=
"瓜子采集字段配置表(前端用配置进行展示)管理"
)
public
class
SysOutEmpFormInfoController
{
private
final
SysOutEmpFormInfoService
sysOutEmpFormInfoService
;
/**
* 简单分页查询
* @param page 分页对象
* @param sysOutEmpFormInfo 瓜子采集字段配置表(前端用配置进行展示)
* @return
*/
@Operation
(
description
=
"简单分页查询"
)
@GetMapping
(
"/page"
)
public
R
<
IPage
<
SysOutEmpFormInfoVo
>>
getSysOutEmpFormInfoPage
(
Page
<
SysOutEmpFormInfo
>
page
,
SysOutEmpFormInfoVo
sysOutEmpFormInfo
)
{
return
new
R
<>(
sysOutEmpFormInfoService
.
getSysOutEmpFormInfoPage
(
page
,
sysOutEmpFormInfo
));
}
/**
* 不分页查询
* @param sysOutEmpFormInfo 瓜子采集字段配置表(前端用配置进行展示)
* @return
*/
@Operation
(
summary
=
"不分页查询"
,
description
=
"不分页查询"
)
@PostMapping
(
"/noPage"
)
public
R
<
List
<
SysOutEmpFormInfoVo
>>
getSysOutEmpFormInfoNoPage
(
@RequestBody
SysOutEmpFormInfoVo
sysOutEmpFormInfo
)
{
return
R
.
ok
(
sysOutEmpFormInfoService
.
noPageDiy
(
sysOutEmpFormInfo
));
}
/**
* 通过id查询瓜子采集字段配置表(前端用配置进行展示)
* @param id id
* @return R
*/
@Operation
(
summary
=
"通过id查询"
,
description
=
"通过id查询:hasPermission('admin_sysoutempforminfo_get')"
)
@GetMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('admin_sysoutempforminfo_get')"
)
public
R
<
SysOutEmpFormInfo
>
getById
(
@PathVariable
(
"id"
)
String
id
)
{
return
R
.
ok
(
sysOutEmpFormInfoService
.
getById
(
id
));
}
/**
* 新增瓜子采集字段配置表(前端用配置进行展示)
* @param sysOutEmpFormInfo 瓜子采集字段配置表(前端用配置进行展示)
* @return R
*/
@Operation
(
summary
=
"新增瓜子采集字段配置表(前端用配置进行展示)"
,
description
=
"新增瓜子采集字段配置表(前端用配置进行展示):hasPermission('admin_sysoutempforminfo_add')"
)
@SysLog
(
"新增瓜子采集字段配置表(前端用配置进行展示)"
)
@PostMapping
@PreAuthorize
(
"@pms.hasPermission('admin_sysoutempforminfo_add')"
)
public
R
<
Boolean
>
save
(
@RequestBody
SysOutEmpFormInfo
sysOutEmpFormInfo
)
{
return
R
.
ok
(
sysOutEmpFormInfoService
.
save
(
sysOutEmpFormInfo
));
}
/**
* 修改瓜子采集字段配置表(前端用配置进行展示)
* @param sysOutEmpFormInfo 瓜子采集字段配置表(前端用配置进行展示)
* @return R
*/
@Operation
(
summary
=
"修改瓜子采集字段配置表(前端用配置进行展示)"
,
description
=
"修改瓜子采集字段配置表(前端用配置进行展示):hasPermission('admin_sysoutempforminfo_edit')"
)
@SysLog
(
"修改瓜子采集字段配置表(前端用配置进行展示)"
)
@PutMapping
@PreAuthorize
(
"@pms.hasPermission('admin_sysoutempforminfo_edit')"
)
public
R
<
Boolean
>
updateById
(
@RequestBody
SysOutEmpFormInfo
sysOutEmpFormInfo
)
{
return
R
.
ok
(
sysOutEmpFormInfoService
.
updateById
(
sysOutEmpFormInfo
));
}
/**
* 通过id删除瓜子采集字段配置表(前端用配置进行展示)
* @param id id
* @return R
*/
@Operation
(
summary
=
"通过id删除瓜子采集字段配置表(前端用配置进行展示)"
,
description
=
"通过id删除瓜子采集字段配置表(前端用配置进行展示):hasPermission('admin_sysoutempforminfo_del')"
)
@SysLog
(
"通过id删除瓜子采集字段配置表(前端用配置进行展示)"
)
@DeleteMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('admin_sysoutempforminfo_del')"
)
public
R
<
Boolean
>
removeById
(
@PathVariable
String
id
)
{
return
R
.
ok
(
sysOutEmpFormInfoService
.
removeById
(
id
));
}
}
yifu-upms/yifu-upms-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/admin/controller/SysOutRelDictController.java
0 → 100644
View file @
af79d1c7
/*
* 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
.
admin
.
controller
;
import
com.yifu.cloud.plus.v1.yifu.admin.api.entity.SysOutRelDict
;
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.admin.service.SysOutRelDictService
;
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-11 15:57:30
*/
@RestController
@RequiredArgsConstructor
@RequestMapping
(
"/sysoutreldict"
)
@Tag
(
name
=
"外部字典与皖信字典的映射关系表管理"
)
public
class
SysOutRelDictController
{
private
final
SysOutRelDictService
sysOutRelDictService
;
/**
* 不分页查询
* @param sysOutRelDict 外部字典与皖信字典的映射关系表
* @return
*/
@Operation
(
summary
=
"不分页查询"
,
description
=
"不分页查询"
)
@PostMapping
(
"/noPage"
)
public
R
<
List
<
SysOutRelDict
>>
getSysOutRelDictNoPage
(
@RequestBody
SysOutRelDict
sysOutRelDict
)
{
return
R
.
ok
(
sysOutRelDictService
.
noPageDiy
(
sysOutRelDict
));
}
/**
* 通过id查询外部字典与皖信字典的映射关系表
* @param id id
* @return R
*/
@Operation
(
summary
=
"通过id查询"
,
description
=
"通过id查询:hasPermission('admin_sysoutreldict_get')"
)
@GetMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('admin_sysoutreldict_get')"
)
public
R
<
SysOutRelDict
>
getById
(
@PathVariable
(
"id"
)
Long
id
)
{
return
R
.
ok
(
sysOutRelDictService
.
getById
(
id
));
}
/**
* 新增外部字典与皖信字典的映射关系表
* @param sysOutRelDict 外部字典与皖信字典的映射关系表
* @return R
*/
@Operation
(
summary
=
"新增外部字典与皖信字典的映射关系表"
,
description
=
"新增外部字典与皖信字典的映射关系表:hasPermission('admin_sysoutreldict_add')"
)
@SysLog
(
"新增外部字典与皖信字典的映射关系表"
)
@PostMapping
@PreAuthorize
(
"@pms.hasPermission('admin_sysoutreldict_add')"
)
public
R
<
Boolean
>
save
(
@RequestBody
SysOutRelDict
sysOutRelDict
)
{
return
R
.
ok
(
sysOutRelDictService
.
save
(
sysOutRelDict
));
}
/**
* 修改外部字典与皖信字典的映射关系表
* @param sysOutRelDict 外部字典与皖信字典的映射关系表
* @return R
*/
@Operation
(
summary
=
"修改外部字典与皖信字典的映射关系表"
,
description
=
"修改外部字典与皖信字典的映射关系表:hasPermission('admin_sysoutreldict_edit')"
)
@SysLog
(
"修改外部字典与皖信字典的映射关系表"
)
@PutMapping
@PreAuthorize
(
"@pms.hasPermission('admin_sysoutreldict_edit')"
)
public
R
<
Boolean
>
updateById
(
@RequestBody
SysOutRelDict
sysOutRelDict
)
{
return
R
.
ok
(
sysOutRelDictService
.
updateById
(
sysOutRelDict
));
}
/**
* 通过id删除外部字典与皖信字典的映射关系表
* @param id id
* @return R
*/
@Operation
(
summary
=
"通过id删除外部字典与皖信字典的映射关系表"
,
description
=
"通过id删除外部字典与皖信字典的映射关系表:hasPermission('admin_sysoutreldict_del')"
)
@SysLog
(
"通过id删除外部字典与皖信字典的映射关系表"
)
@DeleteMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('admin_sysoutreldict_del')"
)
public
R
<
Boolean
>
removeById
(
@PathVariable
Long
id
)
{
return
R
.
ok
(
sysOutRelDictService
.
removeById
(
id
));
}
}
yifu-upms/yifu-upms-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/admin/controller/SysOutRelDictItemController.java
0 → 100644
View file @
af79d1c7
/*
* 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
.
admin
.
controller
;
import
com.yifu.cloud.plus.v1.yifu.admin.api.entity.SysOutRelDictItem
;
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.admin.service.SysOutRelDictItemService
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.security.SecurityRequirement
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
lombok.RequiredArgsConstructor
;
import
org.springframework.http.HttpHeaders
;
import
org.springframework.web.bind.annotation.*
;
import
java.util.List
;
/**
* 外部字典值数据表
*
* @author chenyx
* @date 2025-06-11 15:57:30
*/
@RestController
@RequiredArgsConstructor
@RequestMapping
(
"/sysoutreldictitem"
)
@Tag
(
name
=
"外部字典值数据表管理"
)
public
class
SysOutRelDictItemController
{
private
final
SysOutRelDictItemService
sysOutRelDictItemService
;
/**
* 不分页查询
* @param sysOutRelDictItem 外部字典值数据表
* @return
*/
@Operation
(
summary
=
"不分页查询"
,
description
=
"不分页查询"
)
@PostMapping
(
"/noPage"
)
public
R
<
List
<
SysOutRelDictItem
>>
getSysOutRelDictItemNoPage
(
@RequestBody
SysOutRelDictItem
sysOutRelDictItem
)
{
return
R
.
ok
(
sysOutRelDictItemService
.
noPageDiy
(
sysOutRelDictItem
));
}
/**
* 通过id查询外部字典值数据表
* @param id id
* @return R
*/
@Operation
(
summary
=
"通过id查询"
,
description
=
"通过id查询:hasPermission('admin_sysoutreldictitem_get')"
)
@GetMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('admin_sysoutreldictitem_get')"
)
public
R
<
SysOutRelDictItem
>
getById
(
@PathVariable
(
"id"
)
Long
id
)
{
return
R
.
ok
(
sysOutRelDictItemService
.
getById
(
id
));
}
/**
* 新增外部字典值数据表
* @param sysOutRelDictItem 外部字典值数据表
* @return R
*/
@Operation
(
summary
=
"新增外部字典值数据表"
,
description
=
"新增外部字典值数据表:hasPermission('admin_sysoutreldictitem_add')"
)
@SysLog
(
"新增外部字典值数据表"
)
@PostMapping
@PreAuthorize
(
"@pms.hasPermission('admin_sysoutreldictitem_add')"
)
public
R
<
Boolean
>
save
(
@RequestBody
SysOutRelDictItem
sysOutRelDictItem
)
{
return
R
.
ok
(
sysOutRelDictItemService
.
save
(
sysOutRelDictItem
));
}
/**
* 修改外部字典值数据表
* @param sysOutRelDictItem 外部字典值数据表
* @return R
*/
@Operation
(
summary
=
"修改外部字典值数据表"
,
description
=
"修改外部字典值数据表:hasPermission('admin_sysoutreldictitem_edit')"
)
@SysLog
(
"修改外部字典值数据表"
)
@PutMapping
@PreAuthorize
(
"@pms.hasPermission('admin_sysoutreldictitem_edit')"
)
public
R
<
Boolean
>
updateById
(
@RequestBody
SysOutRelDictItem
sysOutRelDictItem
)
{
return
R
.
ok
(
sysOutRelDictItemService
.
updateById
(
sysOutRelDictItem
));
}
/**
* 通过id删除外部字典值数据表
* @param id id
* @return R
*/
@Operation
(
summary
=
"通过id删除外部字典值数据表"
,
description
=
"通过id删除外部字典值数据表:hasPermission('admin_sysoutreldictitem_del')"
)
@SysLog
(
"通过id删除外部字典值数据表"
)
@DeleteMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('admin_sysoutreldictitem_del')"
)
public
R
<
Boolean
>
removeById
(
@PathVariable
Long
id
)
{
return
R
.
ok
(
sysOutRelDictItemService
.
removeById
(
id
));
}
}
yifu-upms/yifu-upms-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/admin/mapper/SysOutEmpCategorizeFormInfoMapper.java
0 → 100644
View file @
af79d1c7
/*
* 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
.
admin
.
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.admin.api.entity.SysOutEmpCategorizeFormInfo
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
/**
* 瓜子采集表单信息分类表
*
* @author chenyx
* @date 2025-06-11 15:57:30
*/
@Mapper
public
interface
SysOutEmpCategorizeFormInfoMapper
extends
BaseMapper
<
SysOutEmpCategorizeFormInfo
>
{
/**
* 瓜子采集表单信息分类表简单分页查询
*
* @param sysOutEmpCategorizeFormInfo 瓜子采集表单信息分类表
* @return
*/
IPage
<
SysOutEmpCategorizeFormInfo
>
getSysOutEmpCategorizeFormInfoPage
(
Page
<
SysOutEmpCategorizeFormInfo
>
page
,
@Param
(
"sysOutEmpCategorizeFormInfo"
)
SysOutEmpCategorizeFormInfo
sysOutEmpCategorizeFormInfo
);
}
yifu-upms/yifu-upms-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/admin/mapper/SysOutEmpFormInfoMapper.java
0 → 100644
View file @
af79d1c7
/*
* 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
.
admin
.
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.admin.api.entity.SysOutEmpFormInfo
;
import
com.yifu.cloud.plus.v1.yifu.admin.api.vo.SysOutEmpFormInfoVo
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
/**
* 瓜子采集字段配置表(前端用配置进行展示)
*
* @author chenyx
* @date 2025-06-11 15:57:30
*/
@Mapper
public
interface
SysOutEmpFormInfoMapper
extends
BaseMapper
<
SysOutEmpFormInfo
>
{
/**
* 瓜子采集字段配置表(前端用配置进行展示)简单分页查询
* @param sysOutEmpFormInfo 瓜子采集字段配置表(前端用配置进行展示)
* @return
*/
IPage
<
SysOutEmpFormInfoVo
>
getSysOutEmpFormInfoPage
(
Page
<
SysOutEmpFormInfo
>
page
,
@Param
(
"sysOutEmpFormInfo"
)
SysOutEmpFormInfoVo
sysOutEmpFormInfo
);
}
yifu-upms/yifu-upms-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/admin/mapper/SysOutRelDictItemMapper.java
0 → 100644
View file @
af79d1c7
/*
* 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
.
admin
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.yifu.cloud.plus.v1.yifu.admin.api.entity.SysOutRelDictItem
;
import
org.apache.ibatis.annotations.Mapper
;
/**
* 外部字典值数据表
*
* @author chenyx
* @date 2025-06-11 15:57:30
*/
@Mapper
public
interface
SysOutRelDictItemMapper
extends
BaseMapper
<
SysOutRelDictItem
>
{
}
yifu-upms/yifu-upms-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/admin/mapper/SysOutRelDictMapper.java
0 → 100644
View file @
af79d1c7
/*
* 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
.
admin
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.yifu.cloud.plus.v1.yifu.admin.api.entity.SysOutRelDict
;
import
org.apache.ibatis.annotations.Mapper
;
/**
* 外部字典与皖信字典的映射关系表
*
* @author chenyx
* @date 2025-06-11 15:57:30
*/
@Mapper
public
interface
SysOutRelDictMapper
extends
BaseMapper
<
SysOutRelDict
>
{
}
yifu-upms/yifu-upms-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/admin/service/SysOutEmpCategorizeFormInfoService.java
0 → 100644
View file @
af79d1c7
/*
* 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
.
admin
.
service
;
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
;
/**
* 瓜子采集表单信息分类表
*
* @author chenyx
* @date 2025-06-11 15:57:30
*/
public
interface
SysOutEmpCategorizeFormInfoService
extends
IService
<
SysOutEmpCategorizeFormInfo
>
{
/**
* 瓜子采集表单信息分类表简单分页查询
*
* @param sysOutEmpCategorizeFormInfo 瓜子采集表单信息分类表
* @return
*/
IPage
<
SysOutEmpCategorizeFormInfo
>
getSysOutEmpCategorizeFormInfoPage
(
Page
<
SysOutEmpCategorizeFormInfo
>
page
,
SysOutEmpCategorizeFormInfo
sysOutEmpCategorizeFormInfo
);
}
yifu-upms/yifu-upms-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/admin/service/SysOutEmpFormInfoService.java
0 → 100644
View file @
af79d1c7
/*
* 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
.
admin
.
service
;
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.SysOutEmpFormInfoVo
;
import
java.util.List
;
/**
* 瓜子采集字段配置表(前端用配置进行展示)
*
* @author chenyx
* @date 2025-06-11 15:57:30
*/
public
interface
SysOutEmpFormInfoService
extends
IService
<
SysOutEmpFormInfo
>
{
/**
* 瓜子采集字段配置表(前端用配置进行展示)简单分页查询
* @param sysOutEmpFormInfo 瓜子采集字段配置表(前端用配置进行展示)
* @return
*/
IPage
<
SysOutEmpFormInfoVo
>
getSysOutEmpFormInfoPage
(
Page
<
SysOutEmpFormInfo
>
page
,
SysOutEmpFormInfoVo
sysOutEmpFormInfo
);
List
<
SysOutEmpFormInfoVo
>
noPageDiy
(
SysOutEmpFormInfoVo
sysOutEmpFormInfo
);
}
yifu-upms/yifu-upms-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/admin/service/SysOutRelDictItemService.java
0 → 100644
View file @
af79d1c7
/*
* 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
.
admin
.
service
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.yifu.cloud.plus.v1.yifu.admin.api.entity.SysOutRelDictItem
;
import
java.util.List
;
/**
* 外部字典值数据表
*
* @author chenyx
* @date 2025-06-11 15:57:30
*/
public
interface
SysOutRelDictItemService
extends
IService
<
SysOutRelDictItem
>
{
List
<
SysOutRelDictItem
>
noPageDiy
(
SysOutRelDictItem
searchVo
);
}
yifu-upms/yifu-upms-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/admin/service/SysOutRelDictService.java
0 → 100644
View file @
af79d1c7
/*
* 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
.
admin
.
service
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.yifu.cloud.plus.v1.yifu.admin.api.entity.SysOutRelDict
;
import
java.util.List
;
/**
* 外部字典与皖信字典的映射关系表
*
* @author chenyx
* @date 2025-06-11 15:57:30
*/
public
interface
SysOutRelDictService
extends
IService
<
SysOutRelDict
>
{
List
<
SysOutRelDict
>
noPageDiy
(
SysOutRelDict
searchVo
);
}
yifu-upms/yifu-upms-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/admin/service/impl/SysOutEmpCategorizeFormInfoServiceImpl.java
0 → 100644
View file @
af79d1c7
/*
* 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
.
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.mapper.SysOutEmpCategorizeFormInfoMapper
;
import
com.yifu.cloud.plus.v1.yifu.admin.service.SysOutEmpCategorizeFormInfoService
;
import
lombok.extern.log4j.Log4j2
;
import
org.springframework.stereotype.Service
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
/**
* 瓜子采集表单信息分类表
*
* @author chenyx
* @date 2025-06-11 15:57:30
*/
@Log4j2
@Service
public
class
SysOutEmpCategorizeFormInfoServiceImpl
extends
ServiceImpl
<
SysOutEmpCategorizeFormInfoMapper
,
SysOutEmpCategorizeFormInfo
>
implements
SysOutEmpCategorizeFormInfoService
{
/**
* 瓜子采集表单信息分类表简单分页查询
*
* @param sysOutEmpCategorizeFormInfo 瓜子采集表单信息分类表
* @return
*/
@Override
public
IPage
<
SysOutEmpCategorizeFormInfo
>
getSysOutEmpCategorizeFormInfoPage
(
Page
<
SysOutEmpCategorizeFormInfo
>
page
,
SysOutEmpCategorizeFormInfo
sysOutEmpCategorizeFormInfo
)
{
return
baseMapper
.
getSysOutEmpCategorizeFormInfoPage
(
page
,
sysOutEmpCategorizeFormInfo
);
}
}
yifu-upms/yifu-upms-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/admin/service/impl/SysOutEmpFormInfoServiceImpl.java
0 → 100644
View file @
af79d1c7
/*
* 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
.
admin
.
service
.
impl
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.yifu.cloud.plus.v1.yifu.admin.api.entity.SysOutEmpFormInfo
;
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.SysOutEmpFormInfoService
;
import
lombok.extern.log4j.Log4j2
;
import
org.springframework.stereotype.Service
;
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-11 15:57:30
*/
@Log4j2
@Service
public
class
SysOutEmpFormInfoServiceImpl
extends
ServiceImpl
<
SysOutEmpFormInfoMapper
,
SysOutEmpFormInfo
>
implements
SysOutEmpFormInfoService
{
/**
* 瓜子采集字段配置表(前端用配置进行展示)简单分页查询
*
* @param sysOutEmpFormInfo 瓜子采集字段配置表(前端用配置进行展示)
* @return
*/
@Override
public
IPage
<
SysOutEmpFormInfoVo
>
getSysOutEmpFormInfoPage
(
Page
<
SysOutEmpFormInfo
>
page
,
SysOutEmpFormInfoVo
sysOutEmpFormInfo
)
{
return
baseMapper
.
getSysOutEmpFormInfoPage
(
page
,
sysOutEmpFormInfo
);
}
@Override
public
List
<
SysOutEmpFormInfoVo
>
noPageDiy
(
SysOutEmpFormInfoVo
searchVo
)
{
LambdaQueryWrapper
<
SysOutEmpFormInfo
>
wrapper
=
buildQueryWrapper
(
searchVo
);
wrapper
.
orderByDesc
(
BaseEntity:
:
getCreateTime
);
return
null
;
}
private
LambdaQueryWrapper
buildQueryWrapper
(
SysOutEmpFormInfoVo
entity
)
{
LambdaQueryWrapper
<
SysOutEmpFormInfo
>
wrapper
=
Wrappers
.
lambdaQuery
();
if
(
Common
.
isNotNull
(
entity
.
getCreateName
()))
{
wrapper
.
eq
(
SysOutEmpFormInfo:
:
getCreateName
,
entity
.
getCreateName
());
}
return
wrapper
;
}
}
yifu-upms/yifu-upms-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/admin/service/impl/SysOutRelDictItemServiceImpl.java
0 → 100644
View file @
af79d1c7
/*
* 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
.
admin
.
service
.
impl
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.yifu.cloud.plus.v1.yifu.admin.api.entity.SysOutRelDictItem
;
import
com.yifu.cloud.plus.v1.yifu.admin.mapper.SysOutRelDictItemMapper
;
import
com.yifu.cloud.plus.v1.yifu.admin.service.SysOutRelDictItemService
;
import
lombok.extern.log4j.Log4j2
;
import
org.springframework.stereotype.Service
;
import
java.util.List
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.core.toolkit.Wrappers
;
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-11 15:57:30
*/
@Log4j2
@Service
public
class
SysOutRelDictItemServiceImpl
extends
ServiceImpl
<
SysOutRelDictItemMapper
,
SysOutRelDictItem
>
implements
SysOutRelDictItemService
{
@Override
public
List
<
SysOutRelDictItem
>
noPageDiy
(
SysOutRelDictItem
searchVo
)
{
LambdaQueryWrapper
<
SysOutRelDictItem
>
wrapper
=
buildQueryWrapper
(
searchVo
);
wrapper
.
orderByDesc
(
BaseEntity:
:
getCreateTime
);
return
baseMapper
.
selectList
(
wrapper
);
}
private
LambdaQueryWrapper
buildQueryWrapper
(
SysOutRelDictItem
entity
){
LambdaQueryWrapper
<
SysOutRelDictItem
>
wrapper
=
Wrappers
.
lambdaQuery
();
if
(
Common
.
isNotNull
(
entity
.
getCreateName
())){
wrapper
.
eq
(
SysOutRelDictItem:
:
getCreateName
,
entity
.
getCreateName
());
}
return
wrapper
;
}
}
yifu-upms/yifu-upms-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/admin/service/impl/SysOutRelDictServiceImpl.java
0 → 100644
View file @
af79d1c7
/*
* 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
.
admin
.
service
.
impl
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.yifu.cloud.plus.v1.yifu.admin.api.entity.SysOutRelDict
;
import
com.yifu.cloud.plus.v1.yifu.admin.mapper.SysOutRelDictMapper
;
import
com.yifu.cloud.plus.v1.yifu.admin.service.SysOutRelDictService
;
import
lombok.extern.log4j.Log4j2
;
import
org.springframework.stereotype.Service
;
import
java.util.List
;
import
com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.core.toolkit.Wrappers
;
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-11 15:57:30
*/
@Log4j2
@Service
public
class
SysOutRelDictServiceImpl
extends
ServiceImpl
<
SysOutRelDictMapper
,
SysOutRelDict
>
implements
SysOutRelDictService
{
@Override
public
List
<
SysOutRelDict
>
noPageDiy
(
SysOutRelDict
searchVo
)
{
LambdaQueryWrapper
<
SysOutRelDict
>
wrapper
=
buildQueryWrapper
(
searchVo
);
wrapper
.
orderByDesc
(
BaseEntity:
:
getCreateTime
);
return
baseMapper
.
selectList
(
wrapper
);
}
private
LambdaQueryWrapper
buildQueryWrapper
(
SysOutRelDict
entity
)
{
LambdaQueryWrapper
<
SysOutRelDict
>
wrapper
=
Wrappers
.
lambdaQuery
();
if
(
Common
.
isNotNull
(
entity
.
getCreateName
()))
{
wrapper
.
eq
(
SysOutRelDict:
:
getCreateName
,
entity
.
getCreateName
());
}
return
wrapper
;
}
}
yifu-upms/yifu-upms-biz/src/main/resources/mapper/SysOutEmpCategorizeFormInfoMapper.xml
0 → 100644
View file @
af79d1c7
<?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.admin.mapper.SysOutEmpCategorizeFormInfoMapper"
>
<resultMap
id=
"sysOutEmpCategorizeFormInfoMap"
type=
"com.yifu.cloud.plus.v1.yifu.admin.api.entity.SysOutEmpCategorizeFormInfo"
>
<id
property=
"id"
column=
"id"
/>
<result
property=
"name"
column=
"name"
/>
<result
property=
"sort"
column=
"sort"
/>
<result
property=
"groupType"
column=
"group_type"
/>
<result
property=
"isLookToc"
column=
"is_look_toc"
/>
<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.name,
a.sort,
a.group_type,
a.is_look_toc,
a.del_flag,
a.create_time,
a.create_by,
a.create_name,
a.update_by,
a.update_time
</sql>
<sql
id=
"sysOutEmpCategorizeFormInfo_where"
>
<if
test=
"sysOutEmpCategorizeFormInfo != null"
>
<if
test=
"sysOutEmpCategorizeFormInfo.id != null and sysOutEmpCategorizeFormInfo.id.trim() != ''"
>
AND a.id = #{sysOutEmpCategorizeFormInfo.id}
</if>
<if
test=
"sysOutEmpCategorizeFormInfo.name != null and sysOutEmpCategorizeFormInfo.name.trim() != ''"
>
AND a.name = #{sysOutEmpCategorizeFormInfo.name}
</if>
<if
test=
"sysOutEmpCategorizeFormInfo.sort != null"
>
AND a.sort = #{sysOutEmpCategorizeFormInfo.sort}
</if>
<if
test=
"sysOutEmpCategorizeFormInfo.groupType != null and sysOutEmpCategorizeFormInfo.groupType.trim() != ''"
>
AND a.group_type = #{sysOutEmpCategorizeFormInfo.groupType}
</if>
<if
test=
"sysOutEmpCategorizeFormInfo.isLookToc != null and sysOutEmpCategorizeFormInfo.isLookToc.trim() != ''"
>
AND a.is_look_toc = #{sysOutEmpCategorizeFormInfo.isLookToc}
</if>
<if
test=
"sysOutEmpCategorizeFormInfo.delFlag != null and sysOutEmpCategorizeFormInfo.delFlag.trim() != ''"
>
AND a.del_flag = #{sysOutEmpCategorizeFormInfo.delFlag}
</if>
<if
test=
"sysOutEmpCategorizeFormInfo.createTime != null"
>
AND a.create_time = #{sysOutEmpCategorizeFormInfo.createTime}
</if>
<if
test=
"sysOutEmpCategorizeFormInfo.createBy != null and sysOutEmpCategorizeFormInfo.createBy.trim() != ''"
>
AND a.create_by = #{sysOutEmpCategorizeFormInfo.createBy}
</if>
<if
test=
"sysOutEmpCategorizeFormInfo.createName != null and sysOutEmpCategorizeFormInfo.createName.trim() != ''"
>
AND a.create_name = #{sysOutEmpCategorizeFormInfo.createName}
</if>
<if
test=
"sysOutEmpCategorizeFormInfo.updateBy != null and sysOutEmpCategorizeFormInfo.updateBy.trim() != ''"
>
AND a.update_by = #{sysOutEmpCategorizeFormInfo.updateBy}
</if>
<if
test=
"sysOutEmpCategorizeFormInfo.updateTime != null"
>
AND a.update_time = #{sysOutEmpCategorizeFormInfo.updateTime}
</if>
</if>
</sql>
<!--sysOutEmpCategorizeFormInfo简单分页查询-->
<select
id=
"getSysOutEmpCategorizeFormInfoPage"
resultMap=
"sysOutEmpCategorizeFormInfoMap"
>
SELECT
<include
refid=
"Base_Column_List"
/>
FROM sys_out_emp_categorize_form_info a
<where>
1=1
<include
refid=
"sysOutEmpCategorizeFormInfo_where"
/>
</where>
</select>
</mapper>
yifu-upms/yifu-upms-biz/src/main/resources/mapper/SysOutEmpFormInfoMapper.xml
0 → 100644
View file @
af79d1c7
<?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.admin.mapper.SysOutEmpFormInfoMapper"
>
<resultMap
id=
"sysOutEmpFormInfoMap"
type=
"com.yifu.cloud.plus.v1.yifu.admin.api.entity.SysOutEmpFormInfo"
>
<id
property=
"id"
column=
"id"
/>
<result
property=
"categorizeId"
column=
"categorize_id"
/>
<result
property=
"fieldName"
column=
"field_name"
/>
<result
property=
"fieldZhName"
column=
"field_zh_name"
/>
<result
property=
"sort"
column=
"sort"
/>
<result
property=
"isLookToc"
column=
"is_look_toc"
/>
<result
property=
"empFillType"
column=
"emp_fill_type"
/>
<result
property=
"fieldStatus"
column=
"field_status"
/>
<result
property=
"fieldType"
column=
"field_type"
/>
<result
property=
"dictType"
column=
"dict_type"
/>
<result
property=
"isRequired"
column=
"is_required"
/>
<result
property=
"relField"
column=
"rel_field"
/>
<result
property=
"relFieldValue"
column=
"rel_field_value"
/>
<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=
"haveWanxinMapping"
column=
"have_wanxin_mapping"
/>
<result
property=
"wanxinMappingType"
column=
"wanxin_mapping_type"
/>
<result
property=
"wanxinFieldName"
column=
"wanxin_field_name"
/>
<result
property=
"wanxinFieldZhName"
column=
"wanxin_field_zh_name"
/>
<result
property=
"wanxinFieldType"
column=
"wanxin_field_type"
/>
<result
property=
"isCheck"
column=
"is_check"
/>
<result
property=
"checkValue"
column=
"check_value"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
a.id,
a.categorize_id,
a.field_name,
a.field_zh_name,
a.sort,
a.is_look_toc,
a.emp_fill_type,
a.field_status,
a.field_type,
a.dict_type,
a.is_required,
a.rel_field,
a.rel_field_value,
a.del_flag,
a.create_time,
a.create_by,
a.create_name,
a.update_by,
a.update_time,
a.have_wanxin_mapping,
a.wanxin_mapping_type,
a.wanxin_field_name,
a.wanxin_field_zh_name,
a.wanxin_field_type,
a.is_check,
a.check_value
</sql>
<sql
id=
"sysOutEmpFormInfo_where"
>
<if
test=
"sysOutEmpFormInfo != null"
>
<if
test=
"sysOutEmpFormInfo.id != null and sysOutEmpFormInfo.id.trim() != ''"
>
AND a.id = #{sysOutEmpFormInfo.id}
</if>
<if
test=
"sysOutEmpFormInfo.categorizeId != null and sysOutEmpFormInfo.categorizeId.trim() != ''"
>
AND a.categorize_id = #{sysOutEmpFormInfo.categorizeId}
</if>
<if
test=
"sysOutEmpFormInfo.fieldName != null and sysOutEmpFormInfo.fieldName.trim() != ''"
>
AND a.field_name = #{sysOutEmpFormInfo.fieldName}
</if>
<if
test=
"sysOutEmpFormInfo.fieldZhName != null and sysOutEmpFormInfo.fieldZhName.trim() != ''"
>
AND a.field_zh_name = #{sysOutEmpFormInfo.fieldZhName}
</if>
<if
test=
"sysOutEmpFormInfo.sort != null"
>
AND a.sort = #{sysOutEmpFormInfo.sort}
</if>
<if
test=
"sysOutEmpFormInfo.isLookToc != null and sysOutEmpFormInfo.isLookToc.trim() != ''"
>
AND a.is_look_toc = #{sysOutEmpFormInfo.isLookToc}
</if>
<if
test=
"sysOutEmpFormInfo.empFillType != null and sysOutEmpFormInfo.empFillType.trim() != ''"
>
AND a.emp_fill_type = #{sysOutEmpFormInfo.empFillType}
</if>
<if
test=
"sysOutEmpFormInfo.fieldStatus != null and sysOutEmpFormInfo.fieldStatus.trim() != ''"
>
AND a.field_status = #{sysOutEmpFormInfo.fieldStatus}
</if>
<if
test=
"sysOutEmpFormInfo.fieldType != null and sysOutEmpFormInfo.fieldType.trim() != ''"
>
AND a.field_type = #{sysOutEmpFormInfo.fieldType}
</if>
<if
test=
"sysOutEmpFormInfo.dictType != null and sysOutEmpFormInfo.dictType.trim() != ''"
>
AND a.dict_type = #{sysOutEmpFormInfo.dictType}
</if>
<if
test=
"sysOutEmpFormInfo.isRequired != null and sysOutEmpFormInfo.isRequired.trim() != ''"
>
AND a.is_required = #{sysOutEmpFormInfo.isRequired}
</if>
<if
test=
"sysOutEmpFormInfo.relField != null and sysOutEmpFormInfo.relField.trim() != ''"
>
AND a.rel_field = #{sysOutEmpFormInfo.relField}
</if>
<if
test=
"sysOutEmpFormInfo.relFieldValue != null and sysOutEmpFormInfo.relFieldValue.trim() != ''"
>
AND a.rel_field_value = #{sysOutEmpFormInfo.relFieldValue}
</if>
<if
test=
"sysOutEmpFormInfo.delFlag != null and sysOutEmpFormInfo.delFlag.trim() != ''"
>
AND a.del_flag = #{sysOutEmpFormInfo.delFlag}
</if>
<if
test=
"sysOutEmpFormInfo.createTime != null"
>
AND a.create_time = #{sysOutEmpFormInfo.createTime}
</if>
<if
test=
"sysOutEmpFormInfo.createBy != null and sysOutEmpFormInfo.createBy.trim() != ''"
>
AND a.create_by = #{sysOutEmpFormInfo.createBy}
</if>
<if
test=
"sysOutEmpFormInfo.createName != null and sysOutEmpFormInfo.createName.trim() != ''"
>
AND a.create_name = #{sysOutEmpFormInfo.createName}
</if>
<if
test=
"sysOutEmpFormInfo.updateBy != null and sysOutEmpFormInfo.updateBy.trim() != ''"
>
AND a.update_by = #{sysOutEmpFormInfo.updateBy}
</if>
<if
test=
"sysOutEmpFormInfo.updateTime != null"
>
AND a.update_time = #{sysOutEmpFormInfo.updateTime}
</if>
<if
test=
"sysOutEmpFormInfo.haveWanxinMapping != null and sysOutEmpFormInfo.haveWanxinMapping.trim() != ''"
>
AND a.have_wanxin_mapping = #{sysOutEmpFormInfo.haveWanxinMapping}
</if>
<if
test=
"sysOutEmpFormInfo.wanxinMappingType != null and sysOutEmpFormInfo.wanxinMappingType.trim() != ''"
>
AND a.wanxin_mapping_type = #{sysOutEmpFormInfo.wanxinMappingType}
</if>
<if
test=
"sysOutEmpFormInfo.wanxinFieldName != null and sysOutEmpFormInfo.wanxinFieldName.trim() != ''"
>
AND a.wanxin_field_name = #{sysOutEmpFormInfo.wanxinFieldName}
</if>
<if
test=
"sysOutEmpFormInfo.wanxinFieldZhName != null and sysOutEmpFormInfo.wanxinFieldZhName.trim() != ''"
>
AND a.wanxin_field_zh_name = #{sysOutEmpFormInfo.wanxinFieldZhName}
</if>
<if
test=
"sysOutEmpFormInfo.wanxinFieldType != null and sysOutEmpFormInfo.wanxinFieldType.trim() != ''"
>
AND a.wanxin_field_type = #{sysOutEmpFormInfo.wanxinFieldType}
</if>
<if
test=
"sysOutEmpFormInfo.isCheck != null and sysOutEmpFormInfo.isCheck.trim() != ''"
>
AND a.is_check = #{sysOutEmpFormInfo.isCheck}
</if>
<if
test=
"sysOutEmpFormInfo.checkValue != null and sysOutEmpFormInfo.checkValue.trim() != ''"
>
AND a.check_value = #{sysOutEmpFormInfo.checkValue}
</if>
</if>
</sql>
<!--sysOutEmpFormInfo简单分页查询-->
<select
id=
"getSysOutEmpFormInfoPage"
resultType=
"com.yifu.cloud.plus.v1.yifu.admin.api.vo.SysOutEmpFormInfoVo"
>
SELECT
<include
refid=
"Base_Column_List"
/>
FROM sys_out_emp_form_info a
<where>
1=1
<include
refid=
"sysOutEmpFormInfo_where"
/>
</where>
</select>
</mapper>
yifu-upms/yifu-upms-biz/src/main/resources/mapper/SysOutRelDictItemMapper.xml
0 → 100644
View file @
af79d1c7
<?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.admin.mapper.SysOutRelDictItemMapper"
>
<resultMap
id=
"sysOutRelDictItemMap"
type=
"com.yifu.cloud.plus.v1.yifu.admin.api.entity.SysOutRelDictItem"
>
<id
property=
"id"
column=
"id"
/>
<result
property=
"dictType"
column=
"dict_type"
/>
<result
property=
"value"
column=
"value"
/>
<result
property=
"sysDictType"
column=
"sys_dict_type"
/>
<result
property=
"sysDictValue"
column=
"sys_dict_value"
/>
<result
property=
"clientId"
column=
"client_id"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
a.id,
a.dict_type,
a.value,
a.sys_dict_type,
a.sys_dict_value,
a.client_id
</sql>
<sql
id=
"sysOutRelDictItem_where"
>
<if
test=
"sysOutRelDictItem != null"
>
<if
test=
"sysOutRelDictItem.id != null"
>
AND a.id = #{sysOutRelDictItem.id}
</if>
<if
test=
"sysOutRelDictItem.dictType != null and sysOutRelDictItem.dictType.trim() != ''"
>
AND a.dict_type = #{sysOutRelDictItem.dictType}
</if>
<if
test=
"sysOutRelDictItem.value != null and sysOutRelDictItem.value.trim() != ''"
>
AND a.value = #{sysOutRelDictItem.value}
</if>
<if
test=
"sysOutRelDictItem.sysDictType != null"
>
AND a.sys_dict_type = #{sysOutRelDictItem.sysDictType}
</if>
<if
test=
"sysOutRelDictItem.sysDictValue != null"
>
AND a.sys_dict_value = #{sysOutRelDictItem.sysDictValue}
</if>
<if
test=
"sysOutRelDictItem.clientId != null and sysOutRelDictItem.clientId.trim() != ''"
>
AND a.client_id = #{sysOutRelDictItem.clientId}
</if>
</if>
</sql>
<!--sysOutRelDictItem简单分页查询-->
<select
id=
"getSysOutRelDictItemPage"
resultMap=
"sysOutRelDictItemMap"
>
SELECT
<include
refid=
"Base_Column_List"
/>
FROM sys_out_rel_dict_item a
<where>
1=1
<include
refid=
"sysOutRelDictItem_where"
/>
</where>
</select>
</mapper>
yifu-upms/yifu-upms-biz/src/main/resources/mapper/SysOutRelDictMapper.xml
0 → 100644
View file @
af79d1c7
<?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.admin.mapper.SysOutRelDictMapper"
>
<resultMap
id=
"sysOutRelDictMap"
type=
"com.yifu.cloud.plus.v1.yifu.admin.api.entity.SysOutRelDict"
>
<id
property=
"id"
column=
"id"
/>
<result
property=
"clientType"
column=
"client_type"
/>
<result
property=
"sysDictType"
column=
"sys_dict_type"
/>
<result
property=
"clientId"
column=
"client_id"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
a.id,
a.client_type,
a.sys_dict_type,
a.client_id
</sql>
<sql
id=
"sysOutRelDict_where"
>
<if
test=
"sysOutRelDict != null"
>
<if
test=
"sysOutRelDict.id != null"
>
AND a.id = #{sysOutRelDict.id}
</if>
<if
test=
"sysOutRelDict.clientType != null and sysOutRelDict.clientType.trim() != ''"
>
AND a.client_type = #{sysOutRelDict.clientType}
</if>
<if
test=
"sysOutRelDict.sysDictType != null and sysOutRelDict.sysDictType.trim() != ''"
>
AND a.sys_dict_type = #{sysOutRelDict.sysDictType}
</if>
<if
test=
"sysOutRelDict.delFlag != null and sysOutRelDict.delFlag.trim() != ''"
>
AND a.del_flag = #{sysOutRelDict.delFlag}
</if>
<if
test=
"sysOutRelDict.clientId != null and sysOutRelDict.clientId.trim() != ''"
>
AND a.client_id = #{sysOutRelDict.clientId}
</if>
</if>
</sql>
<!--sysOutRelDict简单分页查询-->
<select
id=
"getSysOutRelDictPage"
resultMap=
"sysOutRelDictMap"
>
SELECT
<include
refid=
"Base_Column_List"
/>
FROM sys_out_rel_dict a
<where>
1=1
<include
refid=
"sysOutRelDict_where"
/>
</where>
</select>
</mapper>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment