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
dcfe227c
Commit
dcfe227c
authored
Jun 29, 2022
by
huyuchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
huyc 项目档案代码提交
parent
155396a5
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
42 changed files
with
2842 additions
and
11 deletions
+2842
-11
FddCompanyInfo.java
...fu/cloud/plus/v1/yifu/archives/entity/FddCompanyInfo.java
+2
-2
FddContractAttachInfo.java
...d/plus/v1/yifu/archives/entity/FddContractAttachInfo.java
+193
-0
FddContractInfo.java
...u/cloud/plus/v1/yifu/archives/entity/FddContractInfo.java
+175
-0
FddContractTemplate.java
...oud/plus/v1/yifu/archives/entity/FddContractTemplate.java
+96
-0
FddContractTemplateFile.java
...plus/v1/yifu/archives/entity/FddContractTemplateFile.java
+59
-0
FddGlobalFieldInfo.java
...loud/plus/v1/yifu/archives/entity/FddGlobalFieldInfo.java
+65
-0
FddTemplateFieldInfo.java
...ud/plus/v1/yifu/archives/entity/FddTemplateFieldInfo.java
+65
-0
EmployeeProjectExportVO.java
...oud/plus/v1/yifu/archives/vo/EmployeeProjectExportVO.java
+2
-0
EmployeeProjectVO.java
...ifu/cloud/plus/v1/yifu/archives/vo/EmployeeProjectVO.java
+6
-3
FddContractAttachInfoController.java
.../archives/controller/FddContractAttachInfoController.java
+114
-0
FddContractInfoController.java
...1/yifu/archives/controller/FddContractInfoController.java
+114
-0
FddContractTemplateController.java
...fu/archives/controller/FddContractTemplateController.java
+115
-0
FddContractTemplateFileController.java
...rchives/controller/FddContractTemplateFileController.java
+115
-0
FddController.java
...cloud/plus/v1/yifu/archives/controller/FddController.java
+310
-0
FddGlobalFieldInfoController.java
...ifu/archives/controller/FddGlobalFieldInfoController.java
+115
-0
FddPersonAccountController.java
.../yifu/archives/controller/FddPersonAccountController.java
+1
-1
FddTemplateFieldInfoController.java
...u/archives/controller/FddTemplateFieldInfoController.java
+115
-0
FddContractAttachInfoMapper.java
.../v1/yifu/archives/mapper/FddContractAttachInfoMapper.java
+47
-0
FddContractInfoMapper.java
...d/plus/v1/yifu/archives/mapper/FddContractInfoMapper.java
+36
-0
FddContractTemplateFileMapper.java
...1/yifu/archives/mapper/FddContractTemplateFileMapper.java
+33
-0
FddContractTemplateMapper.java
...us/v1/yifu/archives/mapper/FddContractTemplateMapper.java
+44
-0
FddGlobalFieldInfoMapper.java
...lus/v1/yifu/archives/mapper/FddGlobalFieldInfoMapper.java
+33
-0
FddTemplateFieldInfoMapper.java
...s/v1/yifu/archives/mapper/FddTemplateFieldInfoMapper.java
+33
-0
FddContractAttachInfoService.java
...1/yifu/archives/service/FddContractAttachInfoService.java
+49
-0
FddContractInfoService.java
...plus/v1/yifu/archives/service/FddContractInfoService.java
+32
-0
FddContractTemplateFileService.java
...yifu/archives/service/FddContractTemplateFileService.java
+32
-0
FddContractTemplateService.java
.../v1/yifu/archives/service/FddContractTemplateService.java
+42
-0
FddGlobalFieldInfoService.java
...s/v1/yifu/archives/service/FddGlobalFieldInfoService.java
+32
-0
FddTemplateFieldInfoService.java
...v1/yifu/archives/service/FddTemplateFieldInfoService.java
+32
-0
FddContractAttachInfoServiceImpl.java
...chives/service/impl/FddContractAttachInfoServiceImpl.java
+60
-0
FddContractInfoServiceImpl.java
...ifu/archives/service/impl/FddContractInfoServiceImpl.java
+36
-0
FddContractTemplateFileServiceImpl.java
...ives/service/impl/FddContractTemplateFileServiceImpl.java
+36
-0
FddContractTemplateServiceImpl.java
...archives/service/impl/FddContractTemplateServiceImpl.java
+87
-0
FddGlobalFieldInfoServiceImpl.java
.../archives/service/impl/FddGlobalFieldInfoServiceImpl.java
+34
-0
FddPersonAccountServiceImpl.java
...fu/archives/service/impl/FddPersonAccountServiceImpl.java
+11
-5
FddTemplateFieldInfoServiceImpl.java
...rchives/service/impl/FddTemplateFieldInfoServiceImpl.java
+36
-0
FddContractAttachInfoMapper.xml
...src/main/resources/mapper/FddContractAttachInfoMapper.xml
+170
-0
FddContractInfoMapper.xml
...s-biz/src/main/resources/mapper/FddContractInfoMapper.xml
+54
-0
FddContractTemplateFileMapper.xml
...c/main/resources/mapper/FddContractTemplateFileMapper.xml
+31
-0
FddContractTemplateMapper.xml
...z/src/main/resources/mapper/FddContractTemplateMapper.xml
+116
-0
FddGlobalFieldInfoMapper.xml
...iz/src/main/resources/mapper/FddGlobalFieldInfoMapper.xml
+32
-0
FddTemplateFieldInfoMapper.xml
.../src/main/resources/mapper/FddTemplateFieldInfoMapper.xml
+32
-0
No files found.
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/entity/FddCompanyInfo.java
View file @
dcfe227c
...
@@ -32,9 +32,9 @@ import lombok.EqualsAndHashCode;
...
@@ -32,9 +32,9 @@ import lombok.EqualsAndHashCode;
*/
*/
@Data
@Data
@TableName
(
"fdd_company_info"
)
@TableName
(
"fdd_company_info"
)
@EqualsAndHashCode
(
callSuper
=
true
)
@EqualsAndHashCode
()
@Schema
(
description
=
"法大大企业接入方信息"
)
@Schema
(
description
=
"法大大企业接入方信息"
)
public
class
FddCompanyInfo
extends
BaseEntity
{
public
class
FddCompanyInfo
{
/**
/**
* 主键
* 主键
...
...
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/entity/FddContractAttachInfo.java
0 → 100644
View file @
dcfe227c
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
entity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
java.math.BigDecimal
;
import
java.time.LocalDateTime
;
/**
* 法大大合同附属信息表
*
* @author fxj
* @date 2022-06-28 16:24:12
*/
@Data
@TableName
(
"fdd_contract_attach_info"
)
@EqualsAndHashCode
(
callSuper
=
true
)
@Schema
(
description
=
"法大大合同附属信息表"
)
public
class
FddContractAttachInfo
extends
BaseEntity
{
/**
* 主键
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@Schema
(
description
=
"主键"
)
private
String
id
;
/**
* 合同id
*/
@Schema
(
description
=
"合同id"
)
private
String
contractId
;
/**
* 合同试用期开始时间
*/
@Schema
(
description
=
"合同试用期开始时间"
)
private
LocalDateTime
periodStart
;
/**
* 合同试用期结束时间
*/
@Schema
(
description
=
"合同试用期结束时间"
)
private
LocalDateTime
periodEnd
;
/**
* 合同起始时间
*/
@Schema
(
description
=
"合同起始时间"
)
private
LocalDateTime
contractStart
;
/**
* 合同到期时间
*/
@Schema
(
description
=
"合同到期时间"
)
private
LocalDateTime
contractEnd
;
/**
* 试用期工资 元/月
*/
@Schema
(
description
=
"试用期工资 元/月"
)
private
BigDecimal
periodSalaryPerMonth
;
/**
* 工资形式 1.计时工资 2.计件工资 3.其他
*/
@Schema
(
description
=
"工资形式 1.计时工资 2.计件工资 3.其他"
)
private
String
salaryType
;
/**
* 计时工资 工资标准 元/月
*/
@Schema
(
description
=
"计时工资 工资标准 元/月"
)
private
BigDecimal
salaryStandardPerHour
;
/**
* 计件工资 工资标准单价/元
*/
@Schema
(
description
=
"计件工资 工资标准单价/元"
)
private
BigDecimal
salaryStandardPerPiece
;
/**
* 工作地点
*/
@Schema
(
description
=
"工作地点"
)
private
String
workSpace
;
/**
* 岗位
*/
@Schema
(
description
=
"岗位"
)
private
String
post
;
/**
* 备注
*/
@Schema
(
description
=
"备注"
)
private
String
remark
;
/**
* 是否删除 0未删除/1删除
*/
@Schema
(
description
=
"是否删除 0未删除/1删除"
)
private
String
deleteFlag
;
/**
* 附件是否已转移到合同里(0:未转移;1已转移)
*/
@Schema
(
description
=
"附件是否已转移到合同里(0:未转移;1已转移)"
)
private
Integer
isMove
;
/**
* 法大大模板id
*/
@Schema
(
description
=
"法大大模板id"
)
private
String
fddTemplateId
;
/**
* 员工姓名
*/
@Schema
(
description
=
"员工姓名"
)
private
String
empName
;
/**
* 身份证号码
*/
@Schema
(
description
=
"身份证号码"
)
private
String
empIdcard
;
/**
* 手机号码
*/
@Schema
(
description
=
"手机号码"
)
private
String
empPhone
;
/**
* 结算主体编码
*/
@Schema
(
description
=
"结算主体编码"
)
private
String
departNo
;
/**
* 创建者
*/
@Schema
(
description
=
"创建者"
)
private
String
createBy
;
/**
* 更新人
*/
@Schema
(
description
=
"更新人"
)
private
String
updateBy
;
/**
* 创建时间
*/
@Schema
(
description
=
"创建时间"
)
private
LocalDateTime
createTime
;
/**
* 更新时间
*/
@Schema
(
description
=
"更新时间"
)
private
LocalDateTime
updateTime
;
/**
* 创建人姓名
*/
@Schema
(
description
=
"创建人姓名"
)
private
String
createName
;
}
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/entity/FddContractInfo.java
0 → 100644
View file @
dcfe227c
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
entity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
java.time.LocalDateTime
;
/**
* 法大大合同与员工合同信息
*
* @author fxj
* @date 2022-06-29 16:21:51
*/
@Data
@TableName
(
"fdd_contract_info"
)
@EqualsAndHashCode
(
callSuper
=
true
)
@Schema
(
description
=
"法大大合同与员工合同信息"
)
public
class
FddContractInfo
extends
BaseEntity
{
/**
* 主键
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@Schema
(
description
=
"主键"
)
private
String
id
;
/**
* 员工合同Id
*/
@Schema
(
description
=
"员工合同Id"
)
private
String
contractId
;
/**
* 甲方用户ID: FDD_PERSON_ACCOUNT的个人实名ID
*/
@Schema
(
description
=
"甲方用户ID: FDD_PERSON_ACCOUNT的个人实名ID"
)
private
String
fddPersonAccountSendId
;
/**
* 乙方用户ID: FDD_PERSON_ACCOUNT的个人实名ID
*/
@Schema
(
description
=
"乙方用户ID: FDD_PERSON_ACCOUNT的个人实名ID"
)
private
String
fddPersonAccountReceiveId
;
/**
* 组织的unionId
*/
@Schema
(
description
=
"组织的unionId"
)
private
String
sendUnionid
;
/**
* 签署人的unionId
*/
@Schema
(
description
=
"签署人的unionId"
)
private
String
receiveUnionid
;
/**
* 定稿状态 1未定稿 2.定稿成功
*/
@Schema
(
description
=
"定稿状态 1未定稿 2.定稿成功"
)
private
String
taskStatus
;
/**
* 签署发送方状态 1.未签署 2 已签署 3 已拒签 4 已撤销
*/
@Schema
(
description
=
"签署发送方状态 1.未签署 2 已签署 3 已拒签 4 已撤销"
)
private
String
sendSignStatus
;
/**
* 定稿任务编号
*/
@Schema
(
description
=
"定稿任务编号"
)
private
String
taskId
;
/**
* 定稿文件编号
*/
@Schema
(
description
=
"定稿文件编号"
)
private
String
fileId
;
/**
* 草稿id,用于生成后续签署任务
*/
@Schema
(
description
=
"草稿id,用于生成后续签署任务"
)
private
String
draftId
;
/**
* 是否删除 0未删除/1删除
*/
@Schema
(
description
=
"是否删除 0未删除/1删除"
)
private
String
deleteFlag
;
/**
* 签署任务编号
*/
@Schema
(
description
=
"签署任务编号"
)
private
String
signTaskId
;
/**
* 签署接收方状态 1.未签署 2 已签署 3 已拒签 4 已撤销
*/
@Schema
(
description
=
"签署接收方状态 1.未签署 2 已签署 3 已拒签 4 已撤销"
)
private
String
receiveSignStatus
;
/**
* 签署状态 1.未签署 2 已签署 4 已撤销 5已拒签
*/
@Schema
(
description
=
"签署状态 1.未签署 2 已签署 4 已撤销 5已拒签"
)
private
String
signStatus
;
/**
* 备注
*/
@Schema
(
description
=
"备注"
)
private
String
remark
;
/**
* 合同模板id
*/
@Schema
(
description
=
"合同模板id"
)
private
String
fddTemplateId
;
/**
* 创建者
*/
@Schema
(
description
=
"创建者"
)
private
String
createBy
;
/**
* 更新人
*/
@Schema
(
description
=
"更新人"
)
private
String
updateBy
;
/**
* 创建时间
*/
@Schema
(
description
=
"创建时间"
)
private
LocalDateTime
createTime
;
/**
* 更新时间
*/
@Schema
(
description
=
"更新时间"
)
private
LocalDateTime
updateTime
;
/**
* 创建人姓名
*/
@Schema
(
description
=
"创建人姓名"
)
private
String
createName
;
}
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/entity/FddContractTemplate.java
0 → 100644
View file @
dcfe227c
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
entity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
/**
* 法大大员工合同模板
*
* @author fxj
* @date 2022-06-28 16:24:12
*/
@Data
@TableName
(
"fdd_contract_template"
)
@EqualsAndHashCode
(
callSuper
=
true
)
@Schema
(
description
=
"法大大员工合同模板"
)
public
class
FddContractTemplate
extends
BaseEntity
{
/**
* 主键
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@Schema
(
description
=
"主键"
)
private
String
id
;
/**
* 合同类型的字典
*/
@Schema
(
description
=
"合同类型的字典"
)
private
String
type
;
/**
* 合同编辑状态 1成功
*/
@Schema
(
description
=
"合同编辑状态 1成功"
)
private
String
modifyUploadStatus
;
/**
* 省
*/
@Schema
(
description
=
"省"
)
private
Integer
province
;
/**
* 市
*/
@Schema
(
description
=
"市"
)
private
Integer
city
;
/**
* 是否有加班工资 0无加班工资 1有加班工资
*/
@Schema
(
description
=
"是否有加班工资 0无加班工资 1有加班工资"
)
private
String
overtimeWageFlag
;
/**
* 法大大模板id
*/
@Schema
(
description
=
"法大大模板id"
)
private
String
fddTemplateId
;
/**
* 本地模板名称
*/
@Schema
(
description
=
"本地模板名称"
)
private
String
localName
;
/**
* 签署组织名称
*/
@Schema
(
description
=
"签署组织名称"
)
private
String
signerName
;
}
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/entity/FddContractTemplateFile.java
0 → 100644
View file @
dcfe227c
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
entity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
/**
* 法大大员工合同模板文件表
*
* @author fxj
* @date 2022-06-28 16:24:12
*/
@Data
@TableName
(
"fdd_contract_template_file"
)
@EqualsAndHashCode
(
callSuper
=
true
)
@Schema
(
description
=
"法大大员工合同模板文件表"
)
public
class
FddContractTemplateFile
extends
BaseEntity
{
/**
* 主键
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@Schema
(
description
=
"主键"
)
private
String
id
;
/**
* 法大大模板id
*/
@Schema
(
description
=
"法大大模板id"
)
private
String
fddTemplateId
;
/**
* 法大大FileId
*/
@Schema
(
description
=
"法大大FileId"
)
private
String
fddFileId
;
}
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/entity/FddGlobalFieldInfo.java
0 → 100644
View file @
dcfe227c
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
entity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
/**
* 法大大模板字段信息表
*
* @author fxj
* @date 2022-06-28 16:24:12
*/
@Data
@TableName
(
"fdd_global_field_info"
)
@EqualsAndHashCode
(
callSuper
=
true
)
@Schema
(
description
=
"法大大模板字段信息表"
)
public
class
FddGlobalFieldInfo
extends
BaseEntity
{
/**
* id
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@Schema
(
description
=
"id"
)
private
String
id
;
/**
* 法大大字段
*/
@Schema
(
description
=
"法大大字段"
)
private
String
filedName
;
/**
* 备注
*/
@Schema
(
description
=
"备注"
)
private
String
remark
;
/**
* 0 个人 1 公司
*/
@Schema
(
description
=
"0 个人 1 公司"
)
private
String
type
;
}
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/entity/FddTemplateFieldInfo.java
0 → 100644
View file @
dcfe227c
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
entity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
/**
* 法大大字段对应信息表
*
* @author fxj
* @date 2022-06-28 16:24:12
*/
@Data
@TableName
(
"fdd_template_field_info"
)
@EqualsAndHashCode
(
callSuper
=
true
)
@Schema
(
description
=
"法大大字段对应信息表"
)
public
class
FddTemplateFieldInfo
extends
BaseEntity
{
/**
* ID
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@Schema
(
description
=
"ID"
)
private
String
id
;
/**
* 角色:0个人 1公司
*/
@Schema
(
description
=
"角色:0个人 1公司"
)
private
String
type
;
/**
* 对应法大大模板字段名称,传给法大大时要初始化
*/
@Schema
(
description
=
"对应法大大模板字段名称,传给法大大时要初始化"
)
private
String
filedName
;
/**
* 模板ID
*/
@Schema
(
description
=
"模板ID"
)
private
String
templateId
;
}
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/vo/EmployeeProjectExportVO.java
View file @
dcfe227c
...
@@ -18,6 +18,7 @@ package com.yifu.cloud.plus.v1.yifu.archives.vo;
...
@@ -18,6 +18,7 @@ package com.yifu.cloud.plus.v1.yifu.archives.vo;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.alibaba.excel.annotation.write.style.ColumnWidth
;
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
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
lombok.Data
;
...
@@ -41,6 +42,7 @@ public class EmployeeProjectExportVO{
...
@@ -41,6 +42,7 @@ public class EmployeeProjectExportVO{
* 档案员工类型(字典值,0外包1派遣2代理)
* 档案员工类型(字典值,0外包1派遣2代理)
*/
*/
@ExcelProperty
(
value
=
"档案员工类型"
)
@ExcelProperty
(
value
=
"档案员工类型"
)
@ExcelAttribute
(
name
=
"档案员工类型"
,
isNotEmpty
=
true
,
errorInfo
=
"档案员工类型不可为空"
,
isDataId
=
true
,
dataType
=
"emp_natrue"
)
private
String
proEmpNatrue
;
private
String
proEmpNatrue
;
/**
/**
...
...
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/vo/EmployeeProjectVO.java
View file @
dcfe227c
...
@@ -18,6 +18,7 @@ package com.yifu.cloud.plus.v1.yifu.archives.vo;
...
@@ -18,6 +18,7 @@ package com.yifu.cloud.plus.v1.yifu.archives.vo;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.alibaba.excel.annotation.write.style.ColumnWidth
;
import
com.alibaba.excel.annotation.write.style.ColumnWidth
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute
;
import
lombok.Data
;
import
lombok.Data
;
import
javax.validation.constraints.NotNull
;
import
javax.validation.constraints.NotNull
;
...
@@ -42,7 +43,7 @@ public class EmployeeProjectVO implements Serializable {
...
@@ -42,7 +43,7 @@ public class EmployeeProjectVO implements Serializable {
* 员工类型(字典值,0外包1派遣2代理)
* 员工类型(字典值,0外包1派遣2代理)
*/
*/
@NotNull
(
message
=
"员工类型不能为空"
)
@NotNull
(
message
=
"员工类型不能为空"
)
@
Size
(
max
=
1
,
message
=
"员工类型不可超过1位"
)
@
ExcelAttribute
(
name
=
"员工类型"
,
isNotEmpty
=
true
,
errorInfo
=
"员工类型不能为空"
,
maxLength
=
1
)
@ExcelProperty
(
value
=
"员工类型"
)
@ExcelProperty
(
value
=
"员工类型"
)
private
String
empNatrue
;
private
String
empNatrue
;
...
@@ -50,7 +51,7 @@ public class EmployeeProjectVO implements Serializable {
...
@@ -50,7 +51,7 @@ public class EmployeeProjectVO implements Serializable {
* 员工姓名
* 员工姓名
*/
*/
@NotNull
(
message
=
"员工姓名不能为空"
)
@NotNull
(
message
=
"员工姓名不能为空"
)
@
Size
(
max
=
20
,
message
=
"员工姓名不可超过20位"
)
@
ExcelAttribute
(
name
=
"员工姓名"
,
isNotEmpty
=
true
,
errorInfo
=
"员工姓名不能为空"
,
maxLength
=
20
)
@ExcelProperty
(
value
=
"员工姓名"
)
@ExcelProperty
(
value
=
"员工姓名"
)
private
String
empName
;
private
String
empName
;
...
@@ -58,7 +59,7 @@ public class EmployeeProjectVO implements Serializable {
...
@@ -58,7 +59,7 @@ public class EmployeeProjectVO implements Serializable {
* 身份证号码
* 身份证号码
*/
*/
@NotNull
(
message
=
"身份证号不能为空"
)
@NotNull
(
message
=
"身份证号不能为空"
)
@
Size
(
max
=
20
,
message
=
"身份证号不可超过20位"
)
@
ExcelAttribute
(
name
=
"身份证号"
,
isNotEmpty
=
true
,
errorInfo
=
"身份证号不能为空"
,
maxLength
=
20
)
@ExcelProperty
(
value
=
"身份证号"
)
@ExcelProperty
(
value
=
"身份证号"
)
private
String
empIdcard
;
private
String
empIdcard
;
...
@@ -85,6 +86,7 @@ public class EmployeeProjectVO implements Serializable {
...
@@ -85,6 +86,7 @@ public class EmployeeProjectVO implements Serializable {
*/
*/
@NotNull
(
message
=
"项目编码不能为空"
)
@NotNull
(
message
=
"项目编码不能为空"
)
@ExcelProperty
(
value
=
"项目编码"
)
@ExcelProperty
(
value
=
"项目编码"
)
@ExcelAttribute
(
name
=
"项目编码"
,
isNotEmpty
=
true
,
errorInfo
=
"项目编码不能为空"
,
maxLength
=
20
)
private
String
deptNo
;
private
String
deptNo
;
/**
/**
...
@@ -103,6 +105,7 @@ public class EmployeeProjectVO implements Serializable {
...
@@ -103,6 +105,7 @@ public class EmployeeProjectVO implements Serializable {
* 就职岗位
* 就职岗位
*/
*/
@ExcelProperty
(
value
=
"就职岗位"
)
@ExcelProperty
(
value
=
"就职岗位"
)
@ExcelAttribute
(
name
=
"就职岗位"
,
isNotEmpty
=
true
,
errorInfo
=
"就职岗位不能为空"
,
maxLength
=
20
)
private
String
post
;
private
String
post
;
/**
/**
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/controller/FddContractAttachInfoController.java
0 → 100644
View file @
dcfe227c
/*
* 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.toolkit.Wrappers
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.FddContractAttachInfo
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.FddContractAttachInfoService
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.common.log.annotation.SysLog
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.security.SecurityRequirement
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
lombok.RequiredArgsConstructor
;
import
org.springframework.http.HttpHeaders
;
import
org.springframework.web.bind.annotation.*
;
/**
* 法大大合同附属信息表
*
* @author fxj
* @date 2022-06-28 16:24:12
*/
@RestController
@RequiredArgsConstructor
@RequestMapping
(
"/fddcontractattachinfo"
)
@Tag
(
name
=
"法大大合同附属信息表管理"
)
@SecurityRequirement
(
name
=
HttpHeaders
.
AUTHORIZATION
)
public
class
FddContractAttachInfoController
{
private
final
FddContractAttachInfoService
fddContractAttachInfoService
;
/**
* 分页查询
* @param page 分页对象
* @param fddContractAttachInfo 法大大合同附属信息表
* @return
*/
@Operation
(
summary
=
"分页查询"
,
description
=
"分页查询"
)
@GetMapping
(
"/page"
)
@PreAuthorize
(
"@pms.hasPermission('demo_fddcontractattachinfo_get')"
)
public
R
getFddContractAttachInfoPage
(
Page
page
,
FddContractAttachInfo
fddContractAttachInfo
)
{
return
R
.
ok
(
fddContractAttachInfoService
.
getFddContractAttachInfoPage
(
page
,
fddContractAttachInfo
));
}
/**
* 通过id查询法大大合同附属信息表
* @param id id
* @return R
*/
@Operation
(
summary
=
"通过id查询"
,
description
=
"通过id查询:hasPermission('demo_fddcontractattachinfo_get')"
)
@GetMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('demo_fddcontractattachinfo_get')"
)
public
R
getById
(
@PathVariable
(
"id"
)
String
id
)
{
return
R
.
ok
(
fddContractAttachInfoService
.
getById
(
id
));
}
/**
* 新增法大大合同附属信息表
* @param fddContractAttachInfo 法大大合同附属信息表
* @return R
*/
@Operation
(
summary
=
"新增法大大合同附属信息表"
,
description
=
"新增法大大合同附属信息表:hasPermission('demo_fddcontractattachinfo_add')"
)
@SysLog
(
"新增法大大合同附属信息表"
)
@PostMapping
@PreAuthorize
(
"@pms.hasPermission('demo_fddcontractattachinfo_add')"
)
public
R
save
(
@RequestBody
FddContractAttachInfo
fddContractAttachInfo
)
{
return
R
.
ok
(
fddContractAttachInfoService
.
save
(
fddContractAttachInfo
));
}
/**
* 修改法大大合同附属信息表
* @param fddContractAttachInfo 法大大合同附属信息表
* @return R
*/
@Operation
(
summary
=
"修改法大大合同附属信息表"
,
description
=
"修改法大大合同附属信息表:hasPermission('demo_fddcontractattachinfo_edit')"
)
@SysLog
(
"修改法大大合同附属信息表"
)
@PutMapping
@PreAuthorize
(
"@pms.hasPermission('demo_fddcontractattachinfo_edit')"
)
public
R
updateById
(
@RequestBody
FddContractAttachInfo
fddContractAttachInfo
)
{
return
R
.
ok
(
fddContractAttachInfoService
.
updateById
(
fddContractAttachInfo
));
}
/**
* 通过id删除法大大合同附属信息表
* @param id id
* @return R
*/
@Operation
(
summary
=
"通过id删除法大大合同附属信息表"
,
description
=
"通过id删除法大大合同附属信息表:hasPermission('demo_fddcontractattachinfo_del')"
)
@SysLog
(
"通过id删除法大大合同附属信息表"
)
@DeleteMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('demo_fddcontractattachinfo_del')"
)
public
R
removeById
(
@PathVariable
String
id
)
{
return
R
.
ok
(
fddContractAttachInfoService
.
removeById
(
id
));
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/controller/FddContractInfoController.java
0 → 100644
View file @
dcfe227c
/*
* 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.toolkit.Wrappers
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.FddContractInfo
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.FddContractInfoService
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.common.log.annotation.SysLog
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.security.SecurityRequirement
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
lombok.RequiredArgsConstructor
;
import
org.springframework.http.HttpHeaders
;
import
org.springframework.web.bind.annotation.*
;
/**
* 法大大合同与员工合同信息
*
* @author fxj
* @date 2022-06-29 16:21:51
*/
@RestController
@RequiredArgsConstructor
@RequestMapping
(
"/fddcontractinfo"
)
@Tag
(
name
=
"法大大合同与员工合同信息管理"
)
@SecurityRequirement
(
name
=
HttpHeaders
.
AUTHORIZATION
)
public
class
FddContractInfoController
{
private
final
FddContractInfoService
fddContractInfoService
;
/**
* 分页查询
* @param page 分页对象
* @param fddContractInfo 法大大合同与员工合同信息
* @return
*/
@Operation
(
summary
=
"分页查询"
,
description
=
"分页查询"
)
@GetMapping
(
"/page"
)
@PreAuthorize
(
"@pms.hasPermission('demo_fddcontractinfo_get')"
)
public
R
getFddContractInfoPage
(
Page
page
,
FddContractInfo
fddContractInfo
)
{
return
R
.
ok
(
fddContractInfoService
.
page
(
page
,
Wrappers
.
query
(
fddContractInfo
)));
}
/**
* 通过id查询法大大合同与员工合同信息
* @param id id
* @return R
*/
@Operation
(
summary
=
"通过id查询"
,
description
=
"通过id查询:hasPermission('demo_fddcontractinfo_get')"
)
@GetMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('demo_fddcontractinfo_get')"
)
public
R
getById
(
@PathVariable
(
"id"
)
String
id
)
{
return
R
.
ok
(
fddContractInfoService
.
getById
(
id
));
}
/**
* 新增法大大合同与员工合同信息
* @param fddContractInfo 法大大合同与员工合同信息
* @return R
*/
@Operation
(
summary
=
"新增法大大合同与员工合同信息"
,
description
=
"新增法大大合同与员工合同信息:hasPermission('demo_fddcontractinfo_add')"
)
@SysLog
(
"新增法大大合同与员工合同信息"
)
@PostMapping
@PreAuthorize
(
"@pms.hasPermission('demo_fddcontractinfo_add')"
)
public
R
save
(
@RequestBody
FddContractInfo
fddContractInfo
)
{
return
R
.
ok
(
fddContractInfoService
.
save
(
fddContractInfo
));
}
/**
* 修改法大大合同与员工合同信息
* @param fddContractInfo 法大大合同与员工合同信息
* @return R
*/
@Operation
(
summary
=
"修改法大大合同与员工合同信息"
,
description
=
"修改法大大合同与员工合同信息:hasPermission('demo_fddcontractinfo_edit')"
)
@SysLog
(
"修改法大大合同与员工合同信息"
)
@PutMapping
@PreAuthorize
(
"@pms.hasPermission('demo_fddcontractinfo_edit')"
)
public
R
updateById
(
@RequestBody
FddContractInfo
fddContractInfo
)
{
return
R
.
ok
(
fddContractInfoService
.
updateById
(
fddContractInfo
));
}
/**
* 通过id删除法大大合同与员工合同信息
* @param id id
* @return R
*/
@Operation
(
summary
=
"通过id删除法大大合同与员工合同信息"
,
description
=
"通过id删除法大大合同与员工合同信息:hasPermission('demo_fddcontractinfo_del')"
)
@SysLog
(
"通过id删除法大大合同与员工合同信息"
)
@DeleteMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('demo_fddcontractinfo_del')"
)
public
R
removeById
(
@PathVariable
String
id
)
{
return
R
.
ok
(
fddContractInfoService
.
removeById
(
id
));
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/controller/FddContractTemplateController.java
0 → 100644
View file @
dcfe227c
/*
* 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.toolkit.Wrappers
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.fadada.api.exception.ApiException
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.FddContractTemplate
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.FddContractTemplateService
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.common.log.annotation.SysLog
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.security.SecurityRequirement
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
lombok.RequiredArgsConstructor
;
import
org.springframework.http.HttpHeaders
;
import
org.springframework.web.bind.annotation.*
;
/**
* 法大大员工合同模板
*
* @author fxj
* @date 2022-06-28 16:24:12
*/
@RestController
@RequiredArgsConstructor
@RequestMapping
(
"/fddcontracttemplate"
)
@Tag
(
name
=
"法大大员工合同模板管理"
)
@SecurityRequirement
(
name
=
HttpHeaders
.
AUTHORIZATION
)
public
class
FddContractTemplateController
{
private
final
FddContractTemplateService
fddContractTemplateService
;
/**
* 分页查询
* @param page 分页对象
* @param fddContractTemplate 法大大员工合同模板
* @return
*/
@Operation
(
summary
=
"分页查询"
,
description
=
"分页查询"
)
@GetMapping
(
"/page"
)
@PreAuthorize
(
"@pms.hasPermission('demo_fddcontracttemplate_get')"
)
public
R
getFddContractTemplatePage
(
Page
page
,
FddContractTemplate
fddContractTemplate
)
throws
ApiException
{
return
R
.
ok
(
fddContractTemplateService
.
getFddContractTemplatePage
(
page
,
fddContractTemplate
));
}
/**
* 通过id查询法大大员工合同模板
* @param id id
* @return R
*/
@Operation
(
summary
=
"通过id查询"
,
description
=
"通过id查询:hasPermission('demo_fddcontracttemplate_get')"
)
@GetMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('demo_fddcontracttemplate_get')"
)
public
R
getById
(
@PathVariable
(
"id"
)
String
id
)
{
return
R
.
ok
(
fddContractTemplateService
.
getById
(
id
));
}
/**
* 新增法大大员工合同模板
* @param fddContractTemplate 法大大员工合同模板
* @return R
*/
@Operation
(
summary
=
"新增法大大员工合同模板"
,
description
=
"新增法大大员工合同模板:hasPermission('demo_fddcontracttemplate_add')"
)
@SysLog
(
"新增法大大员工合同模板"
)
@PostMapping
@PreAuthorize
(
"@pms.hasPermission('demo_fddcontracttemplate_add')"
)
public
R
save
(
@RequestBody
FddContractTemplate
fddContractTemplate
)
{
return
R
.
ok
(
fddContractTemplateService
.
save
(
fddContractTemplate
));
}
/**
* 修改法大大员工合同模板
* @param fddContractTemplate 法大大员工合同模板
* @return R
*/
@Operation
(
summary
=
"修改法大大员工合同模板"
,
description
=
"修改法大大员工合同模板:hasPermission('demo_fddcontracttemplate_edit')"
)
@SysLog
(
"修改法大大员工合同模板"
)
@PutMapping
@PreAuthorize
(
"@pms.hasPermission('demo_fddcontracttemplate_edit')"
)
public
R
updateById
(
@RequestBody
FddContractTemplate
fddContractTemplate
)
{
return
R
.
ok
(
fddContractTemplateService
.
updateById
(
fddContractTemplate
));
}
/**
* 通过id删除法大大员工合同模板
* @param id id
* @return R
*/
@Operation
(
summary
=
"通过id删除法大大员工合同模板"
,
description
=
"通过id删除法大大员工合同模板:hasPermission('demo_fddcontracttemplate_del')"
)
@SysLog
(
"通过id删除法大大员工合同模板"
)
@DeleteMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('demo_fddcontracttemplate_del')"
)
public
R
removeById
(
@PathVariable
String
id
)
{
return
R
.
ok
(
fddContractTemplateService
.
removeById
(
id
));
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/controller/FddContractTemplateFileController.java
0 → 100644
View file @
dcfe227c
/*
* 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.toolkit.Wrappers
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.FddContractTemplateFile
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.FddContractTemplateFileService
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.common.log.annotation.SysLog
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.security.SecurityRequirement
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
lombok.RequiredArgsConstructor
;
import
org.springframework.http.HttpHeaders
;
import
org.springframework.web.bind.annotation.*
;
/**
* 法大大员工合同模板文件表
*
* @author fxj
* @date 2022-06-28 16:24:12
*/
@RestController
@RequiredArgsConstructor
@RequestMapping
(
"/fddcontracttemplatefile"
)
@Tag
(
name
=
"法大大员工合同模板文件表管理"
)
@SecurityRequirement
(
name
=
HttpHeaders
.
AUTHORIZATION
)
public
class
FddContractTemplateFileController
{
private
final
FddContractTemplateFileService
fddContractTemplateFileService
;
/**
* 分页查询
* @param page 分页对象
* @param fddContractTemplateFile 法大大员工合同模板文件表
* @return
*/
@Operation
(
summary
=
"分页查询"
,
description
=
"分页查询"
)
@GetMapping
(
"/page"
)
@PreAuthorize
(
"@pms.hasPermission('demo_fddcontracttemplatefile_get')"
)
public
R
getFddContractTemplateFilePage
(
Page
page
,
FddContractTemplateFile
fddContractTemplateFile
)
{
return
R
.
ok
(
fddContractTemplateFileService
.
page
(
page
,
Wrappers
.
query
(
fddContractTemplateFile
)));
}
/**
* 通过id查询法大大员工合同模板文件表
* @param id id
* @return R
*/
@Operation
(
summary
=
"通过id查询"
,
description
=
"通过id查询:hasPermission('demo_fddcontracttemplatefile_get')"
)
@GetMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('demo_fddcontracttemplatefile_get')"
)
public
R
getById
(
@PathVariable
(
"id"
)
String
id
)
{
return
R
.
ok
(
fddContractTemplateFileService
.
getById
(
id
));
}
/**
* 新增法大大员工合同模板文件表
* @param fddContractTemplateFile 法大大员工合同模板文件表
* @return R
*/
@Operation
(
summary
=
"新增法大大员工合同模板文件表"
,
description
=
"新增法大大员工合同模板文件表:hasPermission('demo_fddcontracttemplatefile_add')"
)
@SysLog
(
"新增法大大员工合同模板文件表"
)
@PostMapping
@PreAuthorize
(
"@pms.hasPermission('demo_fddcontracttemplatefile_add')"
)
public
R
save
(
@RequestBody
FddContractTemplateFile
fddContractTemplateFile
)
{
return
R
.
ok
(
fddContractTemplateFileService
.
save
(
fddContractTemplateFile
));
}
/**
* 修改法大大员工合同模板文件表
* @param fddContractTemplateFile 法大大员工合同模板文件表
* @return R
*/
@Operation
(
summary
=
"修改法大大员工合同模板文件表"
,
description
=
"修改法大大员工合同模板文件表:hasPermission('demo_fddcontracttemplatefile_edit')"
)
@SysLog
(
"修改法大大员工合同模板文件表"
)
@PutMapping
@PreAuthorize
(
"@pms.hasPermission('demo_fddcontracttemplatefile_edit')"
)
public
R
updateById
(
@RequestBody
FddContractTemplateFile
fddContractTemplateFile
)
{
return
R
.
ok
(
fddContractTemplateFileService
.
updateById
(
fddContractTemplateFile
));
}
/**
* 通过id删除法大大员工合同模板文件表
* @param id id
* @return R
*/
@Operation
(
summary
=
"通过id删除法大大员工合同模板文件表"
,
description
=
"通过id删除法大大员工合同模板文件表:hasPermission('demo_fddcontracttemplatefile_del')"
)
@SysLog
(
"通过id删除法大大员工合同模板文件表"
)
@DeleteMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('demo_fddcontracttemplatefile_del')"
)
public
R
removeById
(
@PathVariable
String
id
)
{
return
R
.
ok
(
fddContractTemplateFileService
.
removeById
(
id
));
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/controller/FddController.java
0 → 100644
View file @
dcfe227c
This diff is collapsed.
Click to expand it.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/controller/FddGlobalFieldInfoController.java
0 → 100644
View file @
dcfe227c
/*
* 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.toolkit.Wrappers
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.FddGlobalFieldInfo
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.FddGlobalFieldInfoService
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.common.log.annotation.SysLog
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.security.SecurityRequirement
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
lombok.RequiredArgsConstructor
;
import
org.springframework.http.HttpHeaders
;
import
org.springframework.web.bind.annotation.*
;
/**
* 法大大模板字段信息表
*
* @author fxj
* @date 2022-06-28 16:24:12
*/
@RestController
@RequiredArgsConstructor
@RequestMapping
(
"/fddglobalfieldinfo"
)
@Tag
(
name
=
"法大大模板字段信息表管理"
)
@SecurityRequirement
(
name
=
HttpHeaders
.
AUTHORIZATION
)
public
class
FddGlobalFieldInfoController
{
private
final
FddGlobalFieldInfoService
fddGlobalFieldInfoService
;
/**
* 分页查询
* @param page 分页对象
* @param fddGlobalFieldInfo 法大大模板字段信息表
* @return
*/
@Operation
(
summary
=
"分页查询"
,
description
=
"分页查询"
)
@GetMapping
(
"/page"
)
@PreAuthorize
(
"@pms.hasPermission('demo_fddglobalfieldinfo_get')"
)
public
R
getFddGlobalFieldInfoPage
(
Page
page
,
FddGlobalFieldInfo
fddGlobalFieldInfo
)
{
return
R
.
ok
(
fddGlobalFieldInfoService
.
page
(
page
,
Wrappers
.
query
(
fddGlobalFieldInfo
)));
}
/**
* 通过id查询法大大模板字段信息表
* @param id id
* @return R
*/
@Operation
(
summary
=
"通过id查询"
,
description
=
"通过id查询:hasPermission('demo_fddglobalfieldinfo_get')"
)
@GetMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('demo_fddglobalfieldinfo_get')"
)
public
R
getById
(
@PathVariable
(
"id"
)
String
id
)
{
return
R
.
ok
(
fddGlobalFieldInfoService
.
getById
(
id
));
}
/**
* 新增法大大模板字段信息表
* @param fddGlobalFieldInfo 法大大模板字段信息表
* @return R
*/
@Operation
(
summary
=
"新增法大大模板字段信息表"
,
description
=
"新增法大大模板字段信息表:hasPermission('demo_fddglobalfieldinfo_add')"
)
@SysLog
(
"新增法大大模板字段信息表"
)
@PostMapping
@PreAuthorize
(
"@pms.hasPermission('demo_fddglobalfieldinfo_add')"
)
public
R
save
(
@RequestBody
FddGlobalFieldInfo
fddGlobalFieldInfo
)
{
return
R
.
ok
(
fddGlobalFieldInfoService
.
save
(
fddGlobalFieldInfo
));
}
/**
* 修改法大大模板字段信息表
* @param fddGlobalFieldInfo 法大大模板字段信息表
* @return R
*/
@Operation
(
summary
=
"修改法大大模板字段信息表"
,
description
=
"修改法大大模板字段信息表:hasPermission('demo_fddglobalfieldinfo_edit')"
)
@SysLog
(
"修改法大大模板字段信息表"
)
@PutMapping
@PreAuthorize
(
"@pms.hasPermission('demo_fddglobalfieldinfo_edit')"
)
public
R
updateById
(
@RequestBody
FddGlobalFieldInfo
fddGlobalFieldInfo
)
{
return
R
.
ok
(
fddGlobalFieldInfoService
.
updateById
(
fddGlobalFieldInfo
));
}
/**
* 通过id删除法大大模板字段信息表
* @param id id
* @return R
*/
@Operation
(
summary
=
"通过id删除法大大模板字段信息表"
,
description
=
"通过id删除法大大模板字段信息表:hasPermission('demo_fddglobalfieldinfo_del')"
)
@SysLog
(
"通过id删除法大大模板字段信息表"
)
@DeleteMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('demo_fddglobalfieldinfo_del')"
)
public
R
removeById
(
@PathVariable
String
id
)
{
return
R
.
ok
(
fddGlobalFieldInfoService
.
removeById
(
id
));
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/controller/FddPersonAccountController.java
View file @
dcfe227c
...
@@ -70,7 +70,7 @@ public class FddPersonAccountController {
...
@@ -70,7 +70,7 @@ public class FddPersonAccountController {
*/
*/
@Operation
(
summary
=
"通过id查询"
,
description
=
"通过id查询"
)
@Operation
(
summary
=
"通过id查询"
,
description
=
"通过id查询"
)
@GetMapping
(
"/{id}"
)
@GetMapping
(
"/{id}"
)
public
R
getById
(
@PathVariable
(
"id"
)
String
id
)
{
public
R
getById
(
@PathVariable
(
"id"
)
String
id
)
{
return
R
.
ok
(
fddPersonAccountService
.
getById
(
id
));
return
R
.
ok
(
fddPersonAccountService
.
getById
(
id
));
}
}
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/controller/FddTemplateFieldInfoController.java
0 → 100644
View file @
dcfe227c
/*
* 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.toolkit.Wrappers
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.FddTemplateFieldInfo
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.FddTemplateFieldInfoService
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.common.log.annotation.SysLog
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.security.SecurityRequirement
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
lombok.RequiredArgsConstructor
;
import
org.springframework.http.HttpHeaders
;
import
org.springframework.web.bind.annotation.*
;
/**
* 法大大字段对应信息表
*
* @author fxj
* @date 2022-06-28 16:24:12
*/
@RestController
@RequiredArgsConstructor
@RequestMapping
(
"/fddtemplatefieldinfo"
)
@Tag
(
name
=
"法大大字段对应信息表管理"
)
@SecurityRequirement
(
name
=
HttpHeaders
.
AUTHORIZATION
)
public
class
FddTemplateFieldInfoController
{
private
final
FddTemplateFieldInfoService
fddTemplateFieldInfoService
;
/**
* 分页查询
* @param page 分页对象
* @param fddTemplateFieldInfo 法大大字段对应信息表
* @return
*/
@Operation
(
summary
=
"分页查询"
,
description
=
"分页查询"
)
@GetMapping
(
"/page"
)
@PreAuthorize
(
"@pms.hasPermission('demo_fddtemplatefieldinfo_get')"
)
public
R
getFddTemplateFieldInfoPage
(
Page
page
,
FddTemplateFieldInfo
fddTemplateFieldInfo
)
{
return
R
.
ok
(
fddTemplateFieldInfoService
.
page
(
page
,
Wrappers
.
query
(
fddTemplateFieldInfo
)));
}
/**
* 通过id查询法大大字段对应信息表
* @param id id
* @return R
*/
@Operation
(
summary
=
"通过id查询"
,
description
=
"通过id查询:hasPermission('demo_fddtemplatefieldinfo_get')"
)
@GetMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('demo_fddtemplatefieldinfo_get')"
)
public
R
getById
(
@PathVariable
(
"id"
)
String
id
)
{
return
R
.
ok
(
fddTemplateFieldInfoService
.
getById
(
id
));
}
/**
* 新增法大大字段对应信息表
* @param fddTemplateFieldInfo 法大大字段对应信息表
* @return R
*/
@Operation
(
summary
=
"新增法大大字段对应信息表"
,
description
=
"新增法大大字段对应信息表:hasPermission('demo_fddtemplatefieldinfo_add')"
)
@SysLog
(
"新增法大大字段对应信息表"
)
@PostMapping
@PreAuthorize
(
"@pms.hasPermission('demo_fddtemplatefieldinfo_add')"
)
public
R
save
(
@RequestBody
FddTemplateFieldInfo
fddTemplateFieldInfo
)
{
return
R
.
ok
(
fddTemplateFieldInfoService
.
save
(
fddTemplateFieldInfo
));
}
/**
* 修改法大大字段对应信息表
* @param fddTemplateFieldInfo 法大大字段对应信息表
* @return R
*/
@Operation
(
summary
=
"修改法大大字段对应信息表"
,
description
=
"修改法大大字段对应信息表:hasPermission('demo_fddtemplatefieldinfo_edit')"
)
@SysLog
(
"修改法大大字段对应信息表"
)
@PutMapping
@PreAuthorize
(
"@pms.hasPermission('demo_fddtemplatefieldinfo_edit')"
)
public
R
updateById
(
@RequestBody
FddTemplateFieldInfo
fddTemplateFieldInfo
)
{
return
R
.
ok
(
fddTemplateFieldInfoService
.
updateById
(
fddTemplateFieldInfo
));
}
/**
* 通过id删除法大大字段对应信息表
* @param id id
* @return R
*/
@Operation
(
summary
=
"通过id删除法大大字段对应信息表"
,
description
=
"通过id删除法大大字段对应信息表:hasPermission('demo_fddtemplatefieldinfo_del')"
)
@SysLog
(
"通过id删除法大大字段对应信息表"
)
@DeleteMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('demo_fddtemplatefieldinfo_del')"
)
public
R
removeById
(
@PathVariable
String
id
)
{
return
R
.
ok
(
fddTemplateFieldInfoService
.
removeById
(
id
));
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/mapper/FddContractAttachInfoMapper.java
0 → 100644
View file @
dcfe227c
/*
* 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.FddContractAttachInfo
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
import
java.util.List
;
/**
* 法大大合同附属信息表
*
* @author fxj
* @date 2022-06-28 16:24:12
*/
@Mapper
public
interface
FddContractAttachInfoMapper
extends
BaseMapper
<
FddContractAttachInfo
>
{
/**
* 法大大合同附属信息表简单分页查询
* @param fddContractAttachInfo 法大大合同附属信息表
* @return
*/
IPage
<
FddContractAttachInfo
>
getFddContractAttachInfoPage
(
Page
<
FddContractAttachInfo
>
page
,
@Param
(
"fddContractAttachInfo"
)
FddContractAttachInfo
fddContractAttachInfo
);
List
<
FddContractAttachInfo
>
getListByNoInfoByEmpIdcard
(
@Param
(
"empIdcard"
)
String
empIdcard
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/mapper/FddContractInfoMapper.java
0 → 100644
View file @
dcfe227c
/*
* 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.FddContractInfo
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
/**
* 法大大合同与员工合同信息
*
* @author fxj
* @date 2022-06-29 16:21:51
*/
@Mapper
public
interface
FddContractInfoMapper
extends
BaseMapper
<
FddContractInfo
>
{
int
cancleSignTask
(
@Param
(
"id"
)
String
id
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/mapper/FddContractTemplateFileMapper.java
0 → 100644
View file @
dcfe227c
/*
* 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.FddContractTemplateFile
;
import
org.apache.ibatis.annotations.Mapper
;
/**
* 法大大员工合同模板文件表
*
* @author fxj
* @date 2022-06-28 16:24:12
*/
@Mapper
public
interface
FddContractTemplateFileMapper
extends
BaseMapper
<
FddContractTemplateFile
>
{
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/mapper/FddContractTemplateMapper.java
0 → 100644
View file @
dcfe227c
/*
* 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.FddContractTemplate
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
/**
* 法大大员工合同模板
*
* @author fxj
* @date 2022-06-28 16:24:12
*/
@Mapper
public
interface
FddContractTemplateMapper
extends
BaseMapper
<
FddContractTemplate
>
{
/**
* 法大大员工合同模板简单分页查询
* @param fddContractTemplate 法大大员工合同模板
* @return
*/
IPage
<
FddContractTemplate
>
getFddContractTemplatePage
(
Page
<
FddContractTemplate
>
page
,
@Param
(
"fddContractTemplate"
)
FddContractTemplate
fddContractTemplate
);
int
updateTeFddTemplateNull
(
@Param
(
"id"
)
String
id
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/mapper/FddGlobalFieldInfoMapper.java
0 → 100644
View file @
dcfe227c
/*
* 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.FddGlobalFieldInfo
;
import
org.apache.ibatis.annotations.Mapper
;
/**
* 法大大模板字段信息表
*
* @author fxj
* @date 2022-06-28 16:24:12
*/
@Mapper
public
interface
FddGlobalFieldInfoMapper
extends
BaseMapper
<
FddGlobalFieldInfo
>
{
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/mapper/FddTemplateFieldInfoMapper.java
0 → 100644
View file @
dcfe227c
/*
* 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.FddTemplateFieldInfo
;
import
org.apache.ibatis.annotations.Mapper
;
/**
* 法大大字段对应信息表
*
* @author fxj
* @date 2022-06-28 16:24:12
*/
@Mapper
public
interface
FddTemplateFieldInfoMapper
extends
BaseMapper
<
FddTemplateFieldInfo
>
{
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/FddContractAttachInfoService.java
0 → 100644
View file @
dcfe227c
/*
* 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.FddContractAttachInfo
;
import
java.util.List
;
/**
* 法大大合同附属信息表
*
* @author fxj
* @date 2022-06-28 16:24:12
*/
public
interface
FddContractAttachInfoService
extends
IService
<
FddContractAttachInfo
>
{
/**
* 法大大合同附属信息表简单分页查询
* @param fddContractAttachInfo 法大大合同附属信息表
* @return
*/
IPage
<
FddContractAttachInfo
>
getFddContractAttachInfoPage
(
Page
<
FddContractAttachInfo
>
page
,
FddContractAttachInfo
fddContractAttachInfo
);
/**
* 获取有附属信息但是没有法大大电子合同的数据
* @param empIdcard
* @return
*/
List
<
FddContractAttachInfo
>
getListByNoInfoByEmpIdcard
(
String
empIdcard
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/FddContractInfoService.java
0 → 100644
View file @
dcfe227c
/*
* 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.FddContractInfo
;
/**
* 法大大合同与员工合同信息
*
* @author fxj
* @date 2022-06-29 16:21:51
*/
public
interface
FddContractInfoService
extends
IService
<
FddContractInfo
>
{
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/FddContractTemplateFileService.java
0 → 100644
View file @
dcfe227c
/*
* 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.FddContractTemplateFile
;
/**
* 法大大员工合同模板文件表
*
* @author fxj
* @date 2022-06-28 16:24:12
*/
public
interface
FddContractTemplateFileService
extends
IService
<
FddContractTemplateFile
>
{
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/FddContractTemplateService.java
0 → 100644
View file @
dcfe227c
/*
* 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.fadada.api.exception.ApiException
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.FddContractTemplate
;
/**
* 法大大员工合同模板
*
* @author fxj
* @date 2022-06-28 16:24:12
*/
public
interface
FddContractTemplateService
extends
IService
<
FddContractTemplate
>
{
/**
* 法大大员工合同模板简单分页查询
* @param fddContractTemplate 法大大员工合同模板
* @return
*/
IPage
<
FddContractTemplate
>
getFddContractTemplatePage
(
Page
<
FddContractTemplate
>
page
,
FddContractTemplate
fddContractTemplate
)
throws
ApiException
;
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/FddGlobalFieldInfoService.java
0 → 100644
View file @
dcfe227c
/*
* 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.FddGlobalFieldInfo
;
/**
* 法大大模板字段信息表
*
* @author fxj
* @date 2022-06-28 16:24:12
*/
public
interface
FddGlobalFieldInfoService
extends
IService
<
FddGlobalFieldInfo
>
{
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/FddTemplateFieldInfoService.java
0 → 100644
View file @
dcfe227c
/*
* 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.FddTemplateFieldInfo
;
/**
* 法大大字段对应信息表
*
* @author fxj
* @date 2022-06-28 16:24:12
*/
public
interface
FddTemplateFieldInfoService
extends
IService
<
FddTemplateFieldInfo
>
{
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/FddContractAttachInfoServiceImpl.java
0 → 100644
View file @
dcfe227c
/*
* 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.FddContractAttachInfo
;
import
com.yifu.cloud.plus.v1.yifu.archives.mapper.FddContractAttachInfoMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.FddContractAttachInfoService
;
import
lombok.RequiredArgsConstructor
;
import
org.apache.ibatis.annotations.Param
;
import
org.springframework.stereotype.Service
;
import
java.util.List
;
/**
* 法大大合同附属信息表
*
* @author fxj
* @date 2022-06-28 16:24:12
*/
@Service
@RequiredArgsConstructor
public
class
FddContractAttachInfoServiceImpl
extends
ServiceImpl
<
FddContractAttachInfoMapper
,
FddContractAttachInfo
>
implements
FddContractAttachInfoService
{
/**
* 法大大合同附属信息表简单分页查询
* @param fddContractAttachInfo 法大大合同附属信息表
* @return
*/
@Override
public
IPage
<
FddContractAttachInfo
>
getFddContractAttachInfoPage
(
Page
<
FddContractAttachInfo
>
page
,
FddContractAttachInfo
fddContractAttachInfo
)
{
return
baseMapper
.
getFddContractAttachInfoPage
(
page
,
fddContractAttachInfo
);
}
/**
* 获取有附属信息但是没有法大大电子合同的数据
* @param empIdcard
* @return
*/
@Override
public
List
<
FddContractAttachInfo
>
getListByNoInfoByEmpIdcard
(
@Param
(
"empIdcard"
)
String
empIdcard
)
{
return
baseMapper
.
getListByNoInfoByEmpIdcard
(
empIdcard
);
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/FddContractInfoServiceImpl.java
0 → 100644
View file @
dcfe227c
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
service
.
impl
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.FddContractInfo
;
import
com.yifu.cloud.plus.v1.yifu.archives.mapper.FddContractInfoMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.FddContractInfoService
;
import
lombok.RequiredArgsConstructor
;
import
org.springframework.stereotype.Service
;
/**
* 法大大合同与员工合同信息
*
* @author fxj
* @date 2022-06-29 16:21:51
*/
@Service
@RequiredArgsConstructor
public
class
FddContractInfoServiceImpl
extends
ServiceImpl
<
FddContractInfoMapper
,
FddContractInfo
>
implements
FddContractInfoService
{
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/FddContractTemplateFileServiceImpl.java
0 → 100644
View file @
dcfe227c
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
service
.
impl
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.FddContractTemplateFile
;
import
com.yifu.cloud.plus.v1.yifu.archives.mapper.FddContractTemplateFileMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.FddContractTemplateFileService
;
import
lombok.RequiredArgsConstructor
;
import
org.springframework.stereotype.Service
;
/**
* 法大大员工合同模板文件表
*
* @author fxj
* @date 2022-06-28 16:24:12
*/
@Service
@RequiredArgsConstructor
public
class
FddContractTemplateFileServiceImpl
extends
ServiceImpl
<
FddContractTemplateFileMapper
,
FddContractTemplateFile
>
implements
FddContractTemplateFileService
{
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/FddContractTemplateServiceImpl.java
0 → 100644
View file @
dcfe227c
/*
* 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.core.toolkit.Wrappers
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.fadada.api.bean.req.template.GetTemplateDetailReq
;
import
com.fadada.api.bean.rsp.BaseRsp
;
import
com.fadada.api.bean.rsp.template.GetTemplateDetailRsp
;
import
com.fadada.api.client.TemplateClient
;
import
com.fadada.api.exception.ApiException
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.FddContractTemplate
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.FddContractTemplateFile
;
import
com.yifu.cloud.plus.v1.yifu.archives.mapper.FddContractTemplateMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.FddContractTemplateFileService
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.FddContractTemplateService
;
import
com.yifu.cloud.plus.v1.yifu.archives.utils.FddUtil
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.CommonConstants
;
import
lombok.RequiredArgsConstructor
;
import
org.apache.commons.lang3.StringUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
java.util.List
;
/**
* 法大大员工合同模板
*
* @author fxj
* @date 2022-06-28 16:24:12
*/
@Service
@RequiredArgsConstructor
public
class
FddContractTemplateServiceImpl
extends
ServiceImpl
<
FddContractTemplateMapper
,
FddContractTemplate
>
implements
FddContractTemplateService
{
@Autowired
private
FddUtil
fddUtil
;
@Autowired
private
FddContractTemplateFileService
templateFileService
;
/**
* 法大大员工合同模板简单分页查询
*
* @param fddContractTemplate 法大大员工合同模板
* @return IPage<FddContractTemplate>
*/
@Override
public
IPage
<
FddContractTemplate
>
getFddContractTemplatePage
(
Page
<
FddContractTemplate
>
page
,
FddContractTemplate
fddContractTemplate
)
throws
ApiException
{
IPage
<
FddContractTemplate
>
fddContractTemplatePage
=
baseMapper
.
getFddContractTemplatePage
(
page
,
fddContractTemplate
);
List
<
FddContractTemplate
>
records
=
fddContractTemplatePage
.
getRecords
();
for
(
FddContractTemplate
record
:
records
)
{
//发送请求
GetTemplateDetailReq
req
=
new
GetTemplateDetailReq
();
req
.
setToken
(
fddUtil
.
getToken
());
req
.
setTemplateId
(
record
.
getFddTemplateId
());
TemplateClient
client
=
new
TemplateClient
(
fddUtil
.
getFadadaApiClient
());
BaseRsp
<
GetTemplateDetailRsp
>
rsp
=
client
.
getTemplateDetail
(
req
);
//校验参数
if
(
StringUtils
.
equals
(
rsp
.
getCode
(),
FddUtil
.
SUCCESS
))
{
String
fileId
=
rsp
.
getData
().
getTemplateFiles
().
get
(
CommonConstants
.
ZERO_INT
).
getFileId
();
FddContractTemplateFile
fddContractTemplateFile
=
templateFileService
.
getOne
(
Wrappers
.<
FddContractTemplateFile
>
query
().
lambda
().
eq
(
FddContractTemplateFile:
:
getFddTemplateId
,
record
.
getFddTemplateId
()));
if
(
fddContractTemplateFile
!=
null
&&!
StringUtils
.
equals
(
fddContractTemplateFile
.
getFddFileId
(),
fileId
)){
fddContractTemplateFile
.
setFddFileId
(
fileId
);
templateFileService
.
updateById
(
fddContractTemplateFile
);
}
}
}
return
fddContractTemplatePage
;
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/FddGlobalFieldInfoServiceImpl.java
0 → 100644
View file @
dcfe227c
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
service
.
impl
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.FddGlobalFieldInfo
;
import
com.yifu.cloud.plus.v1.yifu.archives.mapper.FddGlobalFieldInfoMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.FddGlobalFieldInfoService
;
import
org.springframework.stereotype.Service
;
/**
* 法大大模板字段信息表
*
* @author fxj
* @date 2022-06-28 16:24:12
*/
@Service
public
class
FddGlobalFieldInfoServiceImpl
extends
ServiceImpl
<
FddGlobalFieldInfoMapper
,
FddGlobalFieldInfo
>
implements
FddGlobalFieldInfoService
{
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/FddPersonAccountServiceImpl.java
View file @
dcfe227c
...
@@ -46,6 +46,7 @@ import com.yifu.cloud.plus.v1.yifu.common.core.util.Common;
...
@@ -46,6 +46,7 @@ import com.yifu.cloud.plus.v1.yifu.common.core.util.Common;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
lombok.RequiredArgsConstructor
;
import
lombok.RequiredArgsConstructor
;
import
org.apache.commons.lang3.StringUtils
;
import
org.apache.commons.lang3.StringUtils
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.boot.context.properties.EnableConfigurationProperties
;
import
org.springframework.boot.context.properties.EnableConfigurationProperties
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
...
@@ -63,15 +64,20 @@ import java.util.List;
...
@@ -63,15 +64,20 @@ import java.util.List;
@EnableConfigurationProperties
(
FddConfigProperties
.
class
)
@EnableConfigurationProperties
(
FddConfigProperties
.
class
)
public
class
FddPersonAccountServiceImpl
extends
ServiceImpl
<
FddPersonAccountMapper
,
FddPersonAccount
>
implements
FddPersonAccountService
{
public
class
FddPersonAccountServiceImpl
extends
ServiceImpl
<
FddPersonAccountMapper
,
FddPersonAccount
>
implements
FddPersonAccountService
{
private
final
FddCompanyInfoService
fddCompanyInfoService
;
@Autowired
private
FddCompanyInfoService
fddCompanyInfoService
;
private
final
FddConfigProperties
fddConfigProperties
;
@Autowired
private
FddConfigProperties
fddConfigProperties
;
private
final
FddUtil
fddUtil
;
@Autowired
private
FddUtil
fddUtil
;
private
final
FddSealPersonAuthService
fddSealPersonAuthService
;
@Autowired
private
FddSealPersonAuthService
fddSealPersonAuthService
;
private
final
FddReqLogService
reqLogService
;
@Autowired
private
FddReqLogService
reqLogService
;
@Override
@Override
public
IPage
<
FddPersonAccount
>
getFddPersonAccountPage
(
Page
<
FddPersonAccount
>
page
,
FddPersonAccount
fddPersonAccount
)
{
public
IPage
<
FddPersonAccount
>
getFddPersonAccountPage
(
Page
<
FddPersonAccount
>
page
,
FddPersonAccount
fddPersonAccount
)
{
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/FddTemplateFieldInfoServiceImpl.java
0 → 100644
View file @
dcfe227c
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
service
.
impl
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.FddTemplateFieldInfo
;
import
com.yifu.cloud.plus.v1.yifu.archives.mapper.FddTemplateFieldInfoMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.FddTemplateFieldInfoService
;
import
lombok.RequiredArgsConstructor
;
import
org.springframework.stereotype.Service
;
/**
* 法大大字段对应信息表
*
* @author fxj
* @date 2022-06-28 16:24:12
*/
@Service
@RequiredArgsConstructor
public
class
FddTemplateFieldInfoServiceImpl
extends
ServiceImpl
<
FddTemplateFieldInfoMapper
,
FddTemplateFieldInfo
>
implements
FddTemplateFieldInfoService
{
}
yifu-archives/yifu-archives-biz/src/main/resources/mapper/FddContractAttachInfoMapper.xml
0 → 100644
View file @
dcfe227c
<?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.FddContractAttachInfoMapper"
>
<resultMap
id=
"fddContractAttachInfoMap"
type=
"com.yifu.cloud.plus.v1.yifu.archives.entity.FddContractAttachInfo"
>
<id
property=
"id"
column=
"ID"
/>
<result
property=
"contractId"
column=
"CONTRACT_ID"
/>
<result
property=
"periodStart"
column=
"PERIOD_START"
/>
<result
property=
"periodEnd"
column=
"PERIOD_END"
/>
<result
property=
"contractStart"
column=
"CONTRACT_START"
/>
<result
property=
"contractEnd"
column=
"CONTRACT_END"
/>
<result
property=
"periodSalaryPerMonth"
column=
"PERIOD_SALARY_PER_MONTH"
/>
<result
property=
"salaryType"
column=
"SALARY_TYPE"
/>
<result
property=
"salaryStandardPerHour"
column=
"SALARY_STANDARD_PER_HOUR"
/>
<result
property=
"salaryStandardPerPiece"
column=
"SALARY_STANDARD_PER_PIECE"
/>
<result
property=
"workSpace"
column=
"WORK_SPACE"
/>
<result
property=
"post"
column=
"POST"
/>
<result
property=
"remark"
column=
"REMARK"
/>
<result
property=
"deleteFlag"
column=
"DELETE_FLAG"
/>
<result
property=
"isMove"
column=
"IS_MOVE"
/>
<result
property=
"fddTemplateId"
column=
"FDD_TEMPLATE_ID"
/>
<result
property=
"empName"
column=
"EMP_NAME"
/>
<result
property=
"empIdcard"
column=
"EMP_IDCARD"
/>
<result
property=
"empPhone"
column=
"EMP_PHONE"
/>
<result
property=
"departNo"
column=
"DEPART_NO"
/>
<result
property=
"createBy"
column=
"CREATE_BY"
/>
<result
property=
"updateBy"
column=
"UPDATE_BY"
/>
<result
property=
"createTime"
column=
"CREATE_TIME"
/>
<result
property=
"updateTime"
column=
"UPDATE_TIME"
/>
<result
property=
"createName"
column=
"CREATE_NAME"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
a.ID,
a.CONTRACT_ID,
a.PERIOD_START,
a.PERIOD_END,
a.PERIOD_SALARY_PER_MONTH,
a.SALARY_TYPE,
a.SALARY_STANDARD_PER_HOUR,
a.SALARY_STANDARD_PER_PIECE,
a.CREATE_USER_ID,
a.REMARK,
a.DELETE_FLAG,
a.WORK_SPACE,
a.IS_MOVE,
a.FDD_TEMPLATE_ID,
a.EMP_NAME,
a.EMP_IDCARD,
a.EMP_PHONE,
a.DEPART_NO,
a.CONTRACT_START,
a.CONTRACT_END,
a.CREATE_BY,
a.CREATE_NAME,
a.CREATE_TIME,
a.UPDATE_BY,
a.UPDATE_TIME
</sql>
<sql
id=
"fddContractAttachInfo_where"
>
<if
test=
"fddContractAttachInfo != null"
>
<if
test=
"fddContractAttachInfo.id != null and fddContractAttachInfo.id.trim() != ''"
>
AND a.ID = #{fddContractAttachInfo.id}
</if>
<if
test=
"fddContractAttachInfo.contractId != null and fddContractAttachInfo.contractId.trim() != ''"
>
AND a.CONTRACT_ID = #{fddContractAttachInfo.contractId}
</if>
<if
test=
"fddContractAttachInfo.periodStart != null"
>
AND a.PERIOD_START = #{fddContractAttachInfo.periodStart}
</if>
<if
test=
"fddContractAttachInfo.periodEnd != null"
>
AND a.PERIOD_END = #{fddContractAttachInfo.periodEnd}
</if>
<if
test=
"fddContractAttachInfo.periodSalaryPerMonth != null"
>
AND a.PERIOD_SALARY_PER_MONTH = #{fddContractAttachInfo.periodSalaryPerMonth}
</if>
<if
test=
"fddContractAttachInfo.salaryType != null and fddContractAttachInfo.salaryType.trim() != ''"
>
AND a.SALARY_TYPE = #{fddContractAttachInfo.salaryType}
</if>
<if
test=
"fddContractAttachInfo.salaryStandardPerHour != null"
>
AND a.SALARY_STANDARD_PER_HOUR = #{fddContractAttachInfo.salaryStandardPerHour}
</if>
<if
test=
"fddContractAttachInfo.salaryStandardPerPiece != null"
>
AND a.SALARY_STANDARD_PER_PIECE = #{fddContractAttachInfo.salaryStandardPerPiece}
</if>
<if
test=
"fddContractAttachInfo.createUserId != null and fddContractAttachInfo.createUserId.trim() != ''"
>
AND a.CREATE_USER_ID = #{fddContractAttachInfo.createUserId}
</if>
<if
test=
"fddContractAttachInfo.fddTemplateId != null and fddContractAttachInfo.fddTemplateId.trim() != ''"
>
AND a.FDD_TEMPLATE_ID = #{fddContractAttachInfo.fddTemplateId}
</if>
<if
test=
"fddContractAttachInfo.empName != null and fddContractAttachInfo.empName.trim() != ''"
>
AND a.EMP_NAME = #{fddContractAttachInfo.empName}
</if>
<if
test=
"fddContractAttachInfo.empIdcard != null and fddContractAttachInfo.empIdcard.trim() != ''"
>
AND a.EMP_IDCARD = #{fddContractAttachInfo.empIdcard}
</if>
<if
test=
"fddContractAttachInfo.empPhone != null and fddContractAttachInfo.empPhone.trim() != ''"
>
AND a.EMP_PHONE = #{fddContractAttachInfo.empPhone}
</if>
<if
test=
"fddContractAttachInfo.departNo != null and fddContractAttachInfo.departNo.trim() != ''"
>
AND a.DEPART_NO = #{fddContractAttachInfo.departNo}
</if>
<if
test=
"fddContractAttachInfo.contractStart != null"
>
AND a.CONTRACT_START = #{fddContractAttachInfo.contractStart}
</if>
<if
test=
"fddContractAttachInfo.contractEnd != null"
>
AND a.CONTRACT_END = #{fddContractAttachInfo.contractEnd}
</if>
<if
test=
"fddContractAttachInfo.createBy != null and fddContractAttachInfo.createBy.trim() != ''"
>
AND a.CREATE_BY = #{fddContractAttachInfo.createBy}
</if>
<if
test=
"fddContractAttachInfo.createName != null and fddContractAttachInfo.createName.trim() != ''"
>
AND a.CREATE_NAME = #{fddContractAttachInfo.createName}
</if>
<if
test=
"fddContractAttachInfo.createTime != null"
>
AND a.CREATE_TIME = #{fddContractAttachInfo.createTime}
</if>
<if
test=
"fddContractAttachInfo.updateBy != null and fddContractAttachInfo.updateBy.trim() != ''"
>
AND a.UPDATE_BY = #{fddContractAttachInfo.updateBy}
</if>
<if
test=
"fddContractAttachInfo.updateTime != null"
>
AND a.UPDATE_TIME = #{fddContractAttachInfo.updateTime}
</if>
</if>
</sql>
<!--fddContractAttachInfo简单分页查询-->
<select
id=
"getFddContractAttachInfoPage"
resultMap=
"fddContractAttachInfoMap"
>
SELECT
<include
refid=
"Base_Column_List"
/>
,
i.id FDD_CONTRACT_ID,i.TASK_STATUS,i.SEND_SIGN_STATUS,i.RECEIVE_SIGN_STATUS,i.SIGN_STATUS,i.TASK_ID,i.SIGN_TASK_ID,i.DRAFT_ID,i.REMARK SIGN_REMARK
FROM fdd_contract_attach_info a
left join fdd_contract_info i on a.CONTRACT_ID=i.CONTRACT_ID
<where>
1=1 and a.DELETE_FLAG='0' and (i.DELETE_FLAG='0' or i.id is null )
<include
refid=
"fddContractAttachInfo_where"
/>
</where>
order by a.CREATE_TIME desc
</select>
<select
id=
"getListByNoInfoByEmpIdcard"
resultType=
"com.yifu.cloud.plus.v1.yifu.archives.entity.FddContractAttachInfo"
>
select a.* FROM fdd_contract_attach_info a
left join fdd_contract_info i on a.CONTRACT_ID=i.CONTRACT_ID
left join t_employee_contract_info c on a.CONTRACT_ID=c.ID
left join t_employee_info e on c.EMP_Id=e.ID
where e.EMP_IDCARD=#{empIdcard} and i.id is null and a.DELETE_FLAG='0' order by a.CREATE_TIME desc
</select>
</mapper>
yifu-archives/yifu-archives-biz/src/main/resources/mapper/FddContractInfoMapper.xml
0 → 100644
View file @
dcfe227c
<?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.FddContractInfoMapper"
>
<resultMap
id=
"fddContractInfoMap"
type=
"com.yifu.cloud.plus.v1.yifu.archives.entity.FddContractInfo"
>
<id
property=
"id"
column=
"ID"
/>
<result
property=
"contractId"
column=
"CONTRACT_ID"
/>
<result
property=
"fddPersonAccountSendId"
column=
"FDD_PERSON_ACCOUNT_SEND_ID"
/>
<result
property=
"fddPersonAccountReceiveId"
column=
"FDD_PERSON_ACCOUNT_RECEIVE_ID"
/>
<result
property=
"sendUnionid"
column=
"SEND_UNIONID"
/>
<result
property=
"receiveUnionid"
column=
"RECEIVE_UNIONID"
/>
<result
property=
"taskStatus"
column=
"TASK_STATUS"
/>
<result
property=
"sendSignStatus"
column=
"SEND_SIGN_STATUS"
/>
<result
property=
"taskId"
column=
"TASK_ID"
/>
<result
property=
"fileId"
column=
"FILE_ID"
/>
<result
property=
"draftId"
column=
"DRAFT_ID"
/>
<result
property=
"deleteFlag"
column=
"DELETE_FLAG"
/>
<result
property=
"signTaskId"
column=
"SIGN_TASK_ID"
/>
<result
property=
"receiveSignStatus"
column=
"RECEIVE_SIGN_STATUS"
/>
<result
property=
"signStatus"
column=
"SIGN_STATUS"
/>
<result
property=
"remark"
column=
"REMARK"
/>
<result
property=
"fddTemplateId"
column=
"FDD_TEMPLATE_ID"
/>
<result
property=
"createBy"
column=
"CREATE_BY"
/>
<result
property=
"updateBy"
column=
"UPDATE_BY"
/>
<result
property=
"createTime"
column=
"CREATE_TIME"
/>
<result
property=
"updateTime"
column=
"UPDATE_TIME"
/>
<result
property=
"createName"
column=
"CREATE_NAME"
/>
</resultMap>
<update
id=
"cancleSignTask"
>
update fdd_contract_info set SIGN_STATUS=0,SIGN_TASK_ID=null where id=#{id}
</update>
</mapper>
yifu-archives/yifu-archives-biz/src/main/resources/mapper/FddContractTemplateFileMapper.xml
0 → 100644
View file @
dcfe227c
<?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.FddContractTemplateFileMapper"
>
<resultMap
id=
"fddContractTemplateFileMap"
type=
"com.yifu.cloud.plus.v1.yifu.archives.entity.FddContractTemplateFile"
>
<id
property=
"id"
column=
"ID"
/>
<result
property=
"fddTemplateId"
column=
"FDD_TEMPLATE_ID"
/>
<result
property=
"fddFileId"
column=
"FDD_FILE_ID"
/>
</resultMap>
</mapper>
yifu-archives/yifu-archives-biz/src/main/resources/mapper/FddContractTemplateMapper.xml
0 → 100644
View file @
dcfe227c
<?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.FddContractTemplateMapper"
>
<resultMap
id=
"fddContractTemplateMap"
type=
"com.yifu.cloud.plus.v1.yifu.archives.entity.FddContractTemplate"
>
<id
property=
"id"
column=
"ID"
/>
<result
property=
"type"
column=
"TYPE"
/>
<result
property=
"modifyUploadStatus"
column=
"MODIFY_UPLOAD_STATUS"
/>
<result
property=
"province"
column=
"PROVINCE"
/>
<result
property=
"city"
column=
"CITY"
/>
<result
property=
"overtimeWageFlag"
column=
"OVERTIME_WAGE_FLAG"
/>
<result
property=
"fddTemplateId"
column=
"FDD_TEMPLATE_ID"
/>
<result
property=
"localName"
column=
"LOCAL_NAME"
/>
<result
property=
"signerName"
column=
"SIGNER_NAME"
/>
<result
property=
"createBy"
column=
"CREATE_BY"
/>
<result
property=
"updateBy"
column=
"UPDATE_BY"
/>
<result
property=
"createTime"
column=
"CREATE_TIME"
/>
<result
property=
"updateTime"
column=
"UPDATE_TIME"
/>
<result
property=
"createName"
column=
"CREATE_NAME"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
a.ID,
a.TYPE,
a.modify_upload_status,
a.province,
a.city,
a.OVERTIME_WAGE_FLAG,
a.FDD_TEMPLATE_ID,
a.LOCAL_NAME,
a.SIGNER_NAME,
a.CREATE_BY,
a.CREATE_NAME,
a.CREATE_TIME,
a.UPDATE_BY,
a.UPDATE_TIME
</sql>
<sql
id=
"fddContractTemplate_where"
>
<if
test=
"fddContractTemplate != null"
>
<if
test=
"fddContractTemplate.id != null and fddContractTemplate.id.trim() != ''"
>
AND a.ID = #{fddContractTemplate.id}
</if>
<if
test=
"fddContractTemplate.localName != null and fddContractTemplate.localName.trim() != ''"
>
AND a.LOCAL_NAME like CONCAT(#{fddContractTemplate.localName},'%')
</if>
<if
test=
"fddContractTemplate.type != null and fddContractTemplate.type.trim() != ''"
>
AND a.TYPE = #{fddContractTemplate.type}
</if>
<if
test=
"fddContractTemplate.modifyUploadStatus != null and fddContractTemplate.modifyUploadStatus.trim() != ''"
>
AND a.modify_upload_status = #{fddContractTemplate.modifyUploadStatus}
</if>
<if
test=
"fddContractTemplate.province != null"
>
AND a.province = #{fddContractTemplate.province}
</if>
<if
test=
"fddContractTemplate.city != null"
>
AND a.city = #{fddContractTemplate.city}
</if>
<if
test=
"fddContractTemplate.overtimeWageFlag != null and fddContractTemplate.overtimeWageFlag.trim() != ''"
>
AND a.OVERTIME_WAGE_FLAG = #{fddContractTemplate.overtimeWageFlag}
</if>
<if
test=
"fddContractTemplate.signerName != null and fddContractTemplate.signerName.trim() != ''"
>
AND a.SIGNER_NAME = #{fddContractTemplate.signerName}
</if>
<if
test=
"fddContractTemplate.createBy != null and fddContractTemplate.createBy.trim() != ''"
>
AND a.CREATE_BY = #{fddContractTemplate.createBy}
</if>
<if
test=
"fddContractTemplate.createName != null and fddContractTemplate.createName.trim() != ''"
>
AND a.CREATE_NAME = #{fddContractTemplate.createName}
</if>
<if
test=
"fddContractTemplate.createTime != null"
>
AND a.CREATE_TIME = #{fddContractTemplate.createTime}
</if>
<if
test=
"fddContractTemplate.updateBy != null and fddContractTemplate.updateBy.trim() != ''"
>
AND a.UPDATE_BY = #{fddContractTemplate.updateBy}
</if>
<if
test=
"fddContractTemplate.updateTime != null"
>
AND a.UPDATE_TIME = #{fddContractTemplate.updateTime}
</if>
</if>
</sql>
<!--fddContractTemplate简单分页查询-->
<select
id=
"getFddContractTemplatePage"
resultMap=
"fddContractTemplateMap"
>
SELECT
<include
refid=
"Base_Column_List"
/>
FROM fdd_contract_template a
<where>
1=1
<include
refid=
"fddContractTemplate_where"
/>
</where>
</select>
<update
id=
"updateTeFddTemplateNull"
>
update fdd_contract_template set FDD_TEMPLATE_ID=null where id=#{id}
</update>
</mapper>
yifu-archives/yifu-archives-biz/src/main/resources/mapper/FddGlobalFieldInfoMapper.xml
0 → 100644
View file @
dcfe227c
<?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.FddGlobalFieldInfoMapper"
>
<resultMap
id=
"fddGlobalFieldInfoMap"
type=
"com.yifu.cloud.plus.v1.yifu.archives.entity.FddGlobalFieldInfo"
>
<id
property=
"id"
column=
"ID"
/>
<result
property=
"filedName"
column=
"FILED_NAME"
/>
<result
property=
"remark"
column=
"REMARK"
/>
<result
property=
"type"
column=
"TYPE"
/>
</resultMap>
</mapper>
yifu-archives/yifu-archives-biz/src/main/resources/mapper/FddTemplateFieldInfoMapper.xml
0 → 100644
View file @
dcfe227c
<?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.FddTemplateFieldInfoMapper"
>
<resultMap
id=
"fddTemplateFieldInfoMap"
type=
"com.yifu.cloud.plus.v1.yifu.archives.entity.FddTemplateFieldInfo"
>
<id
property=
"id"
column=
"ID"
/>
<result
property=
"type"
column=
"TYPE"
/>
<result
property=
"filedName"
column=
"FILED_NAME"
/>
<result
property=
"templateId"
column=
"TEMPLATE_ID"
/>
</resultMap>
</mapper>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment