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
008be3f9
Commit
008be3f9
authored
Oct 10, 2025
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MVP1.7.16-法大大
parent
b44684ad
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
40 changed files
with
4011 additions
and
70 deletions
+4011
-70
TFascEditLog.java
...yifu/cloud/plus/v1/yifu/archives/entity/TFascEditLog.java
+80
-0
TFascHrField.java
...yifu/cloud/plus/v1/yifu/archives/entity/TFascHrField.java
+72
-0
TFascPushLog.java
...yifu/cloud/plus/v1/yifu/archives/entity/TFascPushLog.java
+116
-0
TFascTemplate.java
...ifu/cloud/plus/v1/yifu/archives/entity/TFascTemplate.java
+176
-0
TFascTemplateDetail.java
...oud/plus/v1/yifu/archives/entity/TFascTemplateDetail.java
+131
-0
TFascTemplateDetailExportVo.java
...plus/v1/yifu/archives/vo/TFascTemplateDetailExportVo.java
+98
-0
TFascTemplateDetailSearchVo.java
...plus/v1/yifu/archives/vo/TFascTemplateDetailSearchVo.java
+58
-0
TFascTemplateDetailUpdateVo.java
...plus/v1/yifu/archives/vo/TFascTemplateDetailUpdateVo.java
+96
-0
TFascTemplateExportVo.java
...cloud/plus/v1/yifu/archives/vo/TFascTemplateExportVo.java
+141
-0
TFascTemplateSearchVo.java
...cloud/plus/v1/yifu/archives/vo/TFascTemplateSearchVo.java
+58
-0
TFascTemplateUpdateVo.java
...cloud/plus/v1/yifu/archives/vo/TFascTemplateUpdateVo.java
+64
-0
FascController.java
...loud/plus/v1/yifu/archives/controller/FascController.java
+4
-4
TFascEditLogController.java
...s/v1/yifu/archives/controller/TFascEditLogController.java
+72
-0
TFascHrFieldController.java
...s/v1/yifu/archives/controller/TFascHrFieldController.java
+71
-0
TFascTemplateController.java
.../v1/yifu/archives/controller/TFascTemplateController.java
+133
-0
TFascTemplateDetailController.java
...fu/archives/controller/TFascTemplateDetailController.java
+146
-0
TFascEditLogMapper.java
...loud/plus/v1/yifu/archives/mapper/TFascEditLogMapper.java
+45
-0
TFascHrFieldMapper.java
...loud/plus/v1/yifu/archives/mapper/TFascHrFieldMapper.java
+45
-0
TFascPushLogMapper.java
...loud/plus/v1/yifu/archives/mapper/TFascPushLogMapper.java
+40
-0
TFascTemplateDetailMapper.java
...us/v1/yifu/archives/mapper/TFascTemplateDetailMapper.java
+51
-0
TFascTemplateMapper.java
...oud/plus/v1/yifu/archives/mapper/TFascTemplateMapper.java
+59
-0
TFascEditLogService.java
...ud/plus/v1/yifu/archives/service/TFascEditLogService.java
+43
-0
TFascHrFieldService.java
...ud/plus/v1/yifu/archives/service/TFascHrFieldService.java
+47
-0
TFascPushLogService.java
...ud/plus/v1/yifu/archives/service/TFascPushLogService.java
+43
-0
TFascTemplateDetailService.java
.../v1/yifu/archives/service/TFascTemplateDetailService.java
+61
-0
TFascTemplateService.java
...d/plus/v1/yifu/archives/service/TFascTemplateService.java
+50
-0
FascServiceImpl.java
...d/plus/v1/yifu/archives/service/impl/FascServiceImpl.java
+113
-13
TFascEditLogServiceImpl.java
...1/yifu/archives/service/impl/TFascEditLogServiceImpl.java
+54
-0
TFascHrFieldServiceImpl.java
...1/yifu/archives/service/impl/TFascHrFieldServiceImpl.java
+75
-0
TFascPushLogServiceImpl.java
...1/yifu/archives/service/impl/TFascPushLogServiceImpl.java
+58
-0
TFascTemplateDetailServiceImpl.java
...archives/service/impl/TFascTemplateDetailServiceImpl.java
+387
-0
TFascTemplateServiceImpl.java
.../yifu/archives/service/impl/TFascTemplateServiceImpl.java
+350
-0
FascConstants.java
...yifu/cloud/plus/v1/yifu/archives/utils/FascConstants.java
+40
-0
FascUtil.java
.../com/yifu/cloud/plus/v1/yifu/archives/utils/FascUtil.java
+187
-53
TFascEditLogMapper.xml
...ives-biz/src/main/resources/mapper/TFascEditLogMapper.xml
+101
-0
TFascHrFieldMapper.xml
...ives-biz/src/main/resources/mapper/TFascHrFieldMapper.xml
+76
-0
TFascPushLogMapper.xml
...ives-biz/src/main/resources/mapper/TFascPushLogMapper.xml
+114
-0
TFascTemplateDetailMapper.xml
...z/src/main/resources/mapper/TFascTemplateDetailMapper.xml
+209
-0
TFascTemplateMapper.xml
...ves-biz/src/main/resources/mapper/TFascTemplateMapper.xml
+224
-0
LocalDateTimeUtils.java
...oud/plus/v1/yifu/common/core/util/LocalDateTimeUtils.java
+23
-0
No files found.
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/entity/TFascEditLog.java
0 → 100644
View file @
008be3f9
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
entity
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute
;
import
com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
org.hibernate.validator.constraints.Length
;
import
javax.validation.constraints.NotBlank
;
/**
* 法大大编辑日志表
*
* @author hgw
* @date 2025-10-09 10:39:43
*/
@Data
@TableName
(
"t_fasc_edit_log"
)
@EqualsAndHashCode
(
callSuper
=
true
)
@Schema
(
description
=
"法大大编辑日志表"
)
public
class
TFascEditLog
extends
BaseEntity
{
/**
* id
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@ExcelProperty
(
"id"
)
@Schema
(
description
=
"id"
)
private
String
id
;
/**
* 关联主表ID
*/
@ExcelAttribute
(
name
=
"关联主表ID"
,
isNotEmpty
=
true
,
errorInfo
=
"关联主表ID不能为空"
,
maxLength
=
32
)
@NotBlank
(
message
=
"关联主表ID不能为空"
)
@Length
(
max
=
32
,
message
=
"关联主表ID不能超过32个字符"
)
@ExcelProperty
(
"关联主表ID"
)
@Schema
(
description
=
"关联主表ID"
)
private
String
mainId
;
/**
* 类型1模板2映射
*/
@ExcelAttribute
(
name
=
"类型1模板2映射"
,
isNotEmpty
=
true
,
errorInfo
=
"类型1模板2映射不能为空"
,
maxLength
=
1
)
@NotBlank
(
message
=
"类型1模板2映射不能为空"
)
@Length
(
max
=
1
,
message
=
"类型1模板2映射不能超过1个字符"
)
@ExcelProperty
(
"类型1模板2映射"
)
@Schema
(
description
=
"类型1模板2映射"
)
private
String
mainType
;
/**
* 编辑内容
*/
@ExcelAttribute
(
name
=
"编辑内容"
,
isNotEmpty
=
true
,
errorInfo
=
"编辑内容不能为空"
,
maxLength
=
100
)
@NotBlank
(
message
=
"编辑内容不能为空"
)
@Length
(
max
=
100
,
message
=
"编辑内容不能超过100个字符"
)
@ExcelProperty
(
"编辑内容"
)
@Schema
(
description
=
"编辑内容"
)
private
String
editContent
;
}
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/entity/TFascHrField.java
0 → 100644
View file @
008be3f9
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
entity
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
org.hibernate.validator.constraints.Length
;
/**
* 法大大专业版皖信字段表
*
* @author hgw
* @date 2025-09-30 16:29:27
*/
@Data
@TableName
(
"t_fasc_hr_field"
)
@Schema
(
description
=
"法大大专业版皖信字段表"
)
public
class
TFascHrField
{
/**
* id
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@ExcelProperty
(
"id"
)
@Schema
(
description
=
"id"
)
private
String
id
;
/**
* 皖信字段
*/
@ExcelAttribute
(
name
=
"皖信字段"
,
maxLength
=
100
)
@Length
(
max
=
100
,
message
=
"皖信字段不能超过100个字符"
)
@ExcelProperty
(
"皖信字段"
)
@Schema
(
description
=
"皖信字段"
)
private
String
hrField
;
/**
* 皖信字段ID
*/
@ExcelAttribute
(
name
=
"皖信字段ID"
,
maxLength
=
100
)
@Length
(
max
=
100
,
message
=
"皖信字段ID不能超过100个字符"
)
@ExcelProperty
(
"皖信字段ID"
)
@Schema
(
description
=
"皖信字段ID"
)
private
String
hrFieldId
;
/**
* 合同类型:标准合同、劳务协议、实习协议、非全日制、劳务派遣合同
*/
@ExcelAttribute
(
name
=
"合同类型"
,
maxLength
=
20
)
@Length
(
max
=
20
,
message
=
"合同类型不能超过20个字符"
)
@ExcelProperty
(
"合同类型"
)
@Schema
(
description
=
"合同类型"
)
private
String
contractType
;
}
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/entity/TFascPushLog.java
0 → 100644
View file @
008be3f9
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
entity
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute
;
import
com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
org.hibernate.validator.constraints.Length
;
import
javax.validation.constraints.NotBlank
;
/**
* 法大大专业版推送日志表
*
* @author hgw
* @date 2025-09-30 16:29:28
*/
@Data
@TableName
(
"t_fasc_push_log"
)
@EqualsAndHashCode
(
callSuper
=
true
)
@Schema
(
description
=
"法大大专业版推送日志表"
)
public
class
TFascPushLog
extends
BaseEntity
{
/**
* id
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@ExcelProperty
(
"id"
)
@Schema
(
description
=
"id"
)
private
String
id
;
/**
* 业务参考号
*/
@ExcelAttribute
(
name
=
"业务参考号"
,
isNotEmpty
=
true
,
errorInfo
=
"业务参考号不能为空"
,
maxLength
=
32
)
@NotBlank
(
message
=
"业务参考号不能为空"
)
@Length
(
max
=
32
,
message
=
"业务参考号不能超过32个字符"
)
@ExcelProperty
(
"业务参考号"
)
@Schema
(
description
=
"业务参考号"
)
private
String
transReferenceId
;
/**
* 返回的任务ID
*/
@ExcelAttribute
(
name
=
"返回的任务ID"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"返回的任务ID不能超过32个字符"
)
@ExcelProperty
(
"返回的任务ID"
)
@Schema
(
description
=
"返回的任务ID"
)
private
String
signTaskId
;
/**
* 推送信息
*/
@ExcelAttribute
(
name
=
"推送信息"
)
@ExcelProperty
(
"推送信息"
)
@Schema
(
description
=
"推送信息"
)
private
String
pushData
;
/**
* 返回信息
*/
@ExcelAttribute
(
name
=
"返回信息"
)
@ExcelProperty
(
"返回信息"
)
@Schema
(
description
=
"返回信息"
)
private
String
returnData
;
/**
* 合同ID
*/
@ExcelAttribute
(
name
=
"合同ID"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"合同ID不能超过32个字符"
)
@ExcelProperty
(
"合同ID"
)
@Schema
(
description
=
"合同ID"
)
private
String
contractId
;
/**
* 任务状态0推送中1成功2失败
*/
@ExcelAttribute
(
name
=
"任务状态0推送中1成功2失败"
,
maxLength
=
2
)
@Length
(
max
=
2
,
message
=
"任务状态0推送中1成功2失败不能超过2个字符"
)
@ExcelProperty
(
"任务状态0推送中1成功2失败"
)
@Schema
(
description
=
"任务状态0推送中1成功2失败"
)
private
String
taskStatus
;
/**
* 查询关键字
*/
@ExcelAttribute
(
name
=
"查询关键字"
,
maxLength
=
50
)
@Length
(
max
=
50
,
message
=
"查询关键字不能超过50个字符"
)
@ExcelProperty
(
"查询关键字"
)
@Schema
(
description
=
"查询关键字"
)
private
String
typeKey
;
/**
* 类型
*/
@ExcelAttribute
(
name
=
"类型"
,
maxLength
=
20
)
@Length
(
max
=
20
,
message
=
"类型不能超过20个字符"
)
@ExcelProperty
(
"类型"
)
@Schema
(
description
=
"类型"
)
private
String
typeName
;
}
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/entity/TFascTemplate.java
0 → 100644
View file @
008be3f9
/*
* 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.TableField
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute
;
import
com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
org.hibernate.validator.constraints.Length
;
import
javax.validation.constraints.NotBlank
;
import
java.time.LocalDateTime
;
/**
* 法大大专业版模版表
*
* @author hgw
* @date 2025-09-30 16:29:28
*/
@Data
@TableName
(
"t_fasc_template"
)
@EqualsAndHashCode
(
callSuper
=
true
)
@Schema
(
description
=
"法大大专业版模版表"
)
public
class
TFascTemplate
extends
BaseEntity
{
/**
* id
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@ExcelProperty
(
"id"
)
@Schema
(
description
=
"id"
)
private
String
id
;
/**
* 公司主体
*/
@ExcelAttribute
(
name
=
"公司主体"
,
maxLength
=
100
)
@Length
(
max
=
100
,
message
=
"公司主体不能超过100个字符"
)
@ExcelProperty
(
"公司主体"
)
@Schema
(
description
=
"公司主体"
)
private
String
companyName
;
/**
* 签署方
*/
@ExcelAttribute
(
name
=
"签署方"
,
maxLength
=
100
)
@Length
(
max
=
100
,
message
=
"签署方不能超过100个字符"
)
@ExcelProperty
(
"签署方"
)
@Schema
(
description
=
"签署方"
)
private
String
signName
;
/**
* 签署方Openid
*/
@ExcelAttribute
(
name
=
"签署方Openid"
,
maxLength
=
100
)
@Length
(
max
=
100
,
message
=
"签署方Openid不能超过100个字符"
)
@ExcelProperty
(
"签署方Openid"
)
@Schema
(
description
=
"签署方Openid"
)
private
String
signOpenId
;
/**
* 模版ID
*/
@ExcelAttribute
(
name
=
"模版ID"
,
isNotEmpty
=
true
,
errorInfo
=
"模版ID不能为空"
,
maxLength
=
100
)
@NotBlank
(
message
=
"模版ID不能为空"
)
@Length
(
max
=
100
,
message
=
"模版ID不能超过100个字符"
)
@ExcelProperty
(
"模版ID"
)
@Schema
(
description
=
"模版ID"
)
private
String
signTemplateId
;
/**
* 模版名称
*/
@ExcelAttribute
(
name
=
"模版名称"
,
maxLength
=
100
)
@Length
(
max
=
100
,
message
=
"模版名称不能超过100个字符"
)
@ExcelProperty
(
"模版名称"
)
@Schema
(
description
=
"模版名称"
)
private
String
signTemplateName
;
/**
* 模版状态
* invalid: 停用;valid: 启用;creating:草稿
*/
@ExcelAttribute
(
name
=
"模版状态"
,
maxLength
=
20
)
@Length
(
max
=
20
,
message
=
"模版状态不能超过20个字符"
)
@ExcelProperty
(
"模版状态"
)
@Schema
(
description
=
"模版状态"
)
private
String
signTemplateStatus
;
/**
* 创建人
*/
@ExcelAttribute
(
name
=
"创建人"
,
maxLength
=
100
)
@Length
(
max
=
100
,
message
=
"创建人不能超过100个字符"
)
@ExcelProperty
(
"创建人"
)
@Schema
(
description
=
"创建人"
)
private
String
creatorMemberName
;
/**
* 法大大模版创建时间
*/
@ExcelAttribute
(
name
=
"法大大模版创建时间"
,
isDate
=
true
)
@ExcelProperty
(
"法大大模版创建时间"
)
@Schema
(
description
=
"法大大模版创建时间"
)
private
LocalDateTime
fascCreateTime
;
/**
* 最新更新时间
*/
@ExcelAttribute
(
name
=
"最新更新时间"
,
isDate
=
true
)
@ExcelProperty
(
"最新更新时间"
)
@Schema
(
description
=
"最新更新时间"
)
private
LocalDateTime
fascUpdateTime
;
/**
* 关联用章名称
*/
@ExcelAttribute
(
name
=
"关联用章名称"
,
maxLength
=
100
)
@Length
(
max
=
100
,
message
=
"关联用章名称不能超过100个字符"
)
@ExcelProperty
(
"关联用章名称"
)
@Schema
(
description
=
"关联用章名称"
)
private
String
zhangName
;
/**
* 是否免验证签0否1是
*/
@ExcelAttribute
(
name
=
"是否免验证签0否1是"
,
maxLength
=
1
,
isDataId
=
true
,
readConverterExp
=
"0=否,1=是"
)
@Length
(
max
=
1
,
message
=
"是否免验证签0否1是不能超过1个字符"
)
@ExcelProperty
(
"是否免验证签0否1是"
)
@Schema
(
description
=
"是否免验证签0否1是"
)
private
String
isMianQian
;
/**
* 皖信合同类型
*/
@ExcelAttribute
(
name
=
"皖信合同类型"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"皖信合同类型不能超过32个字符"
)
@ExcelProperty
(
"皖信合同类型"
)
@Schema
(
description
=
"皖信合同类型"
)
private
String
contractType
;
/**
* 必填是否已配置0未配置1部分配置2已配置
*/
@ExcelAttribute
(
name
=
"必填是否已配置"
,
maxLength
=
1
,
isDataId
=
true
,
readConverterExp
=
"0=未配置,1=部分配置,2=已配置"
)
@Length
(
max
=
1
,
message
=
"必填是否已配置不能超过1个字符"
)
@ExcelProperty
(
"必填是否已配置0未配置1部分配置2已配置"
)
@Schema
(
description
=
"必填是否已配置0未配置1部分配置2已配置"
)
private
String
isMustEdit
;
@TableField
(
exist
=
false
)
@ExcelProperty
(
"当前必填已配置数量"
)
private
String
isMustNow
;
@TableField
(
exist
=
false
)
@ExcelProperty
(
"当前必填总数量"
)
private
String
isMustAll
;
/**
* 是否删除0否1是
*/
@ExcelAttribute
(
name
=
"是否删除0否1是"
,
maxLength
=
1
,
isDataId
=
true
,
readConverterExp
=
"0=否,1=是"
)
@Length
(
max
=
1
,
message
=
"是否删除0否1是不能超过1个字符"
)
@ExcelProperty
(
"是否删除0否1是"
)
@Schema
(
description
=
"是否删除0否1是"
)
private
String
deleteFlag
;
}
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/entity/TFascTemplateDetail.java
0 → 100644
View file @
008be3f9
/*
* 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.*
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute
;
import
com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
org.hibernate.validator.constraints.Length
;
import
javax.validation.constraints.NotBlank
;
/**
* 法大大专业版模板映射表
*
* @author hgw
* @date 2025-09-30 16:29:28
*/
@Data
@TableName
(
"t_fasc_template_detail"
)
@EqualsAndHashCode
(
callSuper
=
true
)
@Schema
(
description
=
"法大大专业版模板映射表"
)
public
class
TFascTemplateDetail
extends
BaseEntity
{
/**
* id
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@ExcelProperty
(
"id"
)
@Schema
(
description
=
"id"
)
private
String
id
;
/**
* 模板ID
*/
@ExcelAttribute
(
name
=
"模板ID"
,
isNotEmpty
=
true
,
errorInfo
=
"模板ID不能为空"
,
maxLength
=
100
)
@NotBlank
(
message
=
"模板ID不能为空"
)
@Length
(
max
=
100
,
message
=
"模板ID不能超过100个字符"
)
@ExcelProperty
(
"模板ID"
)
@Schema
(
description
=
"模板ID"
)
private
String
signTemplateId
;
/**
* 法大大字段
*/
@ExcelAttribute
(
name
=
"法大大字段"
,
maxLength
=
100
)
@Length
(
max
=
100
,
message
=
"法大大字段不能超过100个字符"
)
@ExcelProperty
(
"法大大字段"
)
@Schema
(
description
=
"法大大字段"
)
private
String
fascField
;
/**
* 法大大字段ID
*/
@ExcelAttribute
(
name
=
"法大大字段ID"
,
maxLength
=
100
)
@Length
(
max
=
100
,
message
=
"法大大字段ID不能超过100个字符"
)
@ExcelProperty
(
"法大大字段ID"
)
@Schema
(
description
=
"法大大字段ID"
)
private
String
fascFieldId
;
/**
* 是否必填0否1是
*/
@ExcelAttribute
(
name
=
"是否必填0否1是"
,
maxLength
=
1
,
isDataId
=
true
,
readConverterExp
=
"0=否,1=是"
)
@Length
(
max
=
1
,
message
=
"是否必填0否1是不能超过1个字符"
)
@ExcelProperty
(
"是否必填0否1是"
)
@Schema
(
description
=
"是否必填0否1是"
)
private
String
isMust
;
/**
* 是否删除0否1是
*/
@ExcelAttribute
(
name
=
"是否删除0否1是"
,
maxLength
=
1
,
isDataId
=
true
,
readConverterExp
=
"0=否,1=是"
)
@Length
(
max
=
1
,
message
=
"是否删除0否1是不能超过1个字符"
)
@ExcelProperty
(
"是否删除0否1是"
)
@Schema
(
description
=
"是否删除0否1是"
)
private
String
deleteFlag
;
/**
* 皖信字段
*/
@ExcelAttribute
(
name
=
"皖信字段"
,
maxLength
=
100
)
@Length
(
max
=
100
,
message
=
"皖信字段不能超过100个字符"
)
@ExcelProperty
(
"皖信字段"
)
@Schema
(
description
=
"皖信字段"
)
@TableField
(
updateStrategy
=
FieldStrategy
.
IGNORED
)
private
String
hrField
;
/**
* 皖信字段ID
*/
@ExcelAttribute
(
name
=
"皖信字段ID"
,
maxLength
=
100
)
@Length
(
max
=
100
,
message
=
"皖信字段ID不能超过100个字符"
)
@ExcelProperty
(
"皖信字段ID"
)
@Schema
(
description
=
"皖信字段ID"
)
@TableField
(
updateStrategy
=
FieldStrategy
.
IGNORED
)
private
String
hrFieldId
;
/**
* 是否已配置0未配置1已配置
*/
@ExcelAttribute
(
name
=
"是否已配置"
,
maxLength
=
3
,
isDataId
=
true
,
readConverterExp
=
"0=未配置,1=已配置"
)
@Length
(
max
=
3
,
message
=
"是否已配置不能超过3个字符"
)
@ExcelProperty
(
"是否已配置"
)
@Schema
(
description
=
"是否已配置0未配置1已配置"
)
private
String
isEdit
;
@TableField
(
exist
=
false
)
@Schema
(
description
=
"模版名称"
)
private
String
signTemplateName
;
// 模板状态: invalid: 停用;valid: 启用;creating:草稿
@TableField
(
exist
=
false
)
@Schema
(
description
=
"模版状态"
)
private
String
signTemplateStatus
;
@TableField
(
exist
=
false
)
@Schema
(
description
=
"对应皖信合同类型"
)
private
String
contractType
;
}
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/vo/TFascTemplateDetailExportVo.java
0 → 100644
View file @
008be3f9
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
vo
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.alibaba.excel.annotation.write.style.ColumnWidth
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
org.hibernate.validator.constraints.Length
;
/**
* 导出-法大大专业版模版映射表
*
* @author hgw
* @date 2025-09-30 16:29:28
*/
@Data
@ColumnWidth
(
10
)
public
class
TFascTemplateDetailExportVo
{
@ExcelAttribute
(
name
=
"法大大模版名称"
)
@ExcelProperty
(
"法大大模版名称"
)
private
String
signTemplateName
;
@ExcelAttribute
(
name
=
"模版ID"
,
isNotEmpty
=
true
,
errorInfo
=
"模版ID不能为空"
,
maxLength
=
100
)
@ExcelProperty
(
"模版ID"
)
private
String
signTemplateId
;
@ExcelAttribute
(
name
=
"模版状态"
)
@ExcelProperty
(
"模版状态"
)
private
String
signTemplateStatus
;
/**
* 法大大字段
*/
@ExcelAttribute
(
name
=
"法大大字段"
,
maxLength
=
100
)
@Length
(
max
=
100
,
message
=
"法大大字段不能超过100个字符"
)
@ExcelProperty
(
"法大大字段"
)
@Schema
(
description
=
"法大大字段"
)
private
String
fascField
;
/**
* 法大大字段ID
*/
@ExcelAttribute
(
name
=
"法大大字段ID"
,
maxLength
=
100
)
@Length
(
max
=
100
,
message
=
"法大大字段ID不能超过100个字符"
)
@ExcelProperty
(
"法大大字段ID"
)
@Schema
(
description
=
"法大大字段ID"
)
private
String
fascFieldId
;
/**
* 是否必填0否1是
*/
@ExcelAttribute
(
name
=
"是否必填"
,
maxLength
=
1
,
isDataId
=
true
,
readConverterExp
=
"0=否,1=是"
)
@ExcelProperty
(
"是否必填"
)
private
String
isMust
;
/**
* 是否删除0否1是
*/
@ExcelAttribute
(
name
=
"是否删除"
,
maxLength
=
1
,
isDataId
=
true
,
readConverterExp
=
"0=否,1=是"
)
@ExcelProperty
(
"是否删除"
)
private
String
deleteFlag
;
@ExcelAttribute
(
name
=
"对应皖信合同类型"
)
@ExcelProperty
(
"对应皖信合同类型"
)
private
String
contractType
;
/**
* 皖信字段
*/
@ExcelAttribute
(
name
=
"皖信字段"
,
maxLength
=
100
)
@ExcelProperty
(
"皖信字段"
)
private
String
hrField
;
/**
* 皖信字段ID
*/
@ExcelAttribute
(
name
=
"皖信字段ID"
,
maxLength
=
100
)
@ExcelProperty
(
"皖信字段ID"
)
private
String
hrFieldId
;
/**
* 是否已配置0未配置1已配置
*/
@ExcelAttribute
(
name
=
"是否已配置"
,
maxLength
=
3
,
isDataId
=
true
,
readConverterExp
=
"0=未配置,1=已配置"
)
@ExcelProperty
(
"是否已配置"
)
private
String
isEdit
;
}
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/vo/TFascTemplateDetailSearchVo.java
0 → 100644
View file @
008be3f9
/*
* 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.TFascTemplateDetail
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
java.time.LocalDateTime
;
/**
* 法大大专业版模板映射表
*
* @author hgw
* @date 2025-09-30 16:29:28
*/
@Data
public
class
TFascTemplateDetailSearchVo
extends
TFascTemplateDetail
{
/**
* 多选导出或删除等操作
*/
@Schema
(
description
=
"选中ID,多个逗号分割"
)
private
String
ids
;
/**
* 创建时间区间 [开始时间,结束时间]
*/
@Schema
(
description
=
"创建时间区间"
)
private
LocalDateTime
[]
createTimes
;
/**
* @Author fxj
* 查询数据起
**/
@Schema
(
description
=
"查询limit 开始"
)
private
int
limitStart
;
/**
* @Author fxj
* 查询数据止
**/
@Schema
(
description
=
"查询limit 数据条数"
)
private
int
limitEnd
;
}
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/vo/TFascTemplateDetailUpdateVo.java
0 → 100644
View file @
008be3f9
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
vo
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute
;
import
com.yifu.cloud.plus.v1.yifu.common.core.vo.RowIndex
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
org.hibernate.validator.constraints.Length
;
import
javax.validation.constraints.NotBlank
;
import
java.io.Serializable
;
/**
* 法大大专业版模版映射表_更新VO
*
* @author hgw
* @date 2025-09-30 16:29:28
*/
@Data
public
class
TFascTemplateDetailUpdateVo
extends
RowIndex
implements
Serializable
{
//法大大模版名称、模版ID、法大大字段、法大大字段ID、对应皖信合同类型(同一个模版ID只能对应一种类型)、对应皖信字段、对应皖信字段ID
//法大大模版名称、模版ID、法大大字段、法大大字段ID、对应皖信字段、对应皖信字段ID
// 对应皖信合同类型——去掉该字段,影响更新效果(填了不校验,也不更新,会产生误解) 2025-09-30 17:32
/**
* 模版名称
*/
@NotBlank
(
message
=
"法大大模版名称 不能为空"
)
@Length
(
max
=
100
,
message
=
"法大大模版名称 不能超过100 个字符"
)
@ExcelAttribute
(
isNotEmpty
=
true
,
errorInfo
=
"法大大模版名称 不能为空"
,
name
=
"法大大模版名称"
,
maxLength
=
100
)
@Schema
(
description
=
"法大大模版名称"
)
@ExcelProperty
(
"法大大模版名称"
)
private
String
signTemplateName
;
/**
* 模版ID
*/
@NotBlank
(
message
=
"模版ID 不能为空"
)
@Length
(
max
=
100
,
message
=
"模版ID 不能超过100 个字符"
)
@ExcelAttribute
(
name
=
"模版ID"
,
isNotEmpty
=
true
,
errorInfo
=
"模版ID 不能为空"
,
maxLength
=
100
)
@Schema
(
description
=
"模版ID"
)
@ExcelProperty
(
"模版ID"
)
private
String
signTemplateId
;
/**
* 法大大字段
*/
@NotBlank
(
message
=
"法大大字段 不能为空"
)
@Length
(
max
=
100
,
message
=
"法大大字段 不能超过100 个字符"
)
@ExcelAttribute
(
isNotEmpty
=
true
,
errorInfo
=
"法大大字段 不能为空"
,
name
=
"法大大字段"
,
maxLength
=
100
)
@Schema
(
description
=
"法大大字段"
)
@ExcelProperty
(
"法大大字段"
)
private
String
fascField
;
/**
* 法大大字段ID
*/
@NotBlank
(
message
=
"法大大字段ID 不能为空"
)
@Length
(
max
=
100
,
message
=
"法大大字段ID 不能超过100 个字符"
)
@ExcelAttribute
(
isNotEmpty
=
true
,
errorInfo
=
"法大大字段ID 不能为空"
,
name
=
"法大大字段ID"
,
maxLength
=
100
)
@Schema
(
description
=
"法大大字段ID"
)
@ExcelProperty
(
"法大大字段ID"
)
private
String
fascFieldId
;
/**
* 对应皖信字段
*/
@NotBlank
(
message
=
"对应皖信字段 不能为空"
)
@Length
(
max
=
100
,
message
=
"对应皖信字段 不能超过100 个字符"
)
@ExcelAttribute
(
isNotEmpty
=
true
,
errorInfo
=
"对应皖信字段 不能为空"
,
name
=
"对应皖信字段"
,
maxLength
=
100
)
@Schema
(
description
=
"对应皖信字段"
)
@ExcelProperty
(
"对应皖信字段"
)
private
String
hrField
;
/**
* 对应皖信字段ID
*/
@NotBlank
(
message
=
"对应皖信字段ID 不能为空"
)
@Length
(
max
=
100
,
message
=
"对应皖信字段ID 不能超过100 个字符"
)
@ExcelAttribute
(
isNotEmpty
=
true
,
errorInfo
=
"对应皖信字段ID 不能为空"
,
name
=
"对应皖信字段ID"
,
maxLength
=
100
)
@Schema
(
description
=
"对应皖信字段ID"
)
@ExcelProperty
(
"对应皖信字段ID"
)
private
String
hrFieldId
;
}
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/vo/TFascTemplateExportVo.java
0 → 100644
View file @
008be3f9
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
vo
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.alibaba.excel.annotation.write.style.ColumnWidth
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
org.hibernate.validator.constraints.Length
;
import
javax.validation.constraints.NotBlank
;
/**
* 导出-法大大专业版模版表
*
* @author hgw
* @date 2025-09-30 16:29:28
*/
@Data
@ColumnWidth
(
10
)
public
class
TFascTemplateExportVo
{
// 公司主体、签署方、签署方Openid、模版ID、模版名称、
/**
* 公司主体
*/
@ExcelAttribute
(
name
=
"公司主体"
,
maxLength
=
100
)
@Length
(
max
=
100
,
message
=
"公司主体不能超过100个字符"
)
@ExcelProperty
(
"公司主体"
)
@Schema
(
description
=
"公司主体"
)
private
String
companyName
;
/**
* 签署方
*/
@ExcelAttribute
(
name
=
"签署方"
,
maxLength
=
100
)
@Length
(
max
=
100
,
message
=
"签署方不能超过100个字符"
)
@ExcelProperty
(
"签署方"
)
@Schema
(
description
=
"签署方"
)
private
String
signName
;
/**
* 签署方Openid
*/
@ExcelAttribute
(
name
=
"签署方Openid"
,
maxLength
=
100
)
@Length
(
max
=
100
,
message
=
"签署方Openid不能超过100个字符"
)
@ExcelProperty
(
"签署方Openid"
)
@Schema
(
description
=
"签署方Openid"
)
private
String
signOpenId
;
/**
* 模版ID
*/
@ExcelAttribute
(
name
=
"模版ID"
,
isNotEmpty
=
true
,
errorInfo
=
"模版ID不能为空"
,
maxLength
=
100
)
@NotBlank
(
message
=
"模版ID不能为空"
)
@Length
(
max
=
100
,
message
=
"模版ID不能超过100个字符"
)
@ExcelProperty
(
"模版ID"
)
@Schema
(
description
=
"模版ID"
)
private
String
signTemplateId
;
/**
* 模版名称
*/
@ExcelAttribute
(
name
=
"模版名称"
,
maxLength
=
100
)
@Length
(
max
=
100
,
message
=
"模版名称不能超过100个字符"
)
@ExcelProperty
(
"模版名称"
)
@Schema
(
description
=
"模版名称"
)
private
String
signTemplateName
;
// 创建人、最新更新时间、关联用章名称、模版状态、是否免验证签、皖信合同类型、必填是否已配置
/**
* 创建人
*/
@ExcelAttribute
(
name
=
"创建人"
,
maxLength
=
100
)
@Length
(
max
=
100
,
message
=
"创建人不能超过100个字符"
)
@ExcelProperty
(
"创建人"
)
@Schema
(
description
=
"创建人"
)
private
String
creatorMemberName
;
/**
* 最新更新时间
*/
@ExcelAttribute
(
name
=
"最新更新时间"
,
isDate
=
true
)
@ExcelProperty
(
"最新更新时间"
)
@Schema
(
description
=
"最新更新时间"
)
private
String
fascUpdateTime
;
/**
* 关联用章名称
*/
@ExcelAttribute
(
name
=
"关联用章名称"
,
maxLength
=
100
)
@Length
(
max
=
100
,
message
=
"关联用章名称不能超过100个字符"
)
@ExcelProperty
(
"关联用章名称"
)
@Schema
(
description
=
"关联用章名称"
)
private
String
zhangName
;
/**
* 模版状态
* invalid: 停用;valid: 启用;creating:草稿
*/
@ExcelAttribute
(
name
=
"模版状态"
,
maxLength
=
20
,
isDataId
=
true
,
readConverterExp
=
"invalid=停用,valid=启用,creating=草稿"
)
@Length
(
max
=
20
,
message
=
"模版状态不能超过20个字符"
)
@ExcelProperty
(
"模版状态"
)
@Schema
(
description
=
"模版状态"
)
private
String
signTemplateStatus
;
/**
* 是否免验证签0否1是
*/
@ExcelAttribute
(
name
=
"是否免验证签"
,
maxLength
=
1
,
isDataId
=
true
,
readConverterExp
=
"0=否,1=是"
)
@Length
(
max
=
1
,
message
=
"是否免验证签不能超过1个字符"
)
@ExcelProperty
(
"是否免验证签"
)
@Schema
(
description
=
"是否免验证签"
)
private
String
isMianQian
;
/**
* 皖信合同类型
*/
@ExcelAttribute
(
name
=
"皖信合同类型"
,
maxLength
=
32
)
@Length
(
max
=
32
,
message
=
"皖信合同类型不能超过32个字符"
)
@ExcelProperty
(
"皖信合同类型"
)
@Schema
(
description
=
"皖信合同类型"
)
private
String
contractType
;
/**
* 必填是否已配置0未配置1部分配置2已配置
*/
@ExcelAttribute
(
name
=
"必填是否已配置"
,
maxLength
=
1
,
isDataId
=
true
,
readConverterExp
=
"0=未配置,1=部分配置,2=已配置"
)
@Length
(
max
=
1
,
message
=
"必填是否已配置不能超过1个字符"
)
@ExcelProperty
(
"必填是否已配置"
)
@Schema
(
description
=
"必填是否已配置"
)
private
String
isMustEdit
;
}
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/vo/TFascTemplateSearchVo.java
0 → 100644
View file @
008be3f9
/*
* 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.TFascTemplate
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
java.time.LocalDateTime
;
/**
* 法大大专业版模板表
*
* @author hgw
* @date 2025-09-30 16:29:28
*/
@Data
public
class
TFascTemplateSearchVo
extends
TFascTemplate
{
/**
* 多选导出或删除等操作
*/
@Schema
(
description
=
"选中ID,多个逗号分割"
)
private
String
ids
;
/**
* 创建时间区间 [开始时间,结束时间]
*/
@Schema
(
description
=
"创建时间区间"
)
private
LocalDateTime
[]
createTimes
;
/**
* @Author fxj
* 查询数据起
**/
@Schema
(
description
=
"查询limit 开始"
)
private
int
limitStart
;
/**
* @Author fxj
* 查询数据止
**/
@Schema
(
description
=
"查询limit 数据条数"
)
private
int
limitEnd
;
}
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/vo/TFascTemplateUpdateVo.java
0 → 100644
View file @
008be3f9
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
vo
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute
;
import
com.yifu.cloud.plus.v1.yifu.common.core.vo.RowIndex
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
org.hibernate.validator.constraints.Length
;
import
javax.validation.constraints.NotBlank
;
import
java.io.Serializable
;
/**
* 法大大专业版模版表
*
* @author hgw
* @date 2025-09-30 16:29:28
*/
@Data
public
class
TFascTemplateUpdateVo
extends
RowIndex
implements
Serializable
{
/**
* 模版ID
*/
@NotBlank
(
message
=
"模版ID 不能为空"
)
@Length
(
max
=
100
,
message
=
"模版ID 不能超过100 个字符"
)
@ExcelAttribute
(
name
=
"模版ID"
,
isNotEmpty
=
true
,
errorInfo
=
"模版ID 不能为空"
,
maxLength
=
100
)
@Schema
(
description
=
"模版ID"
)
@ExcelProperty
(
"模版ID"
)
private
String
signTemplateId
;
/**
* 模版名称
*/
@Length
(
max
=
100
,
message
=
"模版名称 不能超过100 个字符"
)
@ExcelAttribute
(
name
=
"模版名称"
,
isNotEmpty
=
true
,
errorInfo
=
"模版名称 不能为空"
,
maxLength
=
100
)
@Schema
(
description
=
"模版名称"
)
@ExcelProperty
(
"模版名称"
)
private
String
signTemplateName
;
/**
* 皖信合同类型
*/
@Length
(
max
=
32
,
message
=
"皖信合同类型 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"皖信合同类型"
,
isNotEmpty
=
true
,
errorInfo
=
"皖信合同类型 不能为空"
,
maxLength
=
32
)
@Schema
(
description
=
"皖信合同类型"
)
@ExcelProperty
(
"皖信合同类型"
)
private
String
contractType
;
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/controller/FascController.java
View file @
008be3f9
...
...
@@ -2,14 +2,14 @@ package com.yifu.cloud.plus.v1.yifu.archives.controller;
import
com.alibaba.fastjson.JSON
;
import
com.fasc.open.api.exception.ApiException
;
import
com.yifu.cloud.plus.v1.yifu.archives.config.FddConfigProperties
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.FddReqLog
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.*
;
import
com.yifu.cloud.plus.v1.yifu.common.core.exception.CheckedException
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.common.dapr.config.DaprUpmsProperties
;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
lombok.
extern.slf4j.Slf4j
;
import
lombok.
RequiredArgsConstructor
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.boot.context.properties.EnableConfigurationProperties
;
import
org.springframework.web.bind.annotation.PostMapping
;
...
...
@@ -24,11 +24,11 @@ import java.util.Map;
* @auther huyc
* @date 2022/6/29
*/
@EnableConfigurationProperties
({
DaprUpmsProperties
.
class
})
@RestController
@RequiredArgsConstructor
@RequestMapping
(
"/fasc"
)
@Tag
(
name
=
"法大大专业版接口"
)
@Slf4j
@EnableConfigurationProperties
(
FddConfigProperties
.
class
)
public
class
FascController
{
@Autowired
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/controller/TFascEditLogController.java
0 → 100644
View file @
008be3f9
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
controller
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TFascEditLog
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.TFascEditLogService
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
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 hgw
* @date 2025-10-09 10:39:43
*/
@RestController
@RequiredArgsConstructor
@RequestMapping
(
"/tfasceditlog"
)
@Tag
(
name
=
"法大大编辑日志表管理"
)
public
class
TFascEditLogController
{
private
final
TFascEditLogService
tFascEditLogService
;
/**
* 简单分页查询
*
* @param page 分页对象
* @param tFascEditLog 法大大编辑日志表
* @return
*/
@Operation
(
description
=
"简单分页查询"
)
@GetMapping
(
"/page"
)
public
R
<
IPage
<
TFascEditLog
>>
getTFascEditLogPage
(
Page
<
TFascEditLog
>
page
,
TFascEditLog
tFascEditLog
)
{
return
new
R
<>(
tFascEditLogService
.
getTFascEditLogPage
(
page
,
tFascEditLog
));
}
/**
* 不分页查询
*
* @param tFascEditLog 法大大编辑日志表
* @return
*/
@Operation
(
summary
=
"不分页查询"
,
description
=
"不分页查询"
)
@PostMapping
(
"/noPage"
)
public
R
<
List
<
TFascEditLog
>>
getTFascEditLogList
(
@RequestBody
TFascEditLog
tFascEditLog
)
{
return
R
.
ok
(
tFascEditLogService
.
getTFascEditLogList
(
tFascEditLog
));
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/controller/TFascHrFieldController.java
0 → 100644
View file @
008be3f9
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
controller
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TFascHrField
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.TFascHrFieldService
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
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 hgw
* @date 2025-09-30 16:29:27
*/
@RestController
@RequiredArgsConstructor
@RequestMapping
(
"/tfaschrfield"
)
@Tag
(
name
=
"法大大专业版皖信字段表管理"
)
public
class
TFascHrFieldController
{
private
final
TFascHrFieldService
tFascHrFieldService
;
/**
* 简单分页查询
*
* @param page 分页对象
* @param tFascHrField 法大大专业版皖信字段表
* @return
*/
@Operation
(
description
=
"简单分页查询"
)
@GetMapping
(
"/page"
)
public
R
<
IPage
<
TFascHrField
>>
getTFascHrFieldPage
(
Page
<
TFascHrField
>
page
,
TFascHrField
tFascHrField
)
{
return
new
R
<>(
tFascHrFieldService
.
getTFascHrFieldPage
(
page
,
tFascHrField
));
}
/**
* 不分页查询
*
* @param tFascHrField 法大大专业版皖信字段表
* @return
*/
@Operation
(
summary
=
"不分页查询"
,
description
=
"不分页查询"
)
@PostMapping
(
"/noPage"
)
public
R
<
List
<
TFascHrField
>>
getTFascHrFieldNoPage
(
@RequestBody
TFascHrField
tFascHrField
)
{
return
R
.
ok
(
tFascHrFieldService
.
noPageDiy
(
tFascHrField
));
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/controller/TFascTemplateController.java
0 → 100644
View file @
008be3f9
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
controller
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TFascTemplate
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.TFascTemplateService
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.TFascTemplateSearchVo
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.ErrorMessage
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.common.log.annotation.SysLog
;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
lombok.RequiredArgsConstructor
;
import
lombok.SneakyThrows
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.multipart.MultipartFile
;
import
javax.servlet.http.HttpServletResponse
;
import
java.util.List
;
/**
* 法大大专业版模板表
*
* @author hgw
* @date 2025-09-30 16:29:28
*/
@RestController
@RequiredArgsConstructor
@RequestMapping
(
"/tfasctemplate"
)
@Tag
(
name
=
"法大大专业版模板表管理"
)
public
class
TFascTemplateController
{
private
final
TFascTemplateService
tFascTemplateService
;
/**
* 简单分页查询
*
* @param page 分页对象
* @param tFascTemplate 法大大专业版模板表
* @return
*/
@Operation
(
description
=
"简单分页查询"
)
@GetMapping
(
"/page"
)
public
R
<
IPage
<
TFascTemplate
>>
getTFascTemplatePage
(
Page
<
TFascTemplate
>
page
,
TFascTemplateSearchVo
tFascTemplate
)
{
return
new
R
<>(
tFascTemplateService
.
getTFascTemplatePage
(
page
,
tFascTemplate
));
}
/**
* 不分页查询
*
* @param tFascTemplate 法大大专业版模板表
* @return
*/
@Operation
(
summary
=
"不分页查询"
,
description
=
"不分页查询"
)
@PostMapping
(
"/noPage"
)
public
R
<
List
<
TFascTemplate
>>
getTFascTemplateNoPage
(
@RequestBody
TFascTemplateSearchVo
tFascTemplate
)
{
return
R
.
ok
(
tFascTemplateService
.
noPageDiy
(
tFascTemplate
));
}
/**
* 通过id查询法大大专业版模板表
*
* @param id id
* @return R
*/
@Operation
(
summary
=
"通过id查询"
,
description
=
"通过id查询:hasPermission('archives_tfasctemplate_get')"
)
@GetMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('archives_tfasctemplate_get')"
)
public
R
<
TFascTemplate
>
getById
(
@PathVariable
(
"id"
)
String
id
)
{
return
R
.
ok
(
tFascTemplateService
.
getById
(
id
));
}
/**
* 修改法大大专业版模板表
*
* @param tFascTemplate 法大大专业版模板表
* @return R
*/
@Operation
(
summary
=
"修改法大大专业版模板表"
,
description
=
"修改法大大专业版模板表:hasPermission('archives_tfasctemplate_edit')"
)
@SysLog
(
"修改法大大专业版模板表"
)
@PutMapping
@PreAuthorize
(
"@pms.hasPermission('archives_tfasctemplate_edit')"
)
public
R
<
Boolean
>
updateById
(
@RequestBody
TFascTemplate
tFascTemplate
)
{
return
R
.
ok
(
tFascTemplateService
.
updateById
(
tFascTemplate
));
}
/**
* 法大大专业版模板表 批量维护合同类型
*
* @author hgw
* @date 2025-09-30 16:29:28
**/
@SneakyThrows
@Operation
(
description
=
"批量维护合同类型 hasPermission('archives_tfasctemplate-batch-update')"
)
@SysLog
(
"批量维护合同类型"
)
@PostMapping
(
"/batchUpdate"
)
public
R
<
List
<
ErrorMessage
>>
batchUpdate
(
@RequestBody
MultipartFile
file
)
{
return
tFascTemplateService
.
batchUpdate
(
file
.
getInputStream
());
}
/**
* 法大大专业版模板表 批量导出
*
* @author hgw
* @date 2025-09-30 16:29:28
**/
@Operation
(
description
=
"导出法大大专业版模板表 hasPermission('archives_tfasctemplate-export')"
)
@PostMapping
(
"/export"
)
public
void
export
(
HttpServletResponse
response
,
@RequestBody
TFascTemplateSearchVo
searchVo
)
{
tFascTemplateService
.
listExport
(
response
,
searchVo
);
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/controller/TFascTemplateDetailController.java
0 → 100644
View file @
008be3f9
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
controller
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TFascTemplateDetail
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.TFascTemplateDetailService
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.TFascTemplateDetailSearchVo
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.ErrorMessage
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.common.log.annotation.SysLog
;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
lombok.RequiredArgsConstructor
;
import
lombok.SneakyThrows
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.multipart.MultipartFile
;
import
javax.servlet.http.HttpServletResponse
;
import
java.util.List
;
/**
* 法大大专业版模板映射表
*
* @author hgw
* @date 2025-09-30 16:29:28
*/
@RestController
@RequiredArgsConstructor
@RequestMapping
(
"/tfasctemplatedetail"
)
@Tag
(
name
=
"法大大专业版模板映射表管理"
)
public
class
TFascTemplateDetailController
{
private
final
TFascTemplateDetailService
tFascTemplateDetailService
;
/**
* 简单分页查询
*
* @param page 分页对象
* @param tFascTemplateDetail 法大大专业版模板映射表
* @return
*/
@Operation
(
description
=
"简单分页查询"
)
@GetMapping
(
"/page"
)
public
R
<
IPage
<
TFascTemplateDetail
>>
getTFascTemplateDetailPage
(
Page
<
TFascTemplateDetail
>
page
,
TFascTemplateDetailSearchVo
tFascTemplateDetail
)
{
return
new
R
<>(
tFascTemplateDetailService
.
getTFascTemplateDetailPage
(
page
,
tFascTemplateDetail
));
}
/**
* @Description: 重新刷新主模板表的必填是否已填
* @Author: hgw
* @Date: 2025/10/10 16:33
* @return: com.yifu.cloud.plus.v1.yifu.common.core.util.R<java.lang.String>
**/
@Operation
(
description
=
"重新刷新主模板表的必填是否已填"
)
@SysLog
(
value
=
"重新刷新主模板表的必填是否已填"
)
@GetMapping
(
"/initFascTemplateIsMust"
)
public
R
<
String
>
initFascTemplateIsMust
(
@RequestParam
(
required
=
false
)
String
templateId
)
{
return
tFascTemplateDetailService
.
initFascTemplateIsMust
(
templateId
);
}
/**
* 不分页查询
*
* @param tFascTemplateDetail 法大大专业版模板映射表
* @return
*/
@Operation
(
summary
=
"不分页查询"
,
description
=
"不分页查询"
)
@PostMapping
(
"/noPage"
)
public
R
<
List
<
TFascTemplateDetail
>>
getTFascTemplateDetailNoPage
(
@RequestBody
TFascTemplateDetailSearchVo
tFascTemplateDetail
)
{
return
R
.
ok
(
tFascTemplateDetailService
.
noPageDiy
(
tFascTemplateDetail
));
}
/**
* 通过id查询法大大专业版模板映射表
*
* @param id id
* @return R
*/
@Operation
(
summary
=
"通过id查询"
,
description
=
"通过id查询:hasPermission('archives_tfasctemplatedetail_get')"
)
@GetMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('archives_tfasctemplatedetail_get')"
)
public
R
<
TFascTemplateDetail
>
getById
(
@PathVariable
(
"id"
)
String
id
)
{
return
R
.
ok
(
tFascTemplateDetailService
.
getById
(
id
));
}
/**
* 修改法大大专业版模板映射表
*
* @param tFascTemplateDetail 法大大专业版模板映射表
* @return R
*/
@Operation
(
summary
=
"修改法大大专业版模板映射表"
,
description
=
"修改法大大专业版模板映射表:hasPermission('archives_tfasctemplatedetail_edit')"
)
@SysLog
(
"修改法大大专业版模板映射表"
)
@PutMapping
@PreAuthorize
(
"@pms.hasPermission('archives_tfasctemplatedetail_edit')"
)
public
R
<
Boolean
>
updateById
(
@RequestBody
TFascTemplateDetail
tFascTemplateDetail
)
{
return
R
.
ok
(
tFascTemplateDetailService
.
updateById
(
tFascTemplateDetail
));
}
/**
* 法大大专业版模板映射表 批量维护
*
* @author hgw
* @date 2025-09-30 16:29:28
**/
@SneakyThrows
@Operation
(
description
=
"批量维护法大大专业版模板映射表 hasPermission('archives_tfasctemplatedetail-batch-update')"
)
@SysLog
(
"批量维护法大大专业版模板映射表"
)
@PostMapping
(
"/batchUpdateFascDetail"
)
public
R
<
List
<
ErrorMessage
>>
batchUpdateFascDetail
(
@RequestBody
MultipartFile
file
)
{
return
tFascTemplateDetailService
.
batchUpdateFascDetail
(
file
.
getInputStream
());
}
/**
* 法大大专业版模板映射表 批量导出
*
* @author hgw
* @date 2025-09-30 16:29:28
**/
@Operation
(
description
=
"导出法大大专业版模板映射表 hasPermission('archives_tfasctemplatedetail-export')"
)
@PostMapping
(
"/export"
)
@SysLog
(
"导出法大大专业版模板映射表"
)
public
void
export
(
HttpServletResponse
response
,
@RequestBody
TFascTemplateDetailSearchVo
searchVo
)
{
tFascTemplateDetailService
.
listExport
(
response
,
searchVo
);
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/mapper/TFascEditLogMapper.java
0 → 100644
View file @
008be3f9
/*
* 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.TFascEditLog
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
import
java.util.List
;
/**
* 法大大编辑日志表
*
* @author hgw
* @date 2025-10-09 10:39:43
*/
@Mapper
public
interface
TFascEditLogMapper
extends
BaseMapper
<
TFascEditLog
>
{
/**
* 法大大编辑日志表简单分页查询
*
* @param tFascEditLog 法大大编辑日志表
* @return
*/
IPage
<
TFascEditLog
>
getTFascEditLogPage
(
Page
<
TFascEditLog
>
page
,
@Param
(
"tFascEditLog"
)
TFascEditLog
tFascEditLog
);
List
<
TFascEditLog
>
getTFascEditLogList
(
@Param
(
"tFascEditLog"
)
TFascEditLog
tFascEditLog
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/mapper/TFascHrFieldMapper.java
0 → 100644
View file @
008be3f9
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TFascHrField
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
java.util.List
;
/**
* 法大大专业版皖信字段表
*
* @author hgw
* @date 2025-09-30 16:29:27
*/
@Mapper
public
interface
TFascHrFieldMapper
extends
BaseMapper
<
TFascHrField
>
{
/**
* 法大大专业版皖信字段表简单分页查询
* @param tFascHrField 法大大专业版皖信字段表
* @return
*/
IPage
<
TFascHrField
>
getTFascHrFieldPage
(
Page
<
TFascHrField
>
page
,
@Param
(
"tFascHrField"
)
TFascHrField
tFascHrField
);
List
<
TFascHrField
>
getTFascHrFieldList
(
@Param
(
"tFascHrField"
)
TFascHrField
tFascHrField
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/mapper/TFascPushLogMapper.java
0 → 100644
View file @
008be3f9
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TFascPushLog
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
/**
* 法大大专业版推送日志表
*
* @author hgw
* @date 2025-09-30 16:29:28
*/
@Mapper
public
interface
TFascPushLogMapper
extends
BaseMapper
<
TFascPushLog
>
{
/**
* 法大大专业版推送日志表简单分页查询
* @param tFascPushLog 法大大专业版推送日志表
* @return
*/
IPage
<
TFascPushLog
>
getTFascPushLogPage
(
Page
<
TFascPushLog
>
page
,
@Param
(
"tFascPushLog"
)
TFascPushLog
tFascPushLog
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/mapper/TFascTemplateDetailMapper.java
0 → 100644
View file @
008be3f9
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TFascTemplateDetail
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.TFascTemplateDetailExportVo
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.TFascTemplateDetailSearchVo
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
java.util.List
;
/**
* 法大大专业版模板映射表
*
* @author hgw
* @date 2025-09-30 16:29:28
*/
@Mapper
public
interface
TFascTemplateDetailMapper
extends
BaseMapper
<
TFascTemplateDetail
>
{
/**
* 法大大专业版模板映射表简单分页查询
* @param tFascTemplateDetail 法大大专业版模板映射表
* @return
*/
IPage
<
TFascTemplateDetail
>
getTFascTemplateDetailPage
(
Page
<
TFascTemplateDetail
>
page
,
@Param
(
"tFascTemplateDetail"
)
TFascTemplateDetail
tFascTemplateDetail
);
List
<
TFascTemplateDetail
>
getTFascTemplateDetailList
(
@Param
(
"tFascTemplateDetail"
)
TFascTemplateDetail
tFascTemplateDetail
);
List
<
TFascTemplateDetailExportVo
>
getTFascTemplateDetailExport
(
@Param
(
"tFascTemplateDetail"
)
TFascTemplateDetailSearchVo
tFascTemplateDetail
,
@Param
(
"idList"
)
List
<
String
>
idList
);
Long
getTFascTemplateDetailExportCount
(
@Param
(
"tFascTemplateDetail"
)
TFascTemplateDetail
tFascTemplateDetail
,
@Param
(
"idList"
)
List
<
String
>
idList
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/mapper/TFascTemplateMapper.java
0 → 100644
View file @
008be3f9
/*
* 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.TFascTemplate
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.TFascTemplateExportVo
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.TFascTemplateSearchVo
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
import
java.util.List
;
/**
* 法大大专业版模板表
*
* @author hgw
* @date 2025-09-30 16:29:28
*/
@Mapper
public
interface
TFascTemplateMapper
extends
BaseMapper
<
TFascTemplate
>
{
/**
* 法大大专业版模板表简单分页查询
* @param tFascTemplate 法大大专业版模板表
* @return
*/
IPage
<
TFascTemplate
>
getTFascTemplatePage
(
Page
<
TFascTemplate
>
page
,
@Param
(
"tFascTemplate"
)
TFascTemplate
tFascTemplate
);
List
<
TFascTemplate
>
getTFascTemplateList
(
@Param
(
"tFascTemplate"
)
TFascTemplate
tFascTemplate
);
List
<
TFascTemplateExportVo
>
getTFascTemplateExport
(
@Param
(
"tFascTemplate"
)
TFascTemplateSearchVo
tFascTemplate
,
@Param
(
"idList"
)
List
<
String
>
idList
);
/**
* @param
* @Description: 获取所有要更新是否必填的模板数据
* @Author: hgw
* @Date: 2025/10/9 18:59
* @return: java.util.List<com.yifu.cloud.plus.v1.yifu.archives.entity.TFascTemplate>
**/
List
<
TFascTemplate
>
getTFascTemplateResutList
(
@Param
(
"templateId"
)
String
templateId
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/TFascEditLogService.java
0 → 100644
View file @
008be3f9
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
service
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TFascEditLog
;
import
java.util.List
;
/**
* 法大大编辑日志表
*
* @author hgw
* @date 2025-10-09 10:39:43
*/
public
interface
TFascEditLogService
extends
IService
<
TFascEditLog
>
{
/**
* 法大大编辑日志表简单分页查询
*
* @param tFascEditLog 法大大编辑日志表
* @return
*/
IPage
<
TFascEditLog
>
getTFascEditLogPage
(
Page
<
TFascEditLog
>
page
,
TFascEditLog
tFascEditLog
);
List
<
TFascEditLog
>
getTFascEditLogList
(
TFascEditLog
searchVo
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/TFascHrFieldService.java
0 → 100644
View file @
008be3f9
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
service
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TFascHrField
;
import
java.util.List
;
import
java.util.Map
;
/**
* 法大大专业版皖信字段表
*
* @author hgw
* @date 2025-09-30 16:29:27
*/
public
interface
TFascHrFieldService
extends
IService
<
TFascHrField
>
{
/**
* 法大大专业版皖信字段表简单分页查询
*
* @param tFascHrField 法大大专业版皖信字段表
* @return
*/
IPage
<
TFascHrField
>
getTFascHrFieldPage
(
Page
<
TFascHrField
>
page
,
TFascHrField
tFascHrField
);
List
<
TFascHrField
>
noPageDiy
(
TFascHrField
tFascHrField
);
// 返回:合同类型,值为字段ID+_+字段 的Map
Map
<
String
,
Map
<
String
,
String
>>
getFieldAllMap
(
TFascHrField
tFascHrField
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/TFascPushLogService.java
0 → 100644
View file @
008be3f9
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
service
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TFascPushLog
;
import
java.util.List
;
/**
* 法大大专业版推送日志表
*
* @author hgw
* @date 2025-09-30 16:29:28
*/
public
interface
TFascPushLogService
extends
IService
<
TFascPushLog
>
{
/**
* 法大大专业版推送日志表简单分页查询
*
* @param tFascPushLog 法大大专业版推送日志表
* @return
*/
IPage
<
TFascPushLog
>
getTFascPushLogPage
(
Page
<
TFascPushLog
>
page
,
TFascPushLog
tFascPushLog
);
List
<
TFascPushLog
>
noPageDiy
(
TFascPushLog
searchVo
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/TFascTemplateDetailService.java
0 → 100644
View file @
008be3f9
/*
* 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.TFascTemplateDetail
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.ErrorMessage
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.TFascTemplateDetailSearchVo
;
import
javax.servlet.http.HttpServletResponse
;
import
java.io.InputStream
;
import
java.util.List
;
/**
* 法大大专业版模板映射表
*
* @author hgw
* @date 2025-09-30 16:29:28
*/
public
interface
TFascTemplateDetailService
extends
IService
<
TFascTemplateDetail
>
{
/**
* 法大大专业版模板映射表简单分页查询
* @param tFascTemplateDetail 法大大专业版模板映射表
* @return
*/
IPage
<
TFascTemplateDetail
>
getTFascTemplateDetailPage
(
Page
<
TFascTemplateDetail
>
page
,
TFascTemplateDetailSearchVo
tFascTemplateDetail
);
// 获取列表
List
<
TFascTemplateDetail
>
getTFascTemplateDetailList
(
TFascTemplateDetail
tFascTemplateDetail
);
R
<
List
<
ErrorMessage
>>
batchUpdateFascDetail
(
InputStream
inputStream
);
void
listExport
(
HttpServletResponse
response
,
TFascTemplateDetailSearchVo
searchVo
);
/**
* @Description: 重新刷新主模板表的必填是否已填
* @Author: hgw
* @Date: 2025/10/10 16:35
* @return: com.yifu.cloud.plus.v1.yifu.common.core.util.R<java.lang.String>
**/
R
<
String
>
initFascTemplateIsMust
(
String
templateId
);
List
<
TFascTemplateDetail
>
noPageDiy
(
TFascTemplateDetailSearchVo
searchVo
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/TFascTemplateService.java
0 → 100644
View file @
008be3f9
/*
* 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.TFascTemplate
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.ErrorMessage
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.TFascTemplateSearchVo
;
import
javax.servlet.http.HttpServletResponse
;
import
java.io.InputStream
;
import
java.util.List
;
/**
* 法大大专业版模板表
*
* @author hgw
* @date 2025-09-30 16:29:28
*/
public
interface
TFascTemplateService
extends
IService
<
TFascTemplate
>
{
/**
* 法大大专业版模板表简单分页查询
* @param tFascTemplate 法大大专业版模板表
* @return
*/
IPage
<
TFascTemplate
>
getTFascTemplatePage
(
Page
<
TFascTemplate
>
page
,
TFascTemplateSearchVo
tFascTemplate
);
R
<
List
<
ErrorMessage
>>
batchUpdate
(
InputStream
inputStream
);
void
listExport
(
HttpServletResponse
response
,
TFascTemplateSearchVo
searchVo
);
List
<
TFascTemplate
>
noPageDiy
(
TFascTemplateSearchVo
searchVo
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/FascServiceImpl.java
View file @
008be3f9
...
...
@@ -18,43 +18,143 @@ package com.yifu.cloud.plus.v1.yifu.archives.service.impl;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.fasc.open.api.exception.ApiException
;
import
com.fasc.open.api.v5_1.res.template.DocumentInfo
;
import
com.fasc.open.api.v5_1.res.template.SignTemplateListInfo
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.FddContractInfo
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TFascEditLog
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TFascTemplate
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TFascTemplateDetail
;
import
com.yifu.cloud.plus.v1.yifu.archives.mapper.FddContractInfoMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.
FascService
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.
*
;
import
com.yifu.cloud.plus.v1.yifu.archives.utils.FascUtil
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.CommonConstants
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
lombok.RequiredArgsConstructor
;
import
lombok.extern.slf4j.Slf4j
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
lombok.extern.log4j.Log4j2
;
import
org.springframework.stereotype.Service
;
import
java.util.ArrayList
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.Map
;
/**
* 法大大合同与员工合同信息
* @author fxj
* @date 2022-06-29 16:21:51
* 法大大专业版
*
* @author hgw
* @date 2025-9-29 14:37:03
*/
@Log4j2
@Service
@RequiredArgsConstructor
@Slf4j
public
class
FascServiceImpl
extends
ServiceImpl
<
FddContractInfoMapper
,
FddContractInfo
>
implements
FascService
{
@Autowired
private
FascUtil
fascUtil
;
private
final
FascUtil
fascUtil
;
private
final
TFascEditLogService
tFascEditLogService
;
private
final
TFascPushLogService
tFascPushLogService
;
private
final
TFascTemplateService
tFascTemplateService
;
private
final
TFascTemplateDetailService
tFascTemplateDetailService
;
@Override
public
R
<
String
>
getTemplate
(
String
templateName
)
throws
ApiException
{
// templateName 签署任务模板名称
List
<
SignTemplateListInfo
>
list
=
fascUtil
.
getTemplateList
(
templateName
);
List
<
SignTemplateListInfo
>
list
=
fascUtil
.
getTemplateList
(
templateName
,
tFascPushLogService
);
if
(
list
!=
null
&&
!
list
.
isEmpty
())
{
List
<
DocumentInfo
>
listDetail
=
fascUtil
.
getTemplateDetailList
(
list
);
// TODO-存表里
List
<
TFascTemplate
>
tList
=
new
ArrayList
<>();
List
<
TFascTemplateDetail
>
detailList
=
new
ArrayList
<>();
fascUtil
.
getTemplateDetailList
(
list
,
tList
,
detailList
,
tFascPushLogService
);
// 拉取到数据再更新:
if
(!
tList
.
isEmpty
()
&&
!
detailList
.
isEmpty
())
{
String
editContent1
=
"定时任务同步,拉取到数据"
;
String
editContent2
=
"定时任务同步,法大大无该数据"
;
List
<
TFascTemplate
>
updateMain
=
new
ArrayList
<>();
List
<
TFascTemplateDetail
>
updateDetail
=
new
ArrayList
<>();
List
<
TFascTemplate
>
allMain
=
tFascTemplateService
.
noPageDiy
(
null
);
List
<
TFascTemplateDetail
>
allDetail
=
tFascTemplateDetailService
.
getTFascTemplateDetailList
(
null
);
List
<
TFascEditLog
>
logList
=
new
ArrayList
<>();
if
(
allMain
==
null
||
allMain
.
isEmpty
())
{
// 都是新的:
tFascTemplateService
.
saveBatch
(
tList
);
tFascTemplateDetailService
.
saveOrUpdateBatch
(
detailList
);
for
(
TFascTemplate
t
:
tList
)
{
this
.
addFascLogToList
(
t
.
getId
(),
CommonConstants
.
ONE_STRING
,
editContent1
,
logList
);
}
for
(
TFascTemplateDetail
t
:
detailList
)
{
this
.
addFascLogToList
(
t
.
getId
(),
CommonConstants
.
TWO_STRING
,
editContent1
,
logList
);
}
}
else
{
// 混合老新数据
Map
<
String
,
TFascTemplate
>
oldMainMap
=
new
HashMap
<>();
Map
<
String
,
TFascTemplateDetail
>
oldDetailMap
=
new
HashMap
<>();
for
(
TFascTemplate
t
:
allMain
)
{
oldMainMap
.
put
(
t
.
getSignTemplateId
(),
t
);
}
for
(
TFascTemplateDetail
t
:
allDetail
)
{
oldDetailMap
.
put
(
t
.
getSignTemplateId
()
+
CommonConstants
.
DOWN_LINE_STRING
+
t
.
getFascFieldId
(),
t
);
}
// 主表:
TFascTemplate
oldMain
;
for
(
TFascTemplate
t
:
tList
)
{
oldMain
=
oldMainMap
.
get
(
t
.
getSignTemplateId
());
if
(
oldMain
!=
null
)
{
t
.
setId
(
oldMain
.
getId
());
}
this
.
addFascLogToList
(
t
.
getId
(),
CommonConstants
.
ONE_STRING
,
editContent1
,
logList
);
updateMain
.
add
(
t
);
oldMainMap
.
remove
(
t
.
getSignTemplateId
());
}
for
(
TFascTemplate
t
:
oldMainMap
.
values
())
{
this
.
addFascLogToList
(
t
.
getId
(),
CommonConstants
.
ONE_STRING
,
editContent2
,
logList
);
t
.
setDeleteFlag
(
CommonConstants
.
DELETE_FLAG
);
updateMain
.
add
(
t
);
}
// 映射表:
TFascTemplateDetail
oldDetail
;
for
(
TFascTemplateDetail
t
:
detailList
)
{
oldDetail
=
oldDetailMap
.
get
(
t
.
getSignTemplateId
()
+
CommonConstants
.
DOWN_LINE_STRING
+
t
.
getFascFieldId
());
if
(
oldDetail
!=
null
)
{
t
.
setId
(
oldDetail
.
getId
());
}
this
.
addFascLogToList
(
t
.
getId
(),
CommonConstants
.
TWO_STRING
,
editContent1
,
logList
);
updateDetail
.
add
(
t
);
oldDetailMap
.
remove
(
t
.
getSignTemplateId
()
+
CommonConstants
.
DOWN_LINE_STRING
+
t
.
getFascFieldId
());
}
for
(
TFascTemplateDetail
t
:
oldDetailMap
.
values
())
{
this
.
addFascLogToList
(
t
.
getId
(),
CommonConstants
.
TWO_STRING
,
editContent2
,
logList
);
t
.
setDeleteFlag
(
CommonConstants
.
DELETE_FLAG
);
updateDetail
.
add
(
t
);
}
}
// 更新日志
if
(!
logList
.
isEmpty
())
{
tFascEditLogService
.
saveBatch
(
logList
);
}
// 更新模板
if
(!
updateMain
.
isEmpty
())
{
tFascTemplateService
.
saveOrUpdateBatch
(
updateMain
);
}
// 更新模板映射
if
(!
updateDetail
.
isEmpty
())
{
tFascTemplateDetailService
.
saveOrUpdateBatch
(
updateDetail
);
}
// 重新刷新主模板表的必填是否已填
tFascTemplateDetailService
.
initFascTemplateIsMust
(
null
);
}
}
return
R
.
ok
();
}
/**
* 向list里添加新日志
*/
private
void
addFascLogToList
(
String
mainId
,
String
mainType
,
String
editContent
,
List
<
TFascEditLog
>
logList
)
{
TFascEditLog
log
=
new
TFascEditLog
();
log
.
setMainId
(
mainId
);
log
.
setMainType
(
mainType
);
log
.
setEditContent
(
editContent
);
logList
.
add
(
log
);
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TFascEditLogServiceImpl.java
0 → 100644
View file @
008be3f9
/*
* 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.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TFascEditLog
;
import
com.yifu.cloud.plus.v1.yifu.archives.mapper.TFascEditLogMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.TFascEditLogService
;
import
lombok.extern.log4j.Log4j2
;
import
org.springframework.stereotype.Service
;
import
java.util.List
;
/**
* 法大大编辑日志表
*
* @author hgw
* @date 2025-10-09 10:39:43
*/
@Log4j2
@Service
public
class
TFascEditLogServiceImpl
extends
ServiceImpl
<
TFascEditLogMapper
,
TFascEditLog
>
implements
TFascEditLogService
{
/**
* 法大大编辑日志表简单分页查询
*
* @param tFascEditLog 法大大编辑日志表
* @return
*/
@Override
public
IPage
<
TFascEditLog
>
getTFascEditLogPage
(
Page
<
TFascEditLog
>
page
,
TFascEditLog
tFascEditLog
)
{
return
baseMapper
.
getTFascEditLogPage
(
page
,
tFascEditLog
);
}
@Override
public
List
<
TFascEditLog
>
getTFascEditLogList
(
TFascEditLog
searchVo
)
{
return
baseMapper
.
getTFascEditLogList
(
searchVo
);
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TFascHrFieldServiceImpl.java
0 → 100644
View file @
008be3f9
/*
* 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.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TFascHrField
;
import
com.yifu.cloud.plus.v1.yifu.archives.mapper.TFascHrFieldMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.TFascHrFieldService
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.CommonConstants
;
import
lombok.extern.log4j.Log4j2
;
import
org.springframework.stereotype.Service
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.Map
;
/**
* 法大大专业版皖信字段表
*
* @author hgw
* @date 2025-09-30 16:29:27
*/
@Log4j2
@Service
public
class
TFascHrFieldServiceImpl
extends
ServiceImpl
<
TFascHrFieldMapper
,
TFascHrField
>
implements
TFascHrFieldService
{
/**
* 法大大专业版皖信字段表简单分页查询
* @param tFascHrField 法大大专业版皖信字段表
* @return
*/
@Override
public
IPage
<
TFascHrField
>
getTFascHrFieldPage
(
Page
<
TFascHrField
>
page
,
TFascHrField
tFascHrField
){
return
baseMapper
.
getTFascHrFieldPage
(
page
,
tFascHrField
);
}
@Override
public
List
<
TFascHrField
>
noPageDiy
(
TFascHrField
tFascHrField
)
{
return
baseMapper
.
getTFascHrFieldList
(
tFascHrField
);
}
@Override
public
Map
<
String
,
Map
<
String
,
String
>>
getFieldAllMap
(
TFascHrField
tFascHrField
)
{
List
<
TFascHrField
>
list
=
baseMapper
.
getTFascHrFieldList
(
tFascHrField
);
Map
<
String
,
Map
<
String
,
String
>>
contractTypeMap
=
new
HashMap
<>();
Map
<
String
,
String
>
fieldMap
;
if
(
list
!=
null
&&
!
list
.
isEmpty
())
{
for
(
TFascHrField
f
:
list
)
{
fieldMap
=
contractTypeMap
.
get
(
f
.
getContractType
());
if
(
fieldMap
==
null
)
{
fieldMap
=
new
HashMap
<>();
}
fieldMap
.
put
(
f
.
getHrFieldId
()
+
CommonConstants
.
DOWN_LINE_STRING
+
f
.
getHrField
(),
f
.
getId
());
contractTypeMap
.
put
(
f
.
getContractType
(),
fieldMap
);
}
}
return
contractTypeMap
;
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TFascPushLogServiceImpl.java
0 → 100644
View file @
008be3f9
/*
* 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.core.conditions.query.LambdaQueryWrapper
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Wrappers
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TFascPushLog
;
import
com.yifu.cloud.plus.v1.yifu.archives.mapper.TFascPushLogMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.TFascPushLogService
;
import
com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity
;
import
lombok.extern.log4j.Log4j2
;
import
org.springframework.stereotype.Service
;
import
java.util.List
;
/**
* 法大大专业版推送日志表
*
* @author hgw
* @date 2025-09-30 16:29:28
*/
@Log4j2
@Service
public
class
TFascPushLogServiceImpl
extends
ServiceImpl
<
TFascPushLogMapper
,
TFascPushLog
>
implements
TFascPushLogService
{
/**
* 法大大专业版推送日志表简单分页查询
* @param tFascPushLog 法大大专业版推送日志表
* @return
*/
@Override
public
IPage
<
TFascPushLog
>
getTFascPushLogPage
(
Page
<
TFascPushLog
>
page
,
TFascPushLog
tFascPushLog
){
return
baseMapper
.
getTFascPushLogPage
(
page
,
tFascPushLog
);
}
@Override
public
List
<
TFascPushLog
>
noPageDiy
(
TFascPushLog
searchVo
)
{
LambdaQueryWrapper
<
TFascPushLog
>
wrapper
=
Wrappers
.
lambdaQuery
();
wrapper
.
orderByDesc
(
BaseEntity:
:
getCreateTime
);
return
baseMapper
.
selectList
(
wrapper
);
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TFascTemplateDetailServiceImpl.java
0 → 100644
View file @
008be3f9
This diff is collapsed.
Click to expand it.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TFascTemplateServiceImpl.java
0 → 100644
View file @
008be3f9
This diff is collapsed.
Click to expand it.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/utils/FascConstants.java
0 → 100644
View file @
008be3f9
/*
* Copyright (c) 2020 yifu4cloud Authors. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
utils
;
/**
* @author lengleng
* @date 2019/2/1
*/
public
interface
FascConstants
{
/**
* 合同类型
*/
String
[]
CONTRACT_NAME_ARR
=
{
"标准合同"
,
"劳务协议"
,
"实习协议"
,
"非全日制"
,
"劳务派遣合同"
};
/**
* 必填是否已配置0未配置1部分配置2已配置
**/
String
[]
IS_MUST_EDIT_ARR
=
{
"未配置"
,
"部分配置"
,
"已配置"
};
// 控件类型是文本等,可以填写
String
FIELD_TEXT_TYPE
=
"text_single_line,text_multi_line,number,id_card,fill_date"
;
// 控件类型是印章
String
FIELD_ZHANG_TYPE
=
"corp_seal,corp_seal_cross_page"
;
//String FIELD_TYPE = "text_single_line,text_multi_line,number,id_card,fill_date,multi_radio,multi_checkbox,picture,select_box,table,verification_code,business_code";
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/utils/FascUtil.java
View file @
008be3f9
This diff is collapsed.
Click to expand it.
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TFascEditLogMapper.xml
0 → 100644
View file @
008be3f9
<?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.TFascEditLogMapper"
>
<resultMap
id=
"tFascEditLogMap"
type=
"com.yifu.cloud.plus.v1.yifu.archives.entity.TFascEditLog"
>
<id
property=
"id"
column=
"id"
/>
<result
property=
"mainId"
column=
"main_id"
/>
<result
property=
"mainType"
column=
"main_type"
/>
<result
property=
"editContent"
column=
"edit_content"
/>
<result
property=
"createBy"
column=
"CREATE_BY"
/>
<result
property=
"createName"
column=
"CREATE_NAME"
/>
<result
property=
"createTime"
column=
"CREATE_TIME"
/>
<result
property=
"updateBy"
column=
"UPDATE_BY"
/>
<result
property=
"updateTime"
column=
"UPDATE_TIME"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
a.id,
a.main_id,
a.main_type,
a.edit_content,
a.CREATE_BY,
a.CREATE_NAME,
a.CREATE_TIME,
a.UPDATE_BY,
a.UPDATE_TIME
</sql>
<sql
id=
"tFascEditLog_where"
>
<if
test=
"tFascEditLog != null"
>
<if
test=
"tFascEditLog.id != null and tFascEditLog.id.trim() != ''"
>
AND a.id = #{tFascEditLog.id}
</if>
<if
test=
"tFascEditLog.mainId != null and tFascEditLog.mainId.trim() != ''"
>
AND a.main_id = #{tFascEditLog.mainId}
</if>
<if
test=
"tFascEditLog.mainType != null and tFascEditLog.mainType.trim() != ''"
>
AND a.main_type = #{tFascEditLog.mainType}
</if>
<if
test=
"tFascEditLog.editContent != null and tFascEditLog.editContent.trim() != ''"
>
AND a.edit_content = #{tFascEditLog.editContent}
</if>
<if
test=
"tFascEditLog.createBy != null and tFascEditLog.createBy.trim() != ''"
>
AND a.CREATE_BY = #{tFascEditLog.createBy}
</if>
<if
test=
"tFascEditLog.createName != null and tFascEditLog.createName.trim() != ''"
>
AND a.CREATE_NAME = #{tFascEditLog.createName}
</if>
<if
test=
"tFascEditLog.createTime != null"
>
AND a.CREATE_TIME = #{tFascEditLog.createTime}
</if>
<if
test=
"tFascEditLog.updateBy != null and tFascEditLog.updateBy.trim() != ''"
>
AND a.UPDATE_BY = #{tFascEditLog.updateBy}
</if>
<if
test=
"tFascEditLog.updateTime != null"
>
AND a.UPDATE_TIME = #{tFascEditLog.updateTime}
</if>
</if>
</sql>
<!--tFascEditLog简单分页查询-->
<select
id=
"getTFascEditLogPage"
resultMap=
"tFascEditLogMap"
>
SELECT
<include
refid=
"Base_Column_List"
/>
FROM t_fasc_edit_log a
<where>
1=1
<include
refid=
"tFascEditLog_where"
/>
</where>
order by a.CREATE_TIME desc
</select>
<!--tFascEditLog简单分页查询-->
<select
id=
"getTFascEditLogList"
resultMap=
"tFascEditLogMap"
>
SELECT
<include
refid=
"Base_Column_List"
/>
FROM t_fasc_edit_log a
<where>
1=1
<include
refid=
"tFascEditLog_where"
/>
</where>
order by a.CREATE_TIME desc
</select>
</mapper>
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TFascHrFieldMapper.xml
0 → 100644
View file @
008be3f9
<?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.TFascHrFieldMapper"
>
<resultMap
id=
"tFascHrFieldMap"
type=
"com.yifu.cloud.plus.v1.yifu.archives.entity.TFascHrField"
>
<id
property=
"id"
column=
"id"
/>
<result
property=
"hrField"
column=
"hr_field"
/>
<result
property=
"hrFieldId"
column=
"hr_field_id"
/>
<result
property=
"contractType"
column=
"contract_type"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
a.id,
a.hr_field,
a.hr_field_id,
a.contract_type
</sql>
<sql
id=
"tFascHrField_where"
>
<if
test=
"tFascHrField != null"
>
<if
test=
"tFascHrField.id != null and tFascHrField.id.trim() != ''"
>
AND a.id = #{tFascHrField.id}
</if>
<if
test=
"tFascHrField.hrField != null and tFascHrField.hrField.trim() != ''"
>
AND a.hr_field = #{tFascHrField.hrField}
</if>
<if
test=
"tFascHrField.hrFieldId != null and tFascHrField.hrFieldId.trim() != ''"
>
AND a.hr_field_id = #{tFascHrField.hrFieldId}
</if>
<if
test=
"tFascHrField.contractType != null and tFascHrField.contractType.trim() != ''"
>
AND a.contract_type = #{tFascHrField.contractType}
</if>
</if>
</sql>
<!--tFascHrField简单分页查询-->
<select
id=
"getTFascHrFieldPage"
resultMap=
"tFascHrFieldMap"
>
SELECT
<include
refid=
"Base_Column_List"
/>
FROM t_fasc_hr_field a
<where>
1=1
<include
refid=
"tFascHrField_where"
/>
</where>
order by (a.id-0) asc
</select>
<!--tFascHrField简单分页查询-->
<select
id=
"getTFascHrFieldList"
resultMap=
"tFascHrFieldMap"
>
SELECT
<include
refid=
"Base_Column_List"
/>
FROM t_fasc_hr_field a
<where>
1=1
<include
refid=
"tFascHrField_where"
/>
</where>
order by (a.id-0) asc
</select>
</mapper>
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TFascPushLogMapper.xml
0 → 100644
View file @
008be3f9
<?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.TFascPushLogMapper"
>
<resultMap
id=
"tFascPushLogMap"
type=
"com.yifu.cloud.plus.v1.yifu.archives.entity.TFascPushLog"
>
<id
property=
"id"
column=
"id"
/>
<result
property=
"transReferenceId"
column=
"trans_reference_id"
/>
<result
property=
"signTaskId"
column=
"sign_task_id"
/>
<result
property=
"pushData"
column=
"push_data"
/>
<result
property=
"returnData"
column=
"return_data"
/>
<result
property=
"contractId"
column=
"contract_id"
/>
<result
property=
"taskStatus"
column=
"task_status"
/>
<result
property=
"typeKey"
column=
"type_key"
/>
<result
property=
"typeName"
column=
"type_name"
/>
<result
property=
"createBy"
column=
"CREATE_BY"
/>
<result
property=
"createName"
column=
"CREATE_NAME"
/>
<result
property=
"createTime"
column=
"CREATE_TIME"
/>
<result
property=
"updateBy"
column=
"UPDATE_BY"
/>
<result
property=
"updateTime"
column=
"UPDATE_TIME"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
a.id,
a.trans_reference_id,
a.sign_task_id,
a.push_data,
a.return_data,
a.contract_id,
a.task_status,
a.type_key,
a.type_name,
a.CREATE_BY,
a.CREATE_NAME,
a.CREATE_TIME,
a.UPDATE_BY,
a.UPDATE_TIME
</sql>
<sql
id=
"tFascPushLog_where"
>
<if
test=
"tFascPushLog != null"
>
<if
test=
"tFascPushLog.id != null and tFascPushLog.id.trim() != ''"
>
AND a.id = #{tFascPushLog.id}
</if>
<if
test=
"tFascPushLog.transReferenceId != null and tFascPushLog.transReferenceId.trim() != ''"
>
AND a.trans_reference_id = #{tFascPushLog.transReferenceId}
</if>
<if
test=
"tFascPushLog.signTaskId != null and tFascPushLog.signTaskId.trim() != ''"
>
AND a.sign_task_id = #{tFascPushLog.signTaskId}
</if>
<if
test=
"tFascPushLog.pushData != null and tFascPushLog.pushData.trim() != ''"
>
AND a.push_data = #{tFascPushLog.pushData}
</if>
<if
test=
"tFascPushLog.returnData != null and tFascPushLog.returnData.trim() != ''"
>
AND a.return_data = #{tFascPushLog.returnData}
</if>
<if
test=
"tFascPushLog.contractId != null and tFascPushLog.contractId.trim() != ''"
>
AND a.contract_id = #{tFascPushLog.contractId}
</if>
<if
test=
"tFascPushLog.taskStatus != null and tFascPushLog.taskStatus.trim() != ''"
>
AND a.task_status = #{tFascPushLog.taskStatus}
</if>
<if
test=
"tFascPushLog.typeKey != null and tFascPushLog.typeKey.trim() != ''"
>
AND a.type_key = #{tFascPushLog.typeKey}
</if>
<if
test=
"tFascPushLog.typeName != null and tFascPushLog.typeName.trim() != ''"
>
AND a.type_name = #{tFascPushLog.typeName}
</if>
<if
test=
"tFascPushLog.createBy != null and tFascPushLog.createBy.trim() != ''"
>
AND a.CREATE_BY = #{tFascPushLog.createBy}
</if>
<if
test=
"tFascPushLog.createName != null and tFascPushLog.createName.trim() != ''"
>
AND a.CREATE_NAME = #{tFascPushLog.createName}
</if>
<if
test=
"tFascPushLog.createTime != null"
>
AND a.CREATE_TIME = #{tFascPushLog.createTime}
</if>
<if
test=
"tFascPushLog.updateBy != null and tFascPushLog.updateBy.trim() != ''"
>
AND a.UPDATE_BY = #{tFascPushLog.updateBy}
</if>
<if
test=
"tFascPushLog.updateTime != null"
>
AND a.UPDATE_TIME = #{tFascPushLog.updateTime}
</if>
</if>
</sql>
<!--tFascPushLog简单分页查询-->
<select
id=
"getTFascPushLogPage"
resultMap=
"tFascPushLogMap"
>
SELECT
<include
refid=
"Base_Column_List"
/>
FROM t_fasc_push_log a
<where>
1=1
<include
refid=
"tFascPushLog_where"
/>
</where>
</select>
</mapper>
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TFascTemplateDetailMapper.xml
0 → 100644
View file @
008be3f9
<?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.TFascTemplateDetailMapper"
>
<resultMap
id=
"tFascTemplateDetailMap"
type=
"com.yifu.cloud.plus.v1.yifu.archives.entity.TFascTemplateDetail"
>
<id
property=
"id"
column=
"id"
/>
<result
property=
"signTemplateId"
column=
"sign_template_id"
/>
<result
property=
"fascField"
column=
"fasc_field"
/>
<result
property=
"fascFieldId"
column=
"fasc_field_id"
/>
<result
property=
"isMust"
column=
"is_must"
/>
<result
property=
"deleteFlag"
column=
"delete_flag"
/>
<result
property=
"hrField"
column=
"hr_field"
/>
<result
property=
"hrFieldId"
column=
"hr_field_id"
/>
<result
property=
"isEdit"
column=
"is_edit"
/>
<result
property=
"createBy"
column=
"CREATE_BY"
/>
<result
property=
"createName"
column=
"CREATE_NAME"
/>
<result
property=
"createTime"
column=
"CREATE_TIME"
/>
<result
property=
"updateBy"
column=
"UPDATE_BY"
/>
<result
property=
"updateTime"
column=
"UPDATE_TIME"
/>
<result
property=
"signTemplateName"
column=
"sign_template_name"
/>
<result
property=
"signTemplateStatus"
column=
"sign_template_status"
/>
<result
property=
"contractType"
column=
"contract_type"
/>
</resultMap>
<resultMap
id=
"tFascTemplateDetailExportMap"
type=
"com.yifu.cloud.plus.v1.yifu.archives.vo.TFascTemplateDetailExportVo"
>
<result
property=
"signTemplateName"
column=
"sign_template_name"
/>
<result
property=
"signTemplateId"
column=
"sign_template_id"
/>
<result
property=
"signTemplateStatus"
column=
"sign_template_status"
/>
<result
property=
"fascField"
column=
"fasc_field"
/>
<result
property=
"fascFieldId"
column=
"fasc_field_id"
/>
<result
property=
"isMust"
column=
"is_must"
/>
<result
property=
"deleteFlag"
column=
"delete_flag"
/>
<result
property=
"contractType"
column=
"contract_type"
/>
<result
property=
"hrField"
column=
"hr_field"
/>
<result
property=
"hrFieldId"
column=
"hr_field_id"
/>
<result
property=
"isEdit"
column=
"is_edit"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
a.id,
a.sign_template_id,
a.fasc_field,
a.fasc_field_id,
a.is_must,
a.delete_flag,
a.hr_field,
a.hr_field_id,
a.is_edit,
a.CREATE_BY,
a.CREATE_NAME,
a.CREATE_TIME,
a.UPDATE_BY,
a.UPDATE_TIME,
b.sign_template_name,
b.sign_template_status,
b.contract_type
</sql>
<sql
id=
"tFascTemplateDetail_where"
>
<if
test=
"tFascTemplateDetail != null"
>
<if
test=
"tFascTemplateDetail.id != null and tFascTemplateDetail.id.trim() != ''"
>
AND a.id = #{tFascTemplateDetail.id}
</if>
<if
test=
"tFascTemplateDetail.signTemplateId != null and tFascTemplateDetail.signTemplateId.trim() != ''"
>
AND a.sign_template_id = #{tFascTemplateDetail.signTemplateId}
</if>
<if
test=
"tFascTemplateDetail.fascField != null and tFascTemplateDetail.fascField.trim() != ''"
>
AND a.fasc_field like concat('%', #{tFascTemplateDetail.fascField}, '%')
</if>
<if
test=
"tFascTemplateDetail.fascFieldId != null and tFascTemplateDetail.fascFieldId.trim() != ''"
>
AND a.fasc_field_id = #{tFascTemplateDetail.fascFieldId}
</if>
<if
test=
"tFascTemplateDetail.isMust != null and tFascTemplateDetail.isMust.trim() != ''"
>
AND a.is_must = #{tFascTemplateDetail.isMust}
</if>
<if
test=
"tFascTemplateDetail.deleteFlag != null and tFascTemplateDetail.deleteFlag.trim() != ''"
>
AND a.delete_flag = #{tFascTemplateDetail.deleteFlag}
</if>
<if
test=
"tFascTemplateDetail.hrField != null and tFascTemplateDetail.hrField.trim() != ''"
>
AND a.hr_field like concat('%', #{tFascTemplateDetail.hrField}, '%')
</if>
<if
test=
"tFascTemplateDetail.hrFieldId != null and tFascTemplateDetail.hrFieldId.trim() != ''"
>
AND a.hr_field_id = #{tFascTemplateDetail.hrFieldId}
</if>
<if
test=
"tFascTemplateDetail.isEdit != null and tFascTemplateDetail.isEdit.trim() != ''"
>
AND a.is_edit = #{tFascTemplateDetail.isEdit}
</if>
<if
test=
"tFascTemplateDetail.createBy != null and tFascTemplateDetail.createBy.trim() != ''"
>
AND a.CREATE_BY = #{tFascTemplateDetail.createBy}
</if>
<if
test=
"tFascTemplateDetail.createName != null and tFascTemplateDetail.createName.trim() != ''"
>
AND a.CREATE_NAME = #{tFascTemplateDetail.createName}
</if>
<if
test=
"tFascTemplateDetail.createTime != null"
>
AND a.CREATE_TIME = #{tFascTemplateDetail.createTime}
</if>
<if
test=
"tFascTemplateDetail.updateBy != null and tFascTemplateDetail.updateBy.trim() != ''"
>
AND a.UPDATE_BY = #{tFascTemplateDetail.updateBy}
</if>
<if
test=
"tFascTemplateDetail.updateTime != null"
>
AND a.UPDATE_TIME = #{tFascTemplateDetail.updateTime}
</if>
<if
test=
"tFascTemplateDetail.signTemplateName != null and tFascTemplateDetail.signTemplateName.trim() != ''"
>
AND b.sign_template_name like concat('%', #{tFascTemplateDetail.signTemplateName}, '%')
</if>
<if
test=
"tFascTemplateDetail.signTemplateStatus != null and tFascTemplateDetail.signTemplateStatus.trim() != ''"
>
AND b.sign_template_status = #{tFascTemplateDetail.signTemplateStatus}
</if>
<if
test=
"tFascTemplateDetail.contractType != null and tFascTemplateDetail.contractType.trim() != ''"
>
AND b.contract_type = #{tFascTemplateDetail.contractType}
</if>
</if>
</sql>
<!--tFascTemplateDetail简单分页查询-->
<select
id=
"getTFascTemplateDetailPage"
resultMap=
"tFascTemplateDetailMap"
>
SELECT
<include
refid=
"Base_Column_List"
/>
FROM t_fasc_template_detail a
left join t_fasc_template b on a.sign_template_id = b.sign_template_id
<where>
1=1
<include
refid=
"tFascTemplateDetail_where"
/>
</where>
ORDER BY a.CREATE_TIME ASC
</select>
<!--tFascTemplateDetail简单分页查询-->
<select
id=
"getTFascTemplateDetailList"
resultMap=
"tFascTemplateDetailMap"
>
SELECT
<include
refid=
"Base_Column_List"
/>
FROM t_fasc_template_detail a
left join t_fasc_template b on a.sign_template_id = b.sign_template_id
<where>
1=1
<include
refid=
"tFascTemplateDetail_where"
/>
</where>
ORDER BY a.CREATE_TIME ASC
</select>
<!--导出-->
<select
id=
"getTFascTemplateDetailExport"
resultMap=
"tFascTemplateDetailExportMap"
>
SELECT
b.sign_template_name,
a.sign_template_id,
if(b.sign_template_status = 'valid', '启用', if(b.sign_template_status = 'invalid', '停用', '草稿')) sign_template_status,
a.fasc_field,
a.fasc_field_id,
if(a.is_must='0','否','是') is_must,
if(a.delete_flag='0','否','是') delete_flag,
b.contract_type,
a.hr_field,
a.hr_field_id,
if(a.is_edit='1','已配置','未配置') is_edit
FROM t_fasc_template_detail a
left join t_fasc_template b on a.sign_template_id = b.sign_template_id
<where>
1=1
<include
refid=
"tFascTemplateDetail_where"
/>
<if
test=
"idList != null and idList.size>0"
>
AND a.id in
<foreach
item=
"idStr"
index=
"index"
collection=
"idList"
open=
"("
separator=
","
close=
")"
>
#{idStr}
</foreach>
</if>
</where>
ORDER BY a.CREATE_TIME ASC
<if
test=
"tFascTemplateDetail != null"
>
<if
test=
"tFascTemplateDetail.limitStart != null"
>
limit #{tFascTemplateDetail.limitStart},#{tFascTemplateDetail.limitEnd}
</if>
</if>
</select>
<select
id=
"getTFascTemplateDetailExportCount"
resultType=
"java.lang.Long"
>
SELECT
count(1)
FROM t_fasc_template_detail a
left join t_fasc_template b on a.sign_template_id = b.sign_template_id
<where>
1=1
<include
refid=
"tFascTemplateDetail_where"
/>
<if
test=
"idList != null and idList.size>0"
>
AND a.id in
<foreach
item=
"idStr"
index=
"index"
collection=
"idList"
open=
"("
separator=
","
close=
")"
>
#{idStr}
</foreach>
</if>
</where>
</select>
</mapper>
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TFascTemplateMapper.xml
0 → 100644
View file @
008be3f9
This diff is collapsed.
Click to expand it.
yifu-common/yifu-common-core/src/main/java/com/yifu/cloud/plus/v1/yifu/common/core/util/LocalDateTimeUtils.java
View file @
008be3f9
...
...
@@ -394,4 +394,27 @@ public class LocalDateTimeUtils {
DateTimeFormatter
formatter
=
DateTimeFormatter
.
ofPattern
(
YEAR_MONTH_PATTERN
);
return
dateTime
.
format
(
formatter
);
}
/**
* @param time “Unix标准时间戳”是从1970年1月1日(UTC/GMT的午夜)开始所经过的毫秒数,数据类型为整数型
* @Description: 将整数型时间毫秒数,转化为LocalDateTime
* @Author: hgw
* @Date: 2025/10/10 11:27
* @return: java.time.LocalDateTime
**/
public
static
LocalDateTime
coverStringToLDT
(
String
time
)
{
if
(
time
==
null
)
{
return
null
;
}
LocalDateTime
dateTime
;
try
{
dateTime
=
Instant
.
ofEpochMilli
(
Long
.
parseLong
(
time
))
.
atZone
(
ZoneId
.
systemDefault
())
// 使用系统默认时区
.
toLocalDateTime
();
// 使用a进行后续操作
}
catch
(
NumberFormatException
e
)
{
dateTime
=
null
;
}
return
dateTime
;
}
}
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