Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
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
a3fa1d95
You need to sign in or sign up before continuing.
Commit
a3fa1d95
authored
Jun 16, 2025
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
合同签署配置-fxj
parent
3b767978
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
1742 additions
and
36 deletions
+1742
-36
TAutoContractRuleInfo.java
...d/plus/v1/yifu/archives/entity/TAutoContractRuleInfo.java
+162
-0
TAutoContractScheme.java
...oud/plus/v1/yifu/archives/entity/TAutoContractScheme.java
+588
-0
TAutoMainRelAddVo.java
...ifu/cloud/plus/v1/yifu/archives/vo/TAutoMainRelAddVo.java
+6
-0
TAutoMainRelDetailVo.java
.../cloud/plus/v1/yifu/archives/vo/TAutoMainRelDetailVo.java
+6
-0
TAutoMainRelController.java
...s/v1/yifu/archives/controller/TAutoMainRelController.java
+12
-2
TAutoContractRuleInfoMapper.java
.../v1/yifu/archives/mapper/TAutoContractRuleInfoMapper.java
+42
-0
TAutoContractSchemeMapper.java
...us/v1/yifu/archives/mapper/TAutoContractSchemeMapper.java
+42
-0
TAutoContractRuleInfoService.java
...1/yifu/archives/service/TAutoContractRuleInfoService.java
+30
-0
TAutoContractSchemeService.java
.../v1/yifu/archives/service/TAutoContractSchemeService.java
+32
-0
TAutoMainRelService.java
...ud/plus/v1/yifu/archives/service/TAutoMainRelService.java
+3
-0
TAutoContractRuleInfoServiceImpl.java
...chives/service/impl/TAutoContractRuleInfoServiceImpl.java
+36
-0
TAutoContractSchemeServiceImpl.java
...archives/service/impl/TAutoContractSchemeServiceImpl.java
+36
-0
TAutoMainRelServiceImpl.java
...1/yifu/archives/service/impl/TAutoMainRelServiceImpl.java
+295
-34
TAutoContractRuleInfoMapper.xml
...src/main/resources/mapper/TAutoContractRuleInfoMapper.xml
+139
-0
TAutoContractSchemeMapper.xml
...z/src/main/resources/mapper/TAutoContractSchemeMapper.xml
+313
-0
No files found.
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/entity/TAutoContractRuleInfo.java
0 → 100644
View file @
a3fa1d95
/*
* Copyright (c) 2018-2025, lengleng All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* Neither the name of the yifu4cloud.com developer nor the names of its
* contributors may be used to endorse or promote products derived from
* this software without specific prior written permission.
* Author: lengleng (wangiegie@gmail.com)
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
entity
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute
;
import
com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
org.hibernate.validator.constraints.Length
;
import
javax.validation.constraints.NotBlank
;
/**
* 员工合同签订规则配置表
*
* @author fxj
* @date 2025-06-10 16:24:30
*/
@Data
@TableName
(
"t_auto_contract_rule_info"
)
@EqualsAndHashCode
(
callSuper
=
true
)
@Schema
(
description
=
"员工合同签订规则配置表"
)
public
class
TAutoContractRuleInfo
extends
BaseEntity
{
/**
* 主键
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@ExcelProperty
(
"主键"
)
@Schema
(
description
=
"主键"
)
private
String
id
;
/**
* 是否自动触发申请:0自动生成合同申请 1手动发起合同申请
*/
@ExcelAttribute
(
name
=
"是否自动触发申请"
,
isNotEmpty
=
true
,
errorInfo
=
"是否自动触发申请不能为空"
,
maxLength
=
1
)
@NotBlank
(
message
=
"是否自动触发申请不能为空"
)
@Length
(
max
=
1
,
message
=
"是否自动触发申请不能超过1个字符"
)
@ExcelProperty
(
"是否自动触发申请"
)
@Schema
(
description
=
"是否自动触发申请:0自动生成合同申请 1手动发起合同申请"
)
private
String
autoFlag
;
/**
* 新签合同发起时间类型 0 入职日期 1入职3天后 2入职1周后 3入职2周后 4入职3周后
*/
@ExcelAttribute
(
name
=
"新签合同发起时间类型 "
,
maxLength
=
1
)
@Length
(
max
=
1
,
message
=
"新签合同发起时间类型 不能超过1个字符"
)
@ExcelProperty
(
"新签合同发起时间类型 "
)
@Schema
(
description
=
"新签合同发起时间类型 0 入职日期 1入职3天后 2入职1周后 3入职2周后 4入职3周后"
)
private
String
newSignType
;
/**
* 新签合同发起时间
*/
@ExcelAttribute
(
name
=
"新签合同发起时间"
,
maxLength
=
10
)
@Length
(
max
=
10
,
message
=
"新签合同发起时间不能超过10个字符"
)
@ExcelProperty
(
"新签合同发起时间"
)
@Schema
(
description
=
"新签合同发起时间"
)
private
String
newSignDate
;
/**
* 确认签署时间类型 0 签订发起日
*/
@ExcelAttribute
(
name
=
"确认签署时间类型 "
,
maxLength
=
1
)
@Length
(
max
=
1
,
message
=
"确认签署时间类型 不能超过1个字符"
)
@ExcelProperty
(
"确认签署时间类型 "
)
@Schema
(
description
=
"确认签署时间类型 0 签订发起日"
)
private
String
confirmSignType
;
/**
* 确认签署时间
*/
@ExcelAttribute
(
name
=
"确认签署时间"
,
maxLength
=
10
)
@Length
(
max
=
10
,
message
=
"确认签署时间不能超过10个字符"
)
@ExcelProperty
(
"确认签署时间"
)
@Schema
(
description
=
"确认签署时间"
)
private
String
confirmSignDate
;
/**
* 续签合同发起时间类型 0 上一份合同到期前一个月
*/
@ExcelAttribute
(
name
=
"续签合同发起时间类型 "
,
maxLength
=
1
)
@Length
(
max
=
1
,
message
=
"续签合同发起时间类型 不能超过1个字符"
)
@ExcelProperty
(
"续签合同发起时间类型 "
)
@Schema
(
description
=
"续签合同发起时间类型 0 上一份合同到期前一个月"
)
private
String
renewalDateType
;
/**
* 续签合同发起时间
*/
@ExcelAttribute
(
name
=
"续签合同发起时间"
,
maxLength
=
10
)
@Length
(
max
=
10
,
message
=
"续签合同发起时间不能超过10个字符"
)
@ExcelProperty
(
"续签合同发起时间"
)
@Schema
(
description
=
"续签合同发起时间"
)
private
String
renewalDate
;
/**
* 入职确认选择 0 配置方案内选择、1 自定义 2 配置方案+自定义
*/
@ExcelAttribute
(
name
=
"入职确认选择"
,
maxLength
=
1
)
@Length
(
max
=
1
,
message
=
"入职确认选择不能超过1个字符"
)
@ExcelProperty
(
"入职确认选择"
)
@Schema
(
description
=
"入职确认选择 0 配置方案内选择、1 自定义 2 配置方案+自定义"
)
private
String
confirmEmpSelect
;
/**
* 超时未确认是否触发签署任务(电子签) 0 自动触发 1 不触发
*/
@ExcelAttribute
(
name
=
"超时未确认是否触发签署任务(电子签)"
,
maxLength
=
1
)
@Length
(
max
=
1
,
message
=
"超时未确认是否触发签署任务(电子签)不能超过1个字符"
)
@ExcelProperty
(
"超时未确认是否触发签署任务(电子签)"
)
@Schema
(
description
=
"超时未确认是否触发签署任务(电子签) 0 自动触发 1 不触发"
)
private
String
timeoutElecSign
;
/**
* 签署方式 0 电子签 1 线下签
*/
@ExcelAttribute
(
name
=
"签署方式"
,
isNotEmpty
=
true
,
errorInfo
=
"签署方式不能为空"
,
maxLength
=
1
)
@NotBlank
(
message
=
"签署方式不能为空"
)
@Length
(
max
=
1
,
message
=
"签署方式不能超过1个字符"
)
@ExcelProperty
(
"签署方式"
)
@Schema
(
description
=
"签署方式 0 电子签 1 线下签"
)
private
String
signType
;
/**
* 项目配置主表ID
*/
@ExcelAttribute
(
name
=
"项目配置主表ID"
,
errorInfo
=
"项目配置主表ID不能为空"
,
maxLength
=
32
)
@NotBlank
(
message
=
"项目配置主表ID不能为空"
)
@Length
(
max
=
32
,
message
=
"项目配置主表ID不能超过32个字符"
)
@ExcelProperty
(
"项目配置主表ID"
)
@Schema
(
description
=
"项目配置主表ID"
)
private
String
mainId
;
/**
* 项目编码
*/
@ExcelAttribute
(
name
=
"项目编码"
,
errorInfo
=
"项目编码不能为空"
,
maxLength
=
50
)
@NotBlank
(
message
=
"项目编码不能为空"
)
@Length
(
max
=
50
,
message
=
"项目编码不能超过50个字符"
)
@ExcelProperty
(
"项目编码"
)
@Schema
(
description
=
"项目编码"
)
private
String
deptNo
;
/**
* 项目ID
*/
@ExcelAttribute
(
name
=
"项目ID"
,
errorInfo
=
"项目ID不能为空"
,
maxLength
=
32
)
@NotBlank
(
message
=
"项目ID不能为空"
)
@Length
(
max
=
32
,
message
=
"项目ID不能超过32个字符"
)
@ExcelProperty
(
"项目ID"
)
@Schema
(
description
=
"项目ID"
)
private
String
deptId
;
}
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/entity/TAutoContractScheme.java
0 → 100644
View file @
a3fa1d95
This diff is collapsed.
Click to expand it.
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/vo/TAutoMainRelAddVo.java
View file @
a3fa1d95
...
...
@@ -40,4 +40,10 @@ public class TAutoMainRelAddVo implements Serializable {
private
TAutoInsurRuleInfo
autoInsurRuleInfo
;
//商险购买标准配置表
private
List
<
TAutoInsurStandard
>
insurStandards
;
//员工合同签订规则配置表
private
TAutoContractRuleInfo
contractRuleInfo
;
//员工合同签订规则配置方案子表表
private
List
<
TAutoContractScheme
>
contractSchemes
;
}
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/vo/TAutoMainRelDetailVo.java
View file @
a3fa1d95
...
...
@@ -54,4 +54,10 @@ public class TAutoMainRelDetailVo implements Serializable {
//商险购买标准表
private
List
<
TAutoInsurStandard
>
autoInsurStandards
;
//员工合同签订规则配置表
private
TAutoContractRuleInfo
contractRuleInfo
;
//员工合同签订规则配置方案子表表
private
List
<
TAutoContractScheme
>
contractSchemes
;
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/controller/TAutoMainRelController.java
View file @
a3fa1d95
...
...
@@ -19,13 +19,13 @@ package com.yifu.cloud.plus.v1.yifu.archives.controller;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TAutoContractScheme
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TAutoMainRel
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.TAutoMainRelService
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.TAutoMainRelAddVo
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.TAutoMainRelDetailVo
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.TAutoMainRelExportVo
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.TAutoMainRelSearchVo
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.Common
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.ErrorMessage
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.common.core.vo.YifuUser
;
...
...
@@ -60,7 +60,17 @@ public class TAutoMainRelController {
private
final
MenuUtil
menuUtil
;
/**
* 员工合同签订规则-方案分页查询
* @param page 分页对象
* @param search 项目配置表主表
* @return
*/
@Operation
(
description
=
"简单分页查询"
)
@GetMapping
(
"/contractSchemePage"
)
public
R
<
IPage
<
TAutoContractScheme
>>
getContractSchemePage
(
Page
<
TAutoContractScheme
>
page
,
TAutoContractScheme
search
)
{
return
new
R
<>(
tAutoMainRelService
.
getContractSchemePage
(
page
,
search
));
}
/**
* 简单分页查询
* @param page 分页对象
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/mapper/TAutoContractRuleInfoMapper.java
0 → 100644
View file @
a3fa1d95
/*
* 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.TAutoContractRuleInfo
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
/**
* 员工合同签订规则配置表
*
* @author fxj
* @date 2025-06-10 16:24:30
*/
@Mapper
public
interface
TAutoContractRuleInfoMapper
extends
BaseMapper
<
TAutoContractRuleInfo
>
{
/**
* 员工合同签订规则配置表简单分页查询
*
* @param tAutoContractRuleInfo 员工合同签订规则配置表
* @return
*/
IPage
<
TAutoContractRuleInfo
>
getTAutoContractRuleInfoPage
(
Page
<
TAutoContractRuleInfo
>
page
,
@Param
(
"tAutoContractRuleInfo"
)
TAutoContractRuleInfo
tAutoContractRuleInfo
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/mapper/TAutoContractSchemeMapper.java
0 → 100644
View file @
a3fa1d95
/*
* 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.TAutoContractScheme
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
/**
* 员工合同签订配置方案子表
*
* @author fxj
* @date 2025-06-10 16:24:30
*/
@Mapper
public
interface
TAutoContractSchemeMapper
extends
BaseMapper
<
TAutoContractScheme
>
{
/**
* 员工合同签订配置方案子表简单分页查询
*
* @param tAutoContractScheme 员工合同签订配置方案子表
* @return
*/
IPage
<
TAutoContractScheme
>
getTAutoContractSchemePage
(
Page
<
TAutoContractScheme
>
page
,
@Param
(
"tAutoContractScheme"
)
TAutoContractScheme
tAutoContractScheme
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/TAutoContractRuleInfoService.java
0 → 100644
View file @
a3fa1d95
/*
* 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.TAutoContractRuleInfo
;
/**
* 员工合同签订规则配置表
*
* @author fxj
* @date 2025-06-10 16:24:30
*/
public
interface
TAutoContractRuleInfoService
extends
IService
<
TAutoContractRuleInfo
>
{
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/TAutoContractSchemeService.java
0 → 100644
View file @
a3fa1d95
/*
* 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.TAutoContractScheme
;
/**
* 员工合同签订配置方案子表
*
* @author fxj
* @date 2025-06-10 16:24:30
*/
public
interface
TAutoContractSchemeService
extends
IService
<
TAutoContractScheme
>
{
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/TAutoMainRelService.java
View file @
a3fa1d95
...
...
@@ -20,6 +20,7 @@ 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.TAutoContractScheme
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TAutoMainRel
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.TAutoMainRelAddVo
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.TAutoMainRelDetailVo
;
...
...
@@ -59,4 +60,6 @@ public interface TAutoMainRelService extends IService<TAutoMainRel> {
R
<
Boolean
>
updateAsso
(
TAutoMainRelAddVo
entity
);
R
<
TAutoMainRelDetailVo
>
getProjectRule
(
String
deptId
,
String
deptNo
);
IPage
<
TAutoContractScheme
>
getContractSchemePage
(
Page
<
TAutoContractScheme
>
page
,
TAutoContractScheme
search
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TAutoContractRuleInfoServiceImpl.java
0 → 100644
View file @
a3fa1d95
/*
* 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.TAutoContractRuleInfo
;
import
com.yifu.cloud.plus.v1.yifu.archives.mapper.TAutoContractRuleInfoMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.TAutoContractRuleInfoService
;
import
lombok.extern.log4j.Log4j2
;
import
org.springframework.stereotype.Service
;
/**
* 员工合同签订规则配置表
*
* @author fxj
* @date 2025-06-10 16:24:30
*/
@Log4j2
@Service
public
class
TAutoContractRuleInfoServiceImpl
extends
ServiceImpl
<
TAutoContractRuleInfoMapper
,
TAutoContractRuleInfo
>
implements
TAutoContractRuleInfoService
{
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TAutoContractSchemeServiceImpl.java
0 → 100644
View file @
a3fa1d95
/*
* 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.TAutoContractScheme
;
import
com.yifu.cloud.plus.v1.yifu.archives.mapper.TAutoContractSchemeMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.TAutoContractSchemeService
;
import
lombok.extern.log4j.Log4j2
;
import
org.springframework.stereotype.Service
;
/**
* 员工合同签订配置方案子表
*
* @author fxj
* @date 2025-06-10 16:24:30
*/
@Log4j2
@Service
public
class
TAutoContractSchemeServiceImpl
extends
ServiceImpl
<
TAutoContractSchemeMapper
,
TAutoContractScheme
>
implements
TAutoContractSchemeService
{
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TAutoMainRelServiceImpl.java
View file @
a3fa1d95
This diff is collapsed.
Click to expand it.
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TAutoContractRuleInfoMapper.xml
0 → 100644
View file @
a3fa1d95
<?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.TAutoContractRuleInfoMapper"
>
<resultMap
id=
"tAutoContractRuleInfoMap"
type=
"com.yifu.cloud.plus.v1.yifu.archives.entity.TAutoContractRuleInfo"
>
<id
property=
"id"
column=
"ID"
/>
<result
property=
"autoFlag"
column=
"AUTO_FLAG"
/>
<result
property=
"newSignType"
column=
"NEW_SIGN_TYPE"
/>
<result
property=
"newSignDate"
column=
"NEW_SIGN_DATE"
/>
<result
property=
"confirmSignType"
column=
"CONFIRM_SIGN_TYPE"
/>
<result
property=
"confirmSignDate"
column=
"CONFIRM_SIGN_DATE"
/>
<result
property=
"renewalDateType"
column=
"RENEWAL_DATE_TYPE"
/>
<result
property=
"renewalDate"
column=
"RENEWAL_DATE_"
/>
<result
property=
"confirmEmpSelect"
column=
"CONFIRM_EMP_SELECT"
/>
<result
property=
"timeoutElecSign"
column=
"TIMEOUT_ELEC_SIGN"
/>
<result
property=
"signType"
column=
"SIGN_TYPE"
/>
<result
property=
"mainId"
column=
"MAIN_ID"
/>
<result
property=
"createBy"
column=
"CREATE_BY"
/>
<result
property=
"createName"
column=
"CREATE_NAME"
/>
<result
property=
"createTime"
column=
"CREATE_TIME"
/>
<result
property=
"updateBy"
column=
"UPDATE_BY"
/>
<result
property=
"updateTime"
column=
"UPDATE_TIME"
/>
<result
property=
"deptNo"
column=
"DEPT_NO"
/>
<result
property=
"deptId"
column=
"DEPT_ID"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
a.ID,
a.AUTO_FLAG,
a.NEW_SIGN_TYPE,
a.NEW_SIGN_DATE,
a.CONFIRM_SIGN_TYPE,
a.CONFIRM_SIGN_DATE,
a.RENEWAL_DATE_TYPE,
a.RENEWAL_DATE_,
a.CONFIRM_EMP_SELECT,
a.TIMEOUT_ELEC_SIGN,
a.SIGN_TYPE,
a.MAIN_ID,
a.CREATE_BY,
a.CREATE_NAME,
a.CREATE_TIME,
a.UPDATE_BY,
a.UPDATE_TIME,
a.DEPT_NO,
a.DEPT_ID
</sql>
<sql
id=
"tAutoContractRuleInfo_where"
>
<if
test=
"tAutoContractRuleInfo != null"
>
<if
test=
"tAutoContractRuleInfo.id != null and tAutoContractRuleInfo.id.trim() != ''"
>
AND a.ID = #{tAutoContractRuleInfo.id}
</if>
<if
test=
"tAutoContractRuleInfo.autoFlag != null and tAutoContractRuleInfo.autoFlag.trim() != ''"
>
AND a.AUTO_FLAG = #{tAutoContractRuleInfo.autoFlag}
</if>
<if
test=
"tAutoContractRuleInfo.newSignType != null and tAutoContractRuleInfo.newSignType.trim() != ''"
>
AND a.NEW_SIGN_TYPE = #{tAutoContractRuleInfo.newSignType}
</if>
<if
test=
"tAutoContractRuleInfo.newSignDate != null and tAutoContractRuleInfo.newSignDate.trim() != ''"
>
AND a.NEW_SIGN_DATE = #{tAutoContractRuleInfo.newSignDate}
</if>
<if
test=
"tAutoContractRuleInfo.confirmSignType != null and tAutoContractRuleInfo.confirmSignType.trim() != ''"
>
AND a.CONFIRM_SIGN_TYPE = #{tAutoContractRuleInfo.confirmSignType}
</if>
<if
test=
"tAutoContractRuleInfo.confirmSignDate != null and tAutoContractRuleInfo.confirmSignDate.trim() != ''"
>
AND a.CONFIRM_SIGN_DATE = #{tAutoContractRuleInfo.confirmSignDate}
</if>
<if
test=
"tAutoContractRuleInfo.renewalDateType != null and tAutoContractRuleInfo.renewalDateType.trim() != ''"
>
AND a.RENEWAL_DATE_TYPE = #{tAutoContractRuleInfo.renewalDateType}
</if>
<if
test=
"tAutoContractRuleInfo.renewalDate != null and tAutoContractRuleInfo.renewalDate.trim() != ''"
>
AND a.RENEWAL_DATE_ = #{tAutoContractRuleInfo.renewalDate}
</if>
<if
test=
"tAutoContractRuleInfo.confirmEmpSelect != null and tAutoContractRuleInfo.confirmEmpSelect.trim() != ''"
>
AND a.CONFIRM_EMP_SELECT = #{tAutoContractRuleInfo.confirmEmpSelect}
</if>
<if
test=
"tAutoContractRuleInfo.timeoutElecSign != null and tAutoContractRuleInfo.timeoutElecSign.trim() != ''"
>
AND a.TIMEOUT_ELEC_SIGN = #{tAutoContractRuleInfo.timeoutElecSign}
</if>
<if
test=
"tAutoContractRuleInfo.signType != null and tAutoContractRuleInfo.signType.trim() != ''"
>
AND a.SIGN_TYPE = #{tAutoContractRuleInfo.signType}
</if>
<if
test=
"tAutoContractRuleInfo.mainId != null and tAutoContractRuleInfo.mainId.trim() != ''"
>
AND a.MAIN_ID = #{tAutoContractRuleInfo.mainId}
</if>
<if
test=
"tAutoContractRuleInfo.createBy != null and tAutoContractRuleInfo.createBy.trim() != ''"
>
AND a.CREATE_BY = #{tAutoContractRuleInfo.createBy}
</if>
<if
test=
"tAutoContractRuleInfo.createName != null and tAutoContractRuleInfo.createName.trim() != ''"
>
AND a.CREATE_NAME = #{tAutoContractRuleInfo.createName}
</if>
<if
test=
"tAutoContractRuleInfo.createTime != null"
>
AND a.CREATE_TIME = #{tAutoContractRuleInfo.createTime}
</if>
<if
test=
"tAutoContractRuleInfo.updateBy != null and tAutoContractRuleInfo.updateBy.trim() != ''"
>
AND a.UPDATE_BY = #{tAutoContractRuleInfo.updateBy}
</if>
<if
test=
"tAutoContractRuleInfo.updateTime != null"
>
AND a.UPDATE_TIME = #{tAutoContractRuleInfo.updateTime}
</if>
<if
test=
"tAutoContractRuleInfo.deptNo != null and tAutoContractRuleInfo.deptNo.trim() != ''"
>
AND a.DEPT_NO = #{tAutoContractRuleInfo.deptNo}
</if>
<if
test=
"tAutoContractRuleInfo.deptId != null and tAutoContractRuleInfo.deptId.trim() != ''"
>
AND a.DEPT_ID = #{tAutoContractRuleInfo.deptId}
</if>
</if>
</sql>
<!--tAutoContractRuleInfo简单分页查询-->
<select
id=
"getTAutoContractRuleInfoPage"
resultMap=
"tAutoContractRuleInfoMap"
>
SELECT
<include
refid=
"Base_Column_List"
/>
FROM t_auto_contract_rule_info a
<where>
1=1
<include
refid=
"tAutoContractRuleInfo_where"
/>
</where>
</select>
</mapper>
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TAutoContractSchemeMapper.xml
0 → 100644
View file @
a3fa1d95
This diff is collapsed.
Click to expand it.
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