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
34723e95
Commit
34723e95
authored
Jun 24, 2024
by
fangxinjiang
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/MVP1.6.6' into MVP1.6.6
parents
76ffdae3
e9374c97
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
57 changed files
with
2229 additions
and
422 deletions
+2229
-422
TAttaInfo.java
...om/yifu/cloud/plus/v1/yifu/archives/entity/TAttaInfo.java
+5
-5
TCompleteMonitor.java
.../cloud/plus/v1/yifu/archives/entity/TCompleteMonitor.java
+75
-0
TEmployeeProject.java
.../cloud/plus/v1/yifu/archives/entity/TEmployeeProject.java
+7
-0
TPreEmpDeclaration.java
...loud/plus/v1/yifu/archives/entity/TPreEmpDeclaration.java
+2
-1
TPreEmpDisabilityInfo.java
...d/plus/v1/yifu/archives/entity/TPreEmpDisabilityInfo.java
+71
-64
TPreEmpEducation.java
.../cloud/plus/v1/yifu/archives/entity/TPreEmpEducation.java
+11
-0
TPreEmpMain.java
.../yifu/cloud/plus/v1/yifu/archives/entity/TPreEmpMain.java
+6
-6
TPreEmpProfessionalQualification.java
...ifu/archives/entity/TPreEmpProfessionalQualification.java
+11
-0
PreEmpMainDetailVo.java
...fu/cloud/plus/v1/yifu/archives/vo/PreEmpMainDetailVo.java
+3
-3
TCompleteMonitorFlagVo.java
...loud/plus/v1/yifu/archives/vo/TCompleteMonitorFlagVo.java
+90
-0
TCompleteMonitorInfoVo.java
...loud/plus/v1/yifu/archives/vo/TCompleteMonitorInfoVo.java
+37
-0
TCompleteMonitorSearchVo.java
...ud/plus/v1/yifu/archives/vo/TCompleteMonitorSearchVo.java
+45
-0
TCompleteMonitorVo.java
...fu/cloud/plus/v1/yifu/archives/vo/TCompleteMonitorVo.java
+137
-0
TPreEmpMainVo.java
...om/yifu/cloud/plus/v1/yifu/archives/vo/TPreEmpMainVo.java
+18
-209
FileUploadController.java
...lus/v1/yifu/archives/controller/FileUploadController.java
+18
-0
TCompleteMonitorController.java
.../yifu/archives/controller/TCompleteMonitorController.java
+131
-0
TPreEmpMainController.java
...us/v1/yifu/archives/controller/TPreEmpMainController.java
+41
-15
TAttaInfoMapper.java
...u/cloud/plus/v1/yifu/archives/mapper/TAttaInfoMapper.java
+2
-0
TCompleteMonitorMapper.java
.../plus/v1/yifu/archives/mapper/TCompleteMonitorMapper.java
+95
-0
TEmployeeProjectMapper.java
.../plus/v1/yifu/archives/mapper/TEmployeeProjectMapper.java
+7
-0
TPreEmpMainMapper.java
...cloud/plus/v1/yifu/archives/mapper/TPreEmpMainMapper.java
+5
-0
FileUploadService.java
...loud/plus/v1/yifu/archives/service/FileUploadService.java
+2
-0
TAttaInfoService.java
...cloud/plus/v1/yifu/archives/service/TAttaInfoService.java
+9
-0
TCompleteMonitorService.java
...lus/v1/yifu/archives/service/TCompleteMonitorService.java
+53
-0
TEmpBadRecordService.java
...d/plus/v1/yifu/archives/service/TEmpBadRecordService.java
+10
-0
TEmpContactInfoService.java
...plus/v1/yifu/archives/service/TEmpContactInfoService.java
+6
-3
TEmpDisabilityInfoService.java
...s/v1/yifu/archives/service/TEmpDisabilityInfoService.java
+3
-0
TEmpEducationService.java
...d/plus/v1/yifu/archives/service/TEmpEducationService.java
+10
-1
TEmpFamilyService.java
...loud/plus/v1/yifu/archives/service/TEmpFamilyService.java
+3
-0
TEmpProfessionalQualificationService.java
...rchives/service/TEmpProfessionalQualificationService.java
+10
-0
TEmpWorkRecordingService.java
...us/v1/yifu/archives/service/TEmpWorkRecordingService.java
+10
-0
TPreEmpMainService.java
...oud/plus/v1/yifu/archives/service/TPreEmpMainService.java
+12
-0
FileUploadServiceImpl.java
.../v1/yifu/archives/service/impl/FileUploadServiceImpl.java
+46
-0
TAttaInfoServiceImpl.java
...s/v1/yifu/archives/service/impl/TAttaInfoServiceImpl.java
+5
-0
TCompleteMonitorServiceImpl.java
...fu/archives/service/impl/TCompleteMonitorServiceImpl.java
+205
-0
TEmpBadRecordServiceImpl.java
.../yifu/archives/service/impl/TEmpBadRecordServiceImpl.java
+5
-0
TEmpContactInfoServiceImpl.java
...ifu/archives/service/impl/TEmpContactInfoServiceImpl.java
+6
-0
TEmpDisabilityInfoServiceImpl.java
.../archives/service/impl/TEmpDisabilityInfoServiceImpl.java
+7
-0
TEmpEducationServiceImpl.java
.../yifu/archives/service/impl/TEmpEducationServiceImpl.java
+6
-0
TEmpFamilyServiceImpl.java
.../v1/yifu/archives/service/impl/TEmpFamilyServiceImpl.java
+6
-0
TEmpProfessionalQualificationServiceImpl.java
...ervice/impl/TEmpProfessionalQualificationServiceImpl.java
+6
-0
TEmpWorkRecordingServiceImpl.java
...u/archives/service/impl/TEmpWorkRecordingServiceImpl.java
+5
-0
TPreEmpMainServiceImpl.java
...v1/yifu/archives/service/impl/TPreEmpMainServiceImpl.java
+510
-40
TAttaInfoMapper.xml
...rchives-biz/src/main/resources/mapper/TAttaInfoMapper.xml
+4
-0
TCompleteMonitorMapper.xml
...-biz/src/main/resources/mapper/TCompleteMonitorMapper.xml
+279
-0
TEmployeeProjectMapper.xml
...-biz/src/main/resources/mapper/TEmployeeProjectMapper.xml
+8
-0
TPreEmpDisabilityInfoMapper.xml
...src/main/resources/mapper/TPreEmpDisabilityInfoMapper.xml
+46
-36
TPreEmpMainMapper.xml
...hives-biz/src/main/resources/mapper/TPreEmpMainMapper.xml
+19
-1
ArchiveTask.java
.../java/com/yifu/cloud/plus/v1/job/compont/ArchiveTask.java
+8
-0
TAutoPaymentDetailMapper.java
.../plus/v1/yifu/social/mapper/TAutoPaymentDetailMapper.java
+2
-0
TSocialSoldierMapper.java
...loud/plus/v1/yifu/social/mapper/TSocialSoldierMapper.java
+4
-4
TAutoPaymentDetailService.java
...lus/v1/yifu/social/service/TAutoPaymentDetailService.java
+9
-0
TAutoPaymentDetailServiceImpl.java
...fu/social/service/impl/TAutoPaymentDetailServiceImpl.java
+4
-0
TSocialSoldierPushServiceImpl.java
...fu/social/service/impl/TSocialSoldierPushServiceImpl.java
+10
-1
TSocialSoldierServiceImpl.java
...1/yifu/social/service/impl/TSocialSoldierServiceImpl.java
+16
-11
TAutoPaymentDetailMapper.xml
...iz/src/main/resources/mapper/TAutoPaymentDetailMapper.xml
+8
-0
TSocialSoldierMapper.xml
...al-biz/src/main/resources/mapper/TSocialSoldierMapper.xml
+60
-22
No files found.
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/entity/TAttaInfo.java
View file @
34723e95
...
@@ -58,14 +58,14 @@ public class TAttaInfo extends BaseEntity {
...
@@ -58,14 +58,14 @@ public class TAttaInfo extends BaseEntity {
private
String
attaType
;
private
String
attaType
;
/**
/**
* 关系类型(0客户附件1联系人附件2跟进记录附件3合同附件4合同归档附件5报价单6招投标7业务评估8二维码9身份证 10 户口本
* 关系类型(0客户附件1联系人附件2跟进记录附件3合同附件4合同归档附件5报价单6招投标7业务评估8二维码9身份证 10 户口本
* ;21(预入职申明签名);22(预入职确认签名);23(预入职pdf文件)
* ;21(预入职申明签名);22(预入职确认签名);23(预入职pdf文件)
;0(最高教育经历);2(执业资格证书);24 身份证国徽 25 户口本本人页26学信
*/
*/
@NotBlank
(
message
=
"关系类型
(0客户附件1联系人附件2跟进记录附件3合同附件4合同归档附件5报价单6招投标7业务评估8二维码9身份证 10 户口本;21(预入职申明签名);22(预入职确认签名);23(预入职pdf文件))
不能为空"
)
@NotBlank
(
message
=
"关系类型不能为空"
)
@Length
(
max
=
2
,
message
=
"关系类型
(0客户附件1联系人附件2跟进记录附件3合同附件4合同归档附件5报价单6招投标7业务评估8二维码9身份证 10 户口本;21(预入职申明签名);22(预入职确认签名);23(预入职pdf文件))
不能超过2个字符"
)
@Length
(
max
=
2
,
message
=
"关系类型不能超过2个字符"
)
@Schema
(
description
=
"关系类型(0客户附件1联系人附件2跟进记录附件3合同附件4合同归档附件5报价单6招投标7业务评估8二维码9身份证 10 户口本;21(预入职申明签名);22(预入职确认签名);23(预入职pdf文件))"
)
@Schema
(
description
=
"关系类型(0客户附件1联系人附件2跟进记录附件3合同附件4合同归档附件5报价单6招投标7业务评估8二维码9身份证 10 户口本;21(预入职申明签名);22(预入职确认签名);23(预入职pdf文件)
;0(最高教育经历);2(执业资格证书);24 身份证国徽 25 户口本本人页26学信
)"
)
private
String
relationType
;
private
String
relationType
;
/**
/**
* 实体id和关系类型共同确定附件所属
* 实体id和关系类型共同确定附件所属
(9、10、21、22、23、24、25存项目档案id,0、2、26存附属表id)
*/
*/
@NotBlank
(
message
=
"实体id和关系类型共同确定附件所属不能为空"
)
@NotBlank
(
message
=
"实体id和关系类型共同确定附件所属不能为空"
)
@Length
(
max
=
32
,
message
=
"实体id和关系类型共同确定附件所属不能超过32个字符"
)
@Length
(
max
=
32
,
message
=
"实体id和关系类型共同确定附件所属不能超过32个字符"
)
...
...
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/entity/TCompleteMonitor.java
0 → 100644
View file @
34723e95
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 huyc
* @date 2024-06-17 16:08:58
*/
@Data
@TableName
(
"t_complete_monitor"
)
@EqualsAndHashCode
(
callSuper
=
true
)
@Schema
(
description
=
"档案完整度监控"
)
public
class
TCompleteMonitor
extends
BaseEntity
{
/**
* 主键
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@Schema
(
description
=
"主键"
)
private
String
id
;
@Schema
(
description
=
"客户名称"
)
private
String
unitName
;
@Schema
(
description
=
"客户编码"
)
private
String
unitNo
;
@Schema
(
description
=
"项目名称"
)
private
String
deptName
;
@Schema
(
description
=
"项目编码"
)
private
String
deptNo
;
@Schema
(
description
=
"业务类型一级分类"
)
private
String
businessPrimaryType
;
@Schema
(
description
=
"业务类型二级分类"
)
private
String
businessSecondType
;
@Schema
(
description
=
"业务类型三级分类"
)
private
String
businessThirdType
;
@Schema
(
description
=
"在项人数"
)
private
Integer
inusePersonNum
;
@Schema
(
description
=
"信息是否完整 0是 1 否"
)
private
String
isComplete
;
@Schema
(
description
=
"信息不完整人数"
)
private
Integer
incompleteNum
;
@Schema
(
description
=
"完整度占比"
)
private
String
completePer
;
@Schema
(
description
=
"6月及后入职人数"
)
private
Integer
afterEmployment
;
@Schema
(
description
=
"6月及后入职信息是否完整 0是 1 否"
)
private
String
afterIsComplete
;
@Schema
(
description
=
"6月及后入职信息不完整人数"
)
private
Integer
afterIncompleteNum
;
@Schema
(
description
=
"立项申请人"
)
private
String
alertUser
;
}
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/entity/TEmployeeProject.java
View file @
34723e95
...
@@ -273,6 +273,13 @@ public class TEmployeeProject extends BaseEntity {
...
@@ -273,6 +273,13 @@ public class TEmployeeProject extends BaseEntity {
@Schema
(
description
=
"是否删除 0否/1是"
)
@Schema
(
description
=
"是否删除 0否/1是"
)
private
String
deleteFlag
;
private
String
deleteFlag
;
/**
* 是否完整 0是 1 否
*/
@Schema
(
description
=
"是否完整0是 1 否"
)
private
String
isComplete
;
/**
/**
* 备注
* 备注
*/
*/
...
...
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/entity/TPreEmpDeclaration.java
View file @
34723e95
...
@@ -27,6 +27,7 @@ import lombok.Data;
...
@@ -27,6 +27,7 @@ import lombok.Data;
import
org.hibernate.validator.constraints.Length
;
import
org.hibernate.validator.constraints.Length
;
import
javax.validation.constraints.NotBlank
;
import
javax.validation.constraints.NotBlank
;
import
java.io.Serializable
;
import
java.time.LocalDateTime
;
import
java.time.LocalDateTime
;
/**
/**
...
@@ -38,7 +39,7 @@ import java.time.LocalDateTime;
...
@@ -38,7 +39,7 @@ import java.time.LocalDateTime;
@Data
@Data
@TableName
(
"t_pre_emp_declaration"
)
@TableName
(
"t_pre_emp_declaration"
)
@Schema
(
description
=
"预入职-员工申明"
)
@Schema
(
description
=
"预入职-员工申明"
)
public
class
TPreEmpDeclaration
{
public
class
TPreEmpDeclaration
implements
Serializable
{
/**
/**
* id
* id
...
...
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/entity/TPreEmpDisabilityInfo.java
View file @
34723e95
...
@@ -19,9 +19,7 @@ package com.yifu.cloud.plus.v1.yifu.archives.entity;
...
@@ -19,9 +19,7 @@ package com.yifu.cloud.plus.v1.yifu.archives.entity;
import
com.alibaba.excel.annotation.ExcelIgnore
;
import
com.alibaba.excel.annotation.ExcelIgnore
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.*
;
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.core.constant.ExcelAttribute
;
import
com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity
;
import
com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
io.swagger.v3.oas.annotations.media.Schema
;
...
@@ -30,6 +28,7 @@ import lombok.EqualsAndHashCode;
...
@@ -30,6 +28,7 @@ import lombok.EqualsAndHashCode;
import
org.hibernate.validator.constraints.Length
;
import
org.hibernate.validator.constraints.Length
;
import
javax.validation.constraints.NotBlank
;
import
javax.validation.constraints.NotBlank
;
import
java.time.LocalDateTime
;
import
java.util.Date
;
import
java.util.Date
;
/**
/**
...
@@ -70,109 +69,117 @@ public class TPreEmpDisabilityInfo extends BaseEntity {
...
@@ -70,109 +69,117 @@ public class TPreEmpDisabilityInfo extends BaseEntity {
/**
/**
* 员工ID
* 员工ID
*/
*/
@ExcelAttribute
(
name
=
"员工ID"
,
isNotEmpty
=
true
,
errorInfo
=
"员工ID不能为空"
,
maxLength
=
32
)
@Schema
(
description
=
"员工ID"
)
@NotBlank
(
message
=
"员工ID不能为空"
)
@Length
(
max
=
32
,
message
=
"员工ID不能超过32个字符"
)
@ExcelProperty
(
"员工ID"
)
@Schema
(
description
=
"员工ID"
)
private
String
empId
;
private
String
empId
;
/**
/**
* 员工姓名
* 员工姓名
*/
*/
@ExcelAttribute
(
name
=
"员工姓名"
,
isNotEmpty
=
true
,
errorInfo
=
"员工姓名不能为空"
,
maxLength
=
50
)
@Schema
(
description
=
"员工姓名"
)
@NotBlank
(
message
=
"员工姓名不能为空"
)
@Length
(
max
=
50
,
message
=
"员工姓名不能超过50个字符"
)
@ExcelProperty
(
"员工姓名"
)
@Schema
(
description
=
"员工姓名"
)
private
String
empName
;
private
String
empName
;
/**
/**
* 员工编码
* 员工编码
*/
*/
@ExcelAttribute
(
name
=
"员工编码"
,
isNotEmpty
=
true
,
errorInfo
=
"员工编码不能为空"
,
maxLength
=
50
)
@Schema
(
description
=
"员工编码"
)
@NotBlank
(
message
=
"员工编码不能为空"
)
@Length
(
max
=
50
,
message
=
"员工编码不能超过50个字符"
)
@ExcelProperty
(
"员工编码"
)
@Schema
(
description
=
"员工编码"
)
private
String
empCode
;
private
String
empCode
;
/**
/**
* 身份证号
* 身份证号
*/
*/
@ExcelAttribute
(
name
=
"身份证号"
,
isNotEmpty
=
true
,
errorInfo
=
"身份证号不能为空"
,
maxLength
=
32
)
@Schema
(
description
=
"身份证号"
)
@NotBlank
(
message
=
"身份证号不能为空"
)
@Length
(
max
=
32
,
message
=
"身份证号不能超过32个字符"
)
@ExcelProperty
(
"身份证号"
)
@Schema
(
description
=
"身份证号"
)
private
String
empIdcard
;
private
String
empIdcard
;
/**
* 传染病名称
*/
@Schema
(
description
=
"传染病名称"
)
private
String
infectiousName
;
/**
/**
* 伤残病名称
* 伤残病名称
*/
*/
@ExcelAttribute
(
name
=
"伤残病名称"
,
isNotEmpty
=
true
,
errorInfo
=
"伤残病名称不能为空"
,
maxLength
=
50
)
@Schema
(
description
=
"伤残病名称"
)
@NotBlank
(
message
=
"伤残病名称不能为空"
)
@Length
(
max
=
50
,
message
=
"伤残病名称不能超过50个字符"
)
@ExcelProperty
(
"伤残病名称"
)
@Schema
(
description
=
"伤残病名称"
)
private
String
disabilityName
;
private
String
disabilityName
;
/**
/**
* 伤残等级
* 伤残等级
*/
*/
@ExcelAttribute
(
name
=
"伤残等级"
,
maxLength
=
32
)
@Schema
(
description
=
"伤残等级"
)
@Length
(
max
=
32
,
message
=
"伤残等级不能超过32个字符"
)
@ExcelProperty
(
"伤残等级"
)
@Schema
(
description
=
"伤残等级"
)
private
String
disabilityLevel
;
private
String
disabilityLevel
;
/**
/**
* 是否工伤标识0是/1否
* 是否工伤标识0是/1否
*/
*/
@ExcelAttribute
(
name
=
"是否工伤标识0是/1否"
,
maxLength
=
1
)
@Schema
(
description
=
"是否工伤标识0是/1否"
)
@Length
(
max
=
1
,
message
=
"是否工伤标识0是/1否不能超过1个字符"
)
@ExcelProperty
(
"是否工伤标识0是/1否"
)
@Schema
(
description
=
"是否工伤标识0是/1否"
)
private
String
injuryIdentification
;
private
String
injuryIdentification
;
/**
* 是否职业病0是/1否
*/
@Schema
(
description
=
"是否职业病 0是/1否"
)
private
String
occupationalDiseaseFlag
;
/**
* 是否传染病病 0是/1否
*/
@Schema
(
description
=
"是否传染病病 0是/1否"
)
private
String
infectiousDiseaseFlag
;
/**
* 是否持有残疾人证明 0是/1否
*/
@Schema
(
description
=
"是否持有残疾人证明 0是/1否"
)
private
String
disabilityFlag
;
/**
* 是否从事过井下、高空、高温、特别繁重体力劳动以及有毒有害工种 0是/1否
*/
@Schema
(
description
=
"是否从事过井下、高空、高温、特别繁重体力劳动以及有毒有害工种 0是/1否"
)
private
String
otherFlag
;
/**
/**
* 伤残开始日期
* 伤残开始日期
*/
*/
@ExcelAttribute
(
name
=
"伤残开始日期"
,
isDate
=
true
)
@Schema
(
description
=
"伤残开始日期"
)
@ExcelProperty
(
"伤残开始日期"
)
private
LocalDateTime
startTime
;
@Schema
(
description
=
"伤残开始日期"
)
private
Date
startTime
;
/**
/**
* 伤残结束日期
* 伤残结束日期
*/
*/
@ExcelAttribute
(
name
=
"伤残结束日期"
,
isDate
=
true
)
@Schema
(
description
=
"伤残结束日期"
)
@ExcelProperty
(
"伤残结束日期"
)
private
LocalDateTime
endTime
;
@Schema
(
description
=
"伤残结束日期"
)
private
Date
endTime
;
/**
/**
* 职业病名称
* 职业病名称
*/
*/
@ExcelAttribute
(
name
=
"职业病名称"
,
maxLength
=
50
)
@Schema
(
description
=
"职业病名称"
)
@Length
(
max
=
50
,
message
=
"职业病名称不能超过50个字符"
)
@ExcelProperty
(
"职业病名称"
)
@Schema
(
description
=
"职业病名称"
)
private
String
occupationalDisease
;
private
String
occupationalDisease
;
/**
/**
*
0删除作废1正常
*
项目ID
*/
*/
@ExcelAttribute
(
name
=
"0删除作废1正常"
,
maxLength
=
1
)
@Schema
(
description
=
"项目ID"
)
@Length
(
max
=
1
,
message
=
"0删除作废1正常不能超过1个字符"
)
private
String
settleDomain
;
@ExcelProperty
(
"0删除作废1正常"
)
@Schema
(
description
=
"0删除作废1正常"
)
private
String
deleteFlag
;
/**
/**
*
结算主体ID
*
0删除作废1正常
*/
*/
@ExcelAttribute
(
name
=
"结算主体ID"
,
maxLength
=
32
)
@TableLogic
@Length
(
max
=
32
,
message
=
"结算主体ID不能超过32个字符"
)
@Schema
(
description
=
"0删除作废1正常"
)
@ExcelProperty
(
"结算主体ID"
)
private
String
deleteFlag
;
@Schema
(
description
=
"结算主体ID"
)
private
String
settleDomain
;
/**
/**
* 备注
* 备注
*/
*/
@ExcelAttribute
(
name
=
"备注"
,
maxLength
=
200
)
@Schema
(
description
=
"备注"
)
@Length
(
max
=
200
,
message
=
"备注不能超过200个字符"
)
@ExcelProperty
(
"备注"
)
@Schema
(
description
=
"备注"
)
private
String
remark
;
private
String
remark
;
/**
* @Author fxj
* @Description 附件ID
* @Date 14:53 2022/6/21
**/
@TableField
(
exist
=
false
)
private
String
attaIds
;
}
}
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/entity/TPreEmpEducation.java
View file @
34723e95
...
@@ -20,6 +20,7 @@ package com.yifu.cloud.plus.v1.yifu.archives.entity;
...
@@ -20,6 +20,7 @@ package com.yifu.cloud.plus.v1.yifu.archives.entity;
import
com.alibaba.excel.annotation.ExcelIgnore
;
import
com.alibaba.excel.annotation.ExcelIgnore
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
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.core.constant.ExcelAttribute
;
...
@@ -31,6 +32,7 @@ import org.hibernate.validator.constraints.Length;
...
@@ -31,6 +32,7 @@ import org.hibernate.validator.constraints.Length;
import
javax.validation.constraints.NotBlank
;
import
javax.validation.constraints.NotBlank
;
import
java.util.Date
;
import
java.util.Date
;
import
java.util.List
;
/**
/**
* 预入职-员工学历信息表
* 预入职-员工学历信息表
...
@@ -214,4 +216,13 @@ public class TPreEmpEducation extends BaseEntity {
...
@@ -214,4 +216,13 @@ public class TPreEmpEducation extends BaseEntity {
@Schema
(
description
=
"专业"
)
@Schema
(
description
=
"专业"
)
private
String
major
;
private
String
major
;
/**
* @Description: 最高教育经历
* @Author: hgw
* @Date: 2024/6/20 15:11
* @return:
**/
@TableField
(
exist
=
false
)
private
List
<
TAttaInfo
>
attaList
;
}
}
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/entity/TPreEmpMain.java
View file @
34723e95
...
@@ -51,13 +51,13 @@ public class TPreEmpMain extends BaseEntity {
...
@@ -51,13 +51,13 @@ public class TPreEmpMain extends BaseEntity {
@Schema
(
description
=
"主键"
)
@Schema
(
description
=
"主键"
)
private
String
id
;
private
String
id
;
/**
/**
* 审核状态(0草稿;1待完善;2待审核;3审核不通过;4审核通过)
* 审核状态(0草稿;1待完善;2待审核;3审核不通过;4审核通过
;5初始未保存
)
*/
*/
@ExcelAttribute
(
name
=
"审核状态(0草稿;1待完善;2待审核;3审核不通过;4审核通过
)"
,
isNotEmpty
=
true
,
errorInfo
=
"审核状态(0草稿;1待完善;2待审核;3审核不通过;4审核通过
)"
,
maxLength
=
1
)
@ExcelAttribute
(
name
=
"审核状态(0草稿;1待完善;2待审核;3审核不通过;4审核通过
;5初始未保存)"
,
isNotEmpty
=
true
,
errorInfo
=
"审核状态(0草稿;1待完善;2待审核;3审核不通过;4审核通过;5初始未保存
)"
,
maxLength
=
1
)
@NotBlank
(
message
=
"审核状态(0草稿;1待完善;2待审核;3审核不通过;4审核通过)不能为空"
)
@NotBlank
(
message
=
"审核状态(0草稿;1待完善;2待审核;3审核不通过;4审核通过
;5初始未保存
)不能为空"
)
@Length
(
max
=
1
,
message
=
"审核状态(0草稿;1待完善;2待审核;3审核不通过;4审核通过)不能超过1个字符"
)
@Length
(
max
=
1
,
message
=
"审核状态(0草稿;1待完善;2待审核;3审核不通过;4审核通过
;5初始未保存
)不能超过1个字符"
)
@ExcelProperty
(
"审核状态(0草稿;1待完善;2待审核;3审核不通过;4审核通过)"
)
@ExcelProperty
(
"审核状态(0草稿;1待完善;2待审核;3审核不通过;4审核通过
;5初始未保存
)"
)
@Schema
(
description
=
"审核状态(0草稿;1待完善;2待审核;3审核不通过;4审核通过)"
)
@Schema
(
description
=
"审核状态(0草稿;1待完善;2待审核;3审核不通过;4审核通过
;5初始未保存
)"
)
private
String
status
;
private
String
status
;
/**
/**
* 员工ID
* 员工ID
...
...
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/entity/TPreEmpProfessionalQualification.java
View file @
34723e95
...
@@ -20,6 +20,7 @@ package com.yifu.cloud.plus.v1.yifu.archives.entity;
...
@@ -20,6 +20,7 @@ package com.yifu.cloud.plus.v1.yifu.archives.entity;
import
com.alibaba.excel.annotation.ExcelIgnore
;
import
com.alibaba.excel.annotation.ExcelIgnore
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableField
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
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.core.constant.ExcelAttribute
;
...
@@ -30,6 +31,7 @@ import lombok.EqualsAndHashCode;
...
@@ -30,6 +31,7 @@ import lombok.EqualsAndHashCode;
import
org.hibernate.validator.constraints.Length
;
import
org.hibernate.validator.constraints.Length
;
import
javax.validation.constraints.NotBlank
;
import
javax.validation.constraints.NotBlank
;
import
java.util.List
;
/**
/**
* 预入职-员工职业资格信息表
* 预入职-员工职业资格信息表
...
@@ -186,4 +188,13 @@ public class TPreEmpProfessionalQualification extends BaseEntity {
...
@@ -186,4 +188,13 @@ public class TPreEmpProfessionalQualification extends BaseEntity {
@Schema
(
description
=
"备注"
)
@Schema
(
description
=
"备注"
)
private
String
remark
;
private
String
remark
;
/**
* @Description: 执业资格证书
* @Author: hgw
* @Date: 2024/6/20 15:11
* @return:
**/
@TableField
(
exist
=
false
)
private
List
<
TAttaInfo
>
attaList
;
}
}
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/vo/PreEmpMainDetailVo.java
View file @
34723e95
...
@@ -46,15 +46,15 @@ public class PreEmpMainDetailVo implements Serializable {
...
@@ -46,15 +46,15 @@ public class PreEmpMainDetailVo implements Serializable {
// 预入职-员工学历信息表
// 预入职-员工学历信息表
private
TPreEmpEducation
tPreEmpEducation
;
private
TPreEmpEducation
tPreEmpEducation
;
// 预入职-员工家庭信息表
// 预入职-员工家庭信息表
private
List
<
TPreEmpFamily
>
tPreEmpFamily
;
private
List
<
TPreEmpFamily
>
tPreEmpFamily
List
;
// 预入职-人员档案表
// 预入职-人员档案表
private
TPreEmployeeInfo
tPreEmployeeInfo
;
private
TPreEmployeeInfo
tPreEmployeeInfo
;
// 预入职-项目档案表
// 预入职-项目档案表
private
TPreEmployeeProject
tPreEmployeeProject
;
private
TPreEmployeeProject
tPreEmployeeProject
;
// 预入职-员工职业资格信息表
// 预入职-员工职业资格信息表
private
List
<
TPreEmpProfessionalQualification
>
tPreEmpProfessionalQualification
;
private
List
<
TPreEmpProfessionalQualification
>
tPreEmpProfessionalQualification
List
;
// 预入职-员工工作履历信息表
// 预入职-员工工作履历信息表
private
List
<
TPreEmpWorkRecording
>
tPreEmpWorkRecording
;
private
List
<
TPreEmpWorkRecording
>
tPreEmpWorkRecording
List
;
// 预入职-9身份证 10 户口本;附件 21(预入职申明签名);22(预入职确认签名);23(预入职pdf文件)
// 预入职-9身份证 10 户口本;附件 21(预入职申明签名);22(预入职确认签名);23(预入职pdf文件)
private
List
<
TAttaInfo
>
attaInfoList
;
private
List
<
TAttaInfo
>
attaInfoList
;
...
...
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/vo/TCompleteMonitorFlagVo.java
0 → 100644
View file @
34723e95
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
vo
;
import
lombok.Data
;
import
java.io.Serializable
;
import
java.util.Date
;
/**
* 档案完整度监控
*
* @author huyc
* @date 2024-06-17 16:08:58
*/
@Data
public
class
TCompleteMonitorFlagVo
implements
Serializable
{
private
String
empSex
;
private
Date
validityStart
;
private
Date
validityEnd
;
private
Date
empBirthday
;
private
Integer
empAge
;
private
String
empMarriStatus
;
private
String
empNational
;
private
String
politicalStatus
;
private
String
empPhone
;
private
String
empRegisType
;
private
Integer
fileProvince
;
private
Integer
fileCity
;
private
Integer
isCollege
;
private
String
hignEducation
;
private
String
school
;
private
String
major
;
private
Date
admissionDate
;
private
Date
gradutionDate
;
private
String
contactAddress
;
private
String
firstWorkFlag
;
private
String
haveQualification
;
private
String
deptName
;
private
String
unitName
;
private
String
businessPrimaryType
;
private
String
businessSecondType
;
private
String
businessThirdType
;
private
String
workingHours
;
private
String
tryPeriod
;
private
Date
enjoinDate
;
private
String
post
;
private
String
empProjectId
;
private
String
contactInfoId
;
private
String
disabilityFlag
;
private
String
badRecordFlag
;
private
String
educationFlag
;
private
String
familyFlag
;
}
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/vo/TCompleteMonitorInfoVo.java
0 → 100644
View file @
34723e95
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
vo
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
java.io.Serializable
;
import
java.time.LocalDateTime
;
/**
* 档案完整度监控
*
* @author huyc
* @date 2024-06-17 16:08:58
*/
@Data
public
class
TCompleteMonitorInfoVo
implements
Serializable
{
@Schema
(
description
=
"姓名"
)
private
String
empName
;
@Schema
(
description
=
"身份证号"
)
private
String
empIdCard
;
@Schema
(
description
=
"手机号码"
)
private
String
phone
;
@Schema
(
description
=
"进项目时间"
)
private
LocalDateTime
inTime
;
@Schema
(
description
=
"信息是否完整"
)
private
String
isComplete
;
@Schema
(
description
=
"人员档案id"
)
private
String
empInfoId
;
}
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/vo/TCompleteMonitorSearchVo.java
0 → 100644
View file @
34723e95
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
vo
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TCompleteMonitor
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
java.time.LocalDateTime
;
/**
* 档案完整度监控
*
* @author huyc
* @date 2024-06-17 16:08:58
*/
@Data
public
class
TCompleteMonitorSearchVo
extends
TCompleteMonitor
{
/**
* 多选导出或删除等操作
*/
@Schema
(
description
=
"选中ID,多个逗号分割"
)
private
String
ids
;
/**
* 创建时间区间 [开始时间,结束时间]
*/
@Schema
(
description
=
"创建时间区间"
)
private
LocalDateTime
[]
createTimes
;
/**
* @Author fxj
* 查询数据起
**/
@Schema
(
description
=
"查询limit 开始"
)
private
int
limitStart
;
/**
* @Author fxj
* 查询数据止
**/
@Schema
(
description
=
"查询limit 数据条数"
)
private
int
limitEnd
;
}
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/vo/TCompleteMonitorVo.java
0 → 100644
View file @
34723e95
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
vo
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute
;
import
com.yifu.cloud.plus.v1.yifu.common.core.vo.RowIndex
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
org.hibernate.validator.constraints.Length
;
import
javax.validation.constraints.NotBlank
;
import
java.io.Serializable
;
/**
* 档案完整度监控
*
* @author huyc
* @date 2024-06-17 16:08:58
*/
@Data
public
class
TCompleteMonitorVo
extends
RowIndex
implements
Serializable
{
/**
* 客户名称
*/
@Length
(
max
=
50
,
message
=
"客户名称 不能超过50 个字符"
)
@ExcelAttribute
(
name
=
"客户名称"
,
maxLength
=
50
)
@Schema
(
description
=
"客户名称"
)
@ExcelProperty
(
"客户名称"
)
private
String
unitName
;
/**
* 客户编码
*/
@Length
(
max
=
32
,
message
=
"客户编码 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"客户编码"
,
maxLength
=
32
)
@Schema
(
description
=
"客户编码"
)
@ExcelProperty
(
"客户编码"
)
private
String
unitNo
;
/**
* 项目名称
*/
@Length
(
max
=
50
,
message
=
"项目名称 不能超过50 个字符"
)
@ExcelAttribute
(
name
=
"项目名称"
,
maxLength
=
50
)
@Schema
(
description
=
"项目名称"
)
@ExcelProperty
(
"项目名称"
)
private
String
deptName
;
/**
* 项目编码
*/
@NotBlank
(
message
=
"项目编码 不能为空"
)
@Length
(
max
=
30
,
message
=
"项目编码 不能超过30 个字符"
)
@ExcelAttribute
(
name
=
"项目编码"
,
isNotEmpty
=
true
,
errorInfo
=
"项目编码不能为空"
,
maxLength
=
30
)
@Schema
(
description
=
"项目编码"
)
@ExcelProperty
(
"项目编码"
)
private
String
deptNo
;
/**
* 业务类型一级分类
*/
@Length
(
max
=
64
,
message
=
"业务类型一级分类 不能超过64 个字符"
)
@ExcelAttribute
(
name
=
"业务类型"
,
maxLength
=
64
)
@Schema
(
description
=
"业务类型"
)
@ExcelProperty
(
"业务类型"
)
private
String
businessPrimaryType
;
/**
* 在项人数
*/
@ExcelAttribute
(
name
=
"在项人数"
)
@Schema
(
description
=
"在项人数"
)
@ExcelProperty
(
"在项人数"
)
private
Integer
inusePersonNum
;
/**
* 信息是否完整
*/
@Length
(
max
=
1
,
message
=
"信息是否完整 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"信息是否完整"
,
maxLength
=
1
,
readConverterExp
=
"0=否,1=是"
)
@Schema
(
description
=
"信息是否完整"
)
@ExcelProperty
(
"信息是否完整"
)
private
String
isComplete
;
/**
* 信息不完整人数
*/
@ExcelAttribute
(
name
=
"信息不完整人数"
)
@Schema
(
description
=
"信息不完整人数"
)
@ExcelProperty
(
"信息不完整人数"
)
private
Integer
incompleteNum
;
/**
* 完整度占比
*/
@Length
(
max
=
8
,
message
=
"完整度占比 不能超过8 个字符"
)
@ExcelAttribute
(
name
=
"完整度占比"
,
maxLength
=
8
)
@Schema
(
description
=
"完整度占比"
)
@ExcelProperty
(
"完整度占比"
)
private
String
completePer
;
/**
* 6月及后入职人数
*/
@ExcelAttribute
(
name
=
"6月及后入职人数"
)
@Schema
(
description
=
"6月及后入职人数"
)
@ExcelProperty
(
"6月及后入职人数"
)
private
Integer
afterEmployment
;
/**
* 6月及后入职信息是否完整
*/
@Length
(
max
=
1
,
message
=
"6月及后入职信息是否完整 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"6月及后入职信息是否完整"
,
maxLength
=
1
,
readConverterExp
=
"0=否,1=是"
)
@Schema
(
description
=
"6月及后入职信息是否完整"
)
@ExcelProperty
(
"6月及后入职信息是否完整"
)
private
String
afterIsComplete
;
/**
* 6月及后入职信息不完整人数
*/
@ExcelAttribute
(
name
=
"6月及后入职信息不完整人数"
)
@Schema
(
description
=
"6月及后入职信息不完整人数"
)
@ExcelProperty
(
"6月及后入职信息不完整人数"
)
private
Integer
afterIncompleteNum
;
/**
* 立项申请人
*/
@Length
(
max
=
32
,
message
=
"立项申请人 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"立项申请人"
,
maxLength
=
32
)
@Schema
(
description
=
"立项申请人"
)
@ExcelProperty
(
"立项申请人"
)
private
String
alertUser
;
}
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/vo/TPreEmpMainVo.java
View file @
34723e95
...
@@ -17,20 +17,16 @@
...
@@ -17,20 +17,16 @@
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
vo
;
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
vo
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttributeConstants
;
import
com.yifu.cloud.plus.v1.yifu.common.core.vo.RowIndex
;
import
com.yifu.cloud.plus.v1.yifu.common.core.vo.RowIndex
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
lombok.Data
;
import
org.hibernate.validator.constraints.Length
;
import
org.hibernate.validator.constraints.Length
;
import
javax.validation.constraints.NotBlank
;
import
java.io.Serializable
;
import
java.io.Serializable
;
import
java.util.Date
;
/**
/**
* 预入职
-主表
* 预入职
批量完善信息使用
*
*
* @author hgw
* @author hgw
* @date 2024-06-17 11:31:08
* @date 2024-06-17 11:31:08
...
@@ -38,215 +34,28 @@ import java.util.Date;
...
@@ -38,215 +34,28 @@ import java.util.Date;
@Data
@Data
public
class
TPreEmpMainVo
extends
RowIndex
implements
Serializable
{
public
class
TPreEmpMainVo
extends
RowIndex
implements
Serializable
{
/**
* 主键
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@NotBlank
(
message
=
"主键 不能为空"
)
@Length
(
max
=
32
,
message
=
"主键 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"主键"
,
isNotEmpty
=
true
,
errorInfo
=
"主键 不能为空"
,
maxLength
=
32
)
@Schema
(
description
=
"主键"
)
@ExcelProperty
(
"主键"
)
private
String
id
;
/**
* 审核状态(0待完善;1待审核;2审核通过;3审核不通过)
*/
@NotBlank
(
message
=
"审核状态(0待完善;1待审核;2审核通过;3审核不通过) 不能为空"
)
@Length
(
max
=
1
,
message
=
"审核状态(0待完善;1待审核;2审核通过;3审核不通过) 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"审核状态(0待完善;1待审核;2审核通过;3审核不通过)"
,
isNotEmpty
=
true
,
errorInfo
=
"审核状态(0待完善;1待审核;2审核通过;3审核不通过) 不能为空"
,
maxLength
=
1
)
@Schema
(
description
=
"审核状态(0待完善;1待审核;2审核通过;3审核不通过)"
)
@ExcelProperty
(
"审核状态(0待完善;1待审核;2审核通过;3审核不通过)"
)
private
String
status
;
/**
* 员工ID
*/
@Length
(
max
=
32
,
message
=
"员工ID 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"员工ID"
,
maxLength
=
32
)
@Schema
(
description
=
"员工ID"
)
@ExcelProperty
(
"员工ID"
)
private
String
empId
;
/**
* 员工姓名
*/
@Length
(
max
=
32
,
message
=
"员工姓名 不能超过32 个字符"
)
@Length
(
max
=
32
,
message
=
"员工姓名 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"员工姓名"
,
maxLength
=
32
)
@ExcelAttribute
(
name
=
"员工姓名"
,
maxLength
=
32
)
@Schema
(
description
=
"员工姓名"
)
@ExcelProperty
(
"员工姓名"
)
@ExcelProperty
(
"员工姓名"
)
private
String
empName
;
private
String
empName
;
/**
@Length
(
max
=
32
,
message
=
"项目编码 不能超过32 个字符"
)
* 身份证号
@ExcelAttribute
(
name
=
"项目编码"
,
maxLength
=
32
)
*/
@Length
(
max
=
20
,
message
=
"身份证号 不能超过20 个字符"
)
@ExcelAttribute
(
name
=
"身份证号"
,
maxLength
=
20
)
@Schema
(
description
=
"身份证号"
)
@ExcelProperty
(
"身份证号"
)
private
String
empIdcard
;
/**
* 手机号码
*/
@Length
(
max
=
32
,
message
=
"手机号码 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"手机号码"
,
maxLength
=
32
)
@Schema
(
description
=
"手机号码"
)
@ExcelProperty
(
"手机号码"
)
private
String
empPhone
;
/**
* 微信名
*/
@Length
(
max
=
32
,
message
=
"微信名 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"微信名"
,
maxLength
=
32
)
@Schema
(
description
=
"微信名"
)
@ExcelProperty
(
"微信名"
)
private
String
empWx
;
/**
* 客户id
*/
@Length
(
max
=
32
,
message
=
"客户id 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"客户id"
,
maxLength
=
32
)
@Schema
(
description
=
"客户id"
)
@ExcelProperty
(
"客户id"
)
private
String
unitId
;
/**
* 客户名称
*/
@Length
(
max
=
50
,
message
=
"客户名称 不能超过50 个字符"
)
@ExcelAttribute
(
name
=
"客户名称"
,
maxLength
=
50
)
@Schema
(
description
=
"客户名称"
)
@ExcelProperty
(
"客户名称"
)
private
String
unitName
;
/**
* 客户编码
*/
@Length
(
max
=
32
,
message
=
"客户编码 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"客户编码"
,
maxLength
=
32
)
@Schema
(
description
=
"客户编码"
)
@ExcelProperty
(
"客户编码"
)
private
String
unitNo
;
/**
* 项目id
*/
@Length
(
max
=
32
,
message
=
"项目id 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"项目id"
,
maxLength
=
32
)
@Schema
(
description
=
"项目id"
)
@ExcelProperty
(
"项目id"
)
private
String
deptId
;
/**
* 项目名称
*/
@Length
(
max
=
50
,
message
=
"项目名称 不能超过50 个字符"
)
@ExcelAttribute
(
name
=
"项目名称"
,
maxLength
=
50
)
@Schema
(
description
=
"项目名称"
)
@ExcelProperty
(
"项目名称"
)
private
String
deptName
;
/**
* 项目编码
*/
@NotBlank
(
message
=
"项目编码 不能为空"
)
@Length
(
max
=
30
,
message
=
"项目编码 不能超过30 个字符"
)
@ExcelAttribute
(
name
=
"项目编码"
,
isNotEmpty
=
true
,
errorInfo
=
"项目编码 不能为空"
,
maxLength
=
30
)
@Schema
(
description
=
"项目编码"
)
@ExcelProperty
(
"项目编码"
)
@ExcelProperty
(
"项目编码"
)
private
String
deptNo
;
private
String
deptNo
;
/**
@ExcelAttribute
(
name
=
"身份证号"
)
* 业务类型一级分类
@ExcelProperty
(
"身份证号"
)
*/
private
String
empIdcard
;
@Length
(
max
=
32
,
message
=
"业务类型一级分类 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"员工类型"
,
isDataId
=
true
,
dataType
=
ExcelAttributeConstants
.
EMP_NATRUE
)
@ExcelAttribute
(
name
=
"业务类型一级分类"
,
maxLength
=
32
)
@ExcelProperty
(
"员工类型"
)
@Schema
(
description
=
"业务类型一级分类"
)
@ExcelProperty
(
"业务类型一级分类"
)
private
String
businessPrimaryType
;
/**
* 业务类型二级分类
*/
@Length
(
max
=
32
,
message
=
"业务类型二级分类 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"业务类型二级分类"
,
maxLength
=
32
)
@Schema
(
description
=
"业务类型二级分类"
)
@ExcelProperty
(
"业务类型二级分类"
)
private
String
businessSecondType
;
/**
* 业务类型三级分类
*/
@Length
(
max
=
32
,
message
=
"业务类型三级分类 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"业务类型三级分类"
,
maxLength
=
32
)
@Schema
(
description
=
"业务类型三级分类"
)
@ExcelProperty
(
"业务类型三级分类"
)
private
String
businessThirdType
;
/**
* 员工类型(字典值,0外包1派遣2代理)
*/
@NotBlank
(
message
=
"员工类型(字典值,0外包1派遣2代理) 不能为空"
)
@Length
(
max
=
2
,
message
=
"员工类型(字典值,0外包1派遣2代理) 不能超过2 个字符"
)
@ExcelAttribute
(
name
=
"员工类型(字典值,0外包1派遣2代理)"
,
isNotEmpty
=
true
,
errorInfo
=
"员工类型(字典值,0外包1派遣2代理) 不能为空"
,
maxLength
=
2
)
@Schema
(
description
=
"员工类型(字典值,0外包1派遣2代理)"
)
@ExcelProperty
(
"员工类型(字典值,0外包1派遣2代理)"
)
private
String
empNatrue
;
private
String
empNatrue
;
/**
@ExcelAttribute
(
name
=
"档案所在地省"
,
isArea
=
true
)
* 审核人ID
@ExcelProperty
(
"档案所在地省"
)
*/
private
String
fileProvince
;
@Length
(
max
=
32
,
message
=
"审核人ID 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"档案所在地市"
,
isArea
=
true
)
@ExcelAttribute
(
name
=
"审核人ID"
,
maxLength
=
32
)
@ExcelProperty
(
"档案所在地市"
)
@Schema
(
description
=
"审核人ID"
)
private
String
fileCity
;
@ExcelProperty
(
"审核人ID"
)
@ExcelAttribute
(
name
=
"档案所在地县"
,
isArea
=
true
)
private
String
auditId
;
@ExcelProperty
(
"档案所在地县"
)
/**
private
String
fileTown
;
* 审核人姓名
*/
@Length
(
max
=
20
,
message
=
"审核人姓名 不能超过20 个字符"
)
@ExcelAttribute
(
name
=
"审核人姓名"
,
maxLength
=
20
)
@Schema
(
description
=
"审核人姓名"
)
@ExcelProperty
(
"审核人姓名"
)
private
String
auditName
;
/**
* 审核时间
*/
@ExcelAttribute
(
name
=
"审核时间"
,
isDate
=
true
)
@Schema
(
description
=
"审核时间"
)
@ExcelProperty
(
"审核时间"
)
private
Date
auditTime
;
/**
* 创建者
*/
@Length
(
max
=
64
,
message
=
"创建者 不能超过64 个字符"
)
@ExcelAttribute
(
name
=
"创建者"
,
maxLength
=
64
)
@Schema
(
description
=
"创建者"
)
@ExcelProperty
(
"创建者"
)
private
String
createBy
;
/**
* 更新人
*/
@Length
(
max
=
64
,
message
=
"更新人 不能超过64 个字符"
)
@ExcelAttribute
(
name
=
"更新人"
,
maxLength
=
64
)
@Schema
(
description
=
"更新人"
)
@ExcelProperty
(
"更新人"
)
private
String
updateBy
;
/**
* 创建人姓名
*/
@Length
(
max
=
32
,
message
=
"创建人姓名 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"创建人姓名"
,
maxLength
=
32
)
@Schema
(
description
=
"创建人姓名"
)
@ExcelProperty
(
"创建人姓名"
)
private
String
createName
;
/**
* 创建时间
*/
@ExcelAttribute
(
name
=
"创建时间"
,
isDate
=
true
)
@Schema
(
description
=
"创建时间"
)
@ExcelProperty
(
"创建时间"
)
private
Date
createTime
;
/**
* 更新时间
*/
@ExcelAttribute
(
name
=
"更新时间"
,
isDate
=
true
)
@Schema
(
description
=
"更新时间"
)
@ExcelProperty
(
"更新时间"
)
private
Date
updateTime
;
/**
* 结算主体ID
*/
@Length
(
max
=
32
,
message
=
"结算主体ID 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"结算主体ID"
,
maxLength
=
32
)
@Schema
(
description
=
"结算主体ID"
)
@ExcelProperty
(
"结算主体ID"
)
private
String
settleDomain
;
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/controller/FileUploadController.java
View file @
34723e95
...
@@ -67,6 +67,24 @@ public class FileUploadController {
...
@@ -67,6 +67,24 @@ public class FileUploadController {
return
fileUploadService
.
uploadImg
(
file
,
filePath
,
type
,
domain
);
return
fileUploadService
.
uploadImg
(
file
,
filePath
,
type
,
domain
);
}
}
/**
* @Author fxj
* @Description
* @Date 13:49 2022/6/17
* @Param
* @return
**/
@Operation
(
description
=
"OSS文件上传接口"
+
"@ApiImplicitParam(name = \"file\", value = \"Form文件上传\", required = true, dataType = \"__file\", paramType = \"form\"),\n"
+
"\t\t\t@ApiImplicitParam(name = \"filePath\", value = \"文件上传路径\", required = false, dataType = \"String\", paramType = \"form\"),\n"
+
"\t\t\t@ApiImplicitParam(name = \"type\", value = \"关系类型(0员工附件-学历 1 员工附件-伤残 2.员工附件-职业 3.员工附件-不良记录 4.员工附件-合同;5收入证明)\", required = true, dataType = \"int\", paramType = \"form\"),\n"
+
"\t\t\t@ApiImplicitParam(name = \"domain\", value = \"实体id(传入就插入对应关系,用于编辑)\", required = false, paramType = \"form\")\n"
+
"\t"
)
@PostMapping
(
value
=
"/uploadFileReturnAtta"
)
public
R
<
TAttaInfo
>
uploadFileReturnAtta
(
@RequestBody
MultipartFile
file
,
String
filePath
,
Integer
type
,
String
domain
)
throws
IOException
{
return
fileUploadService
.
uploadFileReturnAtta
(
file
,
filePath
,
type
,
domain
);
}
/**
/**
* @Author fxj
* @Author fxj
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/controller/TCompleteMonitorController.java
0 → 100644
View file @
34723e95
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.TCompleteMonitor
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.TCompleteMonitorService
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.TCompleteMonitorInfoVo
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.TCompleteMonitorSearchVo
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.common.log.annotation.SysLog
;
import
com.yifu.cloud.plus.v1.yifu.common.security.annotation.Inner
;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
lombok.RequiredArgsConstructor
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
org.springframework.web.bind.annotation.*
;
import
javax.servlet.http.HttpServletResponse
;
/**
* 档案完整度监控
*
* @author huyc
* @date 2024-06-17 16:08:58
*/
@RestController
@RequiredArgsConstructor
@RequestMapping
(
"/tcompletemonitor"
)
@Tag
(
name
=
"档案完整度监控管理"
)
public
class
TCompleteMonitorController
{
private
final
TCompleteMonitorService
tCompleteMonitorService
;
/**
* 简单分页查询
* @param page 分页对象
* @param tCompleteMonitor 档案完整度监控
* @return
*/
@Operation
(
description
=
"简单分页查询"
)
@GetMapping
(
"/page"
)
public
R
<
IPage
<
TCompleteMonitor
>>
getTCompleteMonitorPage
(
Page
<
TCompleteMonitor
>
page
,
TCompleteMonitor
tCompleteMonitor
)
{
return
new
R
<>(
tCompleteMonitorService
.
getTCompleteMonitorPage
(
page
,
tCompleteMonitor
));
}
/**
* 查询人员明细
* @param page 分页对象
* @param deptNo 查询人员明细
* @return
*/
@Operation
(
description
=
"根据项目查询人员明细"
)
@GetMapping
(
"/empPage"
)
public
R
<
IPage
<
TCompleteMonitorInfoVo
>>
getMonitorEmpInfoListPage
(
Page
<
TCompleteMonitorInfoVo
>
page
,
String
deptNo
)
{
return
new
R
<>(
tCompleteMonitorService
.
getMonitorEmpInfoListPage
(
page
,
deptNo
));
}
/**
* 通过id查询档案完整度监控
* @param id id
* @return R
*/
@Operation
(
summary
=
"查看详情"
,
description
=
"查看详情"
)
@GetMapping
(
"/{id}"
)
public
R
<
TCompleteMonitor
>
getById
(
@PathVariable
(
"id"
)
String
id
)
{
return
R
.
ok
(
tCompleteMonitorService
.
getById
(
id
));
}
/**
* 修改档案完整度监控
* @param tCompleteMonitor 档案完整度监控
* @return R
*/
@Operation
(
summary
=
"修改档案完整度监控"
,
description
=
"修改档案完整度监控:hasPermission('archves_tcompletemonitor_edit')"
)
@SysLog
(
"修改档案完整度监控"
)
@PutMapping
@PreAuthorize
(
"@pms.hasPermission('archves_tcompletemonitor_edit')"
)
public
R
<
Boolean
>
updateById
(
@RequestBody
TCompleteMonitor
tCompleteMonitor
)
{
return
R
.
ok
(
tCompleteMonitorService
.
updateById
(
tCompleteMonitor
));
}
/**
* 通过id删除档案完整度监控
* @param id id
* @return R
*/
@Operation
(
summary
=
"通过id删除档案完整度监控"
,
description
=
"通过id删除档案完整度监控:hasPermission('archves_tcompletemonitor_del')"
)
@SysLog
(
"通过id删除档案完整度监控"
)
@DeleteMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('archves_tcompletemonitor_del')"
)
public
R
<
Boolean
>
removeById
(
@PathVariable
String
id
)
{
return
R
.
ok
(
tCompleteMonitorService
.
removeById
(
id
));
}
/**
* 档案完整度监控 批量导出
* @author huyc
* @date 2024-06-17 16:08:58
**/
@Operation
(
description
=
"导出档案完整度监控 hasPermission('archves_tcompletemonitor-export')"
)
@PostMapping
(
"/export"
)
@PreAuthorize
(
"@pms.hasPermission('archves_tcompletemonitor-export')"
)
public
void
export
(
HttpServletResponse
response
,
@RequestBody
TCompleteMonitorSearchVo
searchVo
)
{
tCompleteMonitorService
.
listExport
(
response
,
searchVo
);
}
/**
* 档案完整度监控 批量生成
* @author huyc
* @date 2024-06-17 16:08:58
**/
@Operation
(
description
=
"生成档案完整度监控"
)
@Inner
@PostMapping
(
"/inner/createComlpeteMonitor"
)
public
void
createComlpeteMonitor
()
throws
IllegalAccessException
{
tCompleteMonitorService
.
createComlpeteMonitor
();
}
/**
* 档案完整度监控 批量生成
* @author huyc
* @date 2024-06-17 16:08:58
**/
@Operation
(
description
=
"根据项目编码刷新项目完整度状态"
)
@PostMapping
(
"/updateProjectStatusByDeptNo"
)
public
R
updateProjectStatusByDeptNo
(
@RequestParam
String
deptNo
)
throws
IllegalAccessException
{
tCompleteMonitorService
.
updateProjectStatusByDeptNo
(
deptNo
);
return
R
.
ok
();
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/controller/TPreEmpMainController.java
View file @
34723e95
...
@@ -20,6 +20,7 @@ package com.yifu.cloud.plus.v1.yifu.archives.controller;
...
@@ -20,6 +20,7 @@ package com.yifu.cloud.plus.v1.yifu.archives.controller;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpMain
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpMain
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmployeeInfo
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.TPreEmpMainService
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.TPreEmpMainService
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.PreEmpMainDetailVo
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.PreEmpMainDetailVo
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.TPreEmpMainSearchVo
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.TPreEmpMainSearchVo
;
...
@@ -33,6 +34,7 @@ import io.swagger.v3.oas.annotations.Operation;
...
@@ -33,6 +34,7 @@ import io.swagger.v3.oas.annotations.Operation;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
lombok.RequiredArgsConstructor
;
import
lombok.RequiredArgsConstructor
;
import
lombok.SneakyThrows
;
import
lombok.SneakyThrows
;
import
org.apache.ibatis.annotations.Param
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.multipart.MultipartFile
;
import
org.springframework.web.multipart.MultipartFile
;
...
@@ -85,6 +87,18 @@ public class TPreEmpMainController {
...
@@ -85,6 +87,18 @@ public class TPreEmpMainController {
return
R
.
ok
(
tPreEmpMainService
.
noPageDiy
(
tPreEmpMain
));
return
R
.
ok
(
tPreEmpMainService
.
noPageDiy
(
tPreEmpMain
));
}
}
/**
* @Description: 根据身份证与项目id获取信息
* @Author: hgw
* @Date: 2024/6/20 17:23
* @return:
**/
@Operation
(
summary
=
"根据身份证与项目id获取信息"
,
description
=
"根据身份证与项目id获取信息"
)
@GetMapping
(
"/getByCardAndDeptId"
)
public
R
<
PreEmpMainDetailVo
>
getByCardAndDeptId
(
@Param
(
"empIdCard"
)
String
empIdCard
,
@Param
(
"deptId"
)
String
deptId
)
{
return
tPreEmpMainService
.
getByCardAndDeptId
(
empIdCard
,
deptId
);
}
/**
/**
* 通过id查询预入职-主表
* 通过id查询预入职-主表
*
*
...
@@ -98,6 +112,32 @@ public class TPreEmpMainController {
...
@@ -98,6 +112,32 @@ public class TPreEmpMainController {
return
tPreEmpMainService
.
getInfoById
(
id
);
return
tPreEmpMainService
.
getInfoById
(
id
);
}
}
/**
* 预入职单个完善信息
* hgw
* 2024-6-21 11:49:35
*/
@Operation
(
summary
=
"预入职单个完善信息"
,
description
=
"预入职单个完善信息"
)
@SysLog
(
"预入职单个完善信息"
)
@PostMapping
(
"/doImproveInformation"
)
public
R
<
String
>
doImproveInformation
(
@RequestBody
PreEmpMainDetailVo
vo
)
{
return
tPreEmpMainService
.
doImproveInformation
(
vo
);
}
/**
* 预入职批量完善信息
* @author hgw
* @date 2024-6-21 15:25:20
**/
@SneakyThrows
@Operation
(
description
=
"预入职批量完善信息hasPermission('archives_tpreempmain-batch-import')"
)
@SysLog
(
"预入职批量完善信息"
)
@PostMapping
(
"/importListAdd"
)
@PreAuthorize
(
"@pms.hasPermission('archives_tpreempmain-batch-import')"
)
public
R
<
List
<
ErrorMessage
>>
importListAdd
(
@RequestBody
MultipartFile
file
)
{
return
tPreEmpMainService
.
importDiy
(
file
.
getInputStream
());
}
/**
/**
* 草稿预入职
* 草稿预入职
* hgw
* hgw
...
@@ -110,6 +150,7 @@ public class TPreEmpMainController {
...
@@ -110,6 +150,7 @@ public class TPreEmpMainController {
public
R
<
String
>
saveDraftPreEmpMain
(
@RequestBody
PreEmpMainDetailVo
vo
)
{
public
R
<
String
>
saveDraftPreEmpMain
(
@RequestBody
PreEmpMainDetailVo
vo
)
{
return
tPreEmpMainService
.
saveDraftPreEmpMain
(
vo
);
return
tPreEmpMainService
.
saveDraftPreEmpMain
(
vo
);
}
}
/**
/**
* 保存预入职
* 保存预入职
* hgw
* hgw
...
@@ -151,21 +192,6 @@ public class TPreEmpMainController {
...
@@ -151,21 +192,6 @@ public class TPreEmpMainController {
return
R
.
ok
(
tPreEmpMainService
.
removeById
(
id
));
return
R
.
ok
(
tPreEmpMainService
.
removeById
(
id
));
}
}
/**
* 预入职-主表 批量导入
*
* @author hgw
* @date 2024-06-17 11:31:08
**/
@SneakyThrows
@Operation
(
description
=
"批量新增预入职-主表 hasPermission('archives_tpreempmain-batch-import')"
)
@SysLog
(
"批量新增预入职-主表"
)
@PostMapping
(
"/importListAdd"
)
@PreAuthorize
(
"@pms.hasPermission('archives_tpreempmain-batch-import')"
)
public
R
<
List
<
ErrorMessage
>>
importListAdd
(
@RequestBody
MultipartFile
file
)
{
return
tPreEmpMainService
.
importDiy
(
file
.
getInputStream
());
}
/**
/**
* 预入职-主表 批量导出
* 预入职-主表 批量导出
*
*
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/mapper/TAttaInfoMapper.java
View file @
34723e95
...
@@ -43,4 +43,6 @@ public interface TAttaInfoMapper extends BaseMapper<TAttaInfo> {
...
@@ -43,4 +43,6 @@ public interface TAttaInfoMapper extends BaseMapper<TAttaInfo> {
int
updateDomainId
(
@Param
(
"domainId"
)
String
domainId
,
@Param
(
"ids"
)
List
<
String
>
ids
);
int
updateDomainId
(
@Param
(
"domainId"
)
String
domainId
,
@Param
(
"ids"
)
List
<
String
>
ids
);
List
<
TAttaInfo
>
getAttaByApplyId
(
@Param
(
"applyId"
)
String
applyId
);
List
<
TAttaInfo
>
getAttaByApplyId
(
@Param
(
"applyId"
)
String
applyId
);
void
deleteByDomainId
(
@Param
(
"domainId"
)
String
domainId
);
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/mapper/TCompleteMonitorMapper.java
0 → 100644
View file @
34723e95
/*
* 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.TCompleteMonitor
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.TCompleteMonitorFlagVo
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.TCompleteMonitorInfoVo
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.TCompleteMonitorSearchVo
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.TCompleteMonitorVo
;
import
org.apache.ibatis.annotations.Mapper
;
import
org.apache.ibatis.annotations.Param
;
import
java.util.List
;
/**
* 档案完整度监控
*
* @author huyc
* @date 2024-06-17 16:08:58
*/
@Mapper
public
interface
TCompleteMonitorMapper
extends
BaseMapper
<
TCompleteMonitor
>
{
/**
* 档案完整度监控简单分页查询
* @param tCompleteMonitor 档案完整度监控
* @return
*/
IPage
<
TCompleteMonitor
>
getTCompleteMonitorPage
(
Page
<
TCompleteMonitor
>
page
,
@Param
(
"tCompleteMonitor"
)
TCompleteMonitor
tCompleteMonitor
);
/**
* 档案完整度监控简单分页查询
* @param tCompleteMonitor 档案完整度监控
* @return
*/
long
getExportCount
(
@Param
(
"tCompleteMonitor"
)
TCompleteMonitorSearchVo
tCompleteMonitor
);
/**
* 档案完整度监控批量导出
* @param tCompleteMonitor 档案完整度监控
* @return
*/
List
<
TCompleteMonitorVo
>
getTCompleteMonitorExportList
(
@Param
(
"tCompleteMonitor"
)
TCompleteMonitorSearchVo
tCompleteMonitor
);
/**
* 查询人员明细
* @param deptNo 项目编码
* @return
*/
IPage
<
TCompleteMonitorInfoVo
>
getMonitorEmpInfoList
(
Page
<
TCompleteMonitorInfoVo
>
page
,
@Param
(
"deptNo"
)
String
deptNo
);
/**
* 获取所有监控数据
* @return
*/
List
<
TCompleteMonitor
>
getAllMonitorEmpList
(
@Param
(
"deptNo"
)
String
deptNo
);
/**
* 删除所有监控数据
* @return
*/
void
deleteAllMonitorInfo
();
/**
* 判断项目档案的完整状态
* @return
*/
List
<
TCompleteMonitorFlagVo
>
checkEmpProjectCompleteFlag
(
@Param
(
"deptNo"
)
String
deptNo
);
/**
* 根据项目编码删除监控数据
* @return
*/
void
deleteMonitorInfoByDeptNo
(
@Param
(
"deptNo"
)
String
deptNo
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/mapper/TEmployeeProjectMapper.java
View file @
34723e95
...
@@ -118,4 +118,11 @@ public interface TEmployeeProjectMapper extends BaseMapper<TEmployeeProject> {
...
@@ -118,4 +118,11 @@ public interface TEmployeeProjectMapper extends BaseMapper<TEmployeeProject> {
void
updateContractStatus
(
@Param
(
"empId"
)
String
empId
,
@Param
(
"deptId"
)
String
deptId
,
@Param
(
"status"
)
int
status
);
void
updateContractStatus
(
@Param
(
"empId"
)
String
empId
,
@Param
(
"deptId"
)
String
deptId
,
@Param
(
"status"
)
int
status
);
int
updatePostByEmpDeptNo
(
@Param
(
"deptNo"
)
String
deptNo
,
@Param
(
"post"
)
String
post
,
@Param
(
"empIdcard"
)
String
empIdcard
);
int
updatePostByEmpDeptNo
(
@Param
(
"deptNo"
)
String
deptNo
,
@Param
(
"post"
)
String
post
,
@Param
(
"empIdcard"
)
String
empIdcard
);
/**
* 批量刷新项目档案的是否完整状态
* @return
*/
void
batchUpdateEmpProjectCompleteStatus
(
@Param
(
"idList"
)
List
<
String
>
idList
);
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/mapper/TPreEmpMainMapper.java
View file @
34723e95
...
@@ -39,4 +39,9 @@ public interface TPreEmpMainMapper extends BaseMapper<TPreEmpMain> {
...
@@ -39,4 +39,9 @@ public interface TPreEmpMainMapper extends BaseMapper<TPreEmpMain> {
* @return
* @return
*/
*/
IPage
<
TPreEmpMain
>
getTPreEmpMainPage
(
Page
<
TPreEmpMain
>
page
,
@Param
(
"tPreEmpMain"
)
TPreEmpMain
tPreEmpMain
);
IPage
<
TPreEmpMain
>
getTPreEmpMainPage
(
Page
<
TPreEmpMain
>
page
,
@Param
(
"tPreEmpMain"
)
TPreEmpMain
tPreEmpMain
);
TPreEmpMain
getTPreEmpMainByCardAndDept
(
@Param
(
"empIdCard"
)
String
empIdCard
,
@Param
(
"deptId"
)
String
deptId
);
TPreEmpMain
getTPreEmpMainByCardAndDeptNo
(
@Param
(
"empIdCard"
)
String
empIdCard
,
@Param
(
"deptNo"
)
String
deptNo
);
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/FileUploadService.java
View file @
34723e95
...
@@ -17,5 +17,7 @@ public interface FileUploadService {
...
@@ -17,5 +17,7 @@ public interface FileUploadService {
R
<
FileVo
>
uploadImg
(
MultipartFile
file
,
String
filePath
,
Integer
type
,
String
domain
)
throws
IOException
;
R
<
FileVo
>
uploadImg
(
MultipartFile
file
,
String
filePath
,
Integer
type
,
String
domain
)
throws
IOException
;
R
<
TAttaInfo
>
uploadFileReturnAtta
(
MultipartFile
file
,
String
filePath
,
Integer
type
,
String
domain
)
throws
IOException
;
R
<
FileVo
>
createQrCode
(
String
domainId
,
String
url
,
String
name
);
R
<
FileVo
>
createQrCode
(
String
domainId
,
String
url
,
String
name
);
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/TAttaInfoService.java
View file @
34723e95
...
@@ -70,4 +70,13 @@ public interface TAttaInfoService extends IService<TAttaInfo> {
...
@@ -70,4 +70,13 @@ public interface TAttaInfoService extends IService<TAttaInfo> {
**/
**/
R
<
List
<
TAttaInfo
>>
getAttaByApplyId
(
String
applyId
);
R
<
List
<
TAttaInfo
>>
getAttaByApplyId
(
String
applyId
);
/**
* @param domainId 关联id
* @Description: 删除附件
* @Author: hgw
* @Date: 2024/6/20 14:50
* @return: void
**/
void
deleteByDomainId
(
String
domainId
);
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/TCompleteMonitorService.java
0 → 100644
View file @
34723e95
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.TCompleteMonitor
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.TCompleteMonitorInfoVo
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.TCompleteMonitorSearchVo
;
import
javax.servlet.http.HttpServletResponse
;
/**
* 档案完整度监控
*
* @author huyc
* @date 2024-06-17 16:08:58
*/
public
interface
TCompleteMonitorService
extends
IService
<
TCompleteMonitor
>
{
/**
* 档案完整度监控简单分页查询
* @param tCompleteMonitor 档案完整度监控
* @return
*/
IPage
<
TCompleteMonitor
>
getTCompleteMonitorPage
(
Page
<
TCompleteMonitor
>
page
,
TCompleteMonitor
tCompleteMonitor
);
/**
* 档案完整度监控导出
* @param searchVo 档案完整度监控
* @return
*/
void
listExport
(
HttpServletResponse
response
,
TCompleteMonitorSearchVo
searchVo
);
/**
* 档案完整度监控生成
* @return
*/
void
createComlpeteMonitor
()
throws
IllegalAccessException
;
/**
* 根据项目编码刷新项目完整度状态
* @return
*/
void
updateProjectStatusByDeptNo
(
String
deptNo
)
throws
IllegalAccessException
;
/**
* 档案完整度监控简单分页查询
* @param deptNo 项目编码
* @return
*/
IPage
<
TCompleteMonitorInfoVo
>
getMonitorEmpInfoListPage
(
Page
<
TCompleteMonitorInfoVo
>
page
,
String
deptNo
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/TEmpBadRecordService.java
View file @
34723e95
...
@@ -46,4 +46,14 @@ public interface TEmpBadRecordService extends IService<TEmpBadRecord> {
...
@@ -46,4 +46,14 @@ public interface TEmpBadRecordService extends IService<TEmpBadRecord> {
IPage
<
TEmpBadRecord
>
pageDiy
(
Page
page
,
EmpBadRecordSearchVo
tEmpBadRecord
);
IPage
<
TEmpBadRecord
>
pageDiy
(
Page
page
,
EmpBadRecordSearchVo
tEmpBadRecord
);
List
<
TEmpBadRecord
>
noPageDiy
(
EmpBadRecordSearchVo
tEmpBadRecord
);
List
<
TEmpBadRecord
>
noPageDiy
(
EmpBadRecordSearchVo
tEmpBadRecord
);
/**
* @param empId
* @Description: 预入职使用
* @Author: hgw
* @Date: 2024/6/21 9:53
* @return: com.yifu.cloud.plus.v1.yifu.archives.entity.TEmpBadRecord
**/
TEmpBadRecord
getByEmpId
(
String
empId
);
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/TEmpContactInfoService.java
View file @
34723e95
...
@@ -17,13 +17,14 @@
...
@@ -17,13 +17,14 @@
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
service
;
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.TEmpContactInfo
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TEmpContactInfo
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.TEmpContactInfoSearchVo
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.ErrorMessage
;
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.util.R
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.TEmpContactInfoSearchVo
;
import
javax.servlet.http.HttpServletResponse
;
import
javax.servlet.http.HttpServletResponse
;
import
java.io.InputStream
;
import
java.io.InputStream
;
import
java.util.List
;
import
java.util.List
;
...
@@ -47,4 +48,6 @@ public interface TEmpContactInfoService extends IService<TEmpContactInfo> {
...
@@ -47,4 +48,6 @@ public interface TEmpContactInfoService extends IService<TEmpContactInfo> {
void
listExport
(
HttpServletResponse
response
,
TEmpContactInfoSearchVo
searchVo
);
void
listExport
(
HttpServletResponse
response
,
TEmpContactInfoSearchVo
searchVo
);
List
<
TEmpContactInfo
>
noPageDiy
(
TEmpContactInfoSearchVo
searchVo
);
List
<
TEmpContactInfo
>
noPageDiy
(
TEmpContactInfoSearchVo
searchVo
);
TEmpContactInfo
getByEmpId
(
String
empId
);
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/TEmpDisabilityInfoService.java
View file @
34723e95
...
@@ -48,4 +48,7 @@ public interface TEmpDisabilityInfoService extends IService<TEmpDisabilityInfo>
...
@@ -48,4 +48,7 @@ public interface TEmpDisabilityInfoService extends IService<TEmpDisabilityInfo>
R
<
Boolean
>
updateByIdDiy
(
TEmpDisabilityInfo
tEmpDisabilityInfo
);
R
<
Boolean
>
updateByIdDiy
(
TEmpDisabilityInfo
tEmpDisabilityInfo
);
R
<
List
<
ErrorMessage
>>
importTmpDisabilityDiy
(
InputStream
inputStream
);
R
<
List
<
ErrorMessage
>>
importTmpDisabilityDiy
(
InputStream
inputStream
);
TEmpDisabilityInfo
getByEmpId
(
String
empId
);
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/TEmpEducationService.java
View file @
34723e95
...
@@ -61,11 +61,20 @@ public interface TEmpEducationService extends IService<TEmpEducation> {
...
@@ -61,11 +61,20 @@ public interface TEmpEducationService extends IService<TEmpEducation> {
/**
/**
* @param empIdcard
* @param empIdcard
* @Description: 将所有的最高学历改为
费
最高
* @Description: 将所有的最高学历改为
非
最高
* @Author: hgw
* @Author: hgw
* @Date: 2024/6/19 18:03
* @Date: 2024/6/19 18:03
* @return: void
* @return: void
**/
**/
void
updateEducationToNoByIdCard
(
String
empIdcard
);
void
updateEducationToNoByIdCard
(
String
empIdcard
);
/**
* @param empId
* @Description: 获取信息,预入职使用
* @Author: hgw
* @Date: 2024/6/21 9:52
* @return: com.yifu.cloud.plus.v1.yifu.archives.entity.TEmpEducation
**/
TEmpEducation
getByEmpId
(
String
empId
);
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/TEmpFamilyService.java
View file @
34723e95
...
@@ -58,4 +58,7 @@ public interface TEmpFamilyService extends IService<TEmpFamily> {
...
@@ -58,4 +58,7 @@ public interface TEmpFamilyService extends IService<TEmpFamily> {
* @return: void
* @return: void
**/
**/
void
deleteByEmpIdAndTable
(
String
empId
,
String
tableName
);
void
deleteByEmpIdAndTable
(
String
empId
,
String
tableName
);
List
<
TEmpFamily
>
getListByEmpId
(
String
empId
);
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/TEmpProfessionalQualificationService.java
View file @
34723e95
...
@@ -48,4 +48,14 @@ public interface TEmpProfessionalQualificationService extends IService<TEmpProfe
...
@@ -48,4 +48,14 @@ public interface TEmpProfessionalQualificationService extends IService<TEmpProfe
R
<
List
<
ErrorMessage
>>
importEmpCertificateDiy
(
InputStream
inputStream
);
R
<
List
<
ErrorMessage
>>
importEmpCertificateDiy
(
InputStream
inputStream
);
R
<
Boolean
>
updateByIdDiy
(
TEmpProfessionalQualification
tEmpProfessionalQualification
);
R
<
Boolean
>
updateByIdDiy
(
TEmpProfessionalQualification
tEmpProfessionalQualification
);
/**
* @param empId
* @Description: 获取list,预入职使用
* @Author: hgw
* @Date: 2024/6/21 9:51
* @return: java.util.List<com.yifu.cloud.plus.v1.yifu.archives.entity.TEmpProfessionalQualification>
**/
List
<
TEmpProfessionalQualification
>
getListByEmpId
(
String
empId
);
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/TEmpWorkRecordingService.java
View file @
34723e95
...
@@ -48,4 +48,14 @@ public interface TEmpWorkRecordingService extends IService<TEmpWorkRecording> {
...
@@ -48,4 +48,14 @@ public interface TEmpWorkRecordingService extends IService<TEmpWorkRecording> {
List
<
TEmpWorkRecording
>
getTEmpWorkRecordingNoPage
(
WorkRecordSearchVO
searchVo
);
List
<
TEmpWorkRecording
>
getTEmpWorkRecordingNoPage
(
WorkRecordSearchVO
searchVo
);
R
<
List
<
ErrorMessage
>>
importEmpWorkRecordDiy
(
InputStream
inputStream
);
R
<
List
<
ErrorMessage
>>
importEmpWorkRecordDiy
(
InputStream
inputStream
);
/**
* @param empId
* @Description: 预入职使用
* @Author: hgw
* @Date: 2024/6/21 9:59
* @return: java.util.List<com.yifu.cloud.plus.v1.yifu.archives.entity.TEmpWorkRecording>
**/
List
<
TEmpWorkRecording
>
getListByEmpId
(
String
empId
);
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/TPreEmpMainService.java
View file @
34723e95
...
@@ -21,6 +21,7 @@ import com.baomidou.mybatisplus.core.metadata.IPage;
...
@@ -21,6 +21,7 @@ import com.baomidou.mybatisplus.core.metadata.IPage;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpMain
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpMain
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmployeeInfo
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.PreEmpMainDetailVo
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.PreEmpMainDetailVo
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.TPreEmpMainSearchVo
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.TPreEmpMainSearchVo
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.ErrorMessage
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.ErrorMessage
;
...
@@ -53,11 +54,22 @@ public interface TPreEmpMainService extends IService<TPreEmpMain> {
...
@@ -53,11 +54,22 @@ public interface TPreEmpMainService extends IService<TPreEmpMain> {
**/
**/
R
<
PreEmpMainDetailVo
>
getInfoById
(
String
id
);
R
<
PreEmpMainDetailVo
>
getInfoById
(
String
id
);
/**
* @Description:根据身份证与项目id获取信息
* @Author: hgw
* @Date: 2024/6/20 17:26
* @return: com.yifu.cloud.plus.v1.yifu.common.core.util.R<com.yifu.cloud.plus.v1.yifu.archives.vo.PreEmpMainDetailVo>
**/
R
<
PreEmpMainDetailVo
>
getByCardAndDeptId
(
String
empIdCard
,
String
deptId
);
// 单个完善信息
R
<
String
>
doImproveInformation
(
PreEmpMainDetailVo
vo
);
// 草稿
// 草稿
R
<
String
>
saveDraftPreEmpMain
(
PreEmpMainDetailVo
vo
);
R
<
String
>
saveDraftPreEmpMain
(
PreEmpMainDetailVo
vo
);
// 保存
// 保存
R
<
String
>
savePreEmpMain
(
PreEmpMainDetailVo
vo
);
R
<
String
>
savePreEmpMain
(
PreEmpMainDetailVo
vo
);
// 批量完善信息
R
<
List
<
ErrorMessage
>>
importDiy
(
InputStream
inputStream
);
R
<
List
<
ErrorMessage
>>
importDiy
(
InputStream
inputStream
);
void
listExport
(
HttpServletResponse
response
,
TPreEmpMainSearchVo
searchVo
);
void
listExport
(
HttpServletResponse
response
,
TPreEmpMainSearchVo
searchVo
);
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/FileUploadServiceImpl.java
View file @
34723e95
...
@@ -32,6 +32,52 @@ public class FileUploadServiceImpl implements FileUploadService {
...
@@ -32,6 +32,52 @@ public class FileUploadServiceImpl implements FileUploadService {
private
final
QrCodeUtil
codeUtil
;
private
final
QrCodeUtil
codeUtil
;
@Override
public
R
<
TAttaInfo
>
uploadFileReturnAtta
(
MultipartFile
file
,
String
filePath
,
Integer
type
,
String
domain
)
throws
IOException
{
if
(
null
==
file
)
{
return
R
.
failed
(
"文件删除异常,请重新上传!"
);
}
String
fileName
=
file
.
getOriginalFilename
();
if
(
fileName
==
null
||
Common
.
isEmpty
(
fileName
))
{
return
R
.
failed
(
"文件名不能为空!!"
);
}
if
(
fileName
.
length
()
>
100
)
{
return
R
.
failed
(
"文件名不能超过100个字符!"
);
}
//filePath不传默认存储空间的根目录
//jpg,jpeg,png,bmp
String
key
=
""
;
if
(
Common
.
isNotNull
(
filePath
))
{
key
=
filePath
+
"/"
+
System
.
currentTimeMillis
()
+
fileName
;
}
else
{
key
=
System
.
currentTimeMillis
()
+
fileName
;
}
if
(!
Common
.
checkFile
(
key
))
{
return
R
.
failed
(
"非法上传类型!"
);
}
boolean
flag
=
ossUtil
.
uploadFileByStream
(
file
.
getInputStream
(),
key
,
null
);
TAttaInfo
attaInfo
;
URL
url
;
if
(
flag
)
{
log
.
info
(
"文件:"
+
fileName
+
"上传到存储空间"
+
ossUtil
.
getBucketName
()
+
"成功!"
);
attaInfo
=
initUnitAttaForInsert
(
fileName
,
key
,
file
.
getSize
());
attaInfo
.
setRelationType
(
String
.
valueOf
(
type
));
try
{
attaInfo
.
setDomainId
(
domain
);
attaInfo
=
tAttaInfoService
.
add
(
attaInfo
);
}
catch
(
Exception
e
)
{
log
.
error
(
"OSS文件上传异常:"
+
e
.
getMessage
());
ossUtil
.
deleteObject
(
null
,
key
);
return
R
.
failed
(
"上传异常:"
+
e
.
getMessage
());
}
url
=
ossUtil
.
getObjectUrl
(
null
,
attaInfo
.
getAttaSrc
());
attaInfo
.
setAttaUrl
(
String
.
valueOf
(
url
));
return
R
.
ok
(
attaInfo
);
}
else
{
return
R
.
failed
(
"fail:上传异常"
);
}
}
@Override
@Override
public
R
<
FileVo
>
uploadImg
(
MultipartFile
file
,
String
filePath
,
Integer
type
,
String
domain
)
throws
IOException
{
public
R
<
FileVo
>
uploadImg
(
MultipartFile
file
,
String
filePath
,
Integer
type
,
String
domain
)
throws
IOException
{
if
(
null
==
file
)
{
if
(
null
==
file
)
{
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TAttaInfoServiceImpl.java
View file @
34723e95
...
@@ -128,4 +128,9 @@ public class TAttaInfoServiceImpl extends ServiceImpl<TAttaInfoMapper, TAttaInfo
...
@@ -128,4 +128,9 @@ public class TAttaInfoServiceImpl extends ServiceImpl<TAttaInfoMapper, TAttaInfo
return
R
.
failed
(
"没有附件"
);
return
R
.
failed
(
"没有附件"
);
}
}
}
}
@Override
public
void
deleteByDomainId
(
String
domainId
)
{
baseMapper
.
deleteByDomainId
(
domainId
);
}
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TCompleteMonitorServiceImpl.java
0 → 100644
View file @
34723e95
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
service
.
impl
;
import
com.alibaba.excel.EasyExcel
;
import
com.alibaba.excel.ExcelWriter
;
import
com.alibaba.excel.write.metadata.WriteSheet
;
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.TCompleteMonitor
;
import
com.yifu.cloud.plus.v1.yifu.archives.mapper.TCompleteMonitorMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.mapper.TEmployeeProjectMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.TCompleteMonitorService
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.TCompleteMonitorFlagVo
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.TCompleteMonitorInfoVo
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.TCompleteMonitorSearchVo
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.TCompleteMonitorVo
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.CommonConstants
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.Common
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.DateUtil
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.ExcelUtil
;
import
lombok.RequiredArgsConstructor
;
import
lombok.extern.log4j.Log4j2
;
import
org.springframework.stereotype.Service
;
import
javax.servlet.ServletOutputStream
;
import
javax.servlet.http.HttpServletResponse
;
import
java.io.IOException
;
import
java.lang.reflect.Field
;
import
java.net.URLEncoder
;
import
java.util.ArrayList
;
import
java.util.List
;
/**
* 档案完整度监控
*
* @author huyc
* @date 2024-06-17 16:08:58
*/
@Log4j2
@Service
@RequiredArgsConstructor
public
class
TCompleteMonitorServiceImpl
extends
ServiceImpl
<
TCompleteMonitorMapper
,
TCompleteMonitor
>
implements
TCompleteMonitorService
{
private
final
TEmployeeProjectMapper
projectMapper
;
/**
* 档案完整度监控简单分页查询
* @param tCompleteMonitor 档案完整度监控
* @return
*/
@Override
public
IPage
<
TCompleteMonitor
>
getTCompleteMonitorPage
(
Page
<
TCompleteMonitor
>
page
,
TCompleteMonitor
tCompleteMonitor
){
return
baseMapper
.
getTCompleteMonitorPage
(
page
,
tCompleteMonitor
);
}
/**
* 档案完整度监控批量导出
* @param searchVo 档案完整度监控
* @return
*/
@Override
public
void
listExport
(
HttpServletResponse
response
,
TCompleteMonitorSearchVo
searchVo
){
String
fileName
=
"档案完整度监控批量导出"
+
DateUtil
.
getThisTime
()
+
".xlsx"
;
//获取要导出的列表
List
<
TCompleteMonitorVo
>
list
=
new
ArrayList
<>();
long
count
=
baseMapper
.
getExportCount
(
searchVo
);
ServletOutputStream
out
=
null
;
try
{
out
=
response
.
getOutputStream
();
response
.
setContentType
(
CommonConstants
.
MULTIPART_FORM_DATA
);
response
.
setCharacterEncoding
(
"utf-8"
);
response
.
setHeader
(
CommonConstants
.
CONTENT_DISPOSITION
,
CommonConstants
.
ATTACHMENT_FILENAME
+
URLEncoder
.
encode
(
fileName
,
CommonConstants
.
UTF8
));
// 这里 需要指定写用哪个class去写,然后写到第一个sheet,然后文件流会自动关闭
//EasyExcel.write(out, TEmpBadRecord.class).sheet("不良记录").doWrite(list);
ExcelWriter
excelWriter
=
EasyExcel
.
write
(
out
,
TCompleteMonitorVo
.
class
).
build
();
int
index
=
0
;
if
(
count
>
CommonConstants
.
ZERO_INT
){
for
(
int
i
=
0
;
i
<=
count
;
)
{
// 获取实际记录
searchVo
.
setLimitStart
(
i
);
searchVo
.
setLimitEnd
(
CommonConstants
.
EXCEL_EXPORT_LIMIT
);
list
=
baseMapper
.
getTCompleteMonitorExportList
(
searchVo
);
if
(
Common
.
isNotNull
(
list
)){
ExcelUtil
<
TCompleteMonitorVo
>
util
=
new
ExcelUtil
<>(
TCompleteMonitorVo
.
class
);
for
(
TCompleteMonitorVo
vo:
list
){
util
.
convertEntity
(
vo
,
null
,
null
,
null
);
}
}
if
(
Common
.
isNotNull
(
list
)){
WriteSheet
writeSheet
=
EasyExcel
.
writerSheet
(
"档案完整度监控"
+
index
).
build
();
excelWriter
.
write
(
list
,
writeSheet
);
index
++;
}
i
=
i
+
CommonConstants
.
EXCEL_EXPORT_LIMIT
;
if
(
Common
.
isNotNull
(
list
)){
list
.
clear
();
}
}
}
else
{
WriteSheet
writeSheet
=
EasyExcel
.
writerSheet
(
"档案完整度监控"
+
index
).
build
();
excelWriter
.
write
(
list
,
writeSheet
);
}
if
(
Common
.
isNotNull
(
list
)){
list
.
clear
();
}
out
.
flush
();
excelWriter
.
finish
();
}
catch
(
Exception
e
){
log
.
error
(
"执行异常"
,
e
);
}
finally
{
try
{
if
(
null
!=
out
)
{
out
.
close
();
}
}
catch
(
IOException
e
)
{
log
.
error
(
"执行异常"
,
e
);
}
}
}
@Override
public
void
createComlpeteMonitor
()
throws
IllegalAccessException
{
//先删除所有的档案监控数据
baseMapper
.
deleteAllMonitorInfo
();
//批量查询项目档案的是否完整状态
List
<
TCompleteMonitorFlagVo
>
flagList
=
baseMapper
.
checkEmpProjectCompleteFlag
(
null
);
if
(!
flagList
.
isEmpty
())
{
List
<
String
>
projectIdList
=
new
ArrayList
<>();
String
projectId
;
for
(
TCompleteMonitorFlagVo
flagVo
:
flagList
)
{
boolean
flag
=
checkObjFieldIsNull
(
flagVo
);
if
(!
flag
){
projectId
=
flagVo
.
getEmpProjectId
();
projectIdList
.
add
(
projectId
);
}
}
//批量更新
if
(!
projectIdList
.
isEmpty
())
projectMapper
.
batchUpdateEmpProjectCompleteStatus
(
projectIdList
);
}
//查询项目维度的信息
List
<
TCompleteMonitor
>
list
=
baseMapper
.
getAllMonitorEmpList
(
null
);
//查询当天新增的项目档案数据来筛选需要刷新的数据
this
.
saveBatch
(
list
);
}
/**
* 档案完整度监控简单分页查询
* @param deptNo 项目编码
* @return
*/
@Override
public
IPage
<
TCompleteMonitorInfoVo
>
getMonitorEmpInfoListPage
(
Page
<
TCompleteMonitorInfoVo
>
page
,
String
deptNo
){
return
baseMapper
.
getMonitorEmpInfoList
(
page
,
deptNo
);
}
@Override
public
void
updateProjectStatusByDeptNo
(
String
deptNo
)
throws
IllegalAccessException
{
//批量查询项目档案的是否完整状态
List
<
TCompleteMonitorFlagVo
>
flagList
=
baseMapper
.
checkEmpProjectCompleteFlag
(
deptNo
);
if
(!
flagList
.
isEmpty
())
{
List
<
String
>
projectIdList
=
new
ArrayList
<>();
String
projectId
;
for
(
TCompleteMonitorFlagVo
flagVo
:
flagList
)
{
boolean
flag
=
checkObjFieldIsNull
(
flagVo
);
if
(!
flag
){
projectId
=
flagVo
.
getEmpProjectId
();
projectIdList
.
add
(
projectId
);
}
}
//批量更新
if
(!
projectIdList
.
isEmpty
())
projectMapper
.
batchUpdateEmpProjectCompleteStatus
(
projectIdList
);
}
//删除项目监控表数据
baseMapper
.
deleteMonitorInfoByDeptNo
(
deptNo
);
//查询项目维度的信息
List
<
TCompleteMonitor
>
list
=
baseMapper
.
getAllMonitorEmpList
(
deptNo
);
//查询当天新增的项目档案数据来筛选需要刷新的数据
this
.
saveBatch
(
list
);
}
/**
*
* @param obj 对象
// * @param checkField 要检查的属性集合
* @return true 指定属性有为空的 false 所有属性值都不为空
* @throws IllegalAccessException
*/
public
boolean
checkObjFieldIsNull
(
Object
obj
)
throws
IllegalAccessException
{
//获取对象的类
Class
<?>
aClass
=
obj
.
getClass
();
Field
[]
declaredFields
=
aClass
.
getDeclaredFields
();
//筛选出包含在要检查的list 并且 属性为null的字段
for
(
Field
field
:
declaredFields
){
if
(
null
==
field
.
get
(
obj
))
{
return
true
;
}
}
return
false
;
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TEmpBadRecordServiceImpl.java
View file @
34723e95
...
@@ -271,6 +271,11 @@ public class TEmpBadRecordServiceImpl extends ServiceImpl<TEmpBadRecordMapper, T
...
@@ -271,6 +271,11 @@ public class TEmpBadRecordServiceImpl extends ServiceImpl<TEmpBadRecordMapper, T
return
baseMapper
.
selectPage
(
page
,
wrapper
);
return
baseMapper
.
selectPage
(
page
,
wrapper
);
}
}
@Override
public
TEmpBadRecord
getByEmpId
(
String
empId
)
{
return
baseMapper
.
selectOne
(
Wrappers
.<
TEmpBadRecord
>
query
().
lambda
().
eq
(
TEmpBadRecord:
:
getEmpId
,
empId
).
last
(
CommonConstants
.
LAST_ONE_SQL
));
}
@Override
@Override
public
List
<
TEmpBadRecord
>
noPageDiy
(
EmpBadRecordSearchVo
tEmpBadRecord
)
{
public
List
<
TEmpBadRecord
>
noPageDiy
(
EmpBadRecordSearchVo
tEmpBadRecord
)
{
LambdaQueryWrapper
<
TEmpBadRecord
>
wrapper
=
buildQueryWrapper
(
tEmpBadRecord
);
LambdaQueryWrapper
<
TEmpBadRecord
>
wrapper
=
buildQueryWrapper
(
tEmpBadRecord
);
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TEmpContactInfoServiceImpl.java
View file @
34723e95
...
@@ -249,4 +249,10 @@ public class TEmpContactInfoServiceImpl extends ServiceImpl<TEmpContactInfoMappe
...
@@ -249,4 +249,10 @@ public class TEmpContactInfoServiceImpl extends ServiceImpl<TEmpContactInfoMappe
BeanUtil
.
copyProperties
(
excel
,
insert
);
BeanUtil
.
copyProperties
(
excel
,
insert
);
this
.
save
(
insert
);
this
.
save
(
insert
);
}
}
@Override
public
TEmpContactInfo
getByEmpId
(
String
empId
)
{
return
baseMapper
.
selectOne
(
Wrappers
.<
TEmpContactInfo
>
query
().
lambda
().
eq
(
TEmpContactInfo:
:
getEmpId
,
empId
).
last
(
CommonConstants
.
LAST_ONE_SQL
));
}
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TEmpDisabilityInfoServiceImpl.java
View file @
34723e95
...
@@ -28,6 +28,7 @@ import com.baomidou.mybatisplus.core.metadata.IPage;
...
@@ -28,6 +28,7 @@ import com.baomidou.mybatisplus.core.metadata.IPage;
import
com.baomidou.mybatisplus.core.toolkit.Wrappers
;
import
com.baomidou.mybatisplus.core.toolkit.Wrappers
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TEmpBadRecord
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TEmpDisabilityInfo
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TEmpDisabilityInfo
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TEmployeeInfo
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TEmployeeInfo
;
import
com.yifu.cloud.plus.v1.yifu.archives.mapper.TAttaInfoMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.mapper.TAttaInfoMapper
;
...
@@ -302,4 +303,10 @@ public class TEmpDisabilityInfoServiceImpl extends ServiceImpl<TEmpDisabilityInf
...
@@ -302,4 +303,10 @@ public class TEmpDisabilityInfoServiceImpl extends ServiceImpl<TEmpDisabilityInf
insert
.
setSettleDomain
(
emp
.
getDeptId
());
insert
.
setSettleDomain
(
emp
.
getDeptId
());
this
.
save
(
insert
);
this
.
save
(
insert
);
}
}
@Override
public
TEmpDisabilityInfo
getByEmpId
(
String
empId
)
{
return
baseMapper
.
selectOne
(
Wrappers
.<
TEmpDisabilityInfo
>
query
().
lambda
().
eq
(
TEmpDisabilityInfo:
:
getEmpId
,
empId
).
last
(
CommonConstants
.
LAST_ONE_SQL
));
}
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TEmpEducationServiceImpl.java
View file @
34723e95
...
@@ -542,4 +542,10 @@ public class TEmpEducationServiceImpl extends ServiceImpl<TEmpEducationMapper, T
...
@@ -542,4 +542,10 @@ public class TEmpEducationServiceImpl extends ServiceImpl<TEmpEducationMapper, T
return
baseMapper
.
noPageCountDiy
(
searchVo
,
idList
);
return
baseMapper
.
noPageCountDiy
(
searchVo
,
idList
);
}
}
@Override
public
TEmpEducation
getByEmpId
(
String
empId
)
{
return
baseMapper
.
selectOne
(
Wrappers
.<
TEmpEducation
>
query
().
lambda
().
eq
(
TEmpEducation:
:
getEmpId
,
empId
)
.
eq
(
TEmpEducation:
:
getDeleteFlag
,
CommonConstants
.
STATUS_NORMAL
).
last
(
CommonConstants
.
LAST_ONE_SQL
));
}
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TEmpFamilyServiceImpl.java
View file @
34723e95
...
@@ -272,4 +272,10 @@ public class TEmpFamilyServiceImpl extends ServiceImpl<TEmpFamilyMapper, TEmpFam
...
@@ -272,4 +272,10 @@ public class TEmpFamilyServiceImpl extends ServiceImpl<TEmpFamilyMapper, TEmpFam
insert
.
setSettleDomain
(
emp
.
getDeptId
());
insert
.
setSettleDomain
(
emp
.
getDeptId
());
this
.
save
(
insert
);
this
.
save
(
insert
);
}
}
@Override
public
List
<
TEmpFamily
>
getListByEmpId
(
String
empId
)
{
return
baseMapper
.
selectList
(
Wrappers
.<
TEmpFamily
>
query
().
lambda
().
eq
(
TEmpFamily:
:
getEmpId
,
empId
).
eq
(
TEmpFamily:
:
getDeleteFlag
,
CommonConstants
.
ZERO_STRING
));
}
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TEmpProfessionalQualificationServiceImpl.java
View file @
34723e95
...
@@ -282,4 +282,10 @@ public class TEmpProfessionalQualificationServiceImpl extends ServiceImpl<TEmpPr
...
@@ -282,4 +282,10 @@ public class TEmpProfessionalQualificationServiceImpl extends ServiceImpl<TEmpPr
}
}
return
wrapper
;
return
wrapper
;
}
}
@Override
public
List
<
TEmpProfessionalQualification
>
getListByEmpId
(
String
empId
)
{
return
baseMapper
.
selectList
(
Wrappers
.<
TEmpProfessionalQualification
>
query
().
lambda
().
eq
(
TEmpProfessionalQualification:
:
getEmpId
,
empId
).
eq
(
TEmpProfessionalQualification:
:
getDeleteFlag
,
CommonConstants
.
ZERO_STRING
));
}
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TEmpWorkRecordingServiceImpl.java
View file @
34723e95
...
@@ -291,4 +291,9 @@ public class TEmpWorkRecordingServiceImpl extends ServiceImpl<TEmpWorkRecordingM
...
@@ -291,4 +291,9 @@ public class TEmpWorkRecordingServiceImpl extends ServiceImpl<TEmpWorkRecordingM
return
wrapper
;
return
wrapper
;
}
}
@Override
public
List
<
TEmpWorkRecording
>
getListByEmpId
(
String
empId
)
{
return
baseMapper
.
selectList
(
Wrappers
.<
TEmpWorkRecording
>
query
().
lambda
().
eq
(
TEmpWorkRecording:
:
getEmpId
,
empId
).
eq
(
TEmpWorkRecording:
:
getDeleteFlag
,
CommonConstants
.
ZERO_STRING
));
}
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TPreEmpMainServiceImpl.java
View file @
34723e95
This diff is collapsed.
Click to expand it.
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TAttaInfoMapper.xml
View file @
34723e95
...
@@ -123,4 +123,8 @@
...
@@ -123,4 +123,8 @@
where EXISTS (select 1 from m_salary_prova_atta b where b.SALARY_PROVA_ID = #{applyId} and a.id = b.ATTA_ID);
where EXISTS (select 1 from m_salary_prova_atta b where b.SALARY_PROVA_ID = #{applyId} and a.id = b.ATTA_ID);
</select>
</select>
<delete
id=
"deleteByDomainId"
>
delete from t_atta_info where domain_id=#{domainId}
</delete>
</mapper>
</mapper>
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TCompleteMonitorMapper.xml
0 → 100644
View file @
34723e95
This diff is collapsed.
Click to expand it.
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TEmployeeProjectMapper.xml
View file @
34723e95
...
@@ -1086,4 +1086,12 @@
...
@@ -1086,4 +1086,12 @@
set a.POST = #{post}
set a.POST = #{post}
WHERE a.DEPT_NO=#{deptNo} and a.EMP_IDCARD=#{empIdcard} and a.DELETE_FLAG ='0'
WHERE a.DEPT_NO=#{deptNo} and a.EMP_IDCARD=#{empIdcard} and a.DELETE_FLAG ='0'
</update>
</update>
<!-- 批量刷新项目档案的是否完整状态 -->
<update
id=
"batchUpdateEmpProjectCompleteStatus"
>
update t_employee_project a set a.IS_COMPLETE = '0' where a.id in
<foreach
item=
"item"
index=
"index"
collection=
"idList"
open=
"("
separator=
","
close=
")"
>
#{item}
</foreach>
</update>
</mapper>
</mapper>
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TPreEmpDisabilityInfoMapper.xml
View file @
34723e95
...
@@ -26,48 +26,58 @@
...
@@ -26,48 +26,58 @@
<resultMap
id=
"tPreEmpDisabilityInfoMap"
type=
"com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpDisabilityInfo"
>
<resultMap
id=
"tPreEmpDisabilityInfoMap"
type=
"com.yifu.cloud.plus.v1.yifu.archives.entity.TPreEmpDisabilityInfo"
>
<id
property=
"id"
column=
"ID"
/>
<id
property=
"id"
column=
"ID"
/>
<result
property=
"preMainId"
column=
"PRE_MAIN_ID"
/>
<result
property=
"preMainId"
column=
"PRE_MAIN_ID"
/>
<result
property=
"empId"
column=
"EMP_ID"
/>
<result
property=
"empId"
column=
"EMP_ID"
/>
<result
property=
"empName"
column=
"EMP_NAME"
/>
<result
property=
"empName"
column=
"EMP_NAME"
/>
<result
property=
"empCode"
column=
"EMP_CODE"
/>
<result
property=
"empCode"
column=
"EMP_CODE"
/>
<result
property=
"empIdcard"
column=
"EMP_IDCARD"
/>
<result
property=
"empIdcard"
column=
"EMP_IDCARD"
/>
<result
property=
"disabilityName"
column=
"DISABILITY_NAME"
/>
<result
property=
"disabilityName"
column=
"DISABILITY_NAME"
/>
<result
property=
"disabilityLevel"
column=
"DISABILITY_LEVEL"
/>
<result
property=
"disabilityLevel"
column=
"DISABILITY_LEVEL"
/>
<result
property=
"injuryIdentification"
column=
"INJURY_IDENTIFICATION"
/>
<result
property=
"injuryIdentification"
column=
"INJURY_IDENTIFICATION"
/>
<result
property=
"startTime"
column=
"START_TIME"
/>
<result
property=
"startTime"
column=
"START_TIME"
/>
<result
property=
"endTime"
column=
"END_TIME"
/>
<result
property=
"endTime"
column=
"END_TIME"
/>
<result
property=
"occupationalDisease"
column=
"OCCUPATIONAL_DISEASE"
/>
<result
property=
"occupationalDisease"
column=
"OCCUPATIONAL_DISEASE"
/>
<result
property=
"deleteFlag"
column=
"DELETE_FLAG"
/>
<result
property=
"settleDomain"
column=
"SETTLE_DOMAIN"
/>
<result
property=
"settleDomain"
column=
"SETTLE_DOMAIN"
/>
<result
property=
"deleteFlag"
column=
"DELETE_FLAG"
/>
<result
property=
"createBy"
column=
"CREATE_BY"
/>
<result
property=
"createBy"
column=
"CREATE_BY"
/>
<result
property=
"updateBy"
column=
"UPDATE_BY"
/>
<result
property=
"updateBy"
column=
"UPDATE_BY"
/>
<result
property=
"createName"
column=
"CREATE_NAME"
/>
<result
property=
"createName"
column=
"CREATE_NAME"
/>
<result
property=
"createTime"
column=
"CREATE_TIME"
/>
<result
property=
"createTime"
column=
"CREATE_TIME"
/>
<result
property=
"updateTime"
column=
"UPDATE_TIME"
/>
<result
property=
"updateTime"
column=
"UPDATE_TIME"
/>
<result
property=
"remark"
column=
"REMARK"
/>
<result
property=
"remark"
column=
"REMARK"
/>
<result
property=
"occupationalDiseaseFlag"
column=
"OCCUPATIONAL_DISEASE_FLAG"
/>
<result
property=
"infectiousDiseaseFlag"
column=
"INFECTIOUS_DISEASE_FLAG"
/>
<result
property=
"infectiousName"
column=
"INFECTIOUS_NAME"
/>
<result
property=
"disabilityFlag"
column=
"DISABILITY_FLAG"
/>
<result
property=
"otherFlag"
column=
"OTHER_FLAG"
/>
<result
property=
"oldId"
column=
"OLD_ID"
/>
<result
property=
"oldId"
column=
"OLD_ID"
/>
</resultMap>
</resultMap>
<sql
id=
"Base_Column_List"
>
<sql
id=
"Base_Column_List"
>
a.ID,
a.ID,
a.PRE_MAIN_ID,
a.PRE_MAIN_ID,
a.EMP_ID,
a.EMP_ID,
a.EMP_NAME,
a.EMP_NAME,
a.EMP_CODE,
a.EMP_CODE,
a.EMP_IDCARD,
a.EMP_IDCARD,
a.DISABILITY_NAME,
a.DISABILITY_NAME,
a.DISABILITY_LEVEL,
a.DISABILITY_LEVEL,
a.INJURY_IDENTIFICATION,
a.INJURY_IDENTIFICATION,
a.START_TIME,
a.START_TIME,
a.END_TIME,
a.END_TIME,
a.OCCUPATIONAL_DISEASE,
a.OCCUPATIONAL_DISEASE,
a.DELETE_FLAG,
a.DELETE_FLAG,
a.SETTLE_DOMAIN,
a.SETTLE_DOMAIN,
a.CREATE_BY,
a.CREATE_BY,
a.UPDATE_BY,
a.UPDATE_BY,
a.CREATE_NAME,
a.CREATE_NAME,
a.CREATE_TIME,
a.CREATE_TIME,
a.UPDATE_TIME,
a.UPDATE_TIME,
a.OLD_ID,
a.REMARK,
a.REMARK
a.OCCUPATIONAL_DISEASE_FLAG,
a.INFECTIOUS_DISEASE_FLAG,
a.INFECTIOUS_NAME,
a.DISABILITY_FLAG,
a.OTHER_FLAG,
a.OLD_ID
</sql>
</sql>
<sql
id=
"tPreEmpDisabilityInfo_where"
>
<sql
id=
"tPreEmpDisabilityInfo_where"
>
<if
test=
"tPreEmpDisabilityInfo != null"
>
<if
test=
"tPreEmpDisabilityInfo != null"
>
...
...
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TPreEmpMainMapper.xml
View file @
34723e95
...
@@ -169,7 +169,7 @@
...
@@ -169,7 +169,7 @@
<include
refid=
"Base_Column_List"
/>
<include
refid=
"Base_Column_List"
/>
FROM t_pre_emp_main a
FROM t_pre_emp_main a
<where>
<where>
1=1
a.STATUS != '5'
<include
refid=
"tPreEmpMain_where"
/>
<include
refid=
"tPreEmpMain_where"
/>
<if
test=
"tPreEmpMain != null"
>
<if
test=
"tPreEmpMain != null"
>
<if
test=
"tPreEmpMain.authSql != null and tPreEmpMain.authSql.trim() != ''"
>
<if
test=
"tPreEmpMain.authSql != null and tPreEmpMain.authSql.trim() != ''"
>
...
@@ -178,4 +178,22 @@
...
@@ -178,4 +178,22 @@
</if>
</if>
</where>
</where>
</select>
</select>
<!--tPreEmpMain简单分页查询-->
<select
id=
"getTPreEmpMainByCardAndDept"
resultMap=
"tPreEmpMainMap"
>
SELECT
<include
refid=
"Base_Column_List"
/>
FROM t_pre_emp_main a
where a.EMP_IDCARD = #{empIdCard} AND a.DEPT_ID = #{deptId}
limit 1
</select>
<!--tPreEmpMain简单分页查询-->
<select
id=
"getTPreEmpMainByCardAndDeptNo"
resultMap=
"tPreEmpMainMap"
>
SELECT
<include
refid=
"Base_Column_List"
/>
FROM t_pre_emp_main a
where a.EMP_IDCARD = #{empIdCard} AND a.DEPT_NO = #{deptNo}
limit 1
</select>
</mapper>
</mapper>
yifu-job/yifu-job-api/src/main/java/com/yifu/cloud/plus/v1/job/compont/ArchiveTask.java
View file @
34723e95
...
@@ -68,4 +68,12 @@ public class ArchiveTask {
...
@@ -68,4 +68,12 @@ public class ArchiveTask {
SecurityConstants
.
FROM_IN
);
SecurityConstants
.
FROM_IN
);
log
.
info
(
"-------------每月26号更新人员花名册-定时任务开始------------"
);
log
.
info
(
"-------------每月26号更新人员花名册-定时任务开始------------"
);
}
}
public
void
everyDayCreateComlpeteMonitor
()
{
log
.
info
(
"-------------每月刷新档案完整监控数据------------"
);
HttpDaprUtil
.
invokeMethodPost
(
daprArchivesProperties
.
getAppUrl
(),
daprArchivesProperties
.
getAppId
(),
"/tcompletemonitor/inner/createComlpeteMonitor"
,
""
,
Object
.
class
,
SecurityConstants
.
FROM_IN
);
log
.
info
(
"-------------每月刷新档案完整监控数据-定时任务开始------------"
);
}
}
}
\ No newline at end of file
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/mapper/TAutoPaymentDetailMapper.java
View file @
34723e95
...
@@ -53,4 +53,6 @@ public interface TAutoPaymentDetailMapper extends BaseMapper<TAutoPaymentDetail>
...
@@ -53,4 +53,6 @@ public interface TAutoPaymentDetailMapper extends BaseMapper<TAutoPaymentDetail>
List
<
TAutoPaymentDetail
>
getListByParentId
(
@Param
(
"parentId"
)
String
parentId
);
List
<
TAutoPaymentDetail
>
getListByParentId
(
@Param
(
"parentId"
)
String
parentId
);
int
getCountByParentId
(
@Param
(
"parentId"
)
String
parentId
);
}
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/mapper/TSocialSoldierMapper.java
View file @
34723e95
...
@@ -116,10 +116,10 @@ public interface TSocialSoldierMapper extends BaseMapper<TSocialInfo> {
...
@@ -116,10 +116,10 @@ public interface TSocialSoldierMapper extends BaseMapper<TSocialInfo> {
**/
**/
List
<
SocialSoldierPaymentSelectThreeVo
>
getSoldierPaymentSelectThreeList
();
List
<
SocialSoldierPaymentSelectThreeVo
>
getSoldierPaymentSelectThreeList
();
void
getSoldierPaymentErrorInfoOne
(
@Param
(
"parentId"
)
String
parentId
);
void
getSoldierPaymentErrorInfoOne
(
@Param
(
"pa
ymentTableName"
)
String
paymentTableName
,
@Param
(
"pa
rentId"
)
String
parentId
);
void
getSoldierPaymentErrorInfoTwo
(
@Param
(
"parentId"
)
String
parentId
);
void
getSoldierPaymentErrorInfoTwo
(
@Param
(
"pa
ymentTableName"
)
String
paymentTableName
,
@Param
(
"pa
rentId"
)
String
parentId
);
void
getSoldierPaymentErrorInfoOneByRe
(
@Param
(
"parentId"
)
String
parentId
);
void
getSoldierPaymentErrorInfoOneByRe
(
@Param
(
"pa
ymentTableName"
)
String
paymentTableName
,
@Param
(
"pa
rentId"
)
String
parentId
);
void
getSoldierPaymentErrorInfoTwoByRe
(
@Param
(
"parentId"
)
String
parentId
);
void
getSoldierPaymentErrorInfoTwoByRe
(
@Param
(
"pa
ymentTableName"
)
String
paymentTableName
,
@Param
(
"pa
rentId"
)
String
parentId
);
}
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/TAutoPaymentDetailService.java
View file @
34723e95
...
@@ -68,4 +68,13 @@ public interface TAutoPaymentDetailService extends IService<TAutoPaymentDetail>
...
@@ -68,4 +68,13 @@ public interface TAutoPaymentDetailService extends IService<TAutoPaymentDetail>
**/
**/
List
<
TAutoPaymentDetail
>
getListByParentId
(
String
parentId
);
List
<
TAutoPaymentDetail
>
getListByParentId
(
String
parentId
);
/**
* @param parentId
* @Description: 获取被打标的条数,用作拦截重新办理
* @Author: hgw
* @Date: 2024/6/21 11:21
* @return: int
**/
int
getCountByParentId
(
String
parentId
);
}
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TAutoPaymentDetailServiceImpl.java
View file @
34723e95
...
@@ -186,6 +186,10 @@ public class TAutoPaymentDetailServiceImpl extends ServiceImpl<TAutoPaymentDetai
...
@@ -186,6 +186,10 @@ public class TAutoPaymentDetailServiceImpl extends ServiceImpl<TAutoPaymentDetai
public
List
<
TAutoPaymentDetail
>
getListByParentId
(
String
parentId
)
{
public
List
<
TAutoPaymentDetail
>
getListByParentId
(
String
parentId
)
{
return
baseMapper
.
getListByParentId
(
parentId
);
return
baseMapper
.
getListByParentId
(
parentId
);
}
}
@Override
public
int
getCountByParentId
(
String
parentId
)
{
return
baseMapper
.
getCountByParentId
(
parentId
);
}
private
Long
noPageCountDiy
(
TAutoPaymentDetailSearchVo
searchVo
)
{
private
Long
noPageCountDiy
(
TAutoPaymentDetailSearchVo
searchVo
)
{
LambdaQueryWrapper
<
TAutoPaymentDetail
>
wrapper
=
buildQueryWrapper
(
searchVo
);
LambdaQueryWrapper
<
TAutoPaymentDetail
>
wrapper
=
buildQueryWrapper
(
searchVo
);
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TSocialSoldierPushServiceImpl.java
View file @
34723e95
...
@@ -61,6 +61,7 @@ public class TSocialSoldierPushServiceImpl extends ServiceImpl<TSocialSoldierMap
...
@@ -61,6 +61,7 @@ public class TSocialSoldierPushServiceImpl extends ServiceImpl<TSocialSoldierMap
private
final
TSocialSoldierShenBaoTaskService
tSocialSoldierShenBaoTaskService
;
private
final
TSocialSoldierShenBaoTaskService
tSocialSoldierShenBaoTaskService
;
private
final
TAutoPaymentInfoService
tAutoPaymentInfoService
;
private
final
TAutoPaymentInfoService
tAutoPaymentInfoService
;
private
final
TAutoPaymentErrorService
tAutoPaymentErrorService
;
private
final
TAutoPaymentErrorService
tAutoPaymentErrorService
;
private
final
TAutoPaymentDetailService
tAutoPaymentDetailService
;
/**
/**
* @param socialList
* @param socialList
...
@@ -430,14 +431,19 @@ public class TSocialSoldierPushServiceImpl extends ServiceImpl<TSocialSoldierMap
...
@@ -430,14 +431,19 @@ public class TSocialSoldierPushServiceImpl extends ServiceImpl<TSocialSoldierMap
// 先删除推送任务
// 先删除推送任务
int
type
=
3
;
int
type
=
3
;
if
(
isReHandle
)
{
if
(
isReHandle
)
{
int
count
=
tAutoPaymentDetailService
.
getCountByParentId
(
parentId
);
if
(
count
==
0
)
{
return
R
.
failed
(
"请先标记!"
);
}
type
=
7
;
type
=
7
;
List
<
TSocialSoldierShenBaoTask
>
taskList
=
tSocialSoldierShenBaoTaskService
.
getTSocialSoldierTaskListByRe
();
List
<
TSocialSoldierShenBaoTask
>
taskList
=
tSocialSoldierShenBaoTaskService
.
getTSocialSoldierTaskListByRe
();
boolean
canReTask
=
false
;
boolean
canReTask
=
false
;
if
(
taskList
!=
null
)
{
if
(
taskList
!=
null
&&
!
taskList
.
isEmpty
()
)
{
for
(
TSocialSoldierShenBaoTask
task
:
taskList
)
{
for
(
TSocialSoldierShenBaoTask
task
:
taskList
)
{
// 表示已经有过反馈了
// 表示已经有过反馈了
if
(
CommonConstants
.
ONE_STRING
.
equals
(
task
.
getDataStatus
()))
{
if
(
CommonConstants
.
ONE_STRING
.
equals
(
task
.
getDataStatus
()))
{
canReTask
=
true
;
canReTask
=
true
;
break
;
}
}
}
}
if
(!
canReTask
)
{
if
(!
canReTask
)
{
...
@@ -450,6 +456,9 @@ public class TSocialSoldierPushServiceImpl extends ServiceImpl<TSocialSoldierMap
...
@@ -450,6 +456,9 @@ public class TSocialSoldierPushServiceImpl extends ServiceImpl<TSocialSoldierMap
}
}
}
}
}
else
{
}
else
{
if
(
Common
.
isNotNull
(
parentId
))
{
tAutoPaymentErrorService
.
deleteByParentId
(
parentId
);
}
tSocialSoldierShenBaoTaskService
.
deleteByRePayment
();
tSocialSoldierShenBaoTaskService
.
deleteByRePayment
();
}
}
}
else
{
}
else
{
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TSocialSoldierServiceImpl.java
View file @
34723e95
...
@@ -152,16 +152,16 @@ public class TSocialSoldierServiceImpl extends ServiceImpl<TSocialSoldierMapper,
...
@@ -152,16 +152,16 @@ public class TSocialSoldierServiceImpl extends ServiceImpl<TSocialSoldierMapper,
Map
<
String
,
TAutoPaymentDetail
>
fourMap
=
new
HashMap
<>();
Map
<
String
,
TAutoPaymentDetail
>
fourMap
=
new
HashMap
<>();
for
(
TAutoPaymentDetail
detail
:
detailList
)
{
for
(
TAutoPaymentDetail
detail
:
detailList
)
{
if
(
CommonConstants
.
ONE_STRING
.
equals
(
detail
.
getSourceType
()))
{
if
(
CommonConstants
.
ONE_STRING
.
equals
(
detail
.
getSourceType
()))
{
oneMap
.
put
(
detail
.
getCertNum
()
+
CommonConstants
.
DOWN_LINE_STRING
+
detail
.
getSocialSecurityAccount
()
+
CommonConstants
.
DOWN_LINE_STRING
+
detail
.
getInsuranceType
(),
detail
);
oneMap
.
put
(
detail
.
getCertNum
()
+
CommonConstants
.
DOWN_LINE_STRING
+
detail
.
getSocialSecurityAccount
()
+
CommonConstants
.
DOWN_LINE_STRING
+
detail
.
getInsuranceType
()
+
CommonConstants
.
DOWN_LINE_STRING
+
detail
.
getPayMonth
()
,
detail
);
}
}
if
(
CommonConstants
.
TWO_STRING
.
equals
(
detail
.
getSourceType
()))
{
if
(
CommonConstants
.
TWO_STRING
.
equals
(
detail
.
getSourceType
()))
{
twoMap
.
put
(
detail
.
getCertNum
()
+
CommonConstants
.
DOWN_LINE_STRING
+
detail
.
getSocialSecurityAccount
()
+
CommonConstants
.
DOWN_LINE_STRING
+
detail
.
getInsuranceType
(),
detail
);
twoMap
.
put
(
detail
.
getCertNum
()
+
CommonConstants
.
DOWN_LINE_STRING
+
detail
.
getSocialSecurityAccount
()
+
CommonConstants
.
DOWN_LINE_STRING
+
detail
.
getInsuranceType
()
+
CommonConstants
.
DOWN_LINE_STRING
+
detail
.
getPayMonth
()
,
detail
);
}
}
if
(
CommonConstants
.
THREE_STRING
.
equals
(
detail
.
getSourceType
()))
{
if
(
CommonConstants
.
THREE_STRING
.
equals
(
detail
.
getSourceType
()))
{
threeMap
.
put
(
detail
.
getCertNum
()
+
CommonConstants
.
DOWN_LINE_STRING
+
detail
.
getSocialSecurityAccount
()
+
CommonConstants
.
DOWN_LINE_STRING
+
detail
.
getInsuranceType
(),
detail
);
threeMap
.
put
(
detail
.
getCertNum
()
+
CommonConstants
.
DOWN_LINE_STRING
+
detail
.
getSocialSecurityAccount
()
+
CommonConstants
.
DOWN_LINE_STRING
+
detail
.
getInsuranceType
()
+
CommonConstants
.
DOWN_LINE_STRING
+
detail
.
getPayMonth
()
,
detail
);
}
}
if
(
CommonConstants
.
FOUR_STRING
.
equals
(
detail
.
getSourceType
()))
{
if
(
CommonConstants
.
FOUR_STRING
.
equals
(
detail
.
getSourceType
()))
{
fourMap
.
put
(
detail
.
getCertNum
()
+
CommonConstants
.
DOWN_LINE_STRING
+
detail
.
getSocialSecurityAccount
()
+
CommonConstants
.
DOWN_LINE_STRING
+
detail
.
getInsuranceType
(),
detail
);
fourMap
.
put
(
detail
.
getCertNum
()
+
CommonConstants
.
DOWN_LINE_STRING
+
detail
.
getSocialSecurityAccount
()
+
CommonConstants
.
DOWN_LINE_STRING
+
detail
.
getInsuranceType
()
+
CommonConstants
.
DOWN_LINE_STRING
+
detail
.
getPayMonth
()
,
detail
);
}
}
}
}
try
{
try
{
...
@@ -289,11 +289,11 @@ public class TSocialSoldierServiceImpl extends ServiceImpl<TSocialSoldierMapper,
...
@@ -289,11 +289,11 @@ public class TSocialSoldierServiceImpl extends ServiceImpl<TSocialSoldierMapper,
||
detailListThree
!=
null
&&
!
detailListThree
.
isEmpty
()
||
detailListThree
!=
null
&&
!
detailListThree
.
isEmpty
()
||
detailListFour
!=
null
&&
!
detailListFour
.
isEmpty
()
||
detailListFour
!=
null
&&
!
detailListFour
.
isEmpty
()
)
{
)
{
String
paymentTableName
=
DateUtil
.
getYear
(
new
Date
());
// 复核-核验1:
// 复核-核验1:
baseMapper
.
getSoldierPaymentErrorInfoOneByRe
(
mainAuto
.
getId
());
baseMapper
.
getSoldierPaymentErrorInfoOneByRe
(
paymentTableName
,
mainAuto
.
getId
());
// 复核-核验2:
// 复核-核验2:
baseMapper
.
getSoldierPaymentErrorInfoTwoByRe
(
mainAuto
.
getId
());
baseMapper
.
getSoldierPaymentErrorInfoTwoByRe
(
paymentTableName
,
mainAuto
.
getId
());
// 重新复核状态
// 重新复核状态
TimeUnit
.
SECONDS
.
sleep
(
10
);
TimeUnit
.
SECONDS
.
sleep
(
10
);
...
@@ -534,10 +534,11 @@ public class TSocialSoldierServiceImpl extends ServiceImpl<TSocialSoldierMapper,
...
@@ -534,10 +534,11 @@ public class TSocialSoldierServiceImpl extends ServiceImpl<TSocialSoldierMapper,
||
detailListThree
!=
null
&&
!
detailListThree
.
isEmpty
()
||
detailListThree
!=
null
&&
!
detailListThree
.
isEmpty
()
||
detailListFour
!=
null
&&
!
detailListFour
.
isEmpty
()
||
detailListFour
!=
null
&&
!
detailListFour
.
isEmpty
()
)
{
)
{
String
paymentTableName
=
DateUtil
.
getYear
(
new
Date
());
// 核验1:
// 核验1:
baseMapper
.
getSoldierPaymentErrorInfoOne
(
mainAuto
.
getId
());
baseMapper
.
getSoldierPaymentErrorInfoOne
(
paymentTableName
,
mainAuto
.
getId
());
// 核验2:
// 核验2:
baseMapper
.
getSoldierPaymentErrorInfoTwo
(
mainAuto
.
getId
());
baseMapper
.
getSoldierPaymentErrorInfoTwo
(
paymentTableName
,
mainAuto
.
getId
());
TimeUnit
.
SECONDS
.
sleep
(
10
);
TimeUnit
.
SECONDS
.
sleep
(
10
);
long
count
=
tAutoPaymentErrorService
.
getCountByParentId
(
mainAuto
.
getId
());
long
count
=
tAutoPaymentErrorService
.
getCountByParentId
(
mainAuto
.
getId
());
if
(
count
>
0
)
{
if
(
count
>
0
)
{
...
@@ -946,7 +947,7 @@ public class TSocialSoldierServiceImpl extends ServiceImpl<TSocialSoldierMapper,
...
@@ -946,7 +947,7 @@ public class TSocialSoldierServiceImpl extends ServiceImpl<TSocialSoldierMapper,
personZhiNaJinNum
=
cellNum
;
personZhiNaJinNum
=
cellNum
;
}
else
if
(
"险种"
.
equals
(
cellValue
)
||
"参保险种"
.
equals
(
cellValue
)
||
"险种类型"
.
equals
(
cellValue
))
{
}
else
if
(
"险种"
.
equals
(
cellValue
)
||
"参保险种"
.
equals
(
cellValue
)
||
"险种类型"
.
equals
(
cellValue
))
{
insuranceTypeNum
=
cellNum
;
insuranceTypeNum
=
cellNum
;
}
else
if
(
"单位名称"
.
equals
(
cellValue
))
{
}
else
if
(
"单位名称"
.
equals
(
cellValue
)
||
"企业名称"
.
equals
(
cellValue
)
)
{
socialSecurityAccountNum
=
cellNum
;
socialSecurityAccountNum
=
cellNum
;
}
else
if
(
"费款所属期"
.
equals
(
cellValue
)
||
"缴费年月"
.
equals
(
cellValue
)
||
"起始费款所属期"
.
equals
(
cellValue
))
{
}
else
if
(
"费款所属期"
.
equals
(
cellValue
)
||
"缴费年月"
.
equals
(
cellValue
)
||
"起始费款所属期"
.
equals
(
cellValue
))
{
payMonthNum
=
cellNum
;
payMonthNum
=
cellNum
;
...
@@ -1047,6 +1048,9 @@ public class TSocialSoldierServiceImpl extends ServiceImpl<TSocialSoldierMapper,
...
@@ -1047,6 +1048,9 @@ public class TSocialSoldierServiceImpl extends ServiceImpl<TSocialSoldierMapper,
}
}
detail
.
setPayLimit
(
money
);
detail
.
setPayLimit
(
money
);
}
}
if
(
insuranceType
.
contains
(
"【"
))
{
insuranceType
=
insuranceType
.
split
(
"【"
)[
0
];
}
detail
.
setInsuranceType
(
insuranceType
);
detail
.
setInsuranceType
(
insuranceType
);
insuranceTypeUnit
=
"单位"
+
insuranceType
;
insuranceTypeUnit
=
"单位"
+
insuranceType
;
insuranceTypePerson
=
"个人"
+
insuranceType
;
insuranceTypePerson
=
"个人"
+
insuranceType
;
...
@@ -1074,7 +1078,8 @@ public class TSocialSoldierServiceImpl extends ServiceImpl<TSocialSoldierMapper,
...
@@ -1074,7 +1078,8 @@ public class TSocialSoldierServiceImpl extends ServiceImpl<TSocialSoldierMapper,
// 复核使用的
// 复核使用的
oldDetail
=
oldMap
.
get
(
detail
.
getCertNum
()
+
CommonConstants
.
DOWN_LINE_STRING
oldDetail
=
oldMap
.
get
(
detail
.
getCertNum
()
+
CommonConstants
.
DOWN_LINE_STRING
+
detail
.
getSocialSecurityAccount
()
+
CommonConstants
.
DOWN_LINE_STRING
+
detail
.
getSocialSecurityAccount
()
+
CommonConstants
.
DOWN_LINE_STRING
+
detail
.
getInsuranceType
());
+
detail
.
getInsuranceType
()
+
CommonConstants
.
DOWN_LINE_STRING
+
detail
.
getPayMonth
());
if
(
oldDetail
!=
null
)
{
if
(
oldDetail
!=
null
)
{
detail
.
setId
(
oldDetail
.
getId
());
detail
.
setId
(
oldDetail
.
getId
());
voList
.
add
(
detail
);
voList
.
add
(
detail
);
...
...
yifu-social/yifu-social-biz/src/main/resources/mapper/TAutoPaymentDetailMapper.xml
View file @
34723e95
...
@@ -163,4 +163,12 @@
...
@@ -163,4 +163,12 @@
order by a.SOURCE_TYPE,a.CERT_NUM
order by a.SOURCE_TYPE,a.CERT_NUM
</select>
</select>
<!--tAutoPaymentDetail简单分页查询-->
<select
id=
"getCountByParentId"
resultType=
"java.lang.Integer"
>
SELECT
count(1)
FROM t_auto_payment_detail a
where PARENT_ID = #{parentId} and REPEAT_HANDLE_FLAG = '0'
</select>
</mapper>
</mapper>
yifu-social/yifu-social-biz/src/main/resources/mapper/TSocialSoldierMapper.xml
View file @
34723e95
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