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
1e811799
Commit
1e811799
authored
Jul 15, 2022
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
社保
parent
af3c20ee
Show whitespace changes
Inline
Side-by-side
Showing
71 changed files
with
12178 additions
and
4 deletions
+12178
-4
EmpBadRecordVo.java
...m/yifu/cloud/plus/v1/yifu/archives/vo/EmpBadRecordVo.java
+1
-0
EmpCertificateExcelVO.java
...cloud/plus/v1/yifu/archives/vo/EmpCertificateExcelVO.java
+1
-0
EmpDisabilityExcelVO.java
.../cloud/plus/v1/yifu/archives/vo/EmpDisabilityExcelVO.java
+1
-0
EmpEducationExcelVO.java
...u/cloud/plus/v1/yifu/archives/vo/EmpEducationExcelVO.java
+1
-0
EmpEducationUpdateExcelVo.java
...d/plus/v1/yifu/archives/vo/EmpEducationUpdateExcelVo.java
+2
-1
EmpFamilyExcelVO.java
...yifu/cloud/plus/v1/yifu/archives/vo/EmpFamilyExcelVO.java
+2
-1
EmpWorkRecordExcelVO.java
.../cloud/plus/v1/yifu/archives/vo/EmpWorkRecordExcelVO.java
+1
-0
EmployeeContractUpdateVO.java
...ud/plus/v1/yifu/archives/vo/EmployeeContractUpdateVO.java
+1
-0
EmployeeContractVO.java
...fu/cloud/plus/v1/yifu/archives/vo/EmployeeContractVO.java
+1
-0
EmployeeLeaveVO.java
.../yifu/cloud/plus/v1/yifu/archives/vo/EmployeeLeaveVO.java
+1
-0
EmployeeProjectVO.java
...ifu/cloud/plus/v1/yifu/archives/vo/EmployeeProjectVO.java
+1
-0
EmployeeVO.java
...a/com/yifu/cloud/plus/v1/yifu/archives/vo/EmployeeVO.java
+1
-0
EmployeeXProjectVO.java
...fu/cloud/plus/v1/yifu/archives/vo/EmployeeXProjectVO.java
+1
-0
TAuditInfo.java
...com/yifu/cloud/plus/v1/yifu/social/entity/TAuditInfo.java
+162
-0
TDispatchDayConf.java
...fu/cloud/plus/v1/yifu/social/entity/TDispatchDayConf.java
+91
-0
TDispatchInfo.java
.../yifu/cloud/plus/v1/yifu/social/entity/TDispatchInfo.java
+485
-0
TProvidentFund.java
...yifu/cloud/plus/v1/yifu/social/entity/TProvidentFund.java
+390
-0
TSocialFundHistory.java
.../cloud/plus/v1/yifu/social/entity/TSocialFundHistory.java
+372
-0
TSocialFundInfo.java
...ifu/cloud/plus/v1/yifu/social/entity/TSocialFundInfo.java
+869
-0
TSocialInfo.java
...om/yifu/cloud/plus/v1/yifu/social/entity/TSocialInfo.java
+749
-0
TAuditInfoSearchVo.java
...yifu/cloud/plus/v1/yifu/social/vo/TAuditInfoSearchVo.java
+58
-0
TAuditInfoVo.java
...a/com/yifu/cloud/plus/v1/yifu/social/vo/TAuditInfoVo.java
+158
-0
TDispatchDayConfSearchVo.java
...loud/plus/v1/yifu/social/vo/TDispatchDayConfSearchVo.java
+58
-0
TDispatchDayConfVo.java
...yifu/cloud/plus/v1/yifu/social/vo/TDispatchDayConfVo.java
+88
-0
TDispatchInfoSearchVo.java
...u/cloud/plus/v1/yifu/social/vo/TDispatchInfoSearchVo.java
+58
-0
TDispatchInfoVo.java
...om/yifu/cloud/plus/v1/yifu/social/vo/TDispatchInfoVo.java
+481
-0
TProvidentFundSearchVo.java
.../cloud/plus/v1/yifu/social/vo/TProvidentFundSearchVo.java
+58
-0
TProvidentFundVo.java
...m/yifu/cloud/plus/v1/yifu/social/vo/TProvidentFundVo.java
+386
-0
TSocialFundHistorySearchVo.java
...ud/plus/v1/yifu/social/vo/TSocialFundHistorySearchVo.java
+58
-0
TSocialFundHistoryVo.java
...fu/cloud/plus/v1/yifu/social/vo/TSocialFundHistoryVo.java
+368
-0
TSocialFundInfoSearchVo.java
...cloud/plus/v1/yifu/social/vo/TSocialFundInfoSearchVo.java
+58
-0
TSocialFundInfoVo.java
.../yifu/cloud/plus/v1/yifu/social/vo/TSocialFundInfoVo.java
+865
-0
TSocialInfoSearchVo.java
...ifu/cloud/plus/v1/yifu/social/vo/TSocialInfoSearchVo.java
+58
-0
TSocialInfoVo.java
.../com/yifu/cloud/plus/v1/yifu/social/vo/TSocialInfoVo.java
+744
-0
TAuditInfoController.java
.../plus/v1/yifu/social/controller/TAuditInfoController.java
+152
-0
TDispatchDayConfController.java
...v1/yifu/social/controller/TDispatchDayConfController.java
+152
-0
TDispatchInfoController.java
...us/v1/yifu/social/controller/TDispatchInfoController.java
+152
-0
TProvidentFundController.java
...s/v1/yifu/social/controller/TProvidentFundController.java
+152
-0
TSocialFundHistoryController.java
.../yifu/social/controller/TSocialFundHistoryController.java
+152
-0
TSocialFundInfoController.java
.../v1/yifu/social/controller/TSocialFundInfoController.java
+152
-0
TSocialInfoController.java
...plus/v1/yifu/social/controller/TSocialInfoController.java
+152
-0
TAuditInfoMapper.java
...fu/cloud/plus/v1/yifu/social/mapper/TAuditInfoMapper.java
+38
-0
TDispatchDayConfMapper.java
...ud/plus/v1/yifu/social/mapper/TDispatchDayConfMapper.java
+38
-0
TDispatchInfoMapper.java
...cloud/plus/v1/yifu/social/mapper/TDispatchInfoMapper.java
+38
-0
TProvidentFundMapper.java
...loud/plus/v1/yifu/social/mapper/TProvidentFundMapper.java
+38
-0
TSocialFundHistoryMapper.java
.../plus/v1/yifu/social/mapper/TSocialFundHistoryMapper.java
+38
-0
TSocialFundInfoMapper.java
...oud/plus/v1/yifu/social/mapper/TSocialFundInfoMapper.java
+38
-0
TSocialInfoMapper.java
...u/cloud/plus/v1/yifu/social/mapper/TSocialInfoMapper.java
+38
-0
TAuditInfoService.java
.../cloud/plus/v1/yifu/social/service/TAuditInfoService.java
+51
-0
TDispatchDayConfService.java
.../plus/v1/yifu/social/service/TDispatchDayConfService.java
+50
-0
TDispatchInfoService.java
...oud/plus/v1/yifu/social/service/TDispatchInfoService.java
+50
-0
TProvidentFundService.java
...ud/plus/v1/yifu/social/service/TProvidentFundService.java
+50
-0
TSocialFundHistoryService.java
...lus/v1/yifu/social/service/TSocialFundHistoryService.java
+50
-0
TSocialFundInfoService.java
...d/plus/v1/yifu/social/service/TSocialFundInfoService.java
+51
-0
TSocialInfoService.java
...cloud/plus/v1/yifu/social/service/TSocialInfoService.java
+50
-0
TSocialLogService.java
.../cloud/plus/v1/yifu/social/service/TSocialLogService.java
+0
-1
TAuditInfoServiceImpl.java
...us/v1/yifu/social/service/impl/TAuditInfoServiceImpl.java
+237
-0
TDispatchDayConfServiceImpl.java
...yifu/social/service/impl/TDispatchDayConfServiceImpl.java
+227
-0
TDispatchInfoServiceImpl.java
...v1/yifu/social/service/impl/TDispatchInfoServiceImpl.java
+227
-0
TProvidentFundServiceImpl.java
...1/yifu/social/service/impl/TProvidentFundServiceImpl.java
+227
-0
TSocialFundHistoryServiceImpl.java
...fu/social/service/impl/TSocialFundHistoryServiceImpl.java
+227
-0
TSocialFundInfoServiceImpl.java
.../yifu/social/service/impl/TSocialFundInfoServiceImpl.java
+227
-0
TSocialInfoServiceImpl.java
...s/v1/yifu/social/service/impl/TSocialInfoServiceImpl.java
+227
-0
package-info.java
.../yifu/cloud/plus/v1/yifu/social/service/package-info.java
+0
-1
TAuditInfoMapper.xml
...social-biz/src/main/resources/mapper/TAuditInfoMapper.xml
+114
-0
TDispatchDayConfMapper.xml
...-biz/src/main/resources/mapper/TDispatchDayConfMapper.xml
+94
-0
TDispatchInfoMapper.xml
...ial-biz/src/main/resources/mapper/TDispatchInfoMapper.xml
+344
-0
TProvidentFundMapper.xml
...al-biz/src/main/resources/mapper/TProvidentFundMapper.xml
+284
-0
TSocialFundHistoryMapper.xml
...iz/src/main/resources/mapper/TSocialFundHistoryMapper.xml
+294
-0
TSocialFundInfoMapper.xml
...l-biz/src/main/resources/mapper/TSocialFundInfoMapper.xml
+609
-0
TSocialInfoMapper.xml
...ocial-biz/src/main/resources/mapper/TSocialInfoMapper.xml
+529
-0
No files found.
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/vo/EmpBadRecordVo.java
View file @
1e811799
...
@@ -3,6 +3,7 @@ package com.yifu.cloud.plus.v1.yifu.archives.vo;
...
@@ -3,6 +3,7 @@ package com.yifu.cloud.plus.v1.yifu.archives.vo;
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.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.vo.RowIndex
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
lombok.Data
;
...
...
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/vo/EmpCertificateExcelVO.java
View file @
1e811799
...
@@ -4,6 +4,7 @@ import com.alibaba.excel.annotation.ExcelProperty;
...
@@ -4,6 +4,7 @@ import com.alibaba.excel.annotation.ExcelProperty;
import
com.alibaba.excel.annotation.write.style.ColumnWidth
;
import
com.alibaba.excel.annotation.write.style.ColumnWidth
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute
;
import
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.constant.ExcelAttributeConstants
;
import
com.yifu.cloud.plus.v1.yifu.common.core.vo.RowIndex
;
import
lombok.Data
;
import
lombok.Data
;
import
javax.validation.constraints.NotNull
;
import
javax.validation.constraints.NotNull
;
...
...
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/vo/EmpDisabilityExcelVO.java
View file @
1e811799
...
@@ -5,6 +5,7 @@ import com.alibaba.excel.annotation.format.DateTimeFormat;
...
@@ -5,6 +5,7 @@ import com.alibaba.excel.annotation.format.DateTimeFormat;
import
com.alibaba.excel.annotation.write.style.ColumnWidth
;
import
com.alibaba.excel.annotation.write.style.ColumnWidth
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute
;
import
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.constant.ExcelAttributeConstants
;
import
com.yifu.cloud.plus.v1.yifu.common.core.vo.RowIndex
;
import
lombok.Data
;
import
lombok.Data
;
import
javax.validation.constraints.NotNull
;
import
javax.validation.constraints.NotNull
;
...
...
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/vo/EmpEducationExcelVO.java
View file @
1e811799
...
@@ -5,6 +5,7 @@ import com.alibaba.excel.annotation.format.DateTimeFormat;
...
@@ -5,6 +5,7 @@ import com.alibaba.excel.annotation.format.DateTimeFormat;
import
com.alibaba.excel.annotation.write.style.ColumnWidth
;
import
com.alibaba.excel.annotation.write.style.ColumnWidth
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute
;
import
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.constant.ExcelAttributeConstants
;
import
com.yifu.cloud.plus.v1.yifu.common.core.vo.RowIndex
;
import
lombok.Data
;
import
lombok.Data
;
import
javax.validation.constraints.NotNull
;
import
javax.validation.constraints.NotNull
;
...
...
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/vo/EmpEducationUpdateExcelVo.java
View file @
1e811799
...
@@ -4,6 +4,7 @@ import com.alibaba.excel.annotation.ExcelProperty;
...
@@ -4,6 +4,7 @@ import com.alibaba.excel.annotation.ExcelProperty;
import
com.alibaba.excel.annotation.format.DateTimeFormat
;
import
com.alibaba.excel.annotation.format.DateTimeFormat
;
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.constant.ExcelAttributeConstants
;
import
com.yifu.cloud.plus.v1.yifu.common.core.vo.RowIndex
;
import
lombok.Data
;
import
lombok.Data
;
import
javax.validation.constraints.NotNull
;
import
javax.validation.constraints.NotNull
;
...
@@ -16,7 +17,7 @@ import java.util.Date;
...
@@ -16,7 +17,7 @@ import java.util.Date;
* @Version 1.0
* @Version 1.0
*/
*/
@Data
@Data
public
class
EmpEducationUpdateExcelVo
extends
RowIndex
{
public
class
EmpEducationUpdateExcelVo
extends
RowIndex
{
/**
/**
* @Author fxj
* @Author fxj
* @Description 主键
* @Description 主键
...
...
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/vo/EmpFamilyExcelVO.java
View file @
1e811799
...
@@ -5,6 +5,7 @@ import com.alibaba.excel.annotation.format.DateTimeFormat;
...
@@ -5,6 +5,7 @@ import com.alibaba.excel.annotation.format.DateTimeFormat;
import
com.alibaba.excel.annotation.write.style.ColumnWidth
;
import
com.alibaba.excel.annotation.write.style.ColumnWidth
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute
;
import
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.constant.ExcelAttributeConstants
;
import
com.yifu.cloud.plus.v1.yifu.common.core.vo.RowIndex
;
import
lombok.Data
;
import
lombok.Data
;
import
javax.validation.constraints.NotNull
;
import
javax.validation.constraints.NotNull
;
...
...
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/vo/EmpWorkRecordExcelVO.java
View file @
1e811799
...
@@ -5,6 +5,7 @@ import com.alibaba.excel.annotation.format.DateTimeFormat;
...
@@ -5,6 +5,7 @@ import com.alibaba.excel.annotation.format.DateTimeFormat;
import
com.alibaba.excel.annotation.write.style.ColumnWidth
;
import
com.alibaba.excel.annotation.write.style.ColumnWidth
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute
;
import
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.constant.ExcelAttributeConstants
;
import
com.yifu.cloud.plus.v1.yifu.common.core.vo.RowIndex
;
import
lombok.Data
;
import
lombok.Data
;
import
javax.validation.constraints.NotNull
;
import
javax.validation.constraints.NotNull
;
...
...
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/vo/EmployeeContractUpdateVO.java
View file @
1e811799
...
@@ -19,6 +19,7 @@ package com.yifu.cloud.plus.v1.yifu.archives.vo;
...
@@ -19,6 +19,7 @@ package com.yifu.cloud.plus.v1.yifu.archives.vo;
import
com.alibaba.excel.annotation.format.DateTimeFormat
;
import
com.alibaba.excel.annotation.format.DateTimeFormat
;
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.constant.ExcelAttributeConstants
;
import
com.yifu.cloud.plus.v1.yifu.common.core.vo.RowIndex
;
import
io.swagger.v3.oas.annotations.media.Schema
;
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
;
...
...
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/vo/EmployeeContractVO.java
View file @
1e811799
...
@@ -19,6 +19,7 @@ package com.yifu.cloud.plus.v1.yifu.archives.vo;
...
@@ -19,6 +19,7 @@ package com.yifu.cloud.plus.v1.yifu.archives.vo;
import
com.alibaba.excel.annotation.format.DateTimeFormat
;
import
com.alibaba.excel.annotation.format.DateTimeFormat
;
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.constant.ExcelAttributeConstants
;
import
com.yifu.cloud.plus.v1.yifu.common.core.vo.RowIndex
;
import
io.swagger.v3.oas.annotations.media.Schema
;
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
;
...
...
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/vo/EmployeeLeaveVO.java
View file @
1e811799
...
@@ -20,6 +20,7 @@ import com.alibaba.excel.annotation.ExcelProperty;
...
@@ -20,6 +20,7 @@ import com.alibaba.excel.annotation.ExcelProperty;
import
com.alibaba.excel.annotation.write.style.ColumnWidth
;
import
com.alibaba.excel.annotation.write.style.ColumnWidth
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute
;
import
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.constant.ExcelAttributeConstants
;
import
com.yifu.cloud.plus.v1.yifu.common.core.vo.RowIndex
;
import
lombok.Data
;
import
lombok.Data
;
import
javax.validation.constraints.Size
;
import
javax.validation.constraints.Size
;
...
...
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/vo/EmployeeProjectVO.java
View file @
1e811799
...
@@ -21,6 +21,7 @@ import com.alibaba.excel.annotation.format.DateTimeFormat;
...
@@ -21,6 +21,7 @@ import com.alibaba.excel.annotation.format.DateTimeFormat;
import
com.alibaba.excel.annotation.write.style.ColumnWidth
;
import
com.alibaba.excel.annotation.write.style.ColumnWidth
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute
;
import
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.constant.ExcelAttributeConstants
;
import
com.yifu.cloud.plus.v1.yifu.common.core.vo.RowIndex
;
import
lombok.Data
;
import
lombok.Data
;
import
javax.validation.constraints.NotNull
;
import
javax.validation.constraints.NotNull
;
...
...
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/vo/EmployeeVO.java
View file @
1e811799
...
@@ -20,6 +20,7 @@ import com.alibaba.excel.annotation.ExcelProperty;
...
@@ -20,6 +20,7 @@ import com.alibaba.excel.annotation.ExcelProperty;
import
com.alibaba.excel.annotation.format.DateTimeFormat
;
import
com.alibaba.excel.annotation.format.DateTimeFormat
;
import
com.alibaba.excel.annotation.write.style.ColumnWidth
;
import
com.alibaba.excel.annotation.write.style.ColumnWidth
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute
;
import
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
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
lombok.Data
;
...
...
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/vo/EmployeeXProjectVO.java
View file @
1e811799
...
@@ -19,6 +19,7 @@ package com.yifu.cloud.plus.v1.yifu.archives.vo;
...
@@ -19,6 +19,7 @@ package com.yifu.cloud.plus.v1.yifu.archives.vo;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.alibaba.excel.annotation.write.style.ColumnWidth
;
import
com.alibaba.excel.annotation.write.style.ColumnWidth
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute
;
import
com.yifu.cloud.plus.v1.yifu.common.core.vo.RowIndex
;
import
lombok.Data
;
import
lombok.Data
;
import
javax.validation.constraints.NotNull
;
import
javax.validation.constraints.NotNull
;
...
...
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/entity/TAuditInfo.java
0 → 100644
View file @
1e811799
/*
* 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
.
social
.
entity
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute
;
import
com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
org.hibernate.validator.constraints.Length
;
import
javax.validation.constraints.NotBlank
;
import
java.util.Date
;
/**
* 审核信息表(社保、公积金、预估结算单、社保核准表、公积金核准表 、基数变更 审核记录)
*
* @author fxj
* @date 2022-07-15 11:38:05
*/
@Data
@TableName
(
"t_audit_info"
)
@EqualsAndHashCode
(
callSuper
=
true
)
@Schema
(
description
=
"审核信息表(社保、公积金、预估结算单、社保核准表、公积金核准表 、基数变更 审核记录)"
)
public
class
TAuditInfo
extends
BaseEntity
{
/**
* 主键
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@Schema
(
description
=
"主键"
)
@ExcelProperty
(
"主键"
)
private
String
id
;
/**
* 社保ID
*/
@Length
(
max
=
32
,
message
=
"社保ID 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"社保ID"
,
maxLength
=
32
)
@Schema
(
description
=
"社保ID"
)
@ExcelProperty
(
"社保ID"
)
private
String
socialId
;
/**
* 审核状态(0wait/1success/2fail)
*/
@NotBlank
(
message
=
"审核状态(0wait/1success/2fail)不能为空"
)
@Length
(
max
=
1
,
message
=
"审核状态(0wait/1success/2fail) 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"审核状态(0wait/1success/2fail)"
,
isNotEmpty
=
true
,
errorInfo
=
"审核状态(0wait/1success/2fail)不能为空"
,
maxLength
=
1
)
@Schema
(
description
=
"审核状态(0wait/1success/2fail)"
)
@ExcelProperty
(
"审核状态(0wait/1success/2fail)"
)
private
String
auditStatus
;
/**
* 审核意见
*/
@NotBlank
(
message
=
"审核意见不能为空"
)
@Length
(
max
=
200
,
message
=
"审核意见 不能超过200个字符"
)
@ExcelAttribute
(
name
=
"审核意见"
,
isNotEmpty
=
true
,
errorInfo
=
"审核意见不能为空"
,
maxLength
=
200
)
@Schema
(
description
=
"审核意见"
)
@ExcelProperty
(
"审核意见"
)
private
String
auditRemark
;
/**
* 审核人
*/
@NotBlank
(
message
=
"审核人不能为空"
)
@Length
(
max
=
32
,
message
=
"审核人 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"审核人"
,
isNotEmpty
=
true
,
errorInfo
=
"审核人不能为空"
,
maxLength
=
32
)
@Schema
(
description
=
"审核人"
)
@ExcelProperty
(
"审核人"
)
private
String
auditUser
;
/**
* 审核时间
*/
@NotBlank
(
message
=
"审核时间不能为空"
)
@ExcelAttribute
(
name
=
"审核时间"
,
isNotEmpty
=
true
,
errorInfo
=
"审核时间不能为空"
,
isDate
=
true
)
@Schema
(
description
=
"审核时间"
)
@ExcelProperty
(
"审核时间"
)
private
Date
auditTime
;
/**
* 是否委托(0是/1否)
*/
@NotBlank
(
message
=
"是否委托(0是/1否)不能为空"
)
@Length
(
max
=
1
,
message
=
"是否委托(0是/1否) 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"是否委托(0是/1否)"
,
isNotEmpty
=
true
,
errorInfo
=
"是否委托(0是/1否)不能为空"
,
maxLength
=
1
)
@Schema
(
description
=
"是否委托(0是/1否)"
)
@ExcelProperty
(
"是否委托(0是/1否)"
)
private
String
isCommision
;
/**
* 公积金ID
*/
@Length
(
max
=
32
,
message
=
"公积金ID 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"公积金ID"
,
maxLength
=
32
)
@Schema
(
description
=
"公积金ID"
)
@ExcelProperty
(
"公积金ID"
)
private
String
providentId
;
/**
* 基数变更ID
*/
@Length
(
max
=
32
,
message
=
"基数变更ID 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"基数变更ID"
,
maxLength
=
32
)
@Schema
(
description
=
"基数变更ID"
)
@ExcelProperty
(
"基数变更ID"
)
private
String
cardinalId
;
/**
* 社保代理结算信息ID
*/
@Length
(
max
=
32
,
message
=
"社保代理结算信息ID 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"社保代理结算信息ID"
,
maxLength
=
32
)
@Schema
(
description
=
"社保代理结算信息ID"
)
@ExcelProperty
(
"社保代理结算信息ID"
)
private
String
forecastFormId
;
/**
* 人员离职派单ID
*/
@Length
(
max
=
32
,
message
=
"人员离职派单ID 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"人员离职派单ID"
,
maxLength
=
32
)
@Schema
(
description
=
"人员离职派单ID"
)
@ExcelProperty
(
"人员离职派单ID"
)
private
String
empLeaveId
;
/**
* 社保、公积金核准表
*/
@Length
(
max
=
32
,
message
=
"社保、公积金核准表 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"社保、公积金核准表"
,
maxLength
=
32
)
@Schema
(
description
=
"社保、公积金核准表"
)
@ExcelProperty
(
"社保、公积金核准表"
)
private
String
aprovalFormId
;
/**
* 派单id
*/
@Length
(
max
=
32
,
message
=
"派单id 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"派单id"
,
maxLength
=
32
)
@Schema
(
description
=
"派单id"
)
@ExcelProperty
(
"派单id"
)
private
String
dispatchInfoId
;
/**
* type类型:0:其他;1:社 保办理备注
*/
@NotBlank
(
message
=
"type类型不能为空"
)
@Length
(
max
=
1
,
message
=
"type类型不能超过1个字符"
)
@ExcelAttribute
(
name
=
"type类型"
,
isNotEmpty
=
true
,
errorInfo
=
"type类型不能为空"
,
maxLength
=
1
)
@Schema
(
description
=
"type类型:0:其他;1:社 保办理备注"
)
@ExcelProperty
(
"type类型:0:其他;1:社 保办理备注"
)
private
String
type
;
}
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/entity/TDispatchDayConf.java
0 → 100644
View file @
1e811799
/*
* 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
.
social
.
entity
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute
;
import
com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
org.hibernate.validator.constraints.Length
;
import
javax.validation.constraints.NotBlank
;
/**
* 各个地市派单日期
*
* @author fxj
* @date 2022-07-15 11:38:05
*/
@Data
@TableName
(
"t_dispatch_day_conf"
)
@EqualsAndHashCode
(
callSuper
=
true
)
@Schema
(
description
=
"各个地市派单日期"
)
public
class
TDispatchDayConf
extends
BaseEntity
{
/**
* id
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@Schema
(
description
=
"id"
)
@ExcelProperty
(
"id"
)
private
String
id
;
/**
* 省
*/
@NotBlank
(
message
=
"省不能为空"
)
@Length
(
max
=
32
,
message
=
"省 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"省"
,
isNotEmpty
=
true
,
errorInfo
=
"省不能为空"
,
maxLength
=
32
)
@Schema
(
description
=
"省"
)
@ExcelProperty
(
"省"
)
private
String
province
;
/**
* 市
*/
@Length
(
max
=
32
,
message
=
"市 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"市"
,
maxLength
=
32
)
@Schema
(
description
=
"市"
)
@ExcelProperty
(
"市"
)
private
String
city
;
/**
* 县|区
*/
@Length
(
max
=
32
,
message
=
"县|区 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"县|区"
,
maxLength
=
32
)
@Schema
(
description
=
"县|区"
)
@ExcelProperty
(
"县|区"
)
private
String
town
;
/**
* 派单地名称
*/
@Length
(
max
=
32
,
message
=
"派单地名称 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"派单地名称"
,
maxLength
=
32
)
@Schema
(
description
=
"派单地名称"
)
@ExcelProperty
(
"派单地名称"
)
private
String
areaName
;
/**
* 派单日
*/
@ExcelAttribute
(
name
=
"派单日"
)
@Schema
(
description
=
"派单日"
)
@ExcelProperty
(
"派单日"
)
private
Integer
day
;
}
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/entity/TDispatchInfo.java
0 → 100644
View file @
1e811799
/*
* 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
.
social
.
entity
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute
;
import
com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
org.hibernate.validator.constraints.Length
;
import
javax.validation.constraints.NotBlank
;
import
java.util.Date
;
/**
* 派单信息记录表
*
* @author fxj
* @date 2022-07-15 11:38:05
*/
@Data
@TableName
(
"t_dispatch_info"
)
@EqualsAndHashCode
(
callSuper
=
true
)
@Schema
(
description
=
"派单信息记录表"
)
public
class
TDispatchInfo
extends
BaseEntity
{
/**
* ID
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@Schema
(
description
=
"ID"
)
@ExcelProperty
(
"ID"
)
private
String
id
;
/**
* 员工ID
*/
@NotBlank
(
message
=
"员工ID不能为空"
)
@Length
(
max
=
32
,
message
=
"员工ID 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"员工ID"
,
isNotEmpty
=
true
,
errorInfo
=
"员工ID不能为空"
,
maxLength
=
32
)
@Schema
(
description
=
"员工ID"
)
@ExcelProperty
(
"员工ID"
)
private
String
empId
;
/**
* 员工姓名
*/
@Length
(
max
=
50
,
message
=
"员工姓名 不能超过50个字符"
)
@ExcelAttribute
(
name
=
"员工姓名"
,
maxLength
=
50
)
@Schema
(
description
=
"员工姓名"
)
@ExcelProperty
(
"员工姓名"
)
private
String
empName
;
/**
* 员工编码
*/
@Length
(
max
=
30
,
message
=
"员工编码 不能超过30个字符"
)
@ExcelAttribute
(
name
=
"员工编码"
,
maxLength
=
30
)
@Schema
(
description
=
"员工编码"
)
@ExcelProperty
(
"员工编码"
)
private
String
empNo
;
/**
* 员工身份证
*/
@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
empType
;
/**
* 员工电话
*/
@Length
(
max
=
32
,
message
=
"员工电话 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"员工电话"
,
maxLength
=
32
)
@Schema
(
description
=
"员工电话"
)
@ExcelProperty
(
"员工电话"
)
private
String
empMobile
;
/**
* 民族
*/
@Length
(
max
=
32
,
message
=
"民族 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"民族"
,
maxLength
=
32
)
@Schema
(
description
=
"民族"
)
@ExcelProperty
(
"民族"
)
private
String
empNational
;
/**
* 0未提交1待审核2审核通过3审核不通过4办理完成
*/
@NotBlank
(
message
=
"0未提交1待审核2审核通过3审核不通过4办理完成不能为空"
)
@Length
(
max
=
1
,
message
=
"0未提交1待审核2审核通过3审核不通过4办理完成 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"0未提交1待审核2审核通过3审核不通过4办理完成"
,
isNotEmpty
=
true
,
errorInfo
=
"0未提交1待审核2审核通过3审核不通过4办理完成不能为空"
,
maxLength
=
1
)
@Schema
(
description
=
"0未提交1待审核2审核通过3审核不通过4办理完成"
)
@ExcelProperty
(
"0未提交1待审核2审核通过3审核不通过4办理完成"
)
private
String
status
;
/**
* 0派增1派减
*/
@NotBlank
(
message
=
"0派增1派减不能为空"
)
@Length
(
max
=
1
,
message
=
"0派增1派减 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"0派增1派减"
,
isNotEmpty
=
true
,
errorInfo
=
"0派增1派减不能为空"
,
maxLength
=
1
)
@Schema
(
description
=
"0派增1派减"
)
@ExcelProperty
(
"0派增1派减"
)
private
String
type
;
/**
* 社保ID
*/
@Length
(
max
=
32
,
message
=
"社保ID 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"社保ID"
,
maxLength
=
32
)
@Schema
(
description
=
"社保ID"
)
@ExcelProperty
(
"社保ID"
)
private
String
socialId
;
/**
* 公积金ID
*/
@Length
(
max
=
32
,
message
=
"公积金ID 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"公积金ID"
,
maxLength
=
32
)
@Schema
(
description
=
"公积金ID"
)
@ExcelProperty
(
"公积金ID"
)
private
String
fundId
;
/**
* 0社保1公积金
*/
@Length
(
max
=
1
,
message
=
"0社保1公积金 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"0社保1公积金"
,
maxLength
=
1
)
@Schema
(
description
=
"0社保1公积金"
)
@ExcelProperty
(
"0社保1公积金"
)
private
String
typeSub
;
/**
* 流程实例ID
*/
@Length
(
max
=
20
,
message
=
"流程实例ID 不能超过20个字符"
)
@ExcelAttribute
(
name
=
"流程实例ID"
,
maxLength
=
20
)
@Schema
(
description
=
"流程实例ID"
)
@ExcelProperty
(
"流程实例ID"
)
private
String
processInstId
;
/**
* 结算主体
*/
@Length
(
max
=
32
,
message
=
"结算主体 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"结算主体"
,
maxLength
=
32
)
@Schema
(
description
=
"结算主体"
)
@ExcelProperty
(
"结算主体"
)
private
String
settleDomain
;
/**
* 0未删除1删除
*/
@Length
(
max
=
1
,
message
=
"0未删除1删除 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"0未删除1删除"
,
maxLength
=
1
)
@Schema
(
description
=
"0未删除1删除"
)
@ExcelProperty
(
"0未删除1删除"
)
private
String
deleteFlag
;
/**
* 社保停缴日期
*/
@ExcelAttribute
(
name
=
"社保停缴日期"
,
isDate
=
true
)
@Schema
(
description
=
"社保停缴日期"
)
@ExcelProperty
(
"社保停缴日期"
)
private
Date
socialReduceDate
;
/**
* 公积金停缴日期
*/
@ExcelAttribute
(
name
=
"公积金停缴日期"
,
isDate
=
true
)
@Schema
(
description
=
"公积金停缴日期"
)
@ExcelProperty
(
"公积金停缴日期"
)
private
Date
fundReduceDate
;
/**
* 离职日期
*/
@ExcelAttribute
(
name
=
"离职日期"
,
isDate
=
true
)
@Schema
(
description
=
"离职日期"
)
@ExcelProperty
(
"离职日期"
)
private
Date
leaveDate
;
/**
* 减少原因
*/
@Length
(
max
=
32
,
message
=
"减少原因 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"减少原因"
,
maxLength
=
32
)
@Schema
(
description
=
"减少原因"
)
@ExcelProperty
(
"减少原因"
)
private
String
reduceReason
;
/**
* 减少备注
*/
@Length
(
max
=
200
,
message
=
"减少备注 不能超过200个字符"
)
@ExcelAttribute
(
name
=
"减少备注"
,
maxLength
=
200
)
@Schema
(
description
=
"减少备注"
)
@ExcelProperty
(
"减少备注"
)
private
String
reduceRemark
;
/**
* 所属单位
*/
@Length
(
max
=
32
,
message
=
"所属单位 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"所属单位"
,
maxLength
=
32
)
@Schema
(
description
=
"所属单位"
)
@ExcelProperty
(
"所属单位"
)
private
String
belongUnit
;
/**
* 当前操作人
*/
@Length
(
max
=
32
,
message
=
"当前操作人 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"当前操作人"
,
maxLength
=
32
)
@Schema
(
description
=
"当前操作人"
)
@ExcelProperty
(
"当前操作人"
)
private
String
currentOperator
;
/**
* 数据迁移使用
*/
@Length
(
max
=
32
,
message
=
"数据迁移使用 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"数据迁移使用"
,
maxLength
=
32
)
@Schema
(
description
=
"数据迁移使用"
)
@ExcelProperty
(
"数据迁移使用"
)
private
String
dispatchIdBak
;
/**
* 合同起始时间
*/
@ExcelAttribute
(
name
=
"合同起始时间"
,
isDate
=
true
)
@Schema
(
description
=
"合同起始时间"
)
@ExcelProperty
(
"合同起始时间"
)
private
Date
contractStart
;
/**
* 合同到期时间
*/
@ExcelAttribute
(
name
=
"合同到期时间"
,
isDate
=
true
)
@Schema
(
description
=
"合同到期时间"
)
@ExcelProperty
(
"合同到期时间"
)
private
Date
contractEnd
;
/**
* 合同年限
*/
@ExcelAttribute
(
name
=
"合同年限"
)
@Schema
(
description
=
"合同年限"
)
@ExcelProperty
(
"合同年限"
)
private
Double
contractTerm
;
/**
* 户口性质
*/
@Length
(
max
=
32
,
message
=
"户口性质 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"户口性质"
,
maxLength
=
32
)
@Schema
(
description
=
"户口性质"
)
@ExcelProperty
(
"户口性质"
)
private
String
empRegisType
;
/**
* 入职日期
*/
@ExcelAttribute
(
name
=
"入职日期"
,
isDate
=
true
)
@Schema
(
description
=
"入职日期"
)
@ExcelProperty
(
"入职日期"
)
private
Date
enjoinDate
;
/**
* 试用期(单位月)
*/
@Length
(
max
=
32
,
message
=
"试用期(单位月) 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"试用期(单位月)"
,
maxLength
=
32
)
@Schema
(
description
=
"试用期(单位月)"
)
@ExcelProperty
(
"试用期(单位月)"
)
private
String
tryPeriod
;
/**
* 档案所在地
*/
@Length
(
max
=
50
,
message
=
"档案所在地 不能超过50个字符"
)
@ExcelAttribute
(
name
=
"档案所在地"
,
maxLength
=
50
)
@Schema
(
description
=
"档案所在地"
)
@ExcelProperty
(
"档案所在地"
)
private
String
fileAddr
;
/**
* 就职岗位
*/
@Length
(
max
=
30
,
message
=
"就职岗位 不能超过30个字符"
)
@ExcelAttribute
(
name
=
"就职岗位"
,
maxLength
=
30
)
@Schema
(
description
=
"就职岗位"
)
@ExcelProperty
(
"就职岗位"
)
private
String
post
;
/**
* 委托备注
*/
@Length
(
max
=
100
,
message
=
"委托备注 不能超过100个字符"
)
@ExcelAttribute
(
name
=
"委托备注"
,
maxLength
=
100
)
@Schema
(
description
=
"委托备注"
)
@ExcelProperty
(
"委托备注"
)
private
String
trustRemark
;
/**
* 档案-省
*/
@ExcelAttribute
(
name
=
"档案-省"
)
@Schema
(
description
=
"档案-省"
)
@ExcelProperty
(
"档案-省"
)
private
Integer
fileProvince
;
/**
* 档案-市
*/
@ExcelAttribute
(
name
=
"档案-市"
)
@Schema
(
description
=
"档案-市"
)
@ExcelProperty
(
"档案-市"
)
private
Integer
fileCity
;
/**
* 档案-县
*/
@ExcelAttribute
(
name
=
"档案-县"
)
@Schema
(
description
=
"档案-县"
)
@ExcelProperty
(
"档案-县"
)
private
Integer
fileTown
;
/**
* 合同类型
*/
@Length
(
max
=
32
,
message
=
"合同类型 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"合同类型"
,
maxLength
=
32
)
@Schema
(
description
=
"合同类型"
)
@ExcelProperty
(
"合同类型"
)
private
String
contractType
;
/**
* 社保办理状态 0 未办理 1 全部办理成功(原-已办理) 2 全部办理失败(原-办理失败) 3已派减
*/
@Length
(
max
=
1
,
message
=
"社保办理状态 0 未办理 1 全部办理成功(原-已办理) 2 全部办理失败(原-办理失败) 3已派减 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"社保办理状态 0 未办理 1 全部办理成功(原-已办理) 2 全部办理失败(原-办理失败) 3已派减"
,
maxLength
=
1
)
@Schema
(
description
=
"社保办理状态 0 未办理 1 全部办理成功(原-已办理) 2 全部办理失败(原-办理失败) 3已派减"
)
@ExcelProperty
(
"社保办理状态 0 未办理 1 全部办理成功(原-已办理) 2 全部办理失败(原-办理失败) 3已派减"
)
private
String
socialHandleStatus
;
/**
* 公积金办理状态
*/
@Length
(
max
=
1
,
message
=
"公积金办理状态 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"公积金办理状态"
,
maxLength
=
1
)
@Schema
(
description
=
"公积金办理状态"
)
@ExcelProperty
(
"公积金办理状态"
)
private
String
fundHandleStatus
;
/**
* 当前流程环节的处理意见
*/
@Length
(
max
=
200
,
message
=
"当前流程环节的处理意见 不能超过200个字符"
)
@ExcelAttribute
(
name
=
"当前流程环节的处理意见"
,
maxLength
=
200
)
@Schema
(
description
=
"当前流程环节的处理意见"
)
@ExcelProperty
(
"当前流程环节的处理意见"
)
private
String
handleRemark
;
/**
* 审核意见
*/
@Length
(
max
=
255
,
message
=
"审核意见 不能超过255个字符"
)
@ExcelAttribute
(
name
=
"审核意见"
,
maxLength
=
255
)
@Schema
(
description
=
"审核意见"
)
@ExcelProperty
(
"审核意见"
)
private
String
auditRemark
;
/**
* 公积金办理备注
*/
@Length
(
max
=
255
,
message
=
"公积金办理备注 不能超过255个字符"
)
@ExcelAttribute
(
name
=
"公积金办理备注"
,
maxLength
=
255
)
@Schema
(
description
=
"公积金办理备注"
)
@ExcelProperty
(
"公积金办理备注"
)
private
String
fundHandleRemark
;
/**
* 办理备注
*/
@Length
(
max
=
255
,
message
=
"办理备注 不能超过255个字符"
)
@ExcelAttribute
(
name
=
"办理备注"
,
maxLength
=
255
)
@Schema
(
description
=
"办理备注"
)
@ExcelProperty
(
"办理备注"
)
private
String
socialHandleRemark
;
/**
* 缴纳地-省
*/
@Length
(
max
=
32
,
message
=
"缴纳地-省 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"缴纳地-省"
,
maxLength
=
32
)
@Schema
(
description
=
"缴纳地-省"
)
@ExcelProperty
(
"缴纳地-省"
)
private
String
socialProvince
;
/**
* 缴纳地-市
*/
@Length
(
max
=
11
,
message
=
"缴纳地-市 不能超过11个字符"
)
@ExcelAttribute
(
name
=
"缴纳地-市"
,
maxLength
=
11
)
@Schema
(
description
=
"缴纳地-市"
)
@ExcelProperty
(
"缴纳地-市"
)
private
String
socialCity
;
/**
* 缴纳地-县
*/
@Length
(
max
=
32
,
message
=
"缴纳地-县 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"缴纳地-县"
,
maxLength
=
32
)
@Schema
(
description
=
"缴纳地-县"
)
@ExcelProperty
(
"缴纳地-县"
)
private
String
socialTown
;
/**
* 缴纳地-省
*/
@Length
(
max
=
32
,
message
=
"缴纳地-省 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"缴纳地-省"
,
maxLength
=
32
)
@Schema
(
description
=
"缴纳地-省"
)
@ExcelProperty
(
"缴纳地-省"
)
private
String
fundProvince
;
/**
* 缴纳地-市
*/
@Length
(
max
=
32
,
message
=
"缴纳地-市 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"缴纳地-市"
,
maxLength
=
32
)
@Schema
(
description
=
"缴纳地-市"
)
@ExcelProperty
(
"缴纳地-市"
)
private
String
fundCity
;
/**
* 缴纳地-县
*/
@Length
(
max
=
32
,
message
=
"缴纳地-县 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"缴纳地-县"
,
maxLength
=
32
)
@Schema
(
description
=
"缴纳地-县"
)
@ExcelProperty
(
"缴纳地-县"
)
private
String
fundTown
;
/**
* 审核人
*/
@Length
(
max
=
32
,
message
=
"审核人 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"审核人"
,
maxLength
=
32
)
@Schema
(
description
=
"审核人"
)
@ExcelProperty
(
"审核人"
)
private
String
auditUser
;
/**
* 审核时间
*/
@ExcelAttribute
(
name
=
"审核时间"
,
isDate
=
true
)
@Schema
(
description
=
"审核时间"
)
@ExcelProperty
(
"审核时间"
)
private
Date
auditTime
;
/**
* 1标准工时 2 综合工时 3不定时工时制
*/
@Length
(
max
=
1
,
message
=
"1标准工时 2 综合工时 3不定时工时制 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"1标准工时 2 综合工时 3不定时工时制"
,
maxLength
=
1
)
@Schema
(
description
=
"1标准工时 2 综合工时 3不定时工时制"
)
@ExcelProperty
(
"1标准工时 2 综合工时 3不定时工时制"
)
private
String
workingHours
;
/**
* 申请人所在部门
*/
@Length
(
max
=
50
,
message
=
"申请人所在部门 不能超过50个字符"
)
@ExcelAttribute
(
name
=
"申请人所在部门"
,
maxLength
=
50
)
@Schema
(
description
=
"申请人所在部门"
)
@ExcelProperty
(
"申请人所在部门"
)
private
String
organName
;
/**
* 派单项:如 养老、公积金
*/
@Length
(
max
=
50
,
message
=
"派单项:如 养老、公积金 不能超过50个字符"
)
@ExcelAttribute
(
name
=
"派单项:如 养老、公积金"
,
maxLength
=
50
)
@Schema
(
description
=
"派单项:如 养老、公积金"
)
@ExcelProperty
(
"派单项:如 养老、公积金"
)
private
String
dispatchItem
;
/**
* settleDomainName
*/
@Length
(
max
=
50
,
message
=
"settleDomainName 不能超过50个字符"
)
@ExcelAttribute
(
name
=
"settleDomainName"
,
maxLength
=
50
)
@Schema
(
description
=
"settleDomainName"
)
@ExcelProperty
(
"settleDomainName"
)
private
String
settleDomainName
;
/**
* 单位名称
*/
@Length
(
max
=
50
,
message
=
"单位名称 不能超过50个字符"
)
@ExcelAttribute
(
name
=
"单位名称"
,
maxLength
=
50
)
@Schema
(
description
=
"单位名称"
)
@ExcelProperty
(
"单位名称"
)
private
String
belongUnitName
;
}
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/entity/TProvidentFund.java
0 → 100644
View file @
1e811799
/*
* 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
.
social
.
entity
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute
;
import
com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
org.hibernate.validator.constraints.Length
;
import
javax.validation.constraints.NotBlank
;
import
java.math.BigDecimal
;
import
java.util.Date
;
/**
* 公积金信息
*
* @author fxj
* @date 2022-07-15 11:38:05
*/
@Data
@TableName
(
"t_provident_fund"
)
@EqualsAndHashCode
(
callSuper
=
true
)
@Schema
(
description
=
"公积金信息"
)
public
class
TProvidentFund
extends
BaseEntity
{
/**
* 主键
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@Schema
(
description
=
"主键"
)
@ExcelProperty
(
"主键"
)
private
String
id
;
/**
* 公积金户
*/
@Length
(
max
=
32
,
message
=
"公积金户 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"公积金户"
,
maxLength
=
32
)
@Schema
(
description
=
"公积金户"
)
@ExcelProperty
(
"公积金户"
)
private
String
providentHousehold
;
/**
* 公积金起缴日期
*/
@ExcelAttribute
(
name
=
"公积金起缴日期"
,
isDate
=
true
)
@Schema
(
description
=
"公积金起缴日期"
)
@ExcelProperty
(
"公积金起缴日期"
)
private
Date
providentStart
;
/**
* 单位公积金缴纳基数
*/
@NotBlank
(
message
=
"单位公积金缴纳基数不能为空"
)
@ExcelAttribute
(
name
=
"单位公积金缴纳基数"
,
isNotEmpty
=
true
,
errorInfo
=
"单位公积金缴纳基数不能为空"
)
@Schema
(
description
=
"单位公积金缴纳基数"
)
@ExcelProperty
(
"单位公积金缴纳基数"
)
private
BigDecimal
unitProvidengCardinal
;
/**
* 个人公积金缴纳基数
*/
@NotBlank
(
message
=
"个人公积金缴纳基数不能为空"
)
@ExcelAttribute
(
name
=
"个人公积金缴纳基数"
,
isNotEmpty
=
true
,
errorInfo
=
"个人公积金缴纳基数不能为空"
)
@Schema
(
description
=
"个人公积金缴纳基数"
)
@ExcelProperty
(
"个人公积金缴纳基数"
)
private
BigDecimal
personalProvidentCardinal
;
/**
* 单位公积金缴纳比例
*/
@ExcelAttribute
(
name
=
"单位公积金缴纳比例"
)
@Schema
(
description
=
"单位公积金缴纳比例"
)
@ExcelProperty
(
"单位公积金缴纳比例"
)
private
BigDecimal
unitProvidentPer
;
/**
* 个人公积金缴纳比例
*/
@ExcelAttribute
(
name
=
"个人公积金缴纳比例"
)
@Schema
(
description
=
"个人公积金缴纳比例"
)
@ExcelProperty
(
"个人公积金缴纳比例"
)
private
BigDecimal
personalProvidentPer
;
/**
* 单位公积金缴纳费用
*/
@ExcelAttribute
(
name
=
"单位公积金缴纳费用"
)
@Schema
(
description
=
"单位公积金缴纳费用"
)
@ExcelProperty
(
"单位公积金缴纳费用"
)
private
BigDecimal
unitProvidentFee
;
/**
* 个人公积金缴纳费用
*/
@ExcelAttribute
(
name
=
"个人公积金缴纳费用"
)
@Schema
(
description
=
"个人公积金缴纳费用"
)
@ExcelProperty
(
"个人公积金缴纳费用"
)
private
BigDecimal
personalProvidentFee
;
/**
* 原ID(数据迁移)
*/
@Length
(
max
=
11
,
message
=
"原ID(数据迁移) 不能超过11个字符"
)
@ExcelAttribute
(
name
=
"原ID(数据迁移)"
,
maxLength
=
11
)
@Schema
(
description
=
"原ID(数据迁移)"
)
@ExcelProperty
(
"原ID(数据迁移)"
)
private
String
oldId
;
/**
* 审核状态(0待审核/1已审核)
*/
@NotBlank
(
message
=
"审核状态(0待审核/1已审核)不能为空"
)
@Length
(
max
=
32
,
message
=
"审核状态(0待审核/1已审核) 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"审核状态(0待审核/1已审核)"
,
isNotEmpty
=
true
,
errorInfo
=
"审核状态(0待审核/1已审核)不能为空"
,
maxLength
=
32
)
@Schema
(
description
=
"审核状态(0待审核/1已审核)"
)
@ExcelProperty
(
"审核状态(0待审核/1已审核)"
)
private
String
auditStatus
;
/**
* 办理状态(0待办理/1已办理)
*/
@NotBlank
(
message
=
"办理状态(0待办理/1已办理)不能为空"
)
@Length
(
max
=
32
,
message
=
"办理状态(0待办理/1已办理) 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"办理状态(0待办理/1已办理)"
,
isNotEmpty
=
true
,
errorInfo
=
"办理状态(0待办理/1已办理)不能为空"
,
maxLength
=
32
)
@Schema
(
description
=
"办理状态(0待办理/1已办理)"
)
@ExcelProperty
(
"办理状态(0待办理/1已办理)"
)
private
String
handleStatus
;
/**
* 废弃状态(0正常/1已废弃)
*/
@Length
(
max
=
1
,
message
=
"废弃状态(0正常/1已废弃) 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"废弃状态(0正常/1已废弃)"
,
maxLength
=
1
)
@Schema
(
description
=
"废弃状态(0正常/1已废弃)"
)
@ExcelProperty
(
"废弃状态(0正常/1已废弃)"
)
private
String
draftStatus
;
/**
* 员工ID(数据引用)
*/
@Length
(
max
=
32
,
message
=
"员工ID(数据引用) 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"员工ID(数据引用)"
,
maxLength
=
32
)
@Schema
(
description
=
"员工ID(数据引用)"
)
@ExcelProperty
(
"员工ID(数据引用)"
)
private
String
empId
;
/**
* 员工编码
*/
@Length
(
max
=
50
,
message
=
"员工编码 不能超过50个字符"
)
@ExcelAttribute
(
name
=
"员工编码"
,
maxLength
=
50
)
@Schema
(
description
=
"员工编码"
)
@ExcelProperty
(
"员工编码"
)
private
String
empNo
;
/**
* 员工姓名
*/
@Length
(
max
=
50
,
message
=
"员工姓名 不能超过50个字符"
)
@ExcelAttribute
(
name
=
"员工姓名"
,
maxLength
=
50
)
@Schema
(
description
=
"员工姓名"
)
@ExcelProperty
(
"员工姓名"
)
private
String
empName
;
/**
* 员工身份证
*/
@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
settleDomain
;
/**
* 缴纳地-省
*/
@Length
(
max
=
32
,
message
=
"缴纳地-省 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"缴纳地-省"
,
maxLength
=
32
)
@Schema
(
description
=
"缴纳地-省"
)
@ExcelProperty
(
"缴纳地-省"
)
private
String
fundProvince
;
/**
* 缴纳地-市
*/
@Length
(
max
=
32
,
message
=
"缴纳地-市 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"缴纳地-市"
,
maxLength
=
32
)
@Schema
(
description
=
"缴纳地-市"
)
@ExcelProperty
(
"缴纳地-市"
)
private
String
fundCity
;
/**
* 缴纳地-县
*/
@Length
(
max
=
32
,
message
=
"缴纳地-县 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"缴纳地-县"
,
maxLength
=
32
)
@Schema
(
description
=
"缴纳地-县"
)
@ExcelProperty
(
"缴纳地-县"
)
private
String
fundTown
;
/**
* 备注
*/
@Length
(
max
=
255
,
message
=
"备注 不能超过255个字符"
)
@ExcelAttribute
(
name
=
"备注"
,
maxLength
=
255
)
@Schema
(
description
=
"备注"
)
@ExcelProperty
(
"备注"
)
private
String
remark
;
/**
* 0为删除1删除
*/
@Length
(
max
=
1
,
message
=
"0为删除1删除 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"0为删除1删除"
,
maxLength
=
1
)
@Schema
(
description
=
"0为删除1删除"
)
@ExcelProperty
(
"0为删除1删除"
)
private
String
deleteFlag
;
/**
* 公积金配置ID
*/
@Length
(
max
=
32
,
message
=
"公积金配置ID 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"公积金配置ID"
,
maxLength
=
32
)
@Schema
(
description
=
"公积金配置ID"
)
@ExcelProperty
(
"公积金配置ID"
)
private
String
fundBaseSetId
;
/**
* 单边小数点 ,如:四舍五入、见角进元等
*/
@Length
(
max
=
1
,
message
=
"单边小数点 ,如:四舍五入、见角进元等 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"单边小数点 ,如:四舍五入、见角进元等"
,
maxLength
=
1
)
@Schema
(
description
=
"单边小数点 ,如:四舍五入、见角进元等"
)
@ExcelProperty
(
"单边小数点 ,如:四舍五入、见角进元等"
)
private
String
fundPayPoint
;
/**
* 流程实例ID
*/
@Length
(
max
=
20
,
message
=
"流程实例ID 不能超过20个字符"
)
@ExcelAttribute
(
name
=
"流程实例ID"
,
maxLength
=
20
)
@Schema
(
description
=
"流程实例ID"
)
@ExcelProperty
(
"流程实例ID"
)
private
String
processInstId
;
/**
* 审核人
*/
@Length
(
max
=
32
,
message
=
"审核人 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"审核人"
,
maxLength
=
32
)
@Schema
(
description
=
"审核人"
)
@ExcelProperty
(
"审核人"
)
private
String
auditUser
;
/**
* 审核时间
*/
@ExcelAttribute
(
name
=
"审核时间"
,
isDate
=
true
)
@Schema
(
description
=
"审核时间"
)
@ExcelProperty
(
"审核时间"
)
private
Date
auditTime
;
/**
* 办理人
*/
@Length
(
max
=
32
,
message
=
"办理人 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"办理人"
,
maxLength
=
32
)
@Schema
(
description
=
"办理人"
)
@ExcelProperty
(
"办理人"
)
private
String
handleUser
;
/**
* 办理时间
*/
@ExcelAttribute
(
name
=
"办理时间"
,
isDate
=
true
)
@Schema
(
description
=
"办理时间"
)
@ExcelProperty
(
"办理时间"
)
private
Date
handleTime
;
/**
* 申请人
*/
@Length
(
max
=
32
,
message
=
"申请人 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"申请人"
,
maxLength
=
32
)
@Schema
(
description
=
"申请人"
)
@ExcelProperty
(
"申请人"
)
private
String
applyUser
;
/**
* 申请时间
*/
@ExcelAttribute
(
name
=
"申请时间"
,
isDate
=
true
)
@Schema
(
description
=
"申请时间"
)
@ExcelProperty
(
"申请时间"
)
private
Date
applyTime
;
/**
* 所属单位
*/
@Length
(
max
=
32
,
message
=
"所属单位 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"所属单位"
,
maxLength
=
32
)
@Schema
(
description
=
"所属单位"
)
@ExcelProperty
(
"所属单位"
)
private
String
belongUnit
;
/**
* 公积金停缴日期
*/
@ExcelAttribute
(
name
=
"公积金停缴日期"
,
isDate
=
true
)
@Schema
(
description
=
"公积金停缴日期"
)
@ExcelProperty
(
"公积金停缴日期"
)
private
Date
fundReduceDate
;
/**
* 是否可补缴 0:是,1:否
*/
@Length
(
max
=
1
,
message
=
"是否可补缴 0:是,1:否 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"是否可补缴 0:是,1:否"
,
maxLength
=
1
)
@Schema
(
description
=
"是否可补缴 0:是,1:否"
)
@ExcelProperty
(
"是否可补缴 0:是,1:否"
)
private
String
canOverpay
;
/**
* 补缴期限
*/
@ExcelAttribute
(
name
=
"补缴期限"
)
@Schema
(
description
=
"补缴期限"
)
@ExcelProperty
(
"补缴期限"
)
private
Integer
overpayNumber
;
/**
* 补缴是否采用最新基数0是1否
*/
@Length
(
max
=
1
,
message
=
"补缴是否采用最新基数0是1否 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"补缴是否采用最新基数0是1否"
,
maxLength
=
1
)
@Schema
(
description
=
"补缴是否采用最新基数0是1否"
)
@ExcelProperty
(
"补缴是否采用最新基数0是1否"
)
private
String
insuranceIsLatestCardinality
;
/**
* 是否含当月 0:是,1:否
*/
@Length
(
max
=
1
,
message
=
"是否含当月 0:是,1:否 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"是否含当月 0:是,1:否"
,
maxLength
=
1
)
@Schema
(
description
=
"是否含当月 0:是,1:否"
)
@ExcelProperty
(
"是否含当月 0:是,1:否"
)
private
String
haveThisMonth
;
/**
* 派减办理人
*/
@Length
(
max
=
32
,
message
=
"派减办理人 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"派减办理人"
,
maxLength
=
32
)
@Schema
(
description
=
"派减办理人"
)
@ExcelProperty
(
"派减办理人"
)
private
String
reduceHandleUser
;
/**
* 派减办理时间
*/
@ExcelAttribute
(
name
=
"派减办理时间"
,
isDate
=
true
)
@Schema
(
description
=
"派减办理时间"
)
@ExcelProperty
(
"派减办理时间"
)
private
Date
reduceHandleTime
;
/**
* 委托备注
*/
@Length
(
max
=
100
,
message
=
"委托备注 不能超过100个字符"
)
@ExcelAttribute
(
name
=
"委托备注"
,
maxLength
=
100
)
@Schema
(
description
=
"委托备注"
)
@ExcelProperty
(
"委托备注"
)
private
String
trustRemark
;
/**
* 是否可派减 0:是1:否
*/
@NotBlank
(
message
=
"是否可派减 0:是1:否不能为空"
)
@Length
(
max
=
1
,
message
=
"是否可派减 0:是1:否 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"是否可派减 0:是1:否"
,
isNotEmpty
=
true
,
errorInfo
=
"是否可派减 0:是1:否不能为空"
,
maxLength
=
1
)
@Schema
(
description
=
"是否可派减 0:是1:否"
)
@ExcelProperty
(
"是否可派减 0:是1:否"
)
private
String
reduceCan
;
/**
* 就职班组
*/
@Length
(
max
=
50
,
message
=
"就职班组 不能超过50个字符"
)
@ExcelAttribute
(
name
=
"就职班组"
,
maxLength
=
50
)
@Schema
(
description
=
"就职班组"
)
@ExcelProperty
(
"就职班组"
)
private
String
inauguralTeam
;
/**
* 电信编号
*/
@Length
(
max
=
50
,
message
=
"电信编号 不能超过50个字符"
)
@ExcelAttribute
(
name
=
"电信编号"
,
maxLength
=
50
)
@Schema
(
description
=
"电信编号"
)
@ExcelProperty
(
"电信编号"
)
private
String
telecomNumber
;
}
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/entity/TSocialFundHistory.java
0 → 100644
View file @
1e811799
/*
* 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
.
social
.
entity
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute
;
import
com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
org.hibernate.validator.constraints.Length
;
import
java.math.BigDecimal
;
/**
* 社保公积金调基历史记录表
*
* @author fxj
* @date 2022-07-15 11:38:05
*/
@Data
@TableName
(
"t_social_fund_history"
)
@EqualsAndHashCode
(
callSuper
=
true
)
@Schema
(
description
=
"社保公积金调基历史记录表"
)
public
class
TSocialFundHistory
extends
BaseEntity
{
/**
* id
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@Schema
(
description
=
"id"
)
@ExcelProperty
(
"id"
)
private
String
id
;
/**
* name
*/
@Length
(
max
=
20
,
message
=
"name 不能超过20个字符"
)
@ExcelAttribute
(
name
=
"name"
,
maxLength
=
20
)
@Schema
(
description
=
"name"
)
@ExcelProperty
(
"name"
)
private
String
name
;
/**
* idCard
*/
@Length
(
max
=
20
,
message
=
"idCard 不能超过20个字符"
)
@ExcelAttribute
(
name
=
"idCard"
,
maxLength
=
20
)
@Schema
(
description
=
"idCard"
)
@ExcelProperty
(
"idCard"
)
private
String
idCard
;
/**
* employeeId
*/
@Length
(
max
=
32
,
message
=
"employeeId 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"employeeId"
,
maxLength
=
32
)
@Schema
(
description
=
"employeeId"
)
@ExcelProperty
(
"employeeId"
)
private
String
employeeId
;
/**
* 单位养老基数
*/
@ExcelAttribute
(
name
=
"单位养老基数"
)
@Schema
(
description
=
"单位养老基数"
)
@ExcelProperty
(
"单位养老基数"
)
private
BigDecimal
unitPensionBase
;
/**
* 单位医疗基数
*/
@ExcelAttribute
(
name
=
"单位医疗基数"
)
@Schema
(
description
=
"单位医疗基数"
)
@ExcelProperty
(
"单位医疗基数"
)
private
BigDecimal
unitMedicalBase
;
/**
* 单位失业基数
*/
@ExcelAttribute
(
name
=
"单位失业基数"
)
@Schema
(
description
=
"单位失业基数"
)
@ExcelProperty
(
"单位失业基数"
)
private
BigDecimal
unitUnemploymentBase
;
/**
* 单位工伤基数
*/
@ExcelAttribute
(
name
=
"单位工伤基数"
)
@Schema
(
description
=
"单位工伤基数"
)
@ExcelProperty
(
"单位工伤基数"
)
private
BigDecimal
unitInjuryBase
;
/**
* 单位生育基数
*/
@ExcelAttribute
(
name
=
"单位生育基数"
)
@Schema
(
description
=
"单位生育基数"
)
@ExcelProperty
(
"单位生育基数"
)
private
BigDecimal
unitBirthBase
;
/**
* 单位大病基数
*/
@ExcelAttribute
(
name
=
"单位大病基数"
)
@Schema
(
description
=
"单位大病基数"
)
@ExcelProperty
(
"单位大病基数"
)
private
BigDecimal
unitBigailmentBase
;
/**
* 个人养老基数
*/
@ExcelAttribute
(
name
=
"个人养老基数"
)
@Schema
(
description
=
"个人养老基数"
)
@ExcelProperty
(
"个人养老基数"
)
private
BigDecimal
personalPensionBase
;
/**
* 个人医疗基数
*/
@ExcelAttribute
(
name
=
"个人医疗基数"
)
@Schema
(
description
=
"个人医疗基数"
)
@ExcelProperty
(
"个人医疗基数"
)
private
BigDecimal
personalMedicalBase
;
/**
* 个人失业基数
*/
@ExcelAttribute
(
name
=
"个人失业基数"
)
@Schema
(
description
=
"个人失业基数"
)
@ExcelProperty
(
"个人失业基数"
)
private
BigDecimal
personalUnemploymentBase
;
/**
* 个人大病基数
*/
@ExcelAttribute
(
name
=
"个人大病基数"
)
@Schema
(
description
=
"个人大病基数"
)
@ExcelProperty
(
"个人大病基数"
)
private
BigDecimal
personalBigailmentBase
;
/**
* 单位养老比例
*/
@ExcelAttribute
(
name
=
"单位养老比例"
)
@Schema
(
description
=
"单位养老比例"
)
@ExcelProperty
(
"单位养老比例"
)
private
BigDecimal
unitPersionPro
;
/**
* unitPersionMoney
*/
@ExcelAttribute
(
name
=
"unitPersionMoney"
)
@Schema
(
description
=
"unitPersionMoney"
)
@ExcelProperty
(
"unitPersionMoney"
)
private
BigDecimal
unitPersionMoney
;
/**
* 单位医疗比例
*/
@ExcelAttribute
(
name
=
"单位医疗比例"
)
@Schema
(
description
=
"单位医疗比例"
)
@ExcelProperty
(
"单位医疗比例"
)
private
BigDecimal
unitMedicalPro
;
/**
* unitMedicalMoney
*/
@ExcelAttribute
(
name
=
"unitMedicalMoney"
)
@Schema
(
description
=
"unitMedicalMoney"
)
@ExcelProperty
(
"unitMedicalMoney"
)
private
BigDecimal
unitMedicalMoney
;
/**
* 单位失业比例
*/
@ExcelAttribute
(
name
=
"单位失业比例"
)
@Schema
(
description
=
"单位失业比例"
)
@ExcelProperty
(
"单位失业比例"
)
private
BigDecimal
unitUnemploymentPro
;
/**
* unitUnemploymentMoney
*/
@ExcelAttribute
(
name
=
"unitUnemploymentMoney"
)
@Schema
(
description
=
"unitUnemploymentMoney"
)
@ExcelProperty
(
"unitUnemploymentMoney"
)
private
BigDecimal
unitUnemploymentMoney
;
/**
* 单位工伤比例
*/
@ExcelAttribute
(
name
=
"单位工伤比例"
)
@Schema
(
description
=
"单位工伤比例"
)
@ExcelProperty
(
"单位工伤比例"
)
private
BigDecimal
unitInjuryPro
;
/**
* unitInjuryMoney
*/
@ExcelAttribute
(
name
=
"unitInjuryMoney"
)
@Schema
(
description
=
"unitInjuryMoney"
)
@ExcelProperty
(
"unitInjuryMoney"
)
private
BigDecimal
unitInjuryMoney
;
/**
* 单位生育比例
*/
@ExcelAttribute
(
name
=
"单位生育比例"
)
@Schema
(
description
=
"单位生育比例"
)
@ExcelProperty
(
"单位生育比例"
)
private
BigDecimal
unitBirthPro
;
/**
* unitBirthMoney
*/
@ExcelAttribute
(
name
=
"unitBirthMoney"
)
@Schema
(
description
=
"unitBirthMoney"
)
@ExcelProperty
(
"unitBirthMoney"
)
private
BigDecimal
unitBirthMoney
;
/**
* 单位大病比例
*/
@ExcelAttribute
(
name
=
"单位大病比例"
)
@Schema
(
description
=
"单位大病比例"
)
@ExcelProperty
(
"单位大病比例"
)
private
BigDecimal
unitBigailmentPro
;
/**
* unitBigailmentMoney
*/
@ExcelAttribute
(
name
=
"unitBigailmentMoney"
)
@Schema
(
description
=
"unitBigailmentMoney"
)
@ExcelProperty
(
"unitBigailmentMoney"
)
private
BigDecimal
unitBigailmentMoney
;
/**
* 个人养老比例
*/
@ExcelAttribute
(
name
=
"个人养老比例"
)
@Schema
(
description
=
"个人养老比例"
)
@ExcelProperty
(
"个人养老比例"
)
private
BigDecimal
personalPersionPro
;
/**
* personalPersionMoney
*/
@ExcelAttribute
(
name
=
"personalPersionMoney"
)
@Schema
(
description
=
"personalPersionMoney"
)
@ExcelProperty
(
"personalPersionMoney"
)
private
BigDecimal
personalPersionMoney
;
/**
* 个人医疗比例
*/
@ExcelAttribute
(
name
=
"个人医疗比例"
)
@Schema
(
description
=
"个人医疗比例"
)
@ExcelProperty
(
"个人医疗比例"
)
private
BigDecimal
personalMedicalPro
;
/**
* personalMedicalMoney
*/
@ExcelAttribute
(
name
=
"personalMedicalMoney"
)
@Schema
(
description
=
"personalMedicalMoney"
)
@ExcelProperty
(
"personalMedicalMoney"
)
private
BigDecimal
personalMedicalMoney
;
/**
* 个人失业比例
*/
@ExcelAttribute
(
name
=
"个人失业比例"
)
@Schema
(
description
=
"个人失业比例"
)
@ExcelProperty
(
"个人失业比例"
)
private
BigDecimal
personalUnemploymentPro
;
/**
* personalUnemploymentMoney
*/
@ExcelAttribute
(
name
=
"personalUnemploymentMoney"
)
@Schema
(
description
=
"personalUnemploymentMoney"
)
@ExcelProperty
(
"personalUnemploymentMoney"
)
private
BigDecimal
personalUnemploymentMoney
;
/**
* 个人大病比例
*/
@ExcelAttribute
(
name
=
"个人大病比例"
)
@Schema
(
description
=
"个人大病比例"
)
@ExcelProperty
(
"个人大病比例"
)
private
BigDecimal
personalBigailmentPro
;
/**
* personalBigailmentMoney
*/
@ExcelAttribute
(
name
=
"personalBigailmentMoney"
)
@Schema
(
description
=
"personalBigailmentMoney"
)
@ExcelProperty
(
"personalBigailmentMoney"
)
private
BigDecimal
personalBigailmentMoney
;
/**
* 单位公积金基数
*/
@ExcelAttribute
(
name
=
"单位公积金基数"
)
@Schema
(
description
=
"单位公积金基数"
)
@ExcelProperty
(
"单位公积金基数"
)
private
BigDecimal
unitFundBase
;
/**
* 个人公积金基数
*/
@ExcelAttribute
(
name
=
"个人公积金基数"
)
@Schema
(
description
=
"个人公积金基数"
)
@ExcelProperty
(
"个人公积金基数"
)
private
BigDecimal
personalFundBase
;
/**
* 单位公积金比例
*/
@ExcelAttribute
(
name
=
"单位公积金比例"
)
@Schema
(
description
=
"单位公积金比例"
)
@ExcelProperty
(
"单位公积金比例"
)
private
BigDecimal
unitFundProp
;
/**
* 个人公积金比例
*/
@ExcelAttribute
(
name
=
"个人公积金比例"
)
@Schema
(
description
=
"个人公积金比例"
)
@ExcelProperty
(
"个人公积金比例"
)
private
BigDecimal
personalFundProp
;
/**
* unitFundMoney
*/
@ExcelAttribute
(
name
=
"unitFundMoney"
)
@Schema
(
description
=
"unitFundMoney"
)
@ExcelProperty
(
"unitFundMoney"
)
private
BigDecimal
unitFundMoney
;
/**
* personalFundMoney
*/
@ExcelAttribute
(
name
=
"personalFundMoney"
)
@Schema
(
description
=
"personalFundMoney"
)
@ExcelProperty
(
"personalFundMoney"
)
private
BigDecimal
personalFundMoney
;
/**
* 0老的调基,数据不对,将不使用;1新逻辑调基
*/
@ExcelAttribute
(
name
=
"0老的调基,数据不对,将不使用;1新逻辑调基"
)
@Schema
(
description
=
"0老的调基,数据不对,将不使用;1新逻辑调基"
)
@ExcelProperty
(
"0老的调基,数据不对,将不使用;1新逻辑调基"
)
private
Integer
isOld
;
/**
* 缴纳类型(0最低缴纳、1自定义缴纳、2最高缴纳)
*/
@ExcelAttribute
(
name
=
"缴纳类型(0最低缴纳、1自定义缴纳、2最高缴纳)"
)
@Schema
(
description
=
"缴纳类型(0最低缴纳、1自定义缴纳、2最高缴纳)"
)
@ExcelProperty
(
"缴纳类型(0最低缴纳、1自定义缴纳、2最高缴纳)"
)
private
Integer
paymentType
;
/**
* 是否是社保:0否1是
*/
@ExcelAttribute
(
name
=
"是否是社保:0否1是"
)
@Schema
(
description
=
"是否是社保:0否1是"
)
@ExcelProperty
(
"是否是社保:0否1是"
)
private
Integer
isSocial
;
/**
* 是否是公积金:0否1是
*/
@ExcelAttribute
(
name
=
"是否是公积金:0否1是"
)
@Schema
(
description
=
"是否是公积金:0否1是"
)
@ExcelProperty
(
"是否是公积金:0否1是"
)
private
Integer
isFund
;
/**
* 社保id
*/
@Length
(
max
=
32
,
message
=
"社保id 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"社保id"
,
maxLength
=
32
)
@Schema
(
description
=
"社保id"
)
@ExcelProperty
(
"社保id"
)
private
String
socialId
;
/**
* 公积金id
*/
@Length
(
max
=
32
,
message
=
"公积金id 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"公积金id"
,
maxLength
=
32
)
@Schema
(
description
=
"公积金id"
)
@ExcelProperty
(
"公积金id"
)
private
String
fundId
;
}
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/entity/TSocialFundInfo.java
0 → 100644
View file @
1e811799
/*
* 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
.
social
.
entity
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute
;
import
com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
org.hibernate.validator.constraints.Length
;
import
javax.validation.constraints.NotBlank
;
import
java.math.BigDecimal
;
import
java.util.Date
;
/**
* 社保公积金查询表
*
* @author fxj
* @date 2022-07-15 11:38:05
*/
@Data
@TableName
(
"t_social_fund_info"
)
@EqualsAndHashCode
(
callSuper
=
true
)
@Schema
(
description
=
"社保公积金查询表"
)
public
class
TSocialFundInfo
extends
BaseEntity
{
/**
* id
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@Schema
(
description
=
"id"
)
@ExcelProperty
(
"id"
)
private
String
id
;
/**
* 员工ID(数据引用)
*/
@Length
(
max
=
32
,
message
=
"员工ID(数据引用) 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"员工ID(数据引用)"
,
maxLength
=
32
)
@Schema
(
description
=
"员工ID(数据引用)"
)
@ExcelProperty
(
"员工ID(数据引用)"
)
private
String
empId
;
/**
* 员工编码
*/
@Length
(
max
=
50
,
message
=
"员工编码 不能超过50个字符"
)
@ExcelAttribute
(
name
=
"员工编码"
,
maxLength
=
50
)
@Schema
(
description
=
"员工编码"
)
@ExcelProperty
(
"员工编码"
)
private
String
empNo
;
/**
* 员工姓名
*/
@Length
(
max
=
50
,
message
=
"员工姓名 不能超过50个字符"
)
@ExcelAttribute
(
name
=
"员工姓名"
,
maxLength
=
50
)
@Schema
(
description
=
"员工姓名"
)
@ExcelProperty
(
"员工姓名"
)
private
String
empName
;
/**
* 员工身份证
*/
@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
empType
;
/**
* 结算主体
*/
@Length
(
max
=
32
,
message
=
"结算主体 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"结算主体"
,
maxLength
=
32
)
@Schema
(
description
=
"结算主体"
)
@ExcelProperty
(
"结算主体"
)
private
String
settleDomain
;
/**
* 结算主体
*/
@Length
(
max
=
50
,
message
=
"结算主体 不能超过50个字符"
)
@ExcelAttribute
(
name
=
"结算主体"
,
maxLength
=
50
)
@Schema
(
description
=
"结算主体"
)
@ExcelProperty
(
"结算主体"
)
private
String
settleDomainName
;
/**
* unitName
*/
@Length
(
max
=
50
,
message
=
"unitName 不能超过50个字符"
)
@ExcelAttribute
(
name
=
"unitName"
,
maxLength
=
50
)
@Schema
(
description
=
"unitName"
)
@ExcelProperty
(
"unitName"
)
private
String
unitName
;
/**
* unitId
*/
@Length
(
max
=
32
,
message
=
"unitId 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"unitId"
,
maxLength
=
32
)
@Schema
(
description
=
"unitId"
)
@ExcelProperty
(
"unitId"
)
private
String
unitId
;
/**
* 社保户
*/
@Length
(
max
=
32
,
message
=
"社保户 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"社保户"
,
maxLength
=
32
)
@Schema
(
description
=
"社保户"
)
@ExcelProperty
(
"社保户"
)
private
String
socialHousehold
;
/**
* 社保户
*/
@Length
(
max
=
50
,
message
=
"社保户 不能超过50个字符"
)
@ExcelAttribute
(
name
=
"社保户"
,
maxLength
=
50
)
@Schema
(
description
=
"社保户"
)
@ExcelProperty
(
"社保户"
)
private
String
socialHouseholdName
;
/**
* 缴纳地-省
*/
@Length
(
max
=
32
,
message
=
"缴纳地-省 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"缴纳地-省"
,
maxLength
=
32
)
@Schema
(
description
=
"缴纳地-省"
)
@ExcelProperty
(
"缴纳地-省"
)
private
String
socialProvince
;
/**
* 缴纳地-市
*/
@Length
(
max
=
32
,
message
=
"缴纳地-市 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"缴纳地-市"
,
maxLength
=
32
)
@Schema
(
description
=
"缴纳地-市"
)
@ExcelProperty
(
"缴纳地-市"
)
private
String
socialCity
;
/**
* 缴纳地-县
*/
@Length
(
max
=
32
,
message
=
"缴纳地-县 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"缴纳地-县"
,
maxLength
=
32
)
@Schema
(
description
=
"缴纳地-县"
)
@ExcelProperty
(
"缴纳地-县"
)
private
String
socialTown
;
/**
* 公积金户
*/
@Length
(
max
=
32
,
message
=
"公积金户 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"公积金户"
,
maxLength
=
32
)
@Schema
(
description
=
"公积金户"
)
@ExcelProperty
(
"公积金户"
)
private
String
providentHousehold
;
/**
* 公积金户
*/
@Length
(
max
=
50
,
message
=
"公积金户 不能超过50个字符"
)
@ExcelAttribute
(
name
=
"公积金户"
,
maxLength
=
50
)
@Schema
(
description
=
"公积金户"
)
@ExcelProperty
(
"公积金户"
)
private
String
providentHouseholdName
;
/**
* 缴纳地-省
*/
@Length
(
max
=
32
,
message
=
"缴纳地-省 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"缴纳地-省"
,
maxLength
=
32
)
@Schema
(
description
=
"缴纳地-省"
)
@ExcelProperty
(
"缴纳地-省"
)
private
String
fundProvince
;
/**
* 缴纳地-市
*/
@Length
(
max
=
32
,
message
=
"缴纳地-市 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"缴纳地-市"
,
maxLength
=
32
)
@Schema
(
description
=
"缴纳地-市"
)
@ExcelProperty
(
"缴纳地-市"
)
private
String
fundCity
;
/**
* 缴纳地-县
*/
@Length
(
max
=
32
,
message
=
"缴纳地-县 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"缴纳地-县"
,
maxLength
=
32
)
@Schema
(
description
=
"缴纳地-县"
)
@ExcelProperty
(
"缴纳地-县"
)
private
String
fundTown
;
/**
* 社保派增状态:待审核、待办理、办理成功、部分办理失败、办理失败
*/
@Length
(
max
=
1
,
message
=
"社保派增状态:待审核、待办理、办理成功、部分办理失败、办理失败 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"社保派增状态:待审核、待办理、办理成功、部分办理失败、办理失败"
,
maxLength
=
1
)
@Schema
(
description
=
"社保派增状态:待审核、待办理、办理成功、部分办理失败、办理失败"
)
@ExcelProperty
(
"社保派增状态:待审核、待办理、办理成功、部分办理失败、办理失败"
)
private
String
socialAddStatus
;
/**
* 公积金派增状态:待审核、待办理、办理成功、部分办理失败、办理失败
*/
@Length
(
max
=
1
,
message
=
"公积金派增状态:待审核、待办理、办理成功、部分办理失败、办理失败 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"公积金派增状态:待审核、待办理、办理成功、部分办理失败、办理失败"
,
maxLength
=
1
)
@Schema
(
description
=
"公积金派增状态:待审核、待办理、办理成功、部分办理失败、办理失败"
)
@ExcelProperty
(
"公积金派增状态:待审核、待办理、办理成功、部分办理失败、办理失败"
)
private
String
fundAddStatus
;
/**
* “待审核、待办理、办理成功、办理失败”
*/
@Length
(
max
=
1
,
message
=
"“待审核、待办理、办理成功、办理失败” 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"“待审核、待办理、办理成功、办理失败”"
,
maxLength
=
1
)
@Schema
(
description
=
"“待审核、待办理、办理成功、办理失败”"
)
@ExcelProperty
(
"“待审核、待办理、办理成功、办理失败”"
)
private
String
socialReduceStatus
;
/**
* “待审核、待办理、办理成功、办理失败”
*/
@Length
(
max
=
1
,
message
=
"“待审核、待办理、办理成功、办理失败” 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"“待审核、待办理、办理成功、办理失败”"
,
maxLength
=
1
)
@Schema
(
description
=
"“待审核、待办理、办理成功、办理失败”"
)
@ExcelProperty
(
"“待审核、待办理、办理成功、办理失败”"
)
private
String
fundReduceStatus
;
/**
* 社保ID(取值最新社保ID)
*/
@Length
(
max
=
32
,
message
=
"社保ID(取值最新社保ID) 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"社保ID(取值最新社保ID)"
,
maxLength
=
32
)
@Schema
(
description
=
"社保ID(取值最新社保ID)"
)
@ExcelProperty
(
"社保ID(取值最新社保ID)"
)
private
String
socialId
;
/**
* 公积金ID (取值最新公积金ID)
*/
@Length
(
max
=
32
,
message
=
"公积金ID (取值最新公积金ID) 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"公积金ID (取值最新公积金ID)"
,
maxLength
=
32
)
@Schema
(
description
=
"公积金ID (取值最新公积金ID)"
)
@ExcelProperty
(
"公积金ID (取值最新公积金ID)"
)
private
String
fundId
;
/**
* 首次购买时间(第一派单月份)
*/
@ExcelAttribute
(
name
=
"首次购买时间(第一派单月份)"
,
isDate
=
true
)
@Schema
(
description
=
"首次购买时间(第一派单月份)"
)
@ExcelProperty
(
"首次购买时间(第一派单月份)"
)
private
Date
firstBuyMonthSocial
;
/**
* 单位养老基数
*/
@ExcelAttribute
(
name
=
"单位养老基数"
)
@Schema
(
description
=
"单位养老基数"
)
@ExcelProperty
(
"单位养老基数"
)
private
BigDecimal
unitPensionCardinal
;
/**
* 单位医疗基数
*/
@ExcelAttribute
(
name
=
"单位医疗基数"
)
@Schema
(
description
=
"单位医疗基数"
)
@ExcelProperty
(
"单位医疗基数"
)
private
BigDecimal
unitMedicalCardinal
;
/**
* 单位失业基数
*/
@ExcelAttribute
(
name
=
"单位失业基数"
)
@Schema
(
description
=
"单位失业基数"
)
@ExcelProperty
(
"单位失业基数"
)
private
BigDecimal
unitUnemploymentCardinal
;
/**
* 单位大病救助基数
*/
@ExcelAttribute
(
name
=
"单位大病救助基数"
)
@Schema
(
description
=
"单位大病救助基数"
)
@ExcelProperty
(
"单位大病救助基数"
)
private
BigDecimal
unitBigailmentCardinal
;
/**
* 单位工伤基数
*/
@ExcelAttribute
(
name
=
"单位工伤基数"
)
@Schema
(
description
=
"单位工伤基数"
)
@ExcelProperty
(
"单位工伤基数"
)
private
BigDecimal
unitWorkInjuryCardinal
;
/**
* 单位生育基数
*/
@ExcelAttribute
(
name
=
"单位生育基数"
)
@Schema
(
description
=
"单位生育基数"
)
@ExcelProperty
(
"单位生育基数"
)
private
BigDecimal
unitBirthCardinal
;
/**
* 个人养老基数
*/
@ExcelAttribute
(
name
=
"个人养老基数"
)
@Schema
(
description
=
"个人养老基数"
)
@ExcelProperty
(
"个人养老基数"
)
private
BigDecimal
personalPensionCardinal
;
/**
* 个人医疗基数
*/
@ExcelAttribute
(
name
=
"个人医疗基数"
)
@Schema
(
description
=
"个人医疗基数"
)
@ExcelProperty
(
"个人医疗基数"
)
private
BigDecimal
personalMedicalCardinal
;
/**
* 个人大病救助基数
*/
@ExcelAttribute
(
name
=
"个人大病救助基数"
)
@Schema
(
description
=
"个人大病救助基数"
)
@ExcelProperty
(
"个人大病救助基数"
)
private
BigDecimal
personalBigailmentCardinal
;
/**
* 个人失业基数
*/
@ExcelAttribute
(
name
=
"个人失业基数"
)
@Schema
(
description
=
"个人失业基数"
)
@ExcelProperty
(
"个人失业基数"
)
private
BigDecimal
personalUnemploymentCardinal
;
/**
* 单位工伤基数
*/
@ExcelAttribute
(
name
=
"单位工伤基数"
)
@Schema
(
description
=
"单位工伤基数"
)
@ExcelProperty
(
"单位工伤基数"
)
private
BigDecimal
personalWorkInjuryCardinal
;
/**
* 单位养老比例
*/
@ExcelAttribute
(
name
=
"单位养老比例"
)
@Schema
(
description
=
"单位养老比例"
)
@ExcelProperty
(
"单位养老比例"
)
private
BigDecimal
unitPensionPer
;
/**
* 单位医疗比例
*/
@ExcelAttribute
(
name
=
"单位医疗比例"
)
@Schema
(
description
=
"单位医疗比例"
)
@ExcelProperty
(
"单位医疗比例"
)
private
BigDecimal
unitMedicalPer
;
/**
* 单位失业比例
*/
@ExcelAttribute
(
name
=
"单位失业比例"
)
@Schema
(
description
=
"单位失业比例"
)
@ExcelProperty
(
"单位失业比例"
)
private
BigDecimal
unitUnemploymentPer
;
/**
* 单位工伤比例
*/
@ExcelAttribute
(
name
=
"单位工伤比例"
)
@Schema
(
description
=
"单位工伤比例"
)
@ExcelProperty
(
"单位工伤比例"
)
private
BigDecimal
unitWorkUnjuryPer
;
/**
* 单位生育比例
*/
@ExcelAttribute
(
name
=
"单位生育比例"
)
@Schema
(
description
=
"单位生育比例"
)
@ExcelProperty
(
"单位生育比例"
)
private
BigDecimal
unitBirthPer
;
/**
* 个人养老比例
*/
@ExcelAttribute
(
name
=
"个人养老比例"
)
@Schema
(
description
=
"个人养老比例"
)
@ExcelProperty
(
"个人养老比例"
)
private
BigDecimal
personalPensionPer
;
/**
* 个人医疗比例
*/
@ExcelAttribute
(
name
=
"个人医疗比例"
)
@Schema
(
description
=
"个人医疗比例"
)
@ExcelProperty
(
"个人医疗比例"
)
private
BigDecimal
personalMedicalPer
;
/**
* 个人失业比例
*/
@ExcelAttribute
(
name
=
"个人失业比例"
)
@Schema
(
description
=
"个人失业比例"
)
@ExcelProperty
(
"个人失业比例"
)
private
BigDecimal
personalUnemploymentPer
;
/**
* 办理状态
*/
@NotBlank
(
message
=
"办理状态不能为空"
)
@Length
(
max
=
32
,
message
=
"办理状态 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"办理状态"
,
isNotEmpty
=
true
,
errorInfo
=
"办理状态不能为空"
,
maxLength
=
32
)
@Schema
(
description
=
"办理状态"
)
@ExcelProperty
(
"办理状态"
)
private
String
handleStatus
;
/**
* 个人大病比例
*/
@ExcelAttribute
(
name
=
"个人大病比例"
)
@Schema
(
description
=
"个人大病比例"
)
@ExcelProperty
(
"个人大病比例"
)
private
BigDecimal
personalBigailmentPer
;
/**
* 单位大病救助比例
*/
@ExcelAttribute
(
name
=
"单位大病救助比例"
)
@Schema
(
description
=
"单位大病救助比例"
)
@ExcelProperty
(
"单位大病救助比例"
)
private
BigDecimal
unitBigailmentPer
;
/**
* 社保停缴日期
*/
@ExcelAttribute
(
name
=
"社保停缴日期"
,
isDate
=
true
)
@Schema
(
description
=
"社保停缴日期"
)
@ExcelProperty
(
"社保停缴日期"
)
private
Date
socialReduceDate
;
/**
* 是否可补缴 0:是,1:否
*/
@Length
(
max
=
1
,
message
=
"是否可补缴 0:是,1:否 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"是否可补缴 0:是,1:否"
,
maxLength
=
1
)
@Schema
(
description
=
"是否可补缴 0:是,1:否"
)
@ExcelProperty
(
"是否可补缴 0:是,1:否"
)
private
String
canOverpay
;
/**
* 补缴政策(社保或公积金)
*/
@Length
(
max
=
500
,
message
=
"补缴政策(社保或公积金) 不能超过500个字符"
)
@ExcelAttribute
(
name
=
"补缴政策(社保或公积金)"
,
maxLength
=
500
)
@Schema
(
description
=
"补缴政策(社保或公积金)"
)
@ExcelProperty
(
"补缴政策(社保或公积金)"
)
private
String
payPolicy
;
/**
* 补缴期限
*/
@ExcelAttribute
(
name
=
"补缴期限"
)
@Schema
(
description
=
"补缴期限"
)
@ExcelProperty
(
"补缴期限"
)
private
Integer
overpayNumber
;
/**
* 是否含当月 0:是,1:否
*/
@Length
(
max
=
1
,
message
=
"是否含当月 0:是,1:否 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"是否含当月 0:是,1:否"
,
maxLength
=
1
)
@Schema
(
description
=
"是否含当月 0:是,1:否"
)
@ExcelProperty
(
"是否含当月 0:是,1:否"
)
private
String
haveThisMonth
;
/**
* 是否能补缴养老0是1否
*/
@Length
(
max
=
1
,
message
=
"是否能补缴养老0是1否 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"是否能补缴养老0是1否"
,
maxLength
=
1
)
@Schema
(
description
=
"是否能补缴养老0是1否"
)
@ExcelProperty
(
"是否能补缴养老0是1否"
)
private
String
insurancePension
;
/**
* 是否能补缴医疗0是1否
*/
@Length
(
max
=
1
,
message
=
"是否能补缴医疗0是1否 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"是否能补缴医疗0是1否"
,
maxLength
=
1
)
@Schema
(
description
=
"是否能补缴医疗0是1否"
)
@ExcelProperty
(
"是否能补缴医疗0是1否"
)
private
String
insuranceMedical
;
/**
* 是否能补缴失业0是1否
*/
@Length
(
max
=
1
,
message
=
"是否能补缴失业0是1否 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"是否能补缴失业0是1否"
,
maxLength
=
1
)
@Schema
(
description
=
"是否能补缴失业0是1否"
)
@ExcelProperty
(
"是否能补缴失业0是1否"
)
private
String
insuranceUnemployment
;
/**
* 是否能补缴工伤0是1否
*/
@Length
(
max
=
1
,
message
=
"是否能补缴工伤0是1否 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"是否能补缴工伤0是1否"
,
maxLength
=
1
)
@Schema
(
description
=
"是否能补缴工伤0是1否"
)
@ExcelProperty
(
"是否能补缴工伤0是1否"
)
private
String
insuranceInjury
;
/**
* 是否能补缴生育0是1否
*/
@Length
(
max
=
1
,
message
=
"是否能补缴生育0是1否 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"是否能补缴生育0是1否"
,
maxLength
=
1
)
@Schema
(
description
=
"是否能补缴生育0是1否"
)
@ExcelProperty
(
"是否能补缴生育0是1否"
)
private
String
insuranceBirth
;
/**
* 是否能补缴大病0是1否
*/
@Length
(
max
=
1
,
message
=
"是否能补缴大病0是1否 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"是否能补缴大病0是1否"
,
maxLength
=
1
)
@Schema
(
description
=
"是否能补缴大病0是1否"
)
@ExcelProperty
(
"是否能补缴大病0是1否"
)
private
String
insuranceBigailment
;
/**
* 补缴是否采用最新基数0是1否
*/
@Length
(
max
=
1
,
message
=
"补缴是否采用最新基数0是1否 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"补缴是否采用最新基数0是1否"
,
maxLength
=
1
)
@Schema
(
description
=
"补缴是否采用最新基数0是1否"
)
@ExcelProperty
(
"补缴是否采用最新基数0是1否"
)
private
String
latestCardinality
;
/**
* 大病是否收费:0否 1 是
*/
@Length
(
max
=
1
,
message
=
"大病是否收费:0否 1 是 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"大病是否收费:0否 1 是"
,
maxLength
=
1
)
@Schema
(
description
=
"大病是否收费:0否 1 是"
)
@ExcelProperty
(
"大病是否收费:0否 1 是"
)
private
String
isIllness
;
/**
* 大病缴纳周期:0按年1按月
*/
@Length
(
max
=
1
,
message
=
"大病缴纳周期:0按年1按月 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"大病缴纳周期:0按年1按月"
,
maxLength
=
1
)
@Schema
(
description
=
"大病缴纳周期:0按年1按月"
)
@ExcelProperty
(
"大病缴纳周期:0按年1按月"
)
private
String
collectType
;
/**
* 大病取值方式0 按比例 1按定值
*/
@Length
(
max
=
1
,
message
=
"大病取值方式0 按比例 1按定值 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"大病取值方式0 按比例 1按定值"
,
maxLength
=
1
)
@Schema
(
description
=
"大病取值方式0 按比例 1按定值"
)
@ExcelProperty
(
"大病取值方式0 按比例 1按定值"
)
private
String
valueType
;
/**
* 大病按年收收取月份1-12月
*/
@ExcelAttribute
(
name
=
"大病按年收收取月份1-12月"
)
@Schema
(
description
=
"大病按年收收取月份1-12月"
)
@ExcelProperty
(
"大病按年收收取月份1-12月"
)
private
Integer
collectMoth
;
/**
* 收费模式:0立即收,1次年收,对应旧值新员工入职收费:0是1否
*/
@Length
(
max
=
1
,
message
=
"收费模式:0立即收,1次年收,对应旧值新员工入职收费:0是1否 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"收费模式:0立即收,1次年收,对应旧值新员工入职收费:0是1否"
,
maxLength
=
1
)
@Schema
(
description
=
"收费模式:0立即收,1次年收,对应旧值新员工入职收费:0是1否"
)
@ExcelProperty
(
"收费模式:0立即收,1次年收,对应旧值新员工入职收费:0是1否"
)
private
String
isChargePersonal
;
/**
* 备案基数
*/
@Length
(
max
=
255
,
message
=
"备案基数 不能超过255个字符"
)
@ExcelAttribute
(
name
=
"备案基数"
,
maxLength
=
255
)
@Schema
(
description
=
"备案基数"
)
@ExcelProperty
(
"备案基数"
)
private
String
recordBase
;
/**
* 委托备注
*/
@Length
(
max
=
100
,
message
=
"委托备注 不能超过100个字符"
)
@ExcelAttribute
(
name
=
"委托备注"
,
maxLength
=
100
)
@Schema
(
description
=
"委托备注"
)
@ExcelProperty
(
"委托备注"
)
private
String
trustRemark
;
/**
* 缴纳类型(0最低缴纳、1自定义缴纳、2最高缴纳)
*/
@Length
(
max
=
1
,
message
=
"缴纳类型(0最低缴纳、1自定义缴纳、2最高缴纳) 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"缴纳类型(0最低缴纳、1自定义缴纳、2最高缴纳)"
,
maxLength
=
1
)
@Schema
(
description
=
"缴纳类型(0最低缴纳、1自定义缴纳、2最高缴纳)"
)
@ExcelProperty
(
"缴纳类型(0最低缴纳、1自定义缴纳、2最高缴纳)"
)
private
String
paymentType
;
/**
* 基数上限(社保或公积金)
*/
@ExcelAttribute
(
name
=
"基数上限(社保或公积金)"
)
@Schema
(
description
=
"基数上限(社保或公积金)"
)
@ExcelProperty
(
"基数上限(社保或公积金)"
)
private
BigDecimal
upperLimit
;
/**
* 基数下限(社保或公积金)
*/
@ExcelAttribute
(
name
=
"基数下限(社保或公积金)"
)
@Schema
(
description
=
"基数下限(社保或公积金)"
)
@ExcelProperty
(
"基数下限(社保或公积金)"
)
private
BigDecimal
lowerLimit
;
/**
* 养老起缴日期
*/
@ExcelAttribute
(
name
=
"养老起缴日期"
,
isDate
=
true
)
@Schema
(
description
=
"养老起缴日期"
)
@ExcelProperty
(
"养老起缴日期"
)
private
Date
pensionStart
;
/**
* 医疗起缴日期
*/
@ExcelAttribute
(
name
=
"医疗起缴日期"
,
isDate
=
true
)
@Schema
(
description
=
"医疗起缴日期"
)
@ExcelProperty
(
"医疗起缴日期"
)
private
Date
medicalStart
;
/**
* 失业起缴日期
*/
@ExcelAttribute
(
name
=
"失业起缴日期"
,
isDate
=
true
)
@Schema
(
description
=
"失业起缴日期"
)
@ExcelProperty
(
"失业起缴日期"
)
private
Date
unemployStart
;
/**
* 工伤起缴日期
*/
@ExcelAttribute
(
name
=
"工伤起缴日期"
,
isDate
=
true
)
@Schema
(
description
=
"工伤起缴日期"
)
@ExcelProperty
(
"工伤起缴日期"
)
private
Date
workInjuryStart
;
/**
* 生育起缴日期
*/
@ExcelAttribute
(
name
=
"生育起缴日期"
,
isDate
=
true
)
@Schema
(
description
=
"生育起缴日期"
)
@ExcelProperty
(
"生育起缴日期"
)
private
Date
birthStart
;
/**
* 大病起缴日期
*/
@ExcelAttribute
(
name
=
"大病起缴日期"
,
isDate
=
true
)
@Schema
(
description
=
"大病起缴日期"
)
@ExcelProperty
(
"大病起缴日期"
)
private
Date
bigailmentStart
;
/**
* 养老办理状态:0待办理1办理成功2办理失败3已派减
*/
@Length
(
max
=
1
,
message
=
"养老办理状态:0待办理1办理成功2办理失败3已派减 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"养老办理状态:0待办理1办理成功2办理失败3已派减"
,
maxLength
=
1
)
@Schema
(
description
=
"养老办理状态:0待办理1办理成功2办理失败3已派减"
)
@ExcelProperty
(
"养老办理状态:0待办理1办理成功2办理失败3已派减"
)
private
String
pensionHandle
;
/**
* 医疗办理状态:0待办理1办理成功2办理失败3已派减
*/
@Length
(
max
=
1
,
message
=
"医疗办理状态:0待办理1办理成功2办理失败3已派减 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"医疗办理状态:0待办理1办理成功2办理失败3已派减"
,
maxLength
=
1
)
@Schema
(
description
=
"医疗办理状态:0待办理1办理成功2办理失败3已派减"
)
@ExcelProperty
(
"医疗办理状态:0待办理1办理成功2办理失败3已派减"
)
private
String
medicalHandle
;
/**
* 失业办理状态:0待办理1办理成功2办理失败3已派减
*/
@Length
(
max
=
1
,
message
=
"失业办理状态:0待办理1办理成功2办理失败3已派减 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"失业办理状态:0待办理1办理成功2办理失败3已派减"
,
maxLength
=
1
)
@Schema
(
description
=
"失业办理状态:0待办理1办理成功2办理失败3已派减"
)
@ExcelProperty
(
"失业办理状态:0待办理1办理成功2办理失败3已派减"
)
private
String
unemployHandle
;
/**
* 工伤办理状态:0待办理1办理成功2办理失败3已派减
*/
@Length
(
max
=
1
,
message
=
"工伤办理状态:0待办理1办理成功2办理失败3已派减 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"工伤办理状态:0待办理1办理成功2办理失败3已派减"
,
maxLength
=
1
)
@Schema
(
description
=
"工伤办理状态:0待办理1办理成功2办理失败3已派减"
)
@ExcelProperty
(
"工伤办理状态:0待办理1办理成功2办理失败3已派减"
)
private
String
workInjuryHandle
;
/**
* 生育办理状态:0待办理1办理成功2办理失败3已派减
*/
@Length
(
max
=
1
,
message
=
"生育办理状态:0待办理1办理成功2办理失败3已派减 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"生育办理状态:0待办理1办理成功2办理失败3已派减"
,
maxLength
=
1
)
@Schema
(
description
=
"生育办理状态:0待办理1办理成功2办理失败3已派减"
)
@ExcelProperty
(
"生育办理状态:0待办理1办理成功2办理失败3已派减"
)
private
String
birthHandle
;
/**
* 大病办理状态:0待办理1办理成功2办理失败3已派减
*/
@Length
(
max
=
1
,
message
=
"大病办理状态:0待办理1办理成功2办理失败3已派减 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"大病办理状态:0待办理1办理成功2办理失败3已派减"
,
maxLength
=
1
)
@Schema
(
description
=
"大病办理状态:0待办理1办理成功2办理失败3已派减"
)
@ExcelProperty
(
"大病办理状态:0待办理1办理成功2办理失败3已派减"
)
private
String
bigailmentHandle
;
/**
* 单位养老金额
*/
@ExcelAttribute
(
name
=
"单位养老金额"
)
@Schema
(
description
=
"单位养老金额"
)
@ExcelProperty
(
"单位养老金额"
)
private
BigDecimal
unitPersionMoney
;
/**
* 单位医疗金额
*/
@ExcelAttribute
(
name
=
"单位医疗金额"
)
@Schema
(
description
=
"单位医疗金额"
)
@ExcelProperty
(
"单位医疗金额"
)
private
BigDecimal
unitMedicalMoney
;
/**
* 单位失业
*/
@ExcelAttribute
(
name
=
"单位失业"
)
@Schema
(
description
=
"单位失业"
)
@ExcelProperty
(
"单位失业"
)
private
BigDecimal
unitUnemploymentMoney
;
/**
* 单位工伤金额
*/
@ExcelAttribute
(
name
=
"单位工伤金额"
)
@Schema
(
description
=
"单位工伤金额"
)
@ExcelProperty
(
"单位工伤金额"
)
private
BigDecimal
unitInjuryMoney
;
/**
* 单位生育金额
*/
@ExcelAttribute
(
name
=
"单位生育金额"
)
@Schema
(
description
=
"单位生育金额"
)
@ExcelProperty
(
"单位生育金额"
)
private
BigDecimal
unitBirthMoney
;
/**
* 单位大病救助金额
*/
@ExcelAttribute
(
name
=
"单位大病救助金额"
)
@Schema
(
description
=
"单位大病救助金额"
)
@ExcelProperty
(
"单位大病救助金额"
)
private
BigDecimal
unitBigailmentMoney
;
/**
* 个人养老金额
*/
@ExcelAttribute
(
name
=
"个人养老金额"
)
@Schema
(
description
=
"个人养老金额"
)
@ExcelProperty
(
"个人养老金额"
)
private
BigDecimal
personalPersionMoney
;
/**
* 个人医疗金额
*/
@ExcelAttribute
(
name
=
"个人医疗金额"
)
@Schema
(
description
=
"个人医疗金额"
)
@ExcelProperty
(
"个人医疗金额"
)
private
BigDecimal
personalMedicalMoney
;
/**
* 个人失业金额
*/
@ExcelAttribute
(
name
=
"个人失业金额"
)
@Schema
(
description
=
"个人失业金额"
)
@ExcelProperty
(
"个人失业金额"
)
private
BigDecimal
personalUnemploymentMoney
;
/**
* 个人大病金额
*/
@ExcelAttribute
(
name
=
"个人大病金额"
)
@Schema
(
description
=
"个人大病金额"
)
@ExcelProperty
(
"个人大病金额"
)
private
BigDecimal
personalBigailmentMoney
;
/**
* 单位公积金缴纳基数
*/
@NotBlank
(
message
=
"单位公积金缴纳基数不能为空"
)
@ExcelAttribute
(
name
=
"单位公积金缴纳基数"
,
isNotEmpty
=
true
,
errorInfo
=
"单位公积金缴纳基数不能为空"
)
@Schema
(
description
=
"单位公积金缴纳基数"
)
@ExcelProperty
(
"单位公积金缴纳基数"
)
private
BigDecimal
unitProvidengCardinal
;
/**
* 个人公积金缴纳基数
*/
@NotBlank
(
message
=
"个人公积金缴纳基数不能为空"
)
@ExcelAttribute
(
name
=
"个人公积金缴纳基数"
,
isNotEmpty
=
true
,
errorInfo
=
"个人公积金缴纳基数不能为空"
)
@Schema
(
description
=
"个人公积金缴纳基数"
)
@ExcelProperty
(
"个人公积金缴纳基数"
)
private
BigDecimal
personalProvidentCardinal
;
/**
* 社保起缴日期
*/
@ExcelAttribute
(
name
=
"社保起缴日期"
,
isDate
=
true
)
@Schema
(
description
=
"社保起缴日期"
)
@ExcelProperty
(
"社保起缴日期"
)
private
Date
socialStartDate
;
/**
* 单位公积金缴纳比例
*/
@ExcelAttribute
(
name
=
"单位公积金缴纳比例"
)
@Schema
(
description
=
"单位公积金缴纳比例"
)
@ExcelProperty
(
"单位公积金缴纳比例"
)
private
BigDecimal
unitProvidentPer
;
/**
* 个人公积金缴纳比例
*/
@ExcelAttribute
(
name
=
"个人公积金缴纳比例"
)
@Schema
(
description
=
"个人公积金缴纳比例"
)
@ExcelProperty
(
"个人公积金缴纳比例"
)
private
BigDecimal
personalProvidentPer
;
/**
* 公积金起缴日期
*/
@ExcelAttribute
(
name
=
"公积金起缴日期"
,
isDate
=
true
)
@Schema
(
description
=
"公积金起缴日期"
)
@ExcelProperty
(
"公积金起缴日期"
)
private
Date
providentStart
;
/**
* 公积金初次购买月份
*/
@ExcelAttribute
(
name
=
"公积金初次购买月份"
,
isDate
=
true
)
@Schema
(
description
=
"公积金初次购买月份"
)
@ExcelProperty
(
"公积金初次购买月份"
)
private
Date
firstBuyMothFund
;
/**
* 基数上限(公积金)
*/
@ExcelAttribute
(
name
=
"基数上限(公积金)"
)
@Schema
(
description
=
"基数上限(公积金)"
)
@ExcelProperty
(
"基数上限(公积金)"
)
private
BigDecimal
upperLimitFund
;
/**
* 基数下限(公积金)
*/
@ExcelAttribute
(
name
=
"基数下限(公积金)"
)
@Schema
(
description
=
"基数下限(公积金)"
)
@ExcelProperty
(
"基数下限(公积金)"
)
private
BigDecimal
lowerLimitFund
;
/**
* 单边小数点 ,如:四舍五入、见角进元等
*/
@Length
(
max
=
1
,
message
=
"单边小数点 ,如:四舍五入、见角进元等 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"单边小数点 ,如:四舍五入、见角进元等"
,
maxLength
=
1
)
@Schema
(
description
=
"单边小数点 ,如:四舍五入、见角进元等"
)
@ExcelProperty
(
"单边小数点 ,如:四舍五入、见角进元等"
)
private
String
fundPayPoint
;
/**
* 是否可补缴 0:是,1:否(公积金)
*/
@Length
(
max
=
1
,
message
=
"是否可补缴 0:是,1:否(公积金) 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"是否可补缴 0:是,1:否(公积金)"
,
maxLength
=
1
)
@Schema
(
description
=
"是否可补缴 0:是,1:否(公积金)"
)
@ExcelProperty
(
"是否可补缴 0:是,1:否(公积金)"
)
private
String
canOverpayFund
;
/**
* 补缴期限(公积金)
*/
@ExcelAttribute
(
name
=
"补缴期限(公积金)"
)
@Schema
(
description
=
"补缴期限(公积金)"
)
@ExcelProperty
(
"补缴期限(公积金)"
)
private
Integer
overpayNumberFund
;
/**
* 补缴政策(公积金)
*/
@Length
(
max
=
500
,
message
=
"补缴政策(公积金) 不能超过500个字符"
)
@ExcelAttribute
(
name
=
"补缴政策(公积金)"
,
maxLength
=
500
)
@Schema
(
description
=
"补缴政策(公积金)"
)
@ExcelProperty
(
"补缴政策(公积金)"
)
private
String
payPolicyFund
;
/**
* 委托备注(公积金)
*/
@Length
(
max
=
100
,
message
=
"委托备注(公积金) 不能超过100个字符"
)
@ExcelAttribute
(
name
=
"委托备注(公积金)"
,
maxLength
=
100
)
@Schema
(
description
=
"委托备注(公积金)"
)
@ExcelProperty
(
"委托备注(公积金)"
)
private
String
trustRemarkFund
;
/**
* 是否含当月 0:是,1:否(公积金)
*/
@Length
(
max
=
1
,
message
=
"是否含当月 0:是,1:否(公积金) 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"是否含当月 0:是,1:否(公积金)"
,
maxLength
=
1
)
@Schema
(
description
=
"是否含当月 0:是,1:否(公积金)"
)
@ExcelProperty
(
"是否含当月 0:是,1:否(公积金)"
)
private
String
haveThisMonthFund
;
/**
* 补缴是否采用最新基数0是1否(公积金)
*/
@Length
(
max
=
1
,
message
=
"补缴是否采用最新基数0是1否(公积金) 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"补缴是否采用最新基数0是1否(公积金)"
,
maxLength
=
1
)
@Schema
(
description
=
"补缴是否采用最新基数0是1否(公积金)"
)
@ExcelProperty
(
"补缴是否采用最新基数0是1否(公积金)"
)
private
String
latestCardinalityFund
;
}
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/entity/TSocialInfo.java
0 → 100644
View file @
1e811799
/*
* 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
.
social
.
entity
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.ExcelAttribute
;
import
com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
org.hibernate.validator.constraints.Length
;
import
javax.validation.constraints.NotBlank
;
import
java.math.BigDecimal
;
import
java.util.Date
;
/**
* 社保明细表
*
* @author fxj
* @date 2022-07-15 11:38:05
*/
@Data
@TableName
(
"t_social_info"
)
@EqualsAndHashCode
(
callSuper
=
true
)
@Schema
(
description
=
"社保明细表"
)
public
class
TSocialInfo
extends
BaseEntity
{
/**
* 主键
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@Schema
(
description
=
"主键"
)
@ExcelProperty
(
"主键"
)
private
String
id
;
/**
* 社保户
*/
@Length
(
max
=
32
,
message
=
"社保户 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"社保户"
,
maxLength
=
32
)
@Schema
(
description
=
"社保户"
)
@ExcelProperty
(
"社保户"
)
private
String
socialHousehold
;
/**
* 社保起缴日期
*/
@ExcelAttribute
(
name
=
"社保起缴日期"
,
isDate
=
true
)
@Schema
(
description
=
"社保起缴日期"
)
@ExcelProperty
(
"社保起缴日期"
)
private
Date
socialStartDate
;
/**
* 单位养老基数
*/
@ExcelAttribute
(
name
=
"单位养老基数"
)
@Schema
(
description
=
"单位养老基数"
)
@ExcelProperty
(
"单位养老基数"
)
private
BigDecimal
unitPensionCardinal
;
/**
* 单位医疗基数
*/
@ExcelAttribute
(
name
=
"单位医疗基数"
)
@Schema
(
description
=
"单位医疗基数"
)
@ExcelProperty
(
"单位医疗基数"
)
private
BigDecimal
unitMedicalCardinal
;
/**
* 单位失业基数
*/
@ExcelAttribute
(
name
=
"单位失业基数"
)
@Schema
(
description
=
"单位失业基数"
)
@ExcelProperty
(
"单位失业基数"
)
private
BigDecimal
unitUnemploymentCardinal
;
/**
* 单位大病救助基数
*/
@ExcelAttribute
(
name
=
"单位大病救助基数"
)
@Schema
(
description
=
"单位大病救助基数"
)
@ExcelProperty
(
"单位大病救助基数"
)
private
BigDecimal
unitBigailmentCardinal
;
/**
* 单位工伤基数
*/
@ExcelAttribute
(
name
=
"单位工伤基数"
)
@Schema
(
description
=
"单位工伤基数"
)
@ExcelProperty
(
"单位工伤基数"
)
private
BigDecimal
unitWorkInjuryCardinal
;
/**
* 单位生育基数
*/
@ExcelAttribute
(
name
=
"单位生育基数"
)
@Schema
(
description
=
"单位生育基数"
)
@ExcelProperty
(
"单位生育基数"
)
private
BigDecimal
unitBirthCardinal
;
/**
* 个人养老基数
*/
@ExcelAttribute
(
name
=
"个人养老基数"
)
@Schema
(
description
=
"个人养老基数"
)
@ExcelProperty
(
"个人养老基数"
)
private
BigDecimal
personalPensionCardinal
;
/**
* 个人医疗基数
*/
@ExcelAttribute
(
name
=
"个人医疗基数"
)
@Schema
(
description
=
"个人医疗基数"
)
@ExcelProperty
(
"个人医疗基数"
)
private
BigDecimal
personalMedicalCardinal
;
/**
* 个人大病救助基数
*/
@ExcelAttribute
(
name
=
"个人大病救助基数"
)
@Schema
(
description
=
"个人大病救助基数"
)
@ExcelProperty
(
"个人大病救助基数"
)
private
BigDecimal
personalBigailmentCardinal
;
/**
* 个人失业基数
*/
@ExcelAttribute
(
name
=
"个人失业基数"
)
@Schema
(
description
=
"个人失业基数"
)
@ExcelProperty
(
"个人失业基数"
)
private
BigDecimal
personalUnemploymentCardinal
;
/**
* 单位工伤基数
*/
@ExcelAttribute
(
name
=
"单位工伤基数"
)
@Schema
(
description
=
"单位工伤基数"
)
@ExcelProperty
(
"单位工伤基数"
)
private
BigDecimal
personalWorkInjuryCardinal
;
/**
* 员工ID(数据引用)
*/
@Length
(
max
=
32
,
message
=
"员工ID(数据引用) 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"员工ID(数据引用)"
,
maxLength
=
32
)
@Schema
(
description
=
"员工ID(数据引用)"
)
@ExcelProperty
(
"员工ID(数据引用)"
)
private
String
empId
;
/**
* 员工编码
*/
@Length
(
max
=
50
,
message
=
"员工编码 不能超过50个字符"
)
@ExcelAttribute
(
name
=
"员工编码"
,
maxLength
=
50
)
@Schema
(
description
=
"员工编码"
)
@ExcelProperty
(
"员工编码"
)
private
String
empNo
;
/**
* 员工姓名
*/
@Length
(
max
=
50
,
message
=
"员工姓名 不能超过50个字符"
)
@ExcelAttribute
(
name
=
"员工姓名"
,
maxLength
=
50
)
@Schema
(
description
=
"员工姓名"
)
@ExcelProperty
(
"员工姓名"
)
private
String
empName
;
/**
* 员工身份证
*/
@Length
(
max
=
20
,
message
=
"员工身份证 不能超过20个字符"
)
@ExcelAttribute
(
name
=
"员工身份证"
,
maxLength
=
20
)
@Schema
(
description
=
"员工身份证"
)
@ExcelProperty
(
"员工身份证"
)
private
String
empIdcard
;
/**
* 单位养老比例
*/
@ExcelAttribute
(
name
=
"单位养老比例"
)
@Schema
(
description
=
"单位养老比例"
)
@ExcelProperty
(
"单位养老比例"
)
private
BigDecimal
unitPensionPer
;
/**
* 单位医疗比例
*/
@ExcelAttribute
(
name
=
"单位医疗比例"
)
@Schema
(
description
=
"单位医疗比例"
)
@ExcelProperty
(
"单位医疗比例"
)
private
BigDecimal
unitMedicalPer
;
/**
* 单位失业比例
*/
@ExcelAttribute
(
name
=
"单位失业比例"
)
@Schema
(
description
=
"单位失业比例"
)
@ExcelProperty
(
"单位失业比例"
)
private
BigDecimal
unitUnemploymentPer
;
/**
* 单位工伤比例
*/
@ExcelAttribute
(
name
=
"单位工伤比例"
)
@Schema
(
description
=
"单位工伤比例"
)
@ExcelProperty
(
"单位工伤比例"
)
private
BigDecimal
unitWorkUnjuryPer
;
/**
* 单位生育比例
*/
@ExcelAttribute
(
name
=
"单位生育比例"
)
@Schema
(
description
=
"单位生育比例"
)
@ExcelProperty
(
"单位生育比例"
)
private
BigDecimal
unitBirthPer
;
/**
* 个人养老比例
*/
@ExcelAttribute
(
name
=
"个人养老比例"
)
@Schema
(
description
=
"个人养老比例"
)
@ExcelProperty
(
"个人养老比例"
)
private
BigDecimal
personalPensionPer
;
/**
* 个人医疗比例
*/
@ExcelAttribute
(
name
=
"个人医疗比例"
)
@Schema
(
description
=
"个人医疗比例"
)
@ExcelProperty
(
"个人医疗比例"
)
private
BigDecimal
personalMedicalPer
;
/**
* 个人失业比例
*/
@ExcelAttribute
(
name
=
"个人失业比例"
)
@Schema
(
description
=
"个人失业比例"
)
@ExcelProperty
(
"个人失业比例"
)
private
BigDecimal
personalUnemploymentPer
;
/**
* 审核状态
*/
@NotBlank
(
message
=
"审核状态不能为空"
)
@Length
(
max
=
32
,
message
=
"审核状态 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"审核状态"
,
isNotEmpty
=
true
,
errorInfo
=
"审核状态不能为空"
,
maxLength
=
32
)
@Schema
(
description
=
"审核状态"
)
@ExcelProperty
(
"审核状态"
)
private
String
auditStatus
;
/**
* 办理状态
*/
@NotBlank
(
message
=
"办理状态不能为空"
)
@Length
(
max
=
32
,
message
=
"办理状态 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"办理状态"
,
isNotEmpty
=
true
,
errorInfo
=
"办理状态不能为空"
,
maxLength
=
32
)
@Schema
(
description
=
"办理状态"
)
@ExcelProperty
(
"办理状态"
)
private
String
handleStatus
;
/**
* 草稿状态
*/
@NotBlank
(
message
=
"草稿状态不能为空"
)
@Length
(
max
=
1
,
message
=
"草稿状态 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"草稿状态"
,
isNotEmpty
=
true
,
errorInfo
=
"草稿状态不能为空"
,
maxLength
=
1
)
@Schema
(
description
=
"草稿状态"
)
@ExcelProperty
(
"草稿状态"
)
private
String
draftStatus
;
/**
* 社保基数配置ID(数据引用)
*/
@Length
(
max
=
32
,
message
=
"社保基数配置ID(数据引用) 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"社保基数配置ID(数据引用)"
,
maxLength
=
32
)
@Schema
(
description
=
"社保基数配置ID(数据引用)"
)
@ExcelProperty
(
"社保基数配置ID(数据引用)"
)
private
String
cardinalIid
;
/**
* 原ID(数据迁移)
*/
@ExcelAttribute
(
name
=
"原ID(数据迁移)"
)
@Schema
(
description
=
"原ID(数据迁移)"
)
@ExcelProperty
(
"原ID(数据迁移)"
)
private
Integer
oldId
;
/**
* 结算主体
*/
@Length
(
max
=
32
,
message
=
"结算主体 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"结算主体"
,
maxLength
=
32
)
@Schema
(
description
=
"结算主体"
)
@ExcelProperty
(
"结算主体"
)
private
String
settleDomain
;
/**
* 缴纳地-省
*/
@Length
(
max
=
32
,
message
=
"缴纳地-省 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"缴纳地-省"
,
maxLength
=
32
)
@Schema
(
description
=
"缴纳地-省"
)
@ExcelProperty
(
"缴纳地-省"
)
private
String
socialProvince
;
/**
* 缴纳地-市
*/
@Length
(
max
=
32
,
message
=
"缴纳地-市 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"缴纳地-市"
,
maxLength
=
32
)
@Schema
(
description
=
"缴纳地-市"
)
@ExcelProperty
(
"缴纳地-市"
)
private
String
socialCity
;
/**
* 缴纳地-县
*/
@Length
(
max
=
32
,
message
=
"缴纳地-县 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"缴纳地-县"
,
maxLength
=
32
)
@Schema
(
description
=
"缴纳地-县"
)
@ExcelProperty
(
"缴纳地-县"
)
private
String
socialTown
;
/**
* 备注
*/
@Length
(
max
=
255
,
message
=
"备注 不能超过255个字符"
)
@ExcelAttribute
(
name
=
"备注"
,
maxLength
=
255
)
@Schema
(
description
=
"备注"
)
@ExcelProperty
(
"备注"
)
private
String
remark
;
/**
* 0为删除1删除
*/
@Length
(
max
=
1
,
message
=
"0为删除1删除 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"0为删除1删除"
,
maxLength
=
1
)
@Schema
(
description
=
"0为删除1删除"
)
@ExcelProperty
(
"0为删除1删除"
)
private
String
deleteFlag
;
/**
* 单位养老金额
*/
@ExcelAttribute
(
name
=
"单位养老金额"
)
@Schema
(
description
=
"单位养老金额"
)
@ExcelProperty
(
"单位养老金额"
)
private
BigDecimal
unitPersionMoney
;
/**
* 单位医疗金额
*/
@ExcelAttribute
(
name
=
"单位医疗金额"
)
@Schema
(
description
=
"单位医疗金额"
)
@ExcelProperty
(
"单位医疗金额"
)
private
BigDecimal
unitMedicalMoney
;
/**
* 单位失业
*/
@ExcelAttribute
(
name
=
"单位失业"
)
@Schema
(
description
=
"单位失业"
)
@ExcelProperty
(
"单位失业"
)
private
BigDecimal
unitUnemploymentMoney
;
/**
* 单位工伤金额
*/
@ExcelAttribute
(
name
=
"单位工伤金额"
)
@Schema
(
description
=
"单位工伤金额"
)
@ExcelProperty
(
"单位工伤金额"
)
private
BigDecimal
unitInjuryMoney
;
/**
* 单位生育金额
*/
@ExcelAttribute
(
name
=
"单位生育金额"
)
@Schema
(
description
=
"单位生育金额"
)
@ExcelProperty
(
"单位生育金额"
)
private
BigDecimal
unitBirthMoney
;
/**
* 单位大病救助金额
*/
@ExcelAttribute
(
name
=
"单位大病救助金额"
)
@Schema
(
description
=
"单位大病救助金额"
)
@ExcelProperty
(
"单位大病救助金额"
)
private
BigDecimal
unitBigailmentMoney
;
/**
* 个人养老金额
*/
@ExcelAttribute
(
name
=
"个人养老金额"
)
@Schema
(
description
=
"个人养老金额"
)
@ExcelProperty
(
"个人养老金额"
)
private
BigDecimal
personalPersionMoney
;
/**
* 个人医疗金额
*/
@ExcelAttribute
(
name
=
"个人医疗金额"
)
@Schema
(
description
=
"个人医疗金额"
)
@ExcelProperty
(
"个人医疗金额"
)
private
BigDecimal
personalMedicalMoney
;
/**
* 个人失业金额
*/
@ExcelAttribute
(
name
=
"个人失业金额"
)
@Schema
(
description
=
"个人失业金额"
)
@ExcelProperty
(
"个人失业金额"
)
private
BigDecimal
personalUnemploymentMoney
;
/**
* 个人大病金额
*/
@ExcelAttribute
(
name
=
"个人大病金额"
)
@Schema
(
description
=
"个人大病金额"
)
@ExcelProperty
(
"个人大病金额"
)
private
BigDecimal
personalBigailmentMoney
;
/**
* 大病取值方式0 按比例 1按定值
*/
@Length
(
max
=
1
,
message
=
"大病取值方式0 按比例 1按定值 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"大病取值方式0 按比例 1按定值"
,
maxLength
=
1
)
@Schema
(
description
=
"大病取值方式0 按比例 1按定值"
)
@ExcelProperty
(
"大病取值方式0 按比例 1按定值"
)
private
String
valueType
;
/**
* 个人大病比例
*/
@ExcelAttribute
(
name
=
"个人大病比例"
)
@Schema
(
description
=
"个人大病比例"
)
@ExcelProperty
(
"个人大病比例"
)
private
BigDecimal
personalBigailmentPer
;
/**
* 单位大病救助比例
*/
@ExcelAttribute
(
name
=
"单位大病救助比例"
)
@Schema
(
description
=
"单位大病救助比例"
)
@ExcelProperty
(
"单位大病救助比例"
)
private
BigDecimal
unitBigailmentPer
;
/**
* 是否收取大病费用0否 1 是
*/
@Length
(
max
=
1
,
message
=
"是否收取大病费用0否 1 是 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"是否收取大病费用0否 1 是"
,
maxLength
=
1
)
@Schema
(
description
=
"是否收取大病费用0否 1 是"
)
@ExcelProperty
(
"是否收取大病费用0否 1 是"
)
private
String
isIllness
;
/**
* 大病按年收收取月份1-12月
*/
@ExcelAttribute
(
name
=
"大病按年收收取月份1-12月"
)
@Schema
(
description
=
"大病按年收收取月份1-12月"
)
@ExcelProperty
(
"大病按年收收取月份1-12月"
)
private
Integer
collectMoth
;
/**
* 0按年1按月
*/
@Length
(
max
=
1
,
message
=
"0按年1按月 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"0按年1按月"
,
maxLength
=
1
)
@Schema
(
description
=
"0按年1按月"
)
@ExcelProperty
(
"0按年1按月"
)
private
String
collectType
;
/**
* 流程实例ID
*/
@Length
(
max
=
20
,
message
=
"流程实例ID 不能超过20个字符"
)
@ExcelAttribute
(
name
=
"流程实例ID"
,
maxLength
=
20
)
@Schema
(
description
=
"流程实例ID"
)
@ExcelProperty
(
"流程实例ID"
)
private
String
processInstId
;
/**
* 审核人
*/
@Length
(
max
=
32
,
message
=
"审核人 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"审核人"
,
maxLength
=
32
)
@Schema
(
description
=
"审核人"
)
@ExcelProperty
(
"审核人"
)
private
String
auditUser
;
/**
* 审核时间
*/
@ExcelAttribute
(
name
=
"审核时间"
,
isDate
=
true
)
@Schema
(
description
=
"审核时间"
)
@ExcelProperty
(
"审核时间"
)
private
Date
auditTime
;
/**
* 办理人
*/
@Length
(
max
=
32
,
message
=
"办理人 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"办理人"
,
maxLength
=
32
)
@Schema
(
description
=
"办理人"
)
@ExcelProperty
(
"办理人"
)
private
String
handleUser
;
/**
* 办理时间
*/
@ExcelAttribute
(
name
=
"办理时间"
,
isDate
=
true
)
@Schema
(
description
=
"办理时间"
)
@ExcelProperty
(
"办理时间"
)
private
Date
handleTime
;
/**
* 所属单位
*/
@Length
(
max
=
32
,
message
=
"所属单位 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"所属单位"
,
maxLength
=
32
)
@Schema
(
description
=
"所属单位"
)
@ExcelProperty
(
"所属单位"
)
private
String
belongUnit
;
/**
* 社保停缴日期
*/
@ExcelAttribute
(
name
=
"社保停缴日期"
,
isDate
=
true
)
@Schema
(
description
=
"社保停缴日期"
)
@ExcelProperty
(
"社保停缴日期"
)
private
Date
socialReduceDate
;
/**
* 是否可补缴 0:是,1:否
*/
@Length
(
max
=
1
,
message
=
"是否可补缴 0:是,1:否 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"是否可补缴 0:是,1:否"
,
maxLength
=
1
)
@Schema
(
description
=
"是否可补缴 0:是,1:否"
)
@ExcelProperty
(
"是否可补缴 0:是,1:否"
)
private
String
canOverpay
;
/**
* 补缴期限
*/
@ExcelAttribute
(
name
=
"补缴期限"
)
@Schema
(
description
=
"补缴期限"
)
@ExcelProperty
(
"补缴期限"
)
private
Integer
overpayNumber
;
/**
* 是否含当月 0:是,1:否
*/
@Length
(
max
=
1
,
message
=
"是否含当月 0:是,1:否 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"是否含当月 0:是,1:否"
,
maxLength
=
1
)
@Schema
(
description
=
"是否含当月 0:是,1:否"
)
@ExcelProperty
(
"是否含当月 0:是,1:否"
)
private
String
haveThisMonth
;
/**
* 是否能补缴养老0是1否
*/
@Length
(
max
=
1
,
message
=
"是否能补缴养老0是1否 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"是否能补缴养老0是1否"
,
maxLength
=
1
)
@Schema
(
description
=
"是否能补缴养老0是1否"
)
@ExcelProperty
(
"是否能补缴养老0是1否"
)
private
String
insurancePension
;
/**
* 是否能补缴医疗0是1否
*/
@Length
(
max
=
1
,
message
=
"是否能补缴医疗0是1否 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"是否能补缴医疗0是1否"
,
maxLength
=
1
)
@Schema
(
description
=
"是否能补缴医疗0是1否"
)
@ExcelProperty
(
"是否能补缴医疗0是1否"
)
private
String
insuranceMedical
;
/**
* 是否能补缴失业0是1否
*/
@Length
(
max
=
1
,
message
=
"是否能补缴失业0是1否 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"是否能补缴失业0是1否"
,
maxLength
=
1
)
@Schema
(
description
=
"是否能补缴失业0是1否"
)
@ExcelProperty
(
"是否能补缴失业0是1否"
)
private
String
insuranceUnemployment
;
/**
* 是否能补缴工伤0是1否
*/
@Length
(
max
=
1
,
message
=
"是否能补缴工伤0是1否 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"是否能补缴工伤0是1否"
,
maxLength
=
1
)
@Schema
(
description
=
"是否能补缴工伤0是1否"
)
@ExcelProperty
(
"是否能补缴工伤0是1否"
)
private
String
insuranceInjury
;
/**
* 是否能补缴生育0是1否
*/
@Length
(
max
=
1
,
message
=
"是否能补缴生育0是1否 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"是否能补缴生育0是1否"
,
maxLength
=
1
)
@Schema
(
description
=
"是否能补缴生育0是1否"
)
@ExcelProperty
(
"是否能补缴生育0是1否"
)
private
String
insuranceBirth
;
/**
* 是否能补缴大病0是1否
*/
@Length
(
max
=
1
,
message
=
"是否能补缴大病0是1否 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"是否能补缴大病0是1否"
,
maxLength
=
1
)
@Schema
(
description
=
"是否能补缴大病0是1否"
)
@ExcelProperty
(
"是否能补缴大病0是1否"
)
private
String
insuranceBigailment
;
/**
* 补缴是否采用最新基数0是1否
*/
@Length
(
max
=
1
,
message
=
"补缴是否采用最新基数0是1否 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"补缴是否采用最新基数0是1否"
,
maxLength
=
1
)
@Schema
(
description
=
"补缴是否采用最新基数0是1否"
)
@ExcelProperty
(
"补缴是否采用最新基数0是1否"
)
private
String
insuranceIsLatestCardinality
;
/**
* 派减办理人
*/
@Length
(
max
=
32
,
message
=
"派减办理人 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"派减办理人"
,
maxLength
=
32
)
@Schema
(
description
=
"派减办理人"
)
@ExcelProperty
(
"派减办理人"
)
private
String
reduceHandleUser
;
/**
* 派减办理时间
*/
@ExcelAttribute
(
name
=
"派减办理时间"
,
isDate
=
true
)
@Schema
(
description
=
"派减办理时间"
)
@ExcelProperty
(
"派减办理时间"
)
private
Date
reduceHandleTime
;
/**
* 新员工入职收费:0是1否
*/
@Length
(
max
=
1
,
message
=
"新员工入职收费:0是1否 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"新员工入职收费:0是1否"
,
maxLength
=
1
)
@Schema
(
description
=
"新员工入职收费:0是1否"
)
@ExcelProperty
(
"新员工入职收费:0是1否"
)
private
String
isChargePersonal
;
/**
* 委托备注
*/
@Length
(
max
=
100
,
message
=
"委托备注 不能超过100个字符"
)
@ExcelAttribute
(
name
=
"委托备注"
,
maxLength
=
100
)
@Schema
(
description
=
"委托备注"
)
@ExcelProperty
(
"委托备注"
)
private
String
trustRemark
;
/**
* 是否可派减 0:是1:否
*/
@NotBlank
(
message
=
"是否可派减 0:是1:否不能为空"
)
@Length
(
max
=
1
,
message
=
"是否可派减 0:是1:否 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"是否可派减 0:是1:否"
,
isNotEmpty
=
true
,
errorInfo
=
"是否可派减 0:是1:否不能为空"
,
maxLength
=
1
)
@Schema
(
description
=
"是否可派减 0:是1:否"
)
@ExcelProperty
(
"是否可派减 0:是1:否"
)
private
String
reduceCan
;
/**
* 就职班组
*/
@Length
(
max
=
50
,
message
=
"就职班组 不能超过50个字符"
)
@ExcelAttribute
(
name
=
"就职班组"
,
maxLength
=
50
)
@Schema
(
description
=
"就职班组"
)
@ExcelProperty
(
"就职班组"
)
private
String
inauguralTeam
;
/**
* 电信编号
*/
@Length
(
max
=
50
,
message
=
"电信编号 不能超过50个字符"
)
@ExcelAttribute
(
name
=
"电信编号"
,
maxLength
=
50
)
@Schema
(
description
=
"电信编号"
)
@ExcelProperty
(
"电信编号"
)
private
String
telecomNumber
;
/**
* 缴纳类型(0最低缴纳、1自定义缴纳、2最高缴纳)
*/
@Length
(
max
=
1
,
message
=
"缴纳类型(0最低缴纳、1自定义缴纳、2最高缴纳) 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"缴纳类型(0最低缴纳、1自定义缴纳、2最高缴纳)"
,
maxLength
=
1
)
@Schema
(
description
=
"缴纳类型(0最低缴纳、1自定义缴纳、2最高缴纳)"
)
@ExcelProperty
(
"缴纳类型(0最低缴纳、1自定义缴纳、2最高缴纳)"
)
private
String
paymentType
;
/**
* 备案基数
*/
@Length
(
max
=
255
,
message
=
"备案基数 不能超过255个字符"
)
@ExcelAttribute
(
name
=
"备案基数"
,
maxLength
=
255
)
@Schema
(
description
=
"备案基数"
)
@ExcelProperty
(
"备案基数"
)
private
String
recordBase
;
/**
* 社保类型区分(0五险、1单独兼职工伤)
*/
@ExcelAttribute
(
name
=
"社保类型区分(0五险、1单独兼职工伤)"
)
@Schema
(
description
=
"社保类型区分(0五险、1单独兼职工伤)"
)
@ExcelProperty
(
"社保类型区分(0五险、1单独兼职工伤)"
)
private
Integer
socialType
;
/**
* 0不随配置 1随配置 2.单位大病随配置 3个人大病随配置
*/
@Length
(
max
=
1
,
message
=
"0不随配置 1随配置 2.单位大病随配置 3个人大病随配置 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"0不随配置 1随配置 2.单位大病随配置 3个人大病随配置"
,
maxLength
=
1
)
@Schema
(
description
=
"0不随配置 1随配置 2.单位大病随配置 3个人大病随配置"
)
@ExcelProperty
(
"0不随配置 1随配置 2.单位大病随配置 3个人大病随配置"
)
private
String
bigailmentVaryFlag
;
/**
* 养老起缴日期
*/
@ExcelAttribute
(
name
=
"养老起缴日期"
,
isDate
=
true
)
@Schema
(
description
=
"养老起缴日期"
)
@ExcelProperty
(
"养老起缴日期"
)
private
Date
pensionStart
;
/**
* 医疗起缴日期
*/
@ExcelAttribute
(
name
=
"医疗起缴日期"
,
isDate
=
true
)
@Schema
(
description
=
"医疗起缴日期"
)
@ExcelProperty
(
"医疗起缴日期"
)
private
Date
medicalStart
;
/**
* 失业起缴日期
*/
@ExcelAttribute
(
name
=
"失业起缴日期"
,
isDate
=
true
)
@Schema
(
description
=
"失业起缴日期"
)
@ExcelProperty
(
"失业起缴日期"
)
private
Date
unemployStart
;
/**
* 工伤起缴日期
*/
@ExcelAttribute
(
name
=
"工伤起缴日期"
,
isDate
=
true
)
@Schema
(
description
=
"工伤起缴日期"
)
@ExcelProperty
(
"工伤起缴日期"
)
private
Date
workInjuryStart
;
/**
* 生育起缴日期
*/
@ExcelAttribute
(
name
=
"生育起缴日期"
,
isDate
=
true
)
@Schema
(
description
=
"生育起缴日期"
)
@ExcelProperty
(
"生育起缴日期"
)
private
Date
birthStart
;
/**
* 大病起缴日期
*/
@ExcelAttribute
(
name
=
"大病起缴日期"
,
isDate
=
true
)
@Schema
(
description
=
"大病起缴日期"
)
@ExcelProperty
(
"大病起缴日期"
)
private
Date
bigailmentStart
;
/**
* 养老办理状态:0待办理1办理成功2办理失败3已派减
*/
@Length
(
max
=
1
,
message
=
"养老办理状态:0待办理1办理成功2办理失败3已派减 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"养老办理状态:0待办理1办理成功2办理失败3已派减"
,
maxLength
=
1
)
@Schema
(
description
=
"养老办理状态:0待办理1办理成功2办理失败3已派减"
)
@ExcelProperty
(
"养老办理状态:0待办理1办理成功2办理失败3已派减"
)
private
String
pensionHandle
;
/**
* 医疗办理状态:0待办理1办理成功2办理失败3已派减
*/
@Length
(
max
=
1
,
message
=
"医疗办理状态:0待办理1办理成功2办理失败3已派减 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"医疗办理状态:0待办理1办理成功2办理失败3已派减"
,
maxLength
=
1
)
@Schema
(
description
=
"医疗办理状态:0待办理1办理成功2办理失败3已派减"
)
@ExcelProperty
(
"医疗办理状态:0待办理1办理成功2办理失败3已派减"
)
private
String
medicalHandle
;
/**
* 失业办理状态:0待办理1办理成功2办理失败3已派减
*/
@Length
(
max
=
1
,
message
=
"失业办理状态:0待办理1办理成功2办理失败3已派减 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"失业办理状态:0待办理1办理成功2办理失败3已派减"
,
maxLength
=
1
)
@Schema
(
description
=
"失业办理状态:0待办理1办理成功2办理失败3已派减"
)
@ExcelProperty
(
"失业办理状态:0待办理1办理成功2办理失败3已派减"
)
private
String
unemployHandle
;
/**
* 工伤办理状态:0待办理1办理成功2办理失败3已派减
*/
@Length
(
max
=
1
,
message
=
"工伤办理状态:0待办理1办理成功2办理失败3已派减 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"工伤办理状态:0待办理1办理成功2办理失败3已派减"
,
maxLength
=
1
)
@Schema
(
description
=
"工伤办理状态:0待办理1办理成功2办理失败3已派减"
)
@ExcelProperty
(
"工伤办理状态:0待办理1办理成功2办理失败3已派减"
)
private
String
workInjuryHandle
;
/**
* 生育办理状态:0待办理1办理成功2办理失败3已派减
*/
@Length
(
max
=
1
,
message
=
"生育办理状态:0待办理1办理成功2办理失败3已派减 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"生育办理状态:0待办理1办理成功2办理失败3已派减"
,
maxLength
=
1
)
@Schema
(
description
=
"生育办理状态:0待办理1办理成功2办理失败3已派减"
)
@ExcelProperty
(
"生育办理状态:0待办理1办理成功2办理失败3已派减"
)
private
String
birthHandle
;
/**
* 大病办理状态:0待办理1办理成功2办理失败3已派减
*/
@Length
(
max
=
1
,
message
=
"大病办理状态:0待办理1办理成功2办理失败3已派减 不能超过1个字符"
)
@ExcelAttribute
(
name
=
"大病办理状态:0待办理1办理成功2办理失败3已派减"
,
maxLength
=
1
)
@Schema
(
description
=
"大病办理状态:0待办理1办理成功2办理失败3已派减"
)
@ExcelProperty
(
"大病办理状态:0待办理1办理成功2办理失败3已派减"
)
private
String
bigailmentHandle
;
}
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/vo/TAuditInfoSearchVo.java
0 → 100644
View file @
1e811799
/*
* 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
.
social
.
vo
;
import
com.yifu.cloud.plus.v1.yifu.social.entity.TAuditInfo
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
java.time.LocalDateTime
;
/**
* 审核信息表(社保、公积金、预估结算单、社保核准表、公积金核准表 、基数变更 审核记录)
*
* @author fxj
* @date 2022-07-15 11:38:05
*/
@Data
public
class
TAuditInfoSearchVo
extends
TAuditInfo
{
/**
* 多选导出或删除等操作
*/
@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-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/vo/TAuditInfoVo.java
0 → 100644
View file @
1e811799
/*
* 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
.
social
.
vo
;
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.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
;
import
java.util.Date
;
/**
* 审核信息表(社保、公积金、预估结算单、社保核准表、公积金核准表 、基数变更 审核记录)
*
* @author fxj
* @date 2022-07-15 11:38:05
*/
@Data
public
class
TAuditInfoVo
extends
RowIndex
implements
Serializable
{
/**
* 主键
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@Schema
(
description
=
"主键"
)
@ExcelProperty
(
"主键"
)
private
String
id
;
/**
* 社保ID
*/
@Length
(
max
=
32
,
message
=
"社保ID 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"社保ID"
,
maxLength
=
32
)
@Schema
(
description
=
"社保ID"
)
@ExcelProperty
(
"社保ID"
)
private
String
socialId
;
/**
* 审核状态(0wait/1success/2fail)
*/
@NotBlank
(
message
=
"审核状态(0wait/1success/2fail) 不能为空"
)
@Length
(
max
=
1
,
message
=
"审核状态(0wait/1success/2fail) 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"审核状态(0wait/1success/2fail)"
,
isNotEmpty
=
true
,
errorInfo
=
"审核状态(0wait/1success/2fail) 不能为空"
,
maxLength
=
1
)
@Schema
(
description
=
"审核状态(0wait/1success/2fail)"
)
@ExcelProperty
(
"审核状态(0wait/1success/2fail)"
)
private
String
auditStatus
;
/**
* 审核意见
*/
@NotBlank
(
message
=
"审核意见 不能为空"
)
@Length
(
max
=
200
,
message
=
"审核意见 不能超过200 个字符"
)
@ExcelAttribute
(
name
=
"审核意见"
,
isNotEmpty
=
true
,
errorInfo
=
"审核意见 不能为空"
,
maxLength
=
200
)
@Schema
(
description
=
"审核意见"
)
@ExcelProperty
(
"审核意见"
)
private
String
auditRemark
;
/**
* 审核人
*/
@NotBlank
(
message
=
"审核人 不能为空"
)
@Length
(
max
=
32
,
message
=
"审核人 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"审核人"
,
isNotEmpty
=
true
,
errorInfo
=
"审核人 不能为空"
,
maxLength
=
32
)
@Schema
(
description
=
"审核人"
)
@ExcelProperty
(
"审核人"
)
private
String
auditUser
;
/**
* 审核时间
*/
@NotBlank
(
message
=
"审核时间 不能为空"
)
@ExcelAttribute
(
name
=
"审核时间"
,
isNotEmpty
=
true
,
errorInfo
=
"审核时间 不能为空"
,
isDate
=
true
)
@Schema
(
description
=
"审核时间"
)
@ExcelProperty
(
"审核时间"
)
private
Date
auditTime
;
/**
* 是否委托(0是/1否)
*/
@NotBlank
(
message
=
"是否委托(0是/1否) 不能为空"
)
@Length
(
max
=
1
,
message
=
"是否委托(0是/1否) 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"是否委托(0是/1否)"
,
isNotEmpty
=
true
,
errorInfo
=
"是否委托(0是/1否) 不能为空"
,
maxLength
=
1
)
@Schema
(
description
=
"是否委托(0是/1否)"
)
@ExcelProperty
(
"是否委托(0是/1否)"
)
private
String
isCommision
;
/**
* 公积金ID
*/
@Length
(
max
=
32
,
message
=
"公积金ID 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"公积金ID"
,
maxLength
=
32
)
@Schema
(
description
=
"公积金ID"
)
@ExcelProperty
(
"公积金ID"
)
private
String
providentId
;
/**
* 基数变更ID
*/
@Length
(
max
=
32
,
message
=
"基数变更ID 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"基数变更ID"
,
maxLength
=
32
)
@Schema
(
description
=
"基数变更ID"
)
@ExcelProperty
(
"基数变更ID"
)
private
String
cardinalId
;
/**
* 社保代理结算信息ID
*/
@Length
(
max
=
32
,
message
=
"社保代理结算信息ID 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"社保代理结算信息ID"
,
maxLength
=
32
)
@Schema
(
description
=
"社保代理结算信息ID"
)
@ExcelProperty
(
"社保代理结算信息ID"
)
private
String
forecastFormId
;
/**
* 人员离职派单ID
*/
@Length
(
max
=
32
,
message
=
"人员离职派单ID 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"人员离职派单ID"
,
maxLength
=
32
)
@Schema
(
description
=
"人员离职派单ID"
)
@ExcelProperty
(
"人员离职派单ID"
)
private
String
empLeaveId
;
/**
* 社保、公积金核准表
*/
@Length
(
max
=
32
,
message
=
"社保、公积金核准表 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"社保、公积金核准表"
,
maxLength
=
32
)
@Schema
(
description
=
"社保、公积金核准表"
)
@ExcelProperty
(
"社保、公积金核准表"
)
private
String
aprovalFormId
;
/**
* 派单id
*/
@Length
(
max
=
32
,
message
=
"派单id 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"派单id"
,
maxLength
=
32
)
@Schema
(
description
=
"派单id"
)
@ExcelProperty
(
"派单id"
)
private
String
dispatchInfoId
;
/**
* type类型:0:其他;1:社 保办理备注
*/
@NotBlank
(
message
=
"type类型:0:其他;1:社 保办理备注 不能为空"
)
@Length
(
max
=
1
,
message
=
"type类型:0:其他;1:社 保办理备注 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"type类型:0:其他;1:社 保办理备注"
,
isNotEmpty
=
true
,
errorInfo
=
"type类型:0:其他;1:社 保办理备注 不能为空"
,
maxLength
=
1
)
@Schema
(
description
=
"type类型:0:其他;1:社 保办理备注"
)
@ExcelProperty
(
"type类型:0:其他;1:社 保办理备注"
)
private
String
type
;
}
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/vo/TDispatchDayConfSearchVo.java
0 → 100644
View file @
1e811799
/*
* 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
.
social
.
vo
;
import
com.yifu.cloud.plus.v1.yifu.social.entity.TDispatchDayConf
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
java.time.LocalDateTime
;
/**
* 各个地市派单日期
*
* @author fxj
* @date 2022-07-15 11:38:05
*/
@Data
public
class
TDispatchDayConfSearchVo
extends
TDispatchDayConf
{
/**
* 多选导出或删除等操作
*/
@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-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/vo/TDispatchDayConfVo.java
0 → 100644
View file @
1e811799
/*
* 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
.
social
.
vo
;
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.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 fxj
* @date 2022-07-15 11:38:05
*/
@Data
public
class
TDispatchDayConfVo
extends
RowIndex
implements
Serializable
{
/**
* id
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@Schema
(
description
=
"id"
)
@ExcelProperty
(
"id"
)
private
String
id
;
/**
* 省
*/
@NotBlank
(
message
=
"省 不能为空"
)
@Length
(
max
=
32
,
message
=
"省 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"省"
,
isNotEmpty
=
true
,
errorInfo
=
"省 不能为空"
,
maxLength
=
32
)
@Schema
(
description
=
"省"
)
@ExcelProperty
(
"省"
)
private
String
province
;
/**
* 市
*/
@Length
(
max
=
32
,
message
=
"市 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"市"
,
maxLength
=
32
)
@Schema
(
description
=
"市"
)
@ExcelProperty
(
"市"
)
private
String
city
;
/**
* 县|区
*/
@Length
(
max
=
32
,
message
=
"县|区 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"县|区"
,
maxLength
=
32
)
@Schema
(
description
=
"县|区"
)
@ExcelProperty
(
"县|区"
)
private
String
town
;
/**
* 派单地名称
*/
@Length
(
max
=
32
,
message
=
"派单地名称 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"派单地名称"
,
maxLength
=
32
)
@Schema
(
description
=
"派单地名称"
)
@ExcelProperty
(
"派单地名称"
)
private
String
areaName
;
/**
* 派单日
*/
@ExcelAttribute
(
name
=
"派单日"
)
@Schema
(
description
=
"派单日"
)
@ExcelProperty
(
"派单日"
)
private
Integer
day
;
}
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/vo/TDispatchInfoSearchVo.java
0 → 100644
View file @
1e811799
/*
* 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
.
social
.
vo
;
import
com.yifu.cloud.plus.v1.yifu.social.entity.TDispatchInfo
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
java.time.LocalDateTime
;
/**
* 派单信息记录表
*
* @author fxj
* @date 2022-07-15 11:38:05
*/
@Data
public
class
TDispatchInfoSearchVo
extends
TDispatchInfo
{
/**
* 多选导出或删除等操作
*/
@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-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/vo/TDispatchInfoVo.java
0 → 100644
View file @
1e811799
/*
* 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
.
social
.
vo
;
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.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
;
import
java.util.Date
;
/**
* 派单信息记录表
*
* @author fxj
* @date 2022-07-15 11:38:05
*/
@Data
public
class
TDispatchInfoVo
extends
RowIndex
implements
Serializable
{
/**
* ID
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@Schema
(
description
=
"ID"
)
@ExcelProperty
(
"ID"
)
private
String
id
;
/**
* 员工ID
*/
@NotBlank
(
message
=
"员工ID 不能为空"
)
@Length
(
max
=
32
,
message
=
"员工ID 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"员工ID"
,
isNotEmpty
=
true
,
errorInfo
=
"员工ID 不能为空"
,
maxLength
=
32
)
@Schema
(
description
=
"员工ID"
)
@ExcelProperty
(
"员工ID"
)
private
String
empId
;
/**
* 员工姓名
*/
@Length
(
max
=
50
,
message
=
"员工姓名 不能超过50 个字符"
)
@ExcelAttribute
(
name
=
"员工姓名"
,
maxLength
=
50
)
@Schema
(
description
=
"员工姓名"
)
@ExcelProperty
(
"员工姓名"
)
private
String
empName
;
/**
* 员工编码
*/
@Length
(
max
=
30
,
message
=
"员工编码 不能超过30 个字符"
)
@ExcelAttribute
(
name
=
"员工编码"
,
maxLength
=
30
)
@Schema
(
description
=
"员工编码"
)
@ExcelProperty
(
"员工编码"
)
private
String
empNo
;
/**
* 员工身份证
*/
@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
empType
;
/**
* 员工电话
*/
@Length
(
max
=
32
,
message
=
"员工电话 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"员工电话"
,
maxLength
=
32
)
@Schema
(
description
=
"员工电话"
)
@ExcelProperty
(
"员工电话"
)
private
String
empMobile
;
/**
* 民族
*/
@Length
(
max
=
32
,
message
=
"民族 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"民族"
,
maxLength
=
32
)
@Schema
(
description
=
"民族"
)
@ExcelProperty
(
"民族"
)
private
String
empNational
;
/**
* 0未提交1待审核2审核通过3审核不通过4办理完成
*/
@NotBlank
(
message
=
"0未提交1待审核2审核通过3审核不通过4办理完成 不能为空"
)
@Length
(
max
=
1
,
message
=
"0未提交1待审核2审核通过3审核不通过4办理完成 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"0未提交1待审核2审核通过3审核不通过4办理完成"
,
isNotEmpty
=
true
,
errorInfo
=
"0未提交1待审核2审核通过3审核不通过4办理完成 不能为空"
,
maxLength
=
1
)
@Schema
(
description
=
"0未提交1待审核2审核通过3审核不通过4办理完成"
)
@ExcelProperty
(
"0未提交1待审核2审核通过3审核不通过4办理完成"
)
private
String
status
;
/**
* 0派增1派减
*/
@NotBlank
(
message
=
"0派增1派减 不能为空"
)
@Length
(
max
=
1
,
message
=
"0派增1派减 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"0派增1派减"
,
isNotEmpty
=
true
,
errorInfo
=
"0派增1派减 不能为空"
,
maxLength
=
1
)
@Schema
(
description
=
"0派增1派减"
)
@ExcelProperty
(
"0派增1派减"
)
private
String
type
;
/**
* 社保ID
*/
@Length
(
max
=
32
,
message
=
"社保ID 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"社保ID"
,
maxLength
=
32
)
@Schema
(
description
=
"社保ID"
)
@ExcelProperty
(
"社保ID"
)
private
String
socialId
;
/**
* 公积金ID
*/
@Length
(
max
=
32
,
message
=
"公积金ID 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"公积金ID"
,
maxLength
=
32
)
@Schema
(
description
=
"公积金ID"
)
@ExcelProperty
(
"公积金ID"
)
private
String
fundId
;
/**
* 0社保1公积金
*/
@Length
(
max
=
1
,
message
=
"0社保1公积金 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"0社保1公积金"
,
maxLength
=
1
)
@Schema
(
description
=
"0社保1公积金"
)
@ExcelProperty
(
"0社保1公积金"
)
private
String
typeSub
;
/**
* 流程实例ID
*/
@Length
(
max
=
20
,
message
=
"流程实例ID 不能超过20 个字符"
)
@ExcelAttribute
(
name
=
"流程实例ID"
,
maxLength
=
20
)
@Schema
(
description
=
"流程实例ID"
)
@ExcelProperty
(
"流程实例ID"
)
private
String
processInstId
;
/**
* 结算主体
*/
@Length
(
max
=
32
,
message
=
"结算主体 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"结算主体"
,
maxLength
=
32
)
@Schema
(
description
=
"结算主体"
)
@ExcelProperty
(
"结算主体"
)
private
String
settleDomain
;
/**
* 0未删除1删除
*/
@Length
(
max
=
1
,
message
=
"0未删除1删除 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"0未删除1删除"
,
maxLength
=
1
)
@Schema
(
description
=
"0未删除1删除"
)
@ExcelProperty
(
"0未删除1删除"
)
private
String
deleteFlag
;
/**
* 社保停缴日期
*/
@ExcelAttribute
(
name
=
"社保停缴日期"
,
isDate
=
true
)
@Schema
(
description
=
"社保停缴日期"
)
@ExcelProperty
(
"社保停缴日期"
)
private
Date
socialReduceDate
;
/**
* 公积金停缴日期
*/
@ExcelAttribute
(
name
=
"公积金停缴日期"
,
isDate
=
true
)
@Schema
(
description
=
"公积金停缴日期"
)
@ExcelProperty
(
"公积金停缴日期"
)
private
Date
fundReduceDate
;
/**
* 离职日期
*/
@ExcelAttribute
(
name
=
"离职日期"
,
isDate
=
true
)
@Schema
(
description
=
"离职日期"
)
@ExcelProperty
(
"离职日期"
)
private
Date
leaveDate
;
/**
* 减少原因
*/
@Length
(
max
=
32
,
message
=
"减少原因 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"减少原因"
,
maxLength
=
32
)
@Schema
(
description
=
"减少原因"
)
@ExcelProperty
(
"减少原因"
)
private
String
reduceReason
;
/**
* 减少备注
*/
@Length
(
max
=
200
,
message
=
"减少备注 不能超过200 个字符"
)
@ExcelAttribute
(
name
=
"减少备注"
,
maxLength
=
200
)
@Schema
(
description
=
"减少备注"
)
@ExcelProperty
(
"减少备注"
)
private
String
reduceRemark
;
/**
* 所属单位
*/
@Length
(
max
=
32
,
message
=
"所属单位 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"所属单位"
,
maxLength
=
32
)
@Schema
(
description
=
"所属单位"
)
@ExcelProperty
(
"所属单位"
)
private
String
belongUnit
;
/**
* 当前操作人
*/
@Length
(
max
=
32
,
message
=
"当前操作人 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"当前操作人"
,
maxLength
=
32
)
@Schema
(
description
=
"当前操作人"
)
@ExcelProperty
(
"当前操作人"
)
private
String
currentOperator
;
/**
* 数据迁移使用
*/
@Length
(
max
=
32
,
message
=
"数据迁移使用 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"数据迁移使用"
,
maxLength
=
32
)
@Schema
(
description
=
"数据迁移使用"
)
@ExcelProperty
(
"数据迁移使用"
)
private
String
dispatchIdBak
;
/**
* 合同起始时间
*/
@ExcelAttribute
(
name
=
"合同起始时间"
,
isDate
=
true
)
@Schema
(
description
=
"合同起始时间"
)
@ExcelProperty
(
"合同起始时间"
)
private
Date
contractStart
;
/**
* 合同到期时间
*/
@ExcelAttribute
(
name
=
"合同到期时间"
,
isDate
=
true
)
@Schema
(
description
=
"合同到期时间"
)
@ExcelProperty
(
"合同到期时间"
)
private
Date
contractEnd
;
/**
* 合同年限
*/
@ExcelAttribute
(
name
=
"合同年限"
)
@Schema
(
description
=
"合同年限"
)
@ExcelProperty
(
"合同年限"
)
private
Double
contractTerm
;
/**
* 户口性质
*/
@Length
(
max
=
32
,
message
=
"户口性质 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"户口性质"
,
maxLength
=
32
)
@Schema
(
description
=
"户口性质"
)
@ExcelProperty
(
"户口性质"
)
private
String
empRegisType
;
/**
* 入职日期
*/
@ExcelAttribute
(
name
=
"入职日期"
,
isDate
=
true
)
@Schema
(
description
=
"入职日期"
)
@ExcelProperty
(
"入职日期"
)
private
Date
enjoinDate
;
/**
* 试用期(单位月)
*/
@Length
(
max
=
32
,
message
=
"试用期(单位月) 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"试用期(单位月)"
,
maxLength
=
32
)
@Schema
(
description
=
"试用期(单位月)"
)
@ExcelProperty
(
"试用期(单位月)"
)
private
String
tryPeriod
;
/**
* 档案所在地
*/
@Length
(
max
=
50
,
message
=
"档案所在地 不能超过50 个字符"
)
@ExcelAttribute
(
name
=
"档案所在地"
,
maxLength
=
50
)
@Schema
(
description
=
"档案所在地"
)
@ExcelProperty
(
"档案所在地"
)
private
String
fileAddr
;
/**
* 就职岗位
*/
@Length
(
max
=
30
,
message
=
"就职岗位 不能超过30 个字符"
)
@ExcelAttribute
(
name
=
"就职岗位"
,
maxLength
=
30
)
@Schema
(
description
=
"就职岗位"
)
@ExcelProperty
(
"就职岗位"
)
private
String
post
;
/**
* 委托备注
*/
@Length
(
max
=
100
,
message
=
"委托备注 不能超过100 个字符"
)
@ExcelAttribute
(
name
=
"委托备注"
,
maxLength
=
100
)
@Schema
(
description
=
"委托备注"
)
@ExcelProperty
(
"委托备注"
)
private
String
trustRemark
;
/**
* 档案-省
*/
@ExcelAttribute
(
name
=
"档案-省"
)
@Schema
(
description
=
"档案-省"
)
@ExcelProperty
(
"档案-省"
)
private
Integer
fileProvince
;
/**
* 档案-市
*/
@ExcelAttribute
(
name
=
"档案-市"
)
@Schema
(
description
=
"档案-市"
)
@ExcelProperty
(
"档案-市"
)
private
Integer
fileCity
;
/**
* 档案-县
*/
@ExcelAttribute
(
name
=
"档案-县"
)
@Schema
(
description
=
"档案-县"
)
@ExcelProperty
(
"档案-县"
)
private
Integer
fileTown
;
/**
* 合同类型
*/
@Length
(
max
=
32
,
message
=
"合同类型 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"合同类型"
,
maxLength
=
32
)
@Schema
(
description
=
"合同类型"
)
@ExcelProperty
(
"合同类型"
)
private
String
contractType
;
/**
* 社保办理状态 0 未办理 1 全部办理成功(原-已办理) 2 全部办理失败(原-办理失败) 3已派减
*/
@Length
(
max
=
1
,
message
=
"社保办理状态 0 未办理 1 全部办理成功(原-已办理) 2 全部办理失败(原-办理失败) 3已派减 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"社保办理状态 0 未办理 1 全部办理成功(原-已办理) 2 全部办理失败(原-办理失败) 3已派减"
,
maxLength
=
1
)
@Schema
(
description
=
"社保办理状态 0 未办理 1 全部办理成功(原-已办理) 2 全部办理失败(原-办理失败) 3已派减"
)
@ExcelProperty
(
"社保办理状态 0 未办理 1 全部办理成功(原-已办理) 2 全部办理失败(原-办理失败) 3已派减"
)
private
String
socialHandleStatus
;
/**
* 公积金办理状态
*/
@Length
(
max
=
1
,
message
=
"公积金办理状态 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"公积金办理状态"
,
maxLength
=
1
)
@Schema
(
description
=
"公积金办理状态"
)
@ExcelProperty
(
"公积金办理状态"
)
private
String
fundHandleStatus
;
/**
* 当前流程环节的处理意见
*/
@Length
(
max
=
200
,
message
=
"当前流程环节的处理意见 不能超过200 个字符"
)
@ExcelAttribute
(
name
=
"当前流程环节的处理意见"
,
maxLength
=
200
)
@Schema
(
description
=
"当前流程环节的处理意见"
)
@ExcelProperty
(
"当前流程环节的处理意见"
)
private
String
handleRemark
;
/**
* 审核意见
*/
@Length
(
max
=
255
,
message
=
"审核意见 不能超过255 个字符"
)
@ExcelAttribute
(
name
=
"审核意见"
,
maxLength
=
255
)
@Schema
(
description
=
"审核意见"
)
@ExcelProperty
(
"审核意见"
)
private
String
auditRemark
;
/**
* 公积金办理备注
*/
@Length
(
max
=
255
,
message
=
"公积金办理备注 不能超过255 个字符"
)
@ExcelAttribute
(
name
=
"公积金办理备注"
,
maxLength
=
255
)
@Schema
(
description
=
"公积金办理备注"
)
@ExcelProperty
(
"公积金办理备注"
)
private
String
fundHandleRemark
;
/**
* 办理备注
*/
@Length
(
max
=
255
,
message
=
"办理备注 不能超过255 个字符"
)
@ExcelAttribute
(
name
=
"办理备注"
,
maxLength
=
255
)
@Schema
(
description
=
"办理备注"
)
@ExcelProperty
(
"办理备注"
)
private
String
socialHandleRemark
;
/**
* 缴纳地-省
*/
@Length
(
max
=
32
,
message
=
"缴纳地-省 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"缴纳地-省"
,
maxLength
=
32
)
@Schema
(
description
=
"缴纳地-省"
)
@ExcelProperty
(
"缴纳地-省"
)
private
String
socialProvince
;
/**
* 缴纳地-市
*/
@Length
(
max
=
11
,
message
=
"缴纳地-市 不能超过11 个字符"
)
@ExcelAttribute
(
name
=
"缴纳地-市"
,
maxLength
=
11
)
@Schema
(
description
=
"缴纳地-市"
)
@ExcelProperty
(
"缴纳地-市"
)
private
String
socialCity
;
/**
* 缴纳地-县
*/
@Length
(
max
=
32
,
message
=
"缴纳地-县 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"缴纳地-县"
,
maxLength
=
32
)
@Schema
(
description
=
"缴纳地-县"
)
@ExcelProperty
(
"缴纳地-县"
)
private
String
socialTown
;
/**
* 缴纳地-省
*/
@Length
(
max
=
32
,
message
=
"缴纳地-省 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"缴纳地-省"
,
maxLength
=
32
)
@Schema
(
description
=
"缴纳地-省"
)
@ExcelProperty
(
"缴纳地-省"
)
private
String
fundProvince
;
/**
* 缴纳地-市
*/
@Length
(
max
=
32
,
message
=
"缴纳地-市 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"缴纳地-市"
,
maxLength
=
32
)
@Schema
(
description
=
"缴纳地-市"
)
@ExcelProperty
(
"缴纳地-市"
)
private
String
fundCity
;
/**
* 缴纳地-县
*/
@Length
(
max
=
32
,
message
=
"缴纳地-县 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"缴纳地-县"
,
maxLength
=
32
)
@Schema
(
description
=
"缴纳地-县"
)
@ExcelProperty
(
"缴纳地-县"
)
private
String
fundTown
;
/**
* 审核人
*/
@Length
(
max
=
32
,
message
=
"审核人 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"审核人"
,
maxLength
=
32
)
@Schema
(
description
=
"审核人"
)
@ExcelProperty
(
"审核人"
)
private
String
auditUser
;
/**
* 审核时间
*/
@ExcelAttribute
(
name
=
"审核时间"
,
isDate
=
true
)
@Schema
(
description
=
"审核时间"
)
@ExcelProperty
(
"审核时间"
)
private
Date
auditTime
;
/**
* 1标准工时 2 综合工时 3不定时工时制
*/
@Length
(
max
=
1
,
message
=
"1标准工时 2 综合工时 3不定时工时制 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"1标准工时 2 综合工时 3不定时工时制"
,
maxLength
=
1
)
@Schema
(
description
=
"1标准工时 2 综合工时 3不定时工时制"
)
@ExcelProperty
(
"1标准工时 2 综合工时 3不定时工时制"
)
private
String
workingHours
;
/**
* 申请人所在部门
*/
@Length
(
max
=
50
,
message
=
"申请人所在部门 不能超过50 个字符"
)
@ExcelAttribute
(
name
=
"申请人所在部门"
,
maxLength
=
50
)
@Schema
(
description
=
"申请人所在部门"
)
@ExcelProperty
(
"申请人所在部门"
)
private
String
organName
;
/**
* 派单项:如 养老、公积金
*/
@Length
(
max
=
50
,
message
=
"派单项:如 养老、公积金 不能超过50 个字符"
)
@ExcelAttribute
(
name
=
"派单项:如 养老、公积金"
,
maxLength
=
50
)
@Schema
(
description
=
"派单项:如 养老、公积金"
)
@ExcelProperty
(
"派单项:如 养老、公积金"
)
private
String
dispatchItem
;
/**
* settleDomainName
*/
@Length
(
max
=
50
,
message
=
"settleDomainName 不能超过50 个字符"
)
@ExcelAttribute
(
name
=
"settleDomainName"
,
maxLength
=
50
)
@Schema
(
description
=
"settleDomainName"
)
@ExcelProperty
(
"settleDomainName"
)
private
String
settleDomainName
;
/**
* 单位名称
*/
@Length
(
max
=
50
,
message
=
"单位名称 不能超过50 个字符"
)
@ExcelAttribute
(
name
=
"单位名称"
,
maxLength
=
50
)
@Schema
(
description
=
"单位名称"
)
@ExcelProperty
(
"单位名称"
)
private
String
belongUnitName
;
}
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/vo/TProvidentFundSearchVo.java
0 → 100644
View file @
1e811799
/*
* 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
.
social
.
vo
;
import
com.yifu.cloud.plus.v1.yifu.social.entity.TProvidentFund
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
java.time.LocalDateTime
;
/**
* 公积金信息
*
* @author fxj
* @date 2022-07-15 11:38:05
*/
@Data
public
class
TProvidentFundSearchVo
extends
TProvidentFund
{
/**
* 多选导出或删除等操作
*/
@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-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/vo/TProvidentFundVo.java
0 → 100644
View file @
1e811799
/*
* 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
.
social
.
vo
;
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.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
;
import
java.math.BigDecimal
;
import
java.util.Date
;
/**
* 公积金信息
*
* @author fxj
* @date 2022-07-15 11:38:05
*/
@Data
public
class
TProvidentFundVo
extends
RowIndex
implements
Serializable
{
/**
* 主键
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@Schema
(
description
=
"主键"
)
@ExcelProperty
(
"主键"
)
private
String
id
;
/**
* 公积金户
*/
@Length
(
max
=
32
,
message
=
"公积金户 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"公积金户"
,
maxLength
=
32
)
@Schema
(
description
=
"公积金户"
)
@ExcelProperty
(
"公积金户"
)
private
String
providentHousehold
;
/**
* 公积金起缴日期
*/
@ExcelAttribute
(
name
=
"公积金起缴日期"
,
isDate
=
true
)
@Schema
(
description
=
"公积金起缴日期"
)
@ExcelProperty
(
"公积金起缴日期"
)
private
Date
providentStart
;
/**
* 单位公积金缴纳基数
*/
@NotBlank
(
message
=
"单位公积金缴纳基数 不能为空"
)
@ExcelAttribute
(
name
=
"单位公积金缴纳基数"
,
isNotEmpty
=
true
,
errorInfo
=
"单位公积金缴纳基数 不能为空"
)
@Schema
(
description
=
"单位公积金缴纳基数"
)
@ExcelProperty
(
"单位公积金缴纳基数"
)
private
BigDecimal
unitProvidengCardinal
;
/**
* 个人公积金缴纳基数
*/
@NotBlank
(
message
=
"个人公积金缴纳基数 不能为空"
)
@ExcelAttribute
(
name
=
"个人公积金缴纳基数"
,
isNotEmpty
=
true
,
errorInfo
=
"个人公积金缴纳基数 不能为空"
)
@Schema
(
description
=
"个人公积金缴纳基数"
)
@ExcelProperty
(
"个人公积金缴纳基数"
)
private
BigDecimal
personalProvidentCardinal
;
/**
* 单位公积金缴纳比例
*/
@ExcelAttribute
(
name
=
"单位公积金缴纳比例"
)
@Schema
(
description
=
"单位公积金缴纳比例"
)
@ExcelProperty
(
"单位公积金缴纳比例"
)
private
BigDecimal
unitProvidentPer
;
/**
* 个人公积金缴纳比例
*/
@ExcelAttribute
(
name
=
"个人公积金缴纳比例"
)
@Schema
(
description
=
"个人公积金缴纳比例"
)
@ExcelProperty
(
"个人公积金缴纳比例"
)
private
BigDecimal
personalProvidentPer
;
/**
* 单位公积金缴纳费用
*/
@ExcelAttribute
(
name
=
"单位公积金缴纳费用"
)
@Schema
(
description
=
"单位公积金缴纳费用"
)
@ExcelProperty
(
"单位公积金缴纳费用"
)
private
BigDecimal
unitProvidentFee
;
/**
* 个人公积金缴纳费用
*/
@ExcelAttribute
(
name
=
"个人公积金缴纳费用"
)
@Schema
(
description
=
"个人公积金缴纳费用"
)
@ExcelProperty
(
"个人公积金缴纳费用"
)
private
BigDecimal
personalProvidentFee
;
/**
* 原ID(数据迁移)
*/
@Length
(
max
=
11
,
message
=
"原ID(数据迁移) 不能超过11 个字符"
)
@ExcelAttribute
(
name
=
"原ID(数据迁移)"
,
maxLength
=
11
)
@Schema
(
description
=
"原ID(数据迁移)"
)
@ExcelProperty
(
"原ID(数据迁移)"
)
private
String
oldId
;
/**
* 审核状态(0待审核/1已审核)
*/
@NotBlank
(
message
=
"审核状态(0待审核/1已审核) 不能为空"
)
@Length
(
max
=
32
,
message
=
"审核状态(0待审核/1已审核) 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"审核状态(0待审核/1已审核)"
,
isNotEmpty
=
true
,
errorInfo
=
"审核状态(0待审核/1已审核) 不能为空"
,
maxLength
=
32
)
@Schema
(
description
=
"审核状态(0待审核/1已审核)"
)
@ExcelProperty
(
"审核状态(0待审核/1已审核)"
)
private
String
auditStatus
;
/**
* 办理状态(0待办理/1已办理)
*/
@NotBlank
(
message
=
"办理状态(0待办理/1已办理) 不能为空"
)
@Length
(
max
=
32
,
message
=
"办理状态(0待办理/1已办理) 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"办理状态(0待办理/1已办理)"
,
isNotEmpty
=
true
,
errorInfo
=
"办理状态(0待办理/1已办理) 不能为空"
,
maxLength
=
32
)
@Schema
(
description
=
"办理状态(0待办理/1已办理)"
)
@ExcelProperty
(
"办理状态(0待办理/1已办理)"
)
private
String
handleStatus
;
/**
* 废弃状态(0正常/1已废弃)
*/
@Length
(
max
=
1
,
message
=
"废弃状态(0正常/1已废弃) 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"废弃状态(0正常/1已废弃)"
,
maxLength
=
1
)
@Schema
(
description
=
"废弃状态(0正常/1已废弃)"
)
@ExcelProperty
(
"废弃状态(0正常/1已废弃)"
)
private
String
draftStatus
;
/**
* 员工ID(数据引用)
*/
@Length
(
max
=
32
,
message
=
"员工ID(数据引用) 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"员工ID(数据引用)"
,
maxLength
=
32
)
@Schema
(
description
=
"员工ID(数据引用)"
)
@ExcelProperty
(
"员工ID(数据引用)"
)
private
String
empId
;
/**
* 员工编码
*/
@Length
(
max
=
50
,
message
=
"员工编码 不能超过50 个字符"
)
@ExcelAttribute
(
name
=
"员工编码"
,
maxLength
=
50
)
@Schema
(
description
=
"员工编码"
)
@ExcelProperty
(
"员工编码"
)
private
String
empNo
;
/**
* 员工姓名
*/
@Length
(
max
=
50
,
message
=
"员工姓名 不能超过50 个字符"
)
@ExcelAttribute
(
name
=
"员工姓名"
,
maxLength
=
50
)
@Schema
(
description
=
"员工姓名"
)
@ExcelProperty
(
"员工姓名"
)
private
String
empName
;
/**
* 员工身份证
*/
@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
settleDomain
;
/**
* 缴纳地-省
*/
@Length
(
max
=
32
,
message
=
"缴纳地-省 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"缴纳地-省"
,
maxLength
=
32
)
@Schema
(
description
=
"缴纳地-省"
)
@ExcelProperty
(
"缴纳地-省"
)
private
String
fundProvince
;
/**
* 缴纳地-市
*/
@Length
(
max
=
32
,
message
=
"缴纳地-市 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"缴纳地-市"
,
maxLength
=
32
)
@Schema
(
description
=
"缴纳地-市"
)
@ExcelProperty
(
"缴纳地-市"
)
private
String
fundCity
;
/**
* 缴纳地-县
*/
@Length
(
max
=
32
,
message
=
"缴纳地-县 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"缴纳地-县"
,
maxLength
=
32
)
@Schema
(
description
=
"缴纳地-县"
)
@ExcelProperty
(
"缴纳地-县"
)
private
String
fundTown
;
/**
* 备注
*/
@Length
(
max
=
255
,
message
=
"备注 不能超过255 个字符"
)
@ExcelAttribute
(
name
=
"备注"
,
maxLength
=
255
)
@Schema
(
description
=
"备注"
)
@ExcelProperty
(
"备注"
)
private
String
remark
;
/**
* 0为删除1删除
*/
@Length
(
max
=
1
,
message
=
"0为删除1删除 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"0为删除1删除"
,
maxLength
=
1
)
@Schema
(
description
=
"0为删除1删除"
)
@ExcelProperty
(
"0为删除1删除"
)
private
String
deleteFlag
;
/**
* 公积金配置ID
*/
@Length
(
max
=
32
,
message
=
"公积金配置ID 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"公积金配置ID"
,
maxLength
=
32
)
@Schema
(
description
=
"公积金配置ID"
)
@ExcelProperty
(
"公积金配置ID"
)
private
String
fundBaseSetId
;
/**
* 单边小数点 ,如:四舍五入、见角进元等
*/
@Length
(
max
=
1
,
message
=
"单边小数点 ,如:四舍五入、见角进元等 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"单边小数点 ,如:四舍五入、见角进元等"
,
maxLength
=
1
)
@Schema
(
description
=
"单边小数点 ,如:四舍五入、见角进元等"
)
@ExcelProperty
(
"单边小数点 ,如:四舍五入、见角进元等"
)
private
String
fundPayPoint
;
/**
* 流程实例ID
*/
@Length
(
max
=
20
,
message
=
"流程实例ID 不能超过20 个字符"
)
@ExcelAttribute
(
name
=
"流程实例ID"
,
maxLength
=
20
)
@Schema
(
description
=
"流程实例ID"
)
@ExcelProperty
(
"流程实例ID"
)
private
String
processInstId
;
/**
* 审核人
*/
@Length
(
max
=
32
,
message
=
"审核人 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"审核人"
,
maxLength
=
32
)
@Schema
(
description
=
"审核人"
)
@ExcelProperty
(
"审核人"
)
private
String
auditUser
;
/**
* 审核时间
*/
@ExcelAttribute
(
name
=
"审核时间"
,
isDate
=
true
)
@Schema
(
description
=
"审核时间"
)
@ExcelProperty
(
"审核时间"
)
private
Date
auditTime
;
/**
* 办理人
*/
@Length
(
max
=
32
,
message
=
"办理人 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"办理人"
,
maxLength
=
32
)
@Schema
(
description
=
"办理人"
)
@ExcelProperty
(
"办理人"
)
private
String
handleUser
;
/**
* 办理时间
*/
@ExcelAttribute
(
name
=
"办理时间"
,
isDate
=
true
)
@Schema
(
description
=
"办理时间"
)
@ExcelProperty
(
"办理时间"
)
private
Date
handleTime
;
/**
* 申请人
*/
@Length
(
max
=
32
,
message
=
"申请人 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"申请人"
,
maxLength
=
32
)
@Schema
(
description
=
"申请人"
)
@ExcelProperty
(
"申请人"
)
private
String
applyUser
;
/**
* 申请时间
*/
@ExcelAttribute
(
name
=
"申请时间"
,
isDate
=
true
)
@Schema
(
description
=
"申请时间"
)
@ExcelProperty
(
"申请时间"
)
private
Date
applyTime
;
/**
* 所属单位
*/
@Length
(
max
=
32
,
message
=
"所属单位 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"所属单位"
,
maxLength
=
32
)
@Schema
(
description
=
"所属单位"
)
@ExcelProperty
(
"所属单位"
)
private
String
belongUnit
;
/**
* 公积金停缴日期
*/
@ExcelAttribute
(
name
=
"公积金停缴日期"
,
isDate
=
true
)
@Schema
(
description
=
"公积金停缴日期"
)
@ExcelProperty
(
"公积金停缴日期"
)
private
Date
fundReduceDate
;
/**
* 是否可补缴 0:是,1:否
*/
@Length
(
max
=
1
,
message
=
"是否可补缴 0:是,1:否 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"是否可补缴 0:是,1:否"
,
maxLength
=
1
)
@Schema
(
description
=
"是否可补缴 0:是,1:否"
)
@ExcelProperty
(
"是否可补缴 0:是,1:否"
)
private
String
canOverpay
;
/**
* 补缴期限
*/
@ExcelAttribute
(
name
=
"补缴期限"
)
@Schema
(
description
=
"补缴期限"
)
@ExcelProperty
(
"补缴期限"
)
private
Integer
overpayNumber
;
/**
* 补缴是否采用最新基数0是1否
*/
@Length
(
max
=
1
,
message
=
"补缴是否采用最新基数0是1否 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"补缴是否采用最新基数0是1否"
,
maxLength
=
1
)
@Schema
(
description
=
"补缴是否采用最新基数0是1否"
)
@ExcelProperty
(
"补缴是否采用最新基数0是1否"
)
private
String
insuranceIsLatestCardinality
;
/**
* 是否含当月 0:是,1:否
*/
@Length
(
max
=
1
,
message
=
"是否含当月 0:是,1:否 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"是否含当月 0:是,1:否"
,
maxLength
=
1
)
@Schema
(
description
=
"是否含当月 0:是,1:否"
)
@ExcelProperty
(
"是否含当月 0:是,1:否"
)
private
String
haveThisMonth
;
/**
* 派减办理人
*/
@Length
(
max
=
32
,
message
=
"派减办理人 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"派减办理人"
,
maxLength
=
32
)
@Schema
(
description
=
"派减办理人"
)
@ExcelProperty
(
"派减办理人"
)
private
String
reduceHandleUser
;
/**
* 派减办理时间
*/
@ExcelAttribute
(
name
=
"派减办理时间"
,
isDate
=
true
)
@Schema
(
description
=
"派减办理时间"
)
@ExcelProperty
(
"派减办理时间"
)
private
Date
reduceHandleTime
;
/**
* 委托备注
*/
@Length
(
max
=
100
,
message
=
"委托备注 不能超过100 个字符"
)
@ExcelAttribute
(
name
=
"委托备注"
,
maxLength
=
100
)
@Schema
(
description
=
"委托备注"
)
@ExcelProperty
(
"委托备注"
)
private
String
trustRemark
;
/**
* 是否可派减 0:是1:否
*/
@NotBlank
(
message
=
"是否可派减 0:是1:否 不能为空"
)
@Length
(
max
=
1
,
message
=
"是否可派减 0:是1:否 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"是否可派减 0:是1:否"
,
isNotEmpty
=
true
,
errorInfo
=
"是否可派减 0:是1:否 不能为空"
,
maxLength
=
1
)
@Schema
(
description
=
"是否可派减 0:是1:否"
)
@ExcelProperty
(
"是否可派减 0:是1:否"
)
private
String
reduceCan
;
/**
* 就职班组
*/
@Length
(
max
=
50
,
message
=
"就职班组 不能超过50 个字符"
)
@ExcelAttribute
(
name
=
"就职班组"
,
maxLength
=
50
)
@Schema
(
description
=
"就职班组"
)
@ExcelProperty
(
"就职班组"
)
private
String
inauguralTeam
;
/**
* 电信编号
*/
@Length
(
max
=
50
,
message
=
"电信编号 不能超过50 个字符"
)
@ExcelAttribute
(
name
=
"电信编号"
,
maxLength
=
50
)
@Schema
(
description
=
"电信编号"
)
@ExcelProperty
(
"电信编号"
)
private
String
telecomNumber
;
}
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/vo/TSocialFundHistorySearchVo.java
0 → 100644
View file @
1e811799
/*
* 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
.
social
.
vo
;
import
com.yifu.cloud.plus.v1.yifu.social.entity.TSocialFundHistory
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
java.time.LocalDateTime
;
/**
* 社保公积金调基历史记录表
*
* @author fxj
* @date 2022-07-15 11:38:05
*/
@Data
public
class
TSocialFundHistorySearchVo
extends
TSocialFundHistory
{
/**
* 多选导出或删除等操作
*/
@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-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/vo/TSocialFundHistoryVo.java
0 → 100644
View file @
1e811799
/*
* 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
.
social
.
vo
;
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.vo.RowIndex
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
org.hibernate.validator.constraints.Length
;
import
java.io.Serializable
;
import
java.math.BigDecimal
;
/**
* 社保公积金调基历史记录表
*
* @author fxj
* @date 2022-07-15 11:38:05
*/
@Data
public
class
TSocialFundHistoryVo
extends
RowIndex
implements
Serializable
{
/**
* id
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@Schema
(
description
=
"id"
)
@ExcelProperty
(
"id"
)
private
String
id
;
/**
* name
*/
@Length
(
max
=
20
,
message
=
"name 不能超过20 个字符"
)
@ExcelAttribute
(
name
=
"name"
,
maxLength
=
20
)
@Schema
(
description
=
"name"
)
@ExcelProperty
(
"name"
)
private
String
name
;
/**
* idCard
*/
@Length
(
max
=
20
,
message
=
"idCard 不能超过20 个字符"
)
@ExcelAttribute
(
name
=
"idCard"
,
maxLength
=
20
)
@Schema
(
description
=
"idCard"
)
@ExcelProperty
(
"idCard"
)
private
String
idCard
;
/**
* employeeId
*/
@Length
(
max
=
32
,
message
=
"employeeId 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"employeeId"
,
maxLength
=
32
)
@Schema
(
description
=
"employeeId"
)
@ExcelProperty
(
"employeeId"
)
private
String
employeeId
;
/**
* 单位养老基数
*/
@ExcelAttribute
(
name
=
"单位养老基数"
)
@Schema
(
description
=
"单位养老基数"
)
@ExcelProperty
(
"单位养老基数"
)
private
BigDecimal
unitPensionBase
;
/**
* 单位医疗基数
*/
@ExcelAttribute
(
name
=
"单位医疗基数"
)
@Schema
(
description
=
"单位医疗基数"
)
@ExcelProperty
(
"单位医疗基数"
)
private
BigDecimal
unitMedicalBase
;
/**
* 单位失业基数
*/
@ExcelAttribute
(
name
=
"单位失业基数"
)
@Schema
(
description
=
"单位失业基数"
)
@ExcelProperty
(
"单位失业基数"
)
private
BigDecimal
unitUnemploymentBase
;
/**
* 单位工伤基数
*/
@ExcelAttribute
(
name
=
"单位工伤基数"
)
@Schema
(
description
=
"单位工伤基数"
)
@ExcelProperty
(
"单位工伤基数"
)
private
BigDecimal
unitInjuryBase
;
/**
* 单位生育基数
*/
@ExcelAttribute
(
name
=
"单位生育基数"
)
@Schema
(
description
=
"单位生育基数"
)
@ExcelProperty
(
"单位生育基数"
)
private
BigDecimal
unitBirthBase
;
/**
* 单位大病基数
*/
@ExcelAttribute
(
name
=
"单位大病基数"
)
@Schema
(
description
=
"单位大病基数"
)
@ExcelProperty
(
"单位大病基数"
)
private
BigDecimal
unitBigailmentBase
;
/**
* 个人养老基数
*/
@ExcelAttribute
(
name
=
"个人养老基数"
)
@Schema
(
description
=
"个人养老基数"
)
@ExcelProperty
(
"个人养老基数"
)
private
BigDecimal
personalPensionBase
;
/**
* 个人医疗基数
*/
@ExcelAttribute
(
name
=
"个人医疗基数"
)
@Schema
(
description
=
"个人医疗基数"
)
@ExcelProperty
(
"个人医疗基数"
)
private
BigDecimal
personalMedicalBase
;
/**
* 个人失业基数
*/
@ExcelAttribute
(
name
=
"个人失业基数"
)
@Schema
(
description
=
"个人失业基数"
)
@ExcelProperty
(
"个人失业基数"
)
private
BigDecimal
personalUnemploymentBase
;
/**
* 个人大病基数
*/
@ExcelAttribute
(
name
=
"个人大病基数"
)
@Schema
(
description
=
"个人大病基数"
)
@ExcelProperty
(
"个人大病基数"
)
private
BigDecimal
personalBigailmentBase
;
/**
* 单位养老比例
*/
@ExcelAttribute
(
name
=
"单位养老比例"
)
@Schema
(
description
=
"单位养老比例"
)
@ExcelProperty
(
"单位养老比例"
)
private
BigDecimal
unitPersionPro
;
/**
* unitPersionMoney
*/
@ExcelAttribute
(
name
=
"unitPersionMoney"
)
@Schema
(
description
=
"unitPersionMoney"
)
@ExcelProperty
(
"unitPersionMoney"
)
private
BigDecimal
unitPersionMoney
;
/**
* 单位医疗比例
*/
@ExcelAttribute
(
name
=
"单位医疗比例"
)
@Schema
(
description
=
"单位医疗比例"
)
@ExcelProperty
(
"单位医疗比例"
)
private
BigDecimal
unitMedicalPro
;
/**
* unitMedicalMoney
*/
@ExcelAttribute
(
name
=
"unitMedicalMoney"
)
@Schema
(
description
=
"unitMedicalMoney"
)
@ExcelProperty
(
"unitMedicalMoney"
)
private
BigDecimal
unitMedicalMoney
;
/**
* 单位失业比例
*/
@ExcelAttribute
(
name
=
"单位失业比例"
)
@Schema
(
description
=
"单位失业比例"
)
@ExcelProperty
(
"单位失业比例"
)
private
BigDecimal
unitUnemploymentPro
;
/**
* unitUnemploymentMoney
*/
@ExcelAttribute
(
name
=
"unitUnemploymentMoney"
)
@Schema
(
description
=
"unitUnemploymentMoney"
)
@ExcelProperty
(
"unitUnemploymentMoney"
)
private
BigDecimal
unitUnemploymentMoney
;
/**
* 单位工伤比例
*/
@ExcelAttribute
(
name
=
"单位工伤比例"
)
@Schema
(
description
=
"单位工伤比例"
)
@ExcelProperty
(
"单位工伤比例"
)
private
BigDecimal
unitInjuryPro
;
/**
* unitInjuryMoney
*/
@ExcelAttribute
(
name
=
"unitInjuryMoney"
)
@Schema
(
description
=
"unitInjuryMoney"
)
@ExcelProperty
(
"unitInjuryMoney"
)
private
BigDecimal
unitInjuryMoney
;
/**
* 单位生育比例
*/
@ExcelAttribute
(
name
=
"单位生育比例"
)
@Schema
(
description
=
"单位生育比例"
)
@ExcelProperty
(
"单位生育比例"
)
private
BigDecimal
unitBirthPro
;
/**
* unitBirthMoney
*/
@ExcelAttribute
(
name
=
"unitBirthMoney"
)
@Schema
(
description
=
"unitBirthMoney"
)
@ExcelProperty
(
"unitBirthMoney"
)
private
BigDecimal
unitBirthMoney
;
/**
* 单位大病比例
*/
@ExcelAttribute
(
name
=
"单位大病比例"
)
@Schema
(
description
=
"单位大病比例"
)
@ExcelProperty
(
"单位大病比例"
)
private
BigDecimal
unitBigailmentPro
;
/**
* unitBigailmentMoney
*/
@ExcelAttribute
(
name
=
"unitBigailmentMoney"
)
@Schema
(
description
=
"unitBigailmentMoney"
)
@ExcelProperty
(
"unitBigailmentMoney"
)
private
BigDecimal
unitBigailmentMoney
;
/**
* 个人养老比例
*/
@ExcelAttribute
(
name
=
"个人养老比例"
)
@Schema
(
description
=
"个人养老比例"
)
@ExcelProperty
(
"个人养老比例"
)
private
BigDecimal
personalPersionPro
;
/**
* personalPersionMoney
*/
@ExcelAttribute
(
name
=
"personalPersionMoney"
)
@Schema
(
description
=
"personalPersionMoney"
)
@ExcelProperty
(
"personalPersionMoney"
)
private
BigDecimal
personalPersionMoney
;
/**
* 个人医疗比例
*/
@ExcelAttribute
(
name
=
"个人医疗比例"
)
@Schema
(
description
=
"个人医疗比例"
)
@ExcelProperty
(
"个人医疗比例"
)
private
BigDecimal
personalMedicalPro
;
/**
* personalMedicalMoney
*/
@ExcelAttribute
(
name
=
"personalMedicalMoney"
)
@Schema
(
description
=
"personalMedicalMoney"
)
@ExcelProperty
(
"personalMedicalMoney"
)
private
BigDecimal
personalMedicalMoney
;
/**
* 个人失业比例
*/
@ExcelAttribute
(
name
=
"个人失业比例"
)
@Schema
(
description
=
"个人失业比例"
)
@ExcelProperty
(
"个人失业比例"
)
private
BigDecimal
personalUnemploymentPro
;
/**
* personalUnemploymentMoney
*/
@ExcelAttribute
(
name
=
"personalUnemploymentMoney"
)
@Schema
(
description
=
"personalUnemploymentMoney"
)
@ExcelProperty
(
"personalUnemploymentMoney"
)
private
BigDecimal
personalUnemploymentMoney
;
/**
* 个人大病比例
*/
@ExcelAttribute
(
name
=
"个人大病比例"
)
@Schema
(
description
=
"个人大病比例"
)
@ExcelProperty
(
"个人大病比例"
)
private
BigDecimal
personalBigailmentPro
;
/**
* personalBigailmentMoney
*/
@ExcelAttribute
(
name
=
"personalBigailmentMoney"
)
@Schema
(
description
=
"personalBigailmentMoney"
)
@ExcelProperty
(
"personalBigailmentMoney"
)
private
BigDecimal
personalBigailmentMoney
;
/**
* 单位公积金基数
*/
@ExcelAttribute
(
name
=
"单位公积金基数"
)
@Schema
(
description
=
"单位公积金基数"
)
@ExcelProperty
(
"单位公积金基数"
)
private
BigDecimal
unitFundBase
;
/**
* 个人公积金基数
*/
@ExcelAttribute
(
name
=
"个人公积金基数"
)
@Schema
(
description
=
"个人公积金基数"
)
@ExcelProperty
(
"个人公积金基数"
)
private
BigDecimal
personalFundBase
;
/**
* 单位公积金比例
*/
@ExcelAttribute
(
name
=
"单位公积金比例"
)
@Schema
(
description
=
"单位公积金比例"
)
@ExcelProperty
(
"单位公积金比例"
)
private
BigDecimal
unitFundProp
;
/**
* 个人公积金比例
*/
@ExcelAttribute
(
name
=
"个人公积金比例"
)
@Schema
(
description
=
"个人公积金比例"
)
@ExcelProperty
(
"个人公积金比例"
)
private
BigDecimal
personalFundProp
;
/**
* unitFundMoney
*/
@ExcelAttribute
(
name
=
"unitFundMoney"
)
@Schema
(
description
=
"unitFundMoney"
)
@ExcelProperty
(
"unitFundMoney"
)
private
BigDecimal
unitFundMoney
;
/**
* personalFundMoney
*/
@ExcelAttribute
(
name
=
"personalFundMoney"
)
@Schema
(
description
=
"personalFundMoney"
)
@ExcelProperty
(
"personalFundMoney"
)
private
BigDecimal
personalFundMoney
;
/**
* 0老的调基,数据不对,将不使用;1新逻辑调基
*/
@ExcelAttribute
(
name
=
"0老的调基,数据不对,将不使用;1新逻辑调基"
)
@Schema
(
description
=
"0老的调基,数据不对,将不使用;1新逻辑调基"
)
@ExcelProperty
(
"0老的调基,数据不对,将不使用;1新逻辑调基"
)
private
Integer
isOld
;
/**
* 缴纳类型(0最低缴纳、1自定义缴纳、2最高缴纳)
*/
@ExcelAttribute
(
name
=
"缴纳类型(0最低缴纳、1自定义缴纳、2最高缴纳)"
)
@Schema
(
description
=
"缴纳类型(0最低缴纳、1自定义缴纳、2最高缴纳)"
)
@ExcelProperty
(
"缴纳类型(0最低缴纳、1自定义缴纳、2最高缴纳)"
)
private
Integer
paymentType
;
/**
* 是否是社保:0否1是
*/
@ExcelAttribute
(
name
=
"是否是社保:0否1是"
)
@Schema
(
description
=
"是否是社保:0否1是"
)
@ExcelProperty
(
"是否是社保:0否1是"
)
private
Integer
isSocial
;
/**
* 是否是公积金:0否1是
*/
@ExcelAttribute
(
name
=
"是否是公积金:0否1是"
)
@Schema
(
description
=
"是否是公积金:0否1是"
)
@ExcelProperty
(
"是否是公积金:0否1是"
)
private
Integer
isFund
;
/**
* 社保id
*/
@Length
(
max
=
32
,
message
=
"社保id 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"社保id"
,
maxLength
=
32
)
@Schema
(
description
=
"社保id"
)
@ExcelProperty
(
"社保id"
)
private
String
socialId
;
/**
* 公积金id
*/
@Length
(
max
=
32
,
message
=
"公积金id 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"公积金id"
,
maxLength
=
32
)
@Schema
(
description
=
"公积金id"
)
@ExcelProperty
(
"公积金id"
)
private
String
fundId
;
}
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/vo/TSocialFundInfoSearchVo.java
0 → 100644
View file @
1e811799
/*
* 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
.
social
.
vo
;
import
com.yifu.cloud.plus.v1.yifu.social.entity.TSocialFundInfo
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
java.time.LocalDateTime
;
/**
* 社保公积金查询表
*
* @author fxj
* @date 2022-07-15 11:38:05
*/
@Data
public
class
TSocialFundInfoSearchVo
extends
TSocialFundInfo
{
/**
* 多选导出或删除等操作
*/
@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-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/vo/TSocialFundInfoVo.java
0 → 100644
View file @
1e811799
/*
* 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
.
social
.
vo
;
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.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
;
import
java.math.BigDecimal
;
import
java.util.Date
;
/**
* 社保公积金查询表
*
* @author fxj
* @date 2022-07-15 11:38:05
*/
@Data
public
class
TSocialFundInfoVo
extends
RowIndex
implements
Serializable
{
/**
* id
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@Schema
(
description
=
"id"
)
@ExcelProperty
(
"id"
)
private
String
id
;
/**
* 员工ID(数据引用)
*/
@Length
(
max
=
32
,
message
=
"员工ID(数据引用) 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"员工ID(数据引用)"
,
maxLength
=
32
)
@Schema
(
description
=
"员工ID(数据引用)"
)
@ExcelProperty
(
"员工ID(数据引用)"
)
private
String
empId
;
/**
* 员工编码
*/
@Length
(
max
=
50
,
message
=
"员工编码 不能超过50 个字符"
)
@ExcelAttribute
(
name
=
"员工编码"
,
maxLength
=
50
)
@Schema
(
description
=
"员工编码"
)
@ExcelProperty
(
"员工编码"
)
private
String
empNo
;
/**
* 员工姓名
*/
@Length
(
max
=
50
,
message
=
"员工姓名 不能超过50 个字符"
)
@ExcelAttribute
(
name
=
"员工姓名"
,
maxLength
=
50
)
@Schema
(
description
=
"员工姓名"
)
@ExcelProperty
(
"员工姓名"
)
private
String
empName
;
/**
* 员工身份证
*/
@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
empType
;
/**
* 结算主体
*/
@Length
(
max
=
32
,
message
=
"结算主体 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"结算主体"
,
maxLength
=
32
)
@Schema
(
description
=
"结算主体"
)
@ExcelProperty
(
"结算主体"
)
private
String
settleDomain
;
/**
* 结算主体
*/
@Length
(
max
=
50
,
message
=
"结算主体 不能超过50 个字符"
)
@ExcelAttribute
(
name
=
"结算主体"
,
maxLength
=
50
)
@Schema
(
description
=
"结算主体"
)
@ExcelProperty
(
"结算主体"
)
private
String
settleDomainName
;
/**
* unitName
*/
@Length
(
max
=
50
,
message
=
"unitName 不能超过50 个字符"
)
@ExcelAttribute
(
name
=
"unitName"
,
maxLength
=
50
)
@Schema
(
description
=
"unitName"
)
@ExcelProperty
(
"unitName"
)
private
String
unitName
;
/**
* unitId
*/
@Length
(
max
=
32
,
message
=
"unitId 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"unitId"
,
maxLength
=
32
)
@Schema
(
description
=
"unitId"
)
@ExcelProperty
(
"unitId"
)
private
String
unitId
;
/**
* 社保户
*/
@Length
(
max
=
32
,
message
=
"社保户 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"社保户"
,
maxLength
=
32
)
@Schema
(
description
=
"社保户"
)
@ExcelProperty
(
"社保户"
)
private
String
socialHousehold
;
/**
* 社保户
*/
@Length
(
max
=
50
,
message
=
"社保户 不能超过50 个字符"
)
@ExcelAttribute
(
name
=
"社保户"
,
maxLength
=
50
)
@Schema
(
description
=
"社保户"
)
@ExcelProperty
(
"社保户"
)
private
String
socialHouseholdName
;
/**
* 缴纳地-省
*/
@Length
(
max
=
32
,
message
=
"缴纳地-省 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"缴纳地-省"
,
maxLength
=
32
)
@Schema
(
description
=
"缴纳地-省"
)
@ExcelProperty
(
"缴纳地-省"
)
private
String
socialProvince
;
/**
* 缴纳地-市
*/
@Length
(
max
=
32
,
message
=
"缴纳地-市 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"缴纳地-市"
,
maxLength
=
32
)
@Schema
(
description
=
"缴纳地-市"
)
@ExcelProperty
(
"缴纳地-市"
)
private
String
socialCity
;
/**
* 缴纳地-县
*/
@Length
(
max
=
32
,
message
=
"缴纳地-县 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"缴纳地-县"
,
maxLength
=
32
)
@Schema
(
description
=
"缴纳地-县"
)
@ExcelProperty
(
"缴纳地-县"
)
private
String
socialTown
;
/**
* 公积金户
*/
@Length
(
max
=
32
,
message
=
"公积金户 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"公积金户"
,
maxLength
=
32
)
@Schema
(
description
=
"公积金户"
)
@ExcelProperty
(
"公积金户"
)
private
String
providentHousehold
;
/**
* 公积金户
*/
@Length
(
max
=
50
,
message
=
"公积金户 不能超过50 个字符"
)
@ExcelAttribute
(
name
=
"公积金户"
,
maxLength
=
50
)
@Schema
(
description
=
"公积金户"
)
@ExcelProperty
(
"公积金户"
)
private
String
providentHouseholdName
;
/**
* 缴纳地-省
*/
@Length
(
max
=
32
,
message
=
"缴纳地-省 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"缴纳地-省"
,
maxLength
=
32
)
@Schema
(
description
=
"缴纳地-省"
)
@ExcelProperty
(
"缴纳地-省"
)
private
String
fundProvince
;
/**
* 缴纳地-市
*/
@Length
(
max
=
32
,
message
=
"缴纳地-市 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"缴纳地-市"
,
maxLength
=
32
)
@Schema
(
description
=
"缴纳地-市"
)
@ExcelProperty
(
"缴纳地-市"
)
private
String
fundCity
;
/**
* 缴纳地-县
*/
@Length
(
max
=
32
,
message
=
"缴纳地-县 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"缴纳地-县"
,
maxLength
=
32
)
@Schema
(
description
=
"缴纳地-县"
)
@ExcelProperty
(
"缴纳地-县"
)
private
String
fundTown
;
/**
* 社保派增状态:待审核、待办理、办理成功、部分办理失败、办理失败
*/
@Length
(
max
=
1
,
message
=
"社保派增状态:待审核、待办理、办理成功、部分办理失败、办理失败 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"社保派增状态:待审核、待办理、办理成功、部分办理失败、办理失败"
,
maxLength
=
1
)
@Schema
(
description
=
"社保派增状态:待审核、待办理、办理成功、部分办理失败、办理失败"
)
@ExcelProperty
(
"社保派增状态:待审核、待办理、办理成功、部分办理失败、办理失败"
)
private
String
socialAddStatus
;
/**
* 公积金派增状态:待审核、待办理、办理成功、部分办理失败、办理失败
*/
@Length
(
max
=
1
,
message
=
"公积金派增状态:待审核、待办理、办理成功、部分办理失败、办理失败 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"公积金派增状态:待审核、待办理、办理成功、部分办理失败、办理失败"
,
maxLength
=
1
)
@Schema
(
description
=
"公积金派增状态:待审核、待办理、办理成功、部分办理失败、办理失败"
)
@ExcelProperty
(
"公积金派增状态:待审核、待办理、办理成功、部分办理失败、办理失败"
)
private
String
fundAddStatus
;
/**
* “待审核、待办理、办理成功、办理失败”
*/
@Length
(
max
=
1
,
message
=
"“待审核、待办理、办理成功、办理失败” 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"“待审核、待办理、办理成功、办理失败”"
,
maxLength
=
1
)
@Schema
(
description
=
"“待审核、待办理、办理成功、办理失败”"
)
@ExcelProperty
(
"“待审核、待办理、办理成功、办理失败”"
)
private
String
socialReduceStatus
;
/**
* “待审核、待办理、办理成功、办理失败”
*/
@Length
(
max
=
1
,
message
=
"“待审核、待办理、办理成功、办理失败” 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"“待审核、待办理、办理成功、办理失败”"
,
maxLength
=
1
)
@Schema
(
description
=
"“待审核、待办理、办理成功、办理失败”"
)
@ExcelProperty
(
"“待审核、待办理、办理成功、办理失败”"
)
private
String
fundReduceStatus
;
/**
* 社保ID(取值最新社保ID)
*/
@Length
(
max
=
32
,
message
=
"社保ID(取值最新社保ID) 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"社保ID(取值最新社保ID)"
,
maxLength
=
32
)
@Schema
(
description
=
"社保ID(取值最新社保ID)"
)
@ExcelProperty
(
"社保ID(取值最新社保ID)"
)
private
String
socialId
;
/**
* 公积金ID (取值最新公积金ID)
*/
@Length
(
max
=
32
,
message
=
"公积金ID (取值最新公积金ID) 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"公积金ID (取值最新公积金ID)"
,
maxLength
=
32
)
@Schema
(
description
=
"公积金ID (取值最新公积金ID)"
)
@ExcelProperty
(
"公积金ID (取值最新公积金ID)"
)
private
String
fundId
;
/**
* 首次购买时间(第一派单月份)
*/
@ExcelAttribute
(
name
=
"首次购买时间(第一派单月份)"
,
isDate
=
true
)
@Schema
(
description
=
"首次购买时间(第一派单月份)"
)
@ExcelProperty
(
"首次购买时间(第一派单月份)"
)
private
Date
firstBuyMonthSocial
;
/**
* 单位养老基数
*/
@ExcelAttribute
(
name
=
"单位养老基数"
)
@Schema
(
description
=
"单位养老基数"
)
@ExcelProperty
(
"单位养老基数"
)
private
BigDecimal
unitPensionCardinal
;
/**
* 单位医疗基数
*/
@ExcelAttribute
(
name
=
"单位医疗基数"
)
@Schema
(
description
=
"单位医疗基数"
)
@ExcelProperty
(
"单位医疗基数"
)
private
BigDecimal
unitMedicalCardinal
;
/**
* 单位失业基数
*/
@ExcelAttribute
(
name
=
"单位失业基数"
)
@Schema
(
description
=
"单位失业基数"
)
@ExcelProperty
(
"单位失业基数"
)
private
BigDecimal
unitUnemploymentCardinal
;
/**
* 单位大病救助基数
*/
@ExcelAttribute
(
name
=
"单位大病救助基数"
)
@Schema
(
description
=
"单位大病救助基数"
)
@ExcelProperty
(
"单位大病救助基数"
)
private
BigDecimal
unitBigailmentCardinal
;
/**
* 单位工伤基数
*/
@ExcelAttribute
(
name
=
"单位工伤基数"
)
@Schema
(
description
=
"单位工伤基数"
)
@ExcelProperty
(
"单位工伤基数"
)
private
BigDecimal
unitWorkInjuryCardinal
;
/**
* 单位生育基数
*/
@ExcelAttribute
(
name
=
"单位生育基数"
)
@Schema
(
description
=
"单位生育基数"
)
@ExcelProperty
(
"单位生育基数"
)
private
BigDecimal
unitBirthCardinal
;
/**
* 个人养老基数
*/
@ExcelAttribute
(
name
=
"个人养老基数"
)
@Schema
(
description
=
"个人养老基数"
)
@ExcelProperty
(
"个人养老基数"
)
private
BigDecimal
personalPensionCardinal
;
/**
* 个人医疗基数
*/
@ExcelAttribute
(
name
=
"个人医疗基数"
)
@Schema
(
description
=
"个人医疗基数"
)
@ExcelProperty
(
"个人医疗基数"
)
private
BigDecimal
personalMedicalCardinal
;
/**
* 个人大病救助基数
*/
@ExcelAttribute
(
name
=
"个人大病救助基数"
)
@Schema
(
description
=
"个人大病救助基数"
)
@ExcelProperty
(
"个人大病救助基数"
)
private
BigDecimal
personalBigailmentCardinal
;
/**
* 个人失业基数
*/
@ExcelAttribute
(
name
=
"个人失业基数"
)
@Schema
(
description
=
"个人失业基数"
)
@ExcelProperty
(
"个人失业基数"
)
private
BigDecimal
personalUnemploymentCardinal
;
/**
* 单位工伤基数
*/
@ExcelAttribute
(
name
=
"单位工伤基数"
)
@Schema
(
description
=
"单位工伤基数"
)
@ExcelProperty
(
"单位工伤基数"
)
private
BigDecimal
personalWorkInjuryCardinal
;
/**
* 单位养老比例
*/
@ExcelAttribute
(
name
=
"单位养老比例"
)
@Schema
(
description
=
"单位养老比例"
)
@ExcelProperty
(
"单位养老比例"
)
private
BigDecimal
unitPensionPer
;
/**
* 单位医疗比例
*/
@ExcelAttribute
(
name
=
"单位医疗比例"
)
@Schema
(
description
=
"单位医疗比例"
)
@ExcelProperty
(
"单位医疗比例"
)
private
BigDecimal
unitMedicalPer
;
/**
* 单位失业比例
*/
@ExcelAttribute
(
name
=
"单位失业比例"
)
@Schema
(
description
=
"单位失业比例"
)
@ExcelProperty
(
"单位失业比例"
)
private
BigDecimal
unitUnemploymentPer
;
/**
* 单位工伤比例
*/
@ExcelAttribute
(
name
=
"单位工伤比例"
)
@Schema
(
description
=
"单位工伤比例"
)
@ExcelProperty
(
"单位工伤比例"
)
private
BigDecimal
unitWorkUnjuryPer
;
/**
* 单位生育比例
*/
@ExcelAttribute
(
name
=
"单位生育比例"
)
@Schema
(
description
=
"单位生育比例"
)
@ExcelProperty
(
"单位生育比例"
)
private
BigDecimal
unitBirthPer
;
/**
* 个人养老比例
*/
@ExcelAttribute
(
name
=
"个人养老比例"
)
@Schema
(
description
=
"个人养老比例"
)
@ExcelProperty
(
"个人养老比例"
)
private
BigDecimal
personalPensionPer
;
/**
* 个人医疗比例
*/
@ExcelAttribute
(
name
=
"个人医疗比例"
)
@Schema
(
description
=
"个人医疗比例"
)
@ExcelProperty
(
"个人医疗比例"
)
private
BigDecimal
personalMedicalPer
;
/**
* 个人失业比例
*/
@ExcelAttribute
(
name
=
"个人失业比例"
)
@Schema
(
description
=
"个人失业比例"
)
@ExcelProperty
(
"个人失业比例"
)
private
BigDecimal
personalUnemploymentPer
;
/**
* 办理状态
*/
@NotBlank
(
message
=
"办理状态 不能为空"
)
@Length
(
max
=
32
,
message
=
"办理状态 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"办理状态"
,
isNotEmpty
=
true
,
errorInfo
=
"办理状态 不能为空"
,
maxLength
=
32
)
@Schema
(
description
=
"办理状态"
)
@ExcelProperty
(
"办理状态"
)
private
String
handleStatus
;
/**
* 个人大病比例
*/
@ExcelAttribute
(
name
=
"个人大病比例"
)
@Schema
(
description
=
"个人大病比例"
)
@ExcelProperty
(
"个人大病比例"
)
private
BigDecimal
personalBigailmentPer
;
/**
* 单位大病救助比例
*/
@ExcelAttribute
(
name
=
"单位大病救助比例"
)
@Schema
(
description
=
"单位大病救助比例"
)
@ExcelProperty
(
"单位大病救助比例"
)
private
BigDecimal
unitBigailmentPer
;
/**
* 社保停缴日期
*/
@ExcelAttribute
(
name
=
"社保停缴日期"
,
isDate
=
true
)
@Schema
(
description
=
"社保停缴日期"
)
@ExcelProperty
(
"社保停缴日期"
)
private
Date
socialReduceDate
;
/**
* 是否可补缴 0:是,1:否
*/
@Length
(
max
=
1
,
message
=
"是否可补缴 0:是,1:否 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"是否可补缴 0:是,1:否"
,
maxLength
=
1
)
@Schema
(
description
=
"是否可补缴 0:是,1:否"
)
@ExcelProperty
(
"是否可补缴 0:是,1:否"
)
private
String
canOverpay
;
/**
* 补缴政策(社保或公积金)
*/
@Length
(
max
=
500
,
message
=
"补缴政策(社保或公积金) 不能超过500 个字符"
)
@ExcelAttribute
(
name
=
"补缴政策(社保或公积金)"
,
maxLength
=
500
)
@Schema
(
description
=
"补缴政策(社保或公积金)"
)
@ExcelProperty
(
"补缴政策(社保或公积金)"
)
private
String
payPolicy
;
/**
* 补缴期限
*/
@ExcelAttribute
(
name
=
"补缴期限"
)
@Schema
(
description
=
"补缴期限"
)
@ExcelProperty
(
"补缴期限"
)
private
Integer
overpayNumber
;
/**
* 是否含当月 0:是,1:否
*/
@Length
(
max
=
1
,
message
=
"是否含当月 0:是,1:否 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"是否含当月 0:是,1:否"
,
maxLength
=
1
)
@Schema
(
description
=
"是否含当月 0:是,1:否"
)
@ExcelProperty
(
"是否含当月 0:是,1:否"
)
private
String
haveThisMonth
;
/**
* 是否能补缴养老0是1否
*/
@Length
(
max
=
1
,
message
=
"是否能补缴养老0是1否 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"是否能补缴养老0是1否"
,
maxLength
=
1
)
@Schema
(
description
=
"是否能补缴养老0是1否"
)
@ExcelProperty
(
"是否能补缴养老0是1否"
)
private
String
insurancePension
;
/**
* 是否能补缴医疗0是1否
*/
@Length
(
max
=
1
,
message
=
"是否能补缴医疗0是1否 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"是否能补缴医疗0是1否"
,
maxLength
=
1
)
@Schema
(
description
=
"是否能补缴医疗0是1否"
)
@ExcelProperty
(
"是否能补缴医疗0是1否"
)
private
String
insuranceMedical
;
/**
* 是否能补缴失业0是1否
*/
@Length
(
max
=
1
,
message
=
"是否能补缴失业0是1否 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"是否能补缴失业0是1否"
,
maxLength
=
1
)
@Schema
(
description
=
"是否能补缴失业0是1否"
)
@ExcelProperty
(
"是否能补缴失业0是1否"
)
private
String
insuranceUnemployment
;
/**
* 是否能补缴工伤0是1否
*/
@Length
(
max
=
1
,
message
=
"是否能补缴工伤0是1否 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"是否能补缴工伤0是1否"
,
maxLength
=
1
)
@Schema
(
description
=
"是否能补缴工伤0是1否"
)
@ExcelProperty
(
"是否能补缴工伤0是1否"
)
private
String
insuranceInjury
;
/**
* 是否能补缴生育0是1否
*/
@Length
(
max
=
1
,
message
=
"是否能补缴生育0是1否 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"是否能补缴生育0是1否"
,
maxLength
=
1
)
@Schema
(
description
=
"是否能补缴生育0是1否"
)
@ExcelProperty
(
"是否能补缴生育0是1否"
)
private
String
insuranceBirth
;
/**
* 是否能补缴大病0是1否
*/
@Length
(
max
=
1
,
message
=
"是否能补缴大病0是1否 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"是否能补缴大病0是1否"
,
maxLength
=
1
)
@Schema
(
description
=
"是否能补缴大病0是1否"
)
@ExcelProperty
(
"是否能补缴大病0是1否"
)
private
String
insuranceBigailment
;
/**
* 补缴是否采用最新基数0是1否
*/
@Length
(
max
=
1
,
message
=
"补缴是否采用最新基数0是1否 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"补缴是否采用最新基数0是1否"
,
maxLength
=
1
)
@Schema
(
description
=
"补缴是否采用最新基数0是1否"
)
@ExcelProperty
(
"补缴是否采用最新基数0是1否"
)
private
String
latestCardinality
;
/**
* 大病是否收费:0否 1 是
*/
@Length
(
max
=
1
,
message
=
"大病是否收费:0否 1 是 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"大病是否收费:0否 1 是"
,
maxLength
=
1
)
@Schema
(
description
=
"大病是否收费:0否 1 是"
)
@ExcelProperty
(
"大病是否收费:0否 1 是"
)
private
String
isIllness
;
/**
* 大病缴纳周期:0按年1按月
*/
@Length
(
max
=
1
,
message
=
"大病缴纳周期:0按年1按月 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"大病缴纳周期:0按年1按月"
,
maxLength
=
1
)
@Schema
(
description
=
"大病缴纳周期:0按年1按月"
)
@ExcelProperty
(
"大病缴纳周期:0按年1按月"
)
private
String
collectType
;
/**
* 大病取值方式0 按比例 1按定值
*/
@Length
(
max
=
1
,
message
=
"大病取值方式0 按比例 1按定值 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"大病取值方式0 按比例 1按定值"
,
maxLength
=
1
)
@Schema
(
description
=
"大病取值方式0 按比例 1按定值"
)
@ExcelProperty
(
"大病取值方式0 按比例 1按定值"
)
private
String
valueType
;
/**
* 大病按年收收取月份1-12月
*/
@ExcelAttribute
(
name
=
"大病按年收收取月份1-12月"
)
@Schema
(
description
=
"大病按年收收取月份1-12月"
)
@ExcelProperty
(
"大病按年收收取月份1-12月"
)
private
Integer
collectMoth
;
/**
* 收费模式:0立即收,1次年收,对应旧值新员工入职收费:0是1否
*/
@Length
(
max
=
1
,
message
=
"收费模式:0立即收,1次年收,对应旧值新员工入职收费:0是1否 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"收费模式:0立即收,1次年收,对应旧值新员工入职收费:0是1否"
,
maxLength
=
1
)
@Schema
(
description
=
"收费模式:0立即收,1次年收,对应旧值新员工入职收费:0是1否"
)
@ExcelProperty
(
"收费模式:0立即收,1次年收,对应旧值新员工入职收费:0是1否"
)
private
String
isChargePersonal
;
/**
* 备案基数
*/
@Length
(
max
=
255
,
message
=
"备案基数 不能超过255 个字符"
)
@ExcelAttribute
(
name
=
"备案基数"
,
maxLength
=
255
)
@Schema
(
description
=
"备案基数"
)
@ExcelProperty
(
"备案基数"
)
private
String
recordBase
;
/**
* 委托备注
*/
@Length
(
max
=
100
,
message
=
"委托备注 不能超过100 个字符"
)
@ExcelAttribute
(
name
=
"委托备注"
,
maxLength
=
100
)
@Schema
(
description
=
"委托备注"
)
@ExcelProperty
(
"委托备注"
)
private
String
trustRemark
;
/**
* 缴纳类型(0最低缴纳、1自定义缴纳、2最高缴纳)
*/
@Length
(
max
=
1
,
message
=
"缴纳类型(0最低缴纳、1自定义缴纳、2最高缴纳) 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"缴纳类型(0最低缴纳、1自定义缴纳、2最高缴纳)"
,
maxLength
=
1
)
@Schema
(
description
=
"缴纳类型(0最低缴纳、1自定义缴纳、2最高缴纳)"
)
@ExcelProperty
(
"缴纳类型(0最低缴纳、1自定义缴纳、2最高缴纳)"
)
private
String
paymentType
;
/**
* 基数上限(社保或公积金)
*/
@ExcelAttribute
(
name
=
"基数上限(社保或公积金)"
)
@Schema
(
description
=
"基数上限(社保或公积金)"
)
@ExcelProperty
(
"基数上限(社保或公积金)"
)
private
BigDecimal
upperLimit
;
/**
* 基数下限(社保或公积金)
*/
@ExcelAttribute
(
name
=
"基数下限(社保或公积金)"
)
@Schema
(
description
=
"基数下限(社保或公积金)"
)
@ExcelProperty
(
"基数下限(社保或公积金)"
)
private
BigDecimal
lowerLimit
;
/**
* 养老起缴日期
*/
@ExcelAttribute
(
name
=
"养老起缴日期"
,
isDate
=
true
)
@Schema
(
description
=
"养老起缴日期"
)
@ExcelProperty
(
"养老起缴日期"
)
private
Date
pensionStart
;
/**
* 医疗起缴日期
*/
@ExcelAttribute
(
name
=
"医疗起缴日期"
,
isDate
=
true
)
@Schema
(
description
=
"医疗起缴日期"
)
@ExcelProperty
(
"医疗起缴日期"
)
private
Date
medicalStart
;
/**
* 失业起缴日期
*/
@ExcelAttribute
(
name
=
"失业起缴日期"
,
isDate
=
true
)
@Schema
(
description
=
"失业起缴日期"
)
@ExcelProperty
(
"失业起缴日期"
)
private
Date
unemployStart
;
/**
* 工伤起缴日期
*/
@ExcelAttribute
(
name
=
"工伤起缴日期"
,
isDate
=
true
)
@Schema
(
description
=
"工伤起缴日期"
)
@ExcelProperty
(
"工伤起缴日期"
)
private
Date
workInjuryStart
;
/**
* 生育起缴日期
*/
@ExcelAttribute
(
name
=
"生育起缴日期"
,
isDate
=
true
)
@Schema
(
description
=
"生育起缴日期"
)
@ExcelProperty
(
"生育起缴日期"
)
private
Date
birthStart
;
/**
* 大病起缴日期
*/
@ExcelAttribute
(
name
=
"大病起缴日期"
,
isDate
=
true
)
@Schema
(
description
=
"大病起缴日期"
)
@ExcelProperty
(
"大病起缴日期"
)
private
Date
bigailmentStart
;
/**
* 养老办理状态:0待办理1办理成功2办理失败3已派减
*/
@Length
(
max
=
1
,
message
=
"养老办理状态:0待办理1办理成功2办理失败3已派减 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"养老办理状态:0待办理1办理成功2办理失败3已派减"
,
maxLength
=
1
)
@Schema
(
description
=
"养老办理状态:0待办理1办理成功2办理失败3已派减"
)
@ExcelProperty
(
"养老办理状态:0待办理1办理成功2办理失败3已派减"
)
private
String
pensionHandle
;
/**
* 医疗办理状态:0待办理1办理成功2办理失败3已派减
*/
@Length
(
max
=
1
,
message
=
"医疗办理状态:0待办理1办理成功2办理失败3已派减 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"医疗办理状态:0待办理1办理成功2办理失败3已派减"
,
maxLength
=
1
)
@Schema
(
description
=
"医疗办理状态:0待办理1办理成功2办理失败3已派减"
)
@ExcelProperty
(
"医疗办理状态:0待办理1办理成功2办理失败3已派减"
)
private
String
medicalHandle
;
/**
* 失业办理状态:0待办理1办理成功2办理失败3已派减
*/
@Length
(
max
=
1
,
message
=
"失业办理状态:0待办理1办理成功2办理失败3已派减 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"失业办理状态:0待办理1办理成功2办理失败3已派减"
,
maxLength
=
1
)
@Schema
(
description
=
"失业办理状态:0待办理1办理成功2办理失败3已派减"
)
@ExcelProperty
(
"失业办理状态:0待办理1办理成功2办理失败3已派减"
)
private
String
unemployHandle
;
/**
* 工伤办理状态:0待办理1办理成功2办理失败3已派减
*/
@Length
(
max
=
1
,
message
=
"工伤办理状态:0待办理1办理成功2办理失败3已派减 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"工伤办理状态:0待办理1办理成功2办理失败3已派减"
,
maxLength
=
1
)
@Schema
(
description
=
"工伤办理状态:0待办理1办理成功2办理失败3已派减"
)
@ExcelProperty
(
"工伤办理状态:0待办理1办理成功2办理失败3已派减"
)
private
String
workInjuryHandle
;
/**
* 生育办理状态:0待办理1办理成功2办理失败3已派减
*/
@Length
(
max
=
1
,
message
=
"生育办理状态:0待办理1办理成功2办理失败3已派减 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"生育办理状态:0待办理1办理成功2办理失败3已派减"
,
maxLength
=
1
)
@Schema
(
description
=
"生育办理状态:0待办理1办理成功2办理失败3已派减"
)
@ExcelProperty
(
"生育办理状态:0待办理1办理成功2办理失败3已派减"
)
private
String
birthHandle
;
/**
* 大病办理状态:0待办理1办理成功2办理失败3已派减
*/
@Length
(
max
=
1
,
message
=
"大病办理状态:0待办理1办理成功2办理失败3已派减 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"大病办理状态:0待办理1办理成功2办理失败3已派减"
,
maxLength
=
1
)
@Schema
(
description
=
"大病办理状态:0待办理1办理成功2办理失败3已派减"
)
@ExcelProperty
(
"大病办理状态:0待办理1办理成功2办理失败3已派减"
)
private
String
bigailmentHandle
;
/**
* 单位养老金额
*/
@ExcelAttribute
(
name
=
"单位养老金额"
)
@Schema
(
description
=
"单位养老金额"
)
@ExcelProperty
(
"单位养老金额"
)
private
BigDecimal
unitPersionMoney
;
/**
* 单位医疗金额
*/
@ExcelAttribute
(
name
=
"单位医疗金额"
)
@Schema
(
description
=
"单位医疗金额"
)
@ExcelProperty
(
"单位医疗金额"
)
private
BigDecimal
unitMedicalMoney
;
/**
* 单位失业
*/
@ExcelAttribute
(
name
=
"单位失业"
)
@Schema
(
description
=
"单位失业"
)
@ExcelProperty
(
"单位失业"
)
private
BigDecimal
unitUnemploymentMoney
;
/**
* 单位工伤金额
*/
@ExcelAttribute
(
name
=
"单位工伤金额"
)
@Schema
(
description
=
"单位工伤金额"
)
@ExcelProperty
(
"单位工伤金额"
)
private
BigDecimal
unitInjuryMoney
;
/**
* 单位生育金额
*/
@ExcelAttribute
(
name
=
"单位生育金额"
)
@Schema
(
description
=
"单位生育金额"
)
@ExcelProperty
(
"单位生育金额"
)
private
BigDecimal
unitBirthMoney
;
/**
* 单位大病救助金额
*/
@ExcelAttribute
(
name
=
"单位大病救助金额"
)
@Schema
(
description
=
"单位大病救助金额"
)
@ExcelProperty
(
"单位大病救助金额"
)
private
BigDecimal
unitBigailmentMoney
;
/**
* 个人养老金额
*/
@ExcelAttribute
(
name
=
"个人养老金额"
)
@Schema
(
description
=
"个人养老金额"
)
@ExcelProperty
(
"个人养老金额"
)
private
BigDecimal
personalPersionMoney
;
/**
* 个人医疗金额
*/
@ExcelAttribute
(
name
=
"个人医疗金额"
)
@Schema
(
description
=
"个人医疗金额"
)
@ExcelProperty
(
"个人医疗金额"
)
private
BigDecimal
personalMedicalMoney
;
/**
* 个人失业金额
*/
@ExcelAttribute
(
name
=
"个人失业金额"
)
@Schema
(
description
=
"个人失业金额"
)
@ExcelProperty
(
"个人失业金额"
)
private
BigDecimal
personalUnemploymentMoney
;
/**
* 个人大病金额
*/
@ExcelAttribute
(
name
=
"个人大病金额"
)
@Schema
(
description
=
"个人大病金额"
)
@ExcelProperty
(
"个人大病金额"
)
private
BigDecimal
personalBigailmentMoney
;
/**
* 单位公积金缴纳基数
*/
@NotBlank
(
message
=
"单位公积金缴纳基数 不能为空"
)
@ExcelAttribute
(
name
=
"单位公积金缴纳基数"
,
isNotEmpty
=
true
,
errorInfo
=
"单位公积金缴纳基数 不能为空"
)
@Schema
(
description
=
"单位公积金缴纳基数"
)
@ExcelProperty
(
"单位公积金缴纳基数"
)
private
BigDecimal
unitProvidengCardinal
;
/**
* 个人公积金缴纳基数
*/
@NotBlank
(
message
=
"个人公积金缴纳基数 不能为空"
)
@ExcelAttribute
(
name
=
"个人公积金缴纳基数"
,
isNotEmpty
=
true
,
errorInfo
=
"个人公积金缴纳基数 不能为空"
)
@Schema
(
description
=
"个人公积金缴纳基数"
)
@ExcelProperty
(
"个人公积金缴纳基数"
)
private
BigDecimal
personalProvidentCardinal
;
/**
* 社保起缴日期
*/
@ExcelAttribute
(
name
=
"社保起缴日期"
,
isDate
=
true
)
@Schema
(
description
=
"社保起缴日期"
)
@ExcelProperty
(
"社保起缴日期"
)
private
Date
socialStartDate
;
/**
* 单位公积金缴纳比例
*/
@ExcelAttribute
(
name
=
"单位公积金缴纳比例"
)
@Schema
(
description
=
"单位公积金缴纳比例"
)
@ExcelProperty
(
"单位公积金缴纳比例"
)
private
BigDecimal
unitProvidentPer
;
/**
* 个人公积金缴纳比例
*/
@ExcelAttribute
(
name
=
"个人公积金缴纳比例"
)
@Schema
(
description
=
"个人公积金缴纳比例"
)
@ExcelProperty
(
"个人公积金缴纳比例"
)
private
BigDecimal
personalProvidentPer
;
/**
* 公积金起缴日期
*/
@ExcelAttribute
(
name
=
"公积金起缴日期"
,
isDate
=
true
)
@Schema
(
description
=
"公积金起缴日期"
)
@ExcelProperty
(
"公积金起缴日期"
)
private
Date
providentStart
;
/**
* 公积金初次购买月份
*/
@ExcelAttribute
(
name
=
"公积金初次购买月份"
,
isDate
=
true
)
@Schema
(
description
=
"公积金初次购买月份"
)
@ExcelProperty
(
"公积金初次购买月份"
)
private
Date
firstBuyMothFund
;
/**
* 基数上限(公积金)
*/
@ExcelAttribute
(
name
=
"基数上限(公积金)"
)
@Schema
(
description
=
"基数上限(公积金)"
)
@ExcelProperty
(
"基数上限(公积金)"
)
private
BigDecimal
upperLimitFund
;
/**
* 基数下限(公积金)
*/
@ExcelAttribute
(
name
=
"基数下限(公积金)"
)
@Schema
(
description
=
"基数下限(公积金)"
)
@ExcelProperty
(
"基数下限(公积金)"
)
private
BigDecimal
lowerLimitFund
;
/**
* 单边小数点 ,如:四舍五入、见角进元等
*/
@Length
(
max
=
1
,
message
=
"单边小数点 ,如:四舍五入、见角进元等 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"单边小数点 ,如:四舍五入、见角进元等"
,
maxLength
=
1
)
@Schema
(
description
=
"单边小数点 ,如:四舍五入、见角进元等"
)
@ExcelProperty
(
"单边小数点 ,如:四舍五入、见角进元等"
)
private
String
fundPayPoint
;
/**
* 是否可补缴 0:是,1:否(公积金)
*/
@Length
(
max
=
1
,
message
=
"是否可补缴 0:是,1:否(公积金) 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"是否可补缴 0:是,1:否(公积金)"
,
maxLength
=
1
)
@Schema
(
description
=
"是否可补缴 0:是,1:否(公积金)"
)
@ExcelProperty
(
"是否可补缴 0:是,1:否(公积金)"
)
private
String
canOverpayFund
;
/**
* 补缴期限(公积金)
*/
@ExcelAttribute
(
name
=
"补缴期限(公积金)"
)
@Schema
(
description
=
"补缴期限(公积金)"
)
@ExcelProperty
(
"补缴期限(公积金)"
)
private
Integer
overpayNumberFund
;
/**
* 补缴政策(公积金)
*/
@Length
(
max
=
500
,
message
=
"补缴政策(公积金) 不能超过500 个字符"
)
@ExcelAttribute
(
name
=
"补缴政策(公积金)"
,
maxLength
=
500
)
@Schema
(
description
=
"补缴政策(公积金)"
)
@ExcelProperty
(
"补缴政策(公积金)"
)
private
String
payPolicyFund
;
/**
* 委托备注(公积金)
*/
@Length
(
max
=
100
,
message
=
"委托备注(公积金) 不能超过100 个字符"
)
@ExcelAttribute
(
name
=
"委托备注(公积金)"
,
maxLength
=
100
)
@Schema
(
description
=
"委托备注(公积金)"
)
@ExcelProperty
(
"委托备注(公积金)"
)
private
String
trustRemarkFund
;
/**
* 是否含当月 0:是,1:否(公积金)
*/
@Length
(
max
=
1
,
message
=
"是否含当月 0:是,1:否(公积金) 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"是否含当月 0:是,1:否(公积金)"
,
maxLength
=
1
)
@Schema
(
description
=
"是否含当月 0:是,1:否(公积金)"
)
@ExcelProperty
(
"是否含当月 0:是,1:否(公积金)"
)
private
String
haveThisMonthFund
;
/**
* 补缴是否采用最新基数0是1否(公积金)
*/
@Length
(
max
=
1
,
message
=
"补缴是否采用最新基数0是1否(公积金) 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"补缴是否采用最新基数0是1否(公积金)"
,
maxLength
=
1
)
@Schema
(
description
=
"补缴是否采用最新基数0是1否(公积金)"
)
@ExcelProperty
(
"补缴是否采用最新基数0是1否(公积金)"
)
private
String
latestCardinalityFund
;
}
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/vo/TSocialInfoSearchVo.java
0 → 100644
View file @
1e811799
/*
* 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
.
social
.
vo
;
import
com.yifu.cloud.plus.v1.yifu.social.entity.TSocialInfo
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
java.time.LocalDateTime
;
/**
* 社保明细表
*
* @author fxj
* @date 2022-07-15 11:38:05
*/
@Data
public
class
TSocialInfoSearchVo
extends
TSocialInfo
{
/**
* 多选导出或删除等操作
*/
@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-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/vo/TSocialInfoVo.java
0 → 100644
View file @
1e811799
/*
* 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
.
social
.
vo
;
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.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
;
import
java.math.BigDecimal
;
import
java.util.Date
;
/**
* 社保明细表
*
* @author fxj
* @date 2022-07-15 11:38:05
*/
@Data
public
class
TSocialInfoVo
extends
RowIndex
implements
Serializable
{
/**
* 主键
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@Schema
(
description
=
"主键"
)
@ExcelProperty
(
"主键"
)
private
String
id
;
/**
* 社保户
*/
@Length
(
max
=
32
,
message
=
"社保户 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"社保户"
,
maxLength
=
32
)
@Schema
(
description
=
"社保户"
)
@ExcelProperty
(
"社保户"
)
private
String
socialHousehold
;
/**
* 社保起缴日期
*/
@ExcelAttribute
(
name
=
"社保起缴日期"
,
isDate
=
true
)
@Schema
(
description
=
"社保起缴日期"
)
@ExcelProperty
(
"社保起缴日期"
)
private
Date
socialStartDate
;
/**
* 单位养老基数
*/
@ExcelAttribute
(
name
=
"单位养老基数"
)
@Schema
(
description
=
"单位养老基数"
)
@ExcelProperty
(
"单位养老基数"
)
private
BigDecimal
unitPensionCardinal
;
/**
* 单位医疗基数
*/
@ExcelAttribute
(
name
=
"单位医疗基数"
)
@Schema
(
description
=
"单位医疗基数"
)
@ExcelProperty
(
"单位医疗基数"
)
private
BigDecimal
unitMedicalCardinal
;
/**
* 单位失业基数
*/
@ExcelAttribute
(
name
=
"单位失业基数"
)
@Schema
(
description
=
"单位失业基数"
)
@ExcelProperty
(
"单位失业基数"
)
private
BigDecimal
unitUnemploymentCardinal
;
/**
* 单位大病救助基数
*/
@ExcelAttribute
(
name
=
"单位大病救助基数"
)
@Schema
(
description
=
"单位大病救助基数"
)
@ExcelProperty
(
"单位大病救助基数"
)
private
BigDecimal
unitBigailmentCardinal
;
/**
* 单位工伤基数
*/
@ExcelAttribute
(
name
=
"单位工伤基数"
)
@Schema
(
description
=
"单位工伤基数"
)
@ExcelProperty
(
"单位工伤基数"
)
private
BigDecimal
unitWorkInjuryCardinal
;
/**
* 单位生育基数
*/
@ExcelAttribute
(
name
=
"单位生育基数"
)
@Schema
(
description
=
"单位生育基数"
)
@ExcelProperty
(
"单位生育基数"
)
private
BigDecimal
unitBirthCardinal
;
/**
* 个人养老基数
*/
@ExcelAttribute
(
name
=
"个人养老基数"
)
@Schema
(
description
=
"个人养老基数"
)
@ExcelProperty
(
"个人养老基数"
)
private
BigDecimal
personalPensionCardinal
;
/**
* 个人医疗基数
*/
@ExcelAttribute
(
name
=
"个人医疗基数"
)
@Schema
(
description
=
"个人医疗基数"
)
@ExcelProperty
(
"个人医疗基数"
)
private
BigDecimal
personalMedicalCardinal
;
/**
* 个人大病救助基数
*/
@ExcelAttribute
(
name
=
"个人大病救助基数"
)
@Schema
(
description
=
"个人大病救助基数"
)
@ExcelProperty
(
"个人大病救助基数"
)
private
BigDecimal
personalBigailmentCardinal
;
/**
* 个人失业基数
*/
@ExcelAttribute
(
name
=
"个人失业基数"
)
@Schema
(
description
=
"个人失业基数"
)
@ExcelProperty
(
"个人失业基数"
)
private
BigDecimal
personalUnemploymentCardinal
;
/**
* 单位工伤基数
*/
@ExcelAttribute
(
name
=
"单位工伤基数"
)
@Schema
(
description
=
"单位工伤基数"
)
@ExcelProperty
(
"单位工伤基数"
)
private
BigDecimal
personalWorkInjuryCardinal
;
/**
* 员工ID(数据引用)
*/
@Length
(
max
=
32
,
message
=
"员工ID(数据引用) 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"员工ID(数据引用)"
,
maxLength
=
32
)
@Schema
(
description
=
"员工ID(数据引用)"
)
@ExcelProperty
(
"员工ID(数据引用)"
)
private
String
empId
;
/**
* 员工编码
*/
@Length
(
max
=
50
,
message
=
"员工编码 不能超过50 个字符"
)
@ExcelAttribute
(
name
=
"员工编码"
,
maxLength
=
50
)
@Schema
(
description
=
"员工编码"
)
@ExcelProperty
(
"员工编码"
)
private
String
empNo
;
/**
* 员工姓名
*/
@Length
(
max
=
50
,
message
=
"员工姓名 不能超过50 个字符"
)
@ExcelAttribute
(
name
=
"员工姓名"
,
maxLength
=
50
)
@Schema
(
description
=
"员工姓名"
)
@ExcelProperty
(
"员工姓名"
)
private
String
empName
;
/**
* 员工身份证
*/
@Length
(
max
=
20
,
message
=
"员工身份证 不能超过20 个字符"
)
@ExcelAttribute
(
name
=
"员工身份证"
,
maxLength
=
20
)
@Schema
(
description
=
"员工身份证"
)
@ExcelProperty
(
"员工身份证"
)
private
String
empIdcard
;
/**
* 单位养老比例
*/
@ExcelAttribute
(
name
=
"单位养老比例"
)
@Schema
(
description
=
"单位养老比例"
)
@ExcelProperty
(
"单位养老比例"
)
private
BigDecimal
unitPensionPer
;
/**
* 单位医疗比例
*/
@ExcelAttribute
(
name
=
"单位医疗比例"
)
@Schema
(
description
=
"单位医疗比例"
)
@ExcelProperty
(
"单位医疗比例"
)
private
BigDecimal
unitMedicalPer
;
/**
* 单位失业比例
*/
@ExcelAttribute
(
name
=
"单位失业比例"
)
@Schema
(
description
=
"单位失业比例"
)
@ExcelProperty
(
"单位失业比例"
)
private
BigDecimal
unitUnemploymentPer
;
/**
* 单位工伤比例
*/
@ExcelAttribute
(
name
=
"单位工伤比例"
)
@Schema
(
description
=
"单位工伤比例"
)
@ExcelProperty
(
"单位工伤比例"
)
private
BigDecimal
unitWorkUnjuryPer
;
/**
* 单位生育比例
*/
@ExcelAttribute
(
name
=
"单位生育比例"
)
@Schema
(
description
=
"单位生育比例"
)
@ExcelProperty
(
"单位生育比例"
)
private
BigDecimal
unitBirthPer
;
/**
* 个人养老比例
*/
@ExcelAttribute
(
name
=
"个人养老比例"
)
@Schema
(
description
=
"个人养老比例"
)
@ExcelProperty
(
"个人养老比例"
)
private
BigDecimal
personalPensionPer
;
/**
* 个人医疗比例
*/
@ExcelAttribute
(
name
=
"个人医疗比例"
)
@Schema
(
description
=
"个人医疗比例"
)
@ExcelProperty
(
"个人医疗比例"
)
private
BigDecimal
personalMedicalPer
;
/**
* 个人失业比例
*/
@ExcelAttribute
(
name
=
"个人失业比例"
)
@Schema
(
description
=
"个人失业比例"
)
@ExcelProperty
(
"个人失业比例"
)
private
BigDecimal
personalUnemploymentPer
;
/**
* 审核状态
*/
@NotBlank
(
message
=
"审核状态 不能为空"
)
@Length
(
max
=
32
,
message
=
"审核状态 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"审核状态"
,
isNotEmpty
=
true
,
errorInfo
=
"审核状态 不能为空"
,
maxLength
=
32
)
@Schema
(
description
=
"审核状态"
)
@ExcelProperty
(
"审核状态"
)
private
String
auditStatus
;
/**
* 办理状态
*/
@NotBlank
(
message
=
"办理状态 不能为空"
)
@Length
(
max
=
32
,
message
=
"办理状态 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"办理状态"
,
isNotEmpty
=
true
,
errorInfo
=
"办理状态 不能为空"
,
maxLength
=
32
)
@Schema
(
description
=
"办理状态"
)
@ExcelProperty
(
"办理状态"
)
private
String
handleStatus
;
/**
* 草稿状态
*/
@NotBlank
(
message
=
"草稿状态 不能为空"
)
@Length
(
max
=
1
,
message
=
"草稿状态 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"草稿状态"
,
isNotEmpty
=
true
,
errorInfo
=
"草稿状态 不能为空"
,
maxLength
=
1
)
@Schema
(
description
=
"草稿状态"
)
@ExcelProperty
(
"草稿状态"
)
private
String
draftStatus
;
/**
* 社保基数配置ID(数据引用)
*/
@Length
(
max
=
32
,
message
=
"社保基数配置ID(数据引用) 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"社保基数配置ID(数据引用)"
,
maxLength
=
32
)
@Schema
(
description
=
"社保基数配置ID(数据引用)"
)
@ExcelProperty
(
"社保基数配置ID(数据引用)"
)
private
String
cardinalIid
;
/**
* 原ID(数据迁移)
*/
@ExcelAttribute
(
name
=
"原ID(数据迁移)"
)
@Schema
(
description
=
"原ID(数据迁移)"
)
@ExcelProperty
(
"原ID(数据迁移)"
)
private
Integer
oldId
;
/**
* 结算主体
*/
@Length
(
max
=
32
,
message
=
"结算主体 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"结算主体"
,
maxLength
=
32
)
@Schema
(
description
=
"结算主体"
)
@ExcelProperty
(
"结算主体"
)
private
String
settleDomain
;
/**
* 缴纳地-省
*/
@Length
(
max
=
32
,
message
=
"缴纳地-省 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"缴纳地-省"
,
maxLength
=
32
)
@Schema
(
description
=
"缴纳地-省"
)
@ExcelProperty
(
"缴纳地-省"
)
private
String
socialProvince
;
/**
* 缴纳地-市
*/
@Length
(
max
=
32
,
message
=
"缴纳地-市 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"缴纳地-市"
,
maxLength
=
32
)
@Schema
(
description
=
"缴纳地-市"
)
@ExcelProperty
(
"缴纳地-市"
)
private
String
socialCity
;
/**
* 缴纳地-县
*/
@Length
(
max
=
32
,
message
=
"缴纳地-县 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"缴纳地-县"
,
maxLength
=
32
)
@Schema
(
description
=
"缴纳地-县"
)
@ExcelProperty
(
"缴纳地-县"
)
private
String
socialTown
;
/**
* 备注
*/
@Length
(
max
=
255
,
message
=
"备注 不能超过255 个字符"
)
@ExcelAttribute
(
name
=
"备注"
,
maxLength
=
255
)
@Schema
(
description
=
"备注"
)
@ExcelProperty
(
"备注"
)
private
String
remark
;
/**
* 0为删除1删除
*/
@Length
(
max
=
1
,
message
=
"0为删除1删除 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"0为删除1删除"
,
maxLength
=
1
)
@Schema
(
description
=
"0为删除1删除"
)
@ExcelProperty
(
"0为删除1删除"
)
private
String
deleteFlag
;
/**
* 单位养老金额
*/
@ExcelAttribute
(
name
=
"单位养老金额"
)
@Schema
(
description
=
"单位养老金额"
)
@ExcelProperty
(
"单位养老金额"
)
private
BigDecimal
unitPersionMoney
;
/**
* 单位医疗金额
*/
@ExcelAttribute
(
name
=
"单位医疗金额"
)
@Schema
(
description
=
"单位医疗金额"
)
@ExcelProperty
(
"单位医疗金额"
)
private
BigDecimal
unitMedicalMoney
;
/**
* 单位失业
*/
@ExcelAttribute
(
name
=
"单位失业"
)
@Schema
(
description
=
"单位失业"
)
@ExcelProperty
(
"单位失业"
)
private
BigDecimal
unitUnemploymentMoney
;
/**
* 单位工伤金额
*/
@ExcelAttribute
(
name
=
"单位工伤金额"
)
@Schema
(
description
=
"单位工伤金额"
)
@ExcelProperty
(
"单位工伤金额"
)
private
BigDecimal
unitInjuryMoney
;
/**
* 单位生育金额
*/
@ExcelAttribute
(
name
=
"单位生育金额"
)
@Schema
(
description
=
"单位生育金额"
)
@ExcelProperty
(
"单位生育金额"
)
private
BigDecimal
unitBirthMoney
;
/**
* 单位大病救助金额
*/
@ExcelAttribute
(
name
=
"单位大病救助金额"
)
@Schema
(
description
=
"单位大病救助金额"
)
@ExcelProperty
(
"单位大病救助金额"
)
private
BigDecimal
unitBigailmentMoney
;
/**
* 个人养老金额
*/
@ExcelAttribute
(
name
=
"个人养老金额"
)
@Schema
(
description
=
"个人养老金额"
)
@ExcelProperty
(
"个人养老金额"
)
private
BigDecimal
personalPersionMoney
;
/**
* 个人医疗金额
*/
@ExcelAttribute
(
name
=
"个人医疗金额"
)
@Schema
(
description
=
"个人医疗金额"
)
@ExcelProperty
(
"个人医疗金额"
)
private
BigDecimal
personalMedicalMoney
;
/**
* 个人失业金额
*/
@ExcelAttribute
(
name
=
"个人失业金额"
)
@Schema
(
description
=
"个人失业金额"
)
@ExcelProperty
(
"个人失业金额"
)
private
BigDecimal
personalUnemploymentMoney
;
/**
* 个人大病金额
*/
@ExcelAttribute
(
name
=
"个人大病金额"
)
@Schema
(
description
=
"个人大病金额"
)
@ExcelProperty
(
"个人大病金额"
)
private
BigDecimal
personalBigailmentMoney
;
/**
* 大病取值方式0 按比例 1按定值
*/
@Length
(
max
=
1
,
message
=
"大病取值方式0 按比例 1按定值 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"大病取值方式0 按比例 1按定值"
,
maxLength
=
1
)
@Schema
(
description
=
"大病取值方式0 按比例 1按定值"
)
@ExcelProperty
(
"大病取值方式0 按比例 1按定值"
)
private
String
valueType
;
/**
* 个人大病比例
*/
@ExcelAttribute
(
name
=
"个人大病比例"
)
@Schema
(
description
=
"个人大病比例"
)
@ExcelProperty
(
"个人大病比例"
)
private
BigDecimal
personalBigailmentPer
;
/**
* 单位大病救助比例
*/
@ExcelAttribute
(
name
=
"单位大病救助比例"
)
@Schema
(
description
=
"单位大病救助比例"
)
@ExcelProperty
(
"单位大病救助比例"
)
private
BigDecimal
unitBigailmentPer
;
/**
* 是否收取大病费用0否 1 是
*/
@Length
(
max
=
1
,
message
=
"是否收取大病费用0否 1 是 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"是否收取大病费用0否 1 是"
,
maxLength
=
1
)
@Schema
(
description
=
"是否收取大病费用0否 1 是"
)
@ExcelProperty
(
"是否收取大病费用0否 1 是"
)
private
String
isIllness
;
/**
* 大病按年收收取月份1-12月
*/
@ExcelAttribute
(
name
=
"大病按年收收取月份1-12月"
)
@Schema
(
description
=
"大病按年收收取月份1-12月"
)
@ExcelProperty
(
"大病按年收收取月份1-12月"
)
private
Integer
collectMoth
;
/**
* 0按年1按月
*/
@Length
(
max
=
1
,
message
=
"0按年1按月 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"0按年1按月"
,
maxLength
=
1
)
@Schema
(
description
=
"0按年1按月"
)
@ExcelProperty
(
"0按年1按月"
)
private
String
collectType
;
/**
* 流程实例ID
*/
@Length
(
max
=
20
,
message
=
"流程实例ID 不能超过20 个字符"
)
@ExcelAttribute
(
name
=
"流程实例ID"
,
maxLength
=
20
)
@Schema
(
description
=
"流程实例ID"
)
@ExcelProperty
(
"流程实例ID"
)
private
String
processInstId
;
/**
* 审核人
*/
@Length
(
max
=
32
,
message
=
"审核人 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"审核人"
,
maxLength
=
32
)
@Schema
(
description
=
"审核人"
)
@ExcelProperty
(
"审核人"
)
private
String
auditUser
;
/**
* 审核时间
*/
@ExcelAttribute
(
name
=
"审核时间"
,
isDate
=
true
)
@Schema
(
description
=
"审核时间"
)
@ExcelProperty
(
"审核时间"
)
private
Date
auditTime
;
/**
* 办理人
*/
@Length
(
max
=
32
,
message
=
"办理人 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"办理人"
,
maxLength
=
32
)
@Schema
(
description
=
"办理人"
)
@ExcelProperty
(
"办理人"
)
private
String
handleUser
;
/**
* 办理时间
*/
@ExcelAttribute
(
name
=
"办理时间"
,
isDate
=
true
)
@Schema
(
description
=
"办理时间"
)
@ExcelProperty
(
"办理时间"
)
private
Date
handleTime
;
/**
* 所属单位
*/
@Length
(
max
=
32
,
message
=
"所属单位 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"所属单位"
,
maxLength
=
32
)
@Schema
(
description
=
"所属单位"
)
@ExcelProperty
(
"所属单位"
)
private
String
belongUnit
;
/**
* 社保停缴日期
*/
@ExcelAttribute
(
name
=
"社保停缴日期"
,
isDate
=
true
)
@Schema
(
description
=
"社保停缴日期"
)
@ExcelProperty
(
"社保停缴日期"
)
private
Date
socialReduceDate
;
/**
* 是否可补缴 0:是,1:否
*/
@Length
(
max
=
1
,
message
=
"是否可补缴 0:是,1:否 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"是否可补缴 0:是,1:否"
,
maxLength
=
1
)
@Schema
(
description
=
"是否可补缴 0:是,1:否"
)
@ExcelProperty
(
"是否可补缴 0:是,1:否"
)
private
String
canOverpay
;
/**
* 补缴期限
*/
@ExcelAttribute
(
name
=
"补缴期限"
)
@Schema
(
description
=
"补缴期限"
)
@ExcelProperty
(
"补缴期限"
)
private
Integer
overpayNumber
;
/**
* 是否含当月 0:是,1:否
*/
@Length
(
max
=
1
,
message
=
"是否含当月 0:是,1:否 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"是否含当月 0:是,1:否"
,
maxLength
=
1
)
@Schema
(
description
=
"是否含当月 0:是,1:否"
)
@ExcelProperty
(
"是否含当月 0:是,1:否"
)
private
String
haveThisMonth
;
/**
* 是否能补缴养老0是1否
*/
@Length
(
max
=
1
,
message
=
"是否能补缴养老0是1否 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"是否能补缴养老0是1否"
,
maxLength
=
1
)
@Schema
(
description
=
"是否能补缴养老0是1否"
)
@ExcelProperty
(
"是否能补缴养老0是1否"
)
private
String
insurancePension
;
/**
* 是否能补缴医疗0是1否
*/
@Length
(
max
=
1
,
message
=
"是否能补缴医疗0是1否 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"是否能补缴医疗0是1否"
,
maxLength
=
1
)
@Schema
(
description
=
"是否能补缴医疗0是1否"
)
@ExcelProperty
(
"是否能补缴医疗0是1否"
)
private
String
insuranceMedical
;
/**
* 是否能补缴失业0是1否
*/
@Length
(
max
=
1
,
message
=
"是否能补缴失业0是1否 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"是否能补缴失业0是1否"
,
maxLength
=
1
)
@Schema
(
description
=
"是否能补缴失业0是1否"
)
@ExcelProperty
(
"是否能补缴失业0是1否"
)
private
String
insuranceUnemployment
;
/**
* 是否能补缴工伤0是1否
*/
@Length
(
max
=
1
,
message
=
"是否能补缴工伤0是1否 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"是否能补缴工伤0是1否"
,
maxLength
=
1
)
@Schema
(
description
=
"是否能补缴工伤0是1否"
)
@ExcelProperty
(
"是否能补缴工伤0是1否"
)
private
String
insuranceInjury
;
/**
* 是否能补缴生育0是1否
*/
@Length
(
max
=
1
,
message
=
"是否能补缴生育0是1否 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"是否能补缴生育0是1否"
,
maxLength
=
1
)
@Schema
(
description
=
"是否能补缴生育0是1否"
)
@ExcelProperty
(
"是否能补缴生育0是1否"
)
private
String
insuranceBirth
;
/**
* 是否能补缴大病0是1否
*/
@Length
(
max
=
1
,
message
=
"是否能补缴大病0是1否 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"是否能补缴大病0是1否"
,
maxLength
=
1
)
@Schema
(
description
=
"是否能补缴大病0是1否"
)
@ExcelProperty
(
"是否能补缴大病0是1否"
)
private
String
insuranceBigailment
;
/**
* 补缴是否采用最新基数0是1否
*/
@Length
(
max
=
1
,
message
=
"补缴是否采用最新基数0是1否 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"补缴是否采用最新基数0是1否"
,
maxLength
=
1
)
@Schema
(
description
=
"补缴是否采用最新基数0是1否"
)
@ExcelProperty
(
"补缴是否采用最新基数0是1否"
)
private
String
insuranceIsLatestCardinality
;
/**
* 派减办理人
*/
@Length
(
max
=
32
,
message
=
"派减办理人 不能超过32 个字符"
)
@ExcelAttribute
(
name
=
"派减办理人"
,
maxLength
=
32
)
@Schema
(
description
=
"派减办理人"
)
@ExcelProperty
(
"派减办理人"
)
private
String
reduceHandleUser
;
/**
* 派减办理时间
*/
@ExcelAttribute
(
name
=
"派减办理时间"
,
isDate
=
true
)
@Schema
(
description
=
"派减办理时间"
)
@ExcelProperty
(
"派减办理时间"
)
private
Date
reduceHandleTime
;
/**
* 新员工入职收费:0是1否
*/
@Length
(
max
=
1
,
message
=
"新员工入职收费:0是1否 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"新员工入职收费:0是1否"
,
maxLength
=
1
)
@Schema
(
description
=
"新员工入职收费:0是1否"
)
@ExcelProperty
(
"新员工入职收费:0是1否"
)
private
String
isChargePersonal
;
/**
* 委托备注
*/
@Length
(
max
=
100
,
message
=
"委托备注 不能超过100 个字符"
)
@ExcelAttribute
(
name
=
"委托备注"
,
maxLength
=
100
)
@Schema
(
description
=
"委托备注"
)
@ExcelProperty
(
"委托备注"
)
private
String
trustRemark
;
/**
* 是否可派减 0:是1:否
*/
@NotBlank
(
message
=
"是否可派减 0:是1:否 不能为空"
)
@Length
(
max
=
1
,
message
=
"是否可派减 0:是1:否 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"是否可派减 0:是1:否"
,
isNotEmpty
=
true
,
errorInfo
=
"是否可派减 0:是1:否 不能为空"
,
maxLength
=
1
)
@Schema
(
description
=
"是否可派减 0:是1:否"
)
@ExcelProperty
(
"是否可派减 0:是1:否"
)
private
String
reduceCan
;
/**
* 就职班组
*/
@Length
(
max
=
50
,
message
=
"就职班组 不能超过50 个字符"
)
@ExcelAttribute
(
name
=
"就职班组"
,
maxLength
=
50
)
@Schema
(
description
=
"就职班组"
)
@ExcelProperty
(
"就职班组"
)
private
String
inauguralTeam
;
/**
* 电信编号
*/
@Length
(
max
=
50
,
message
=
"电信编号 不能超过50 个字符"
)
@ExcelAttribute
(
name
=
"电信编号"
,
maxLength
=
50
)
@Schema
(
description
=
"电信编号"
)
@ExcelProperty
(
"电信编号"
)
private
String
telecomNumber
;
/**
* 缴纳类型(0最低缴纳、1自定义缴纳、2最高缴纳)
*/
@Length
(
max
=
1
,
message
=
"缴纳类型(0最低缴纳、1自定义缴纳、2最高缴纳) 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"缴纳类型(0最低缴纳、1自定义缴纳、2最高缴纳)"
,
maxLength
=
1
)
@Schema
(
description
=
"缴纳类型(0最低缴纳、1自定义缴纳、2最高缴纳)"
)
@ExcelProperty
(
"缴纳类型(0最低缴纳、1自定义缴纳、2最高缴纳)"
)
private
String
paymentType
;
/**
* 备案基数
*/
@Length
(
max
=
255
,
message
=
"备案基数 不能超过255 个字符"
)
@ExcelAttribute
(
name
=
"备案基数"
,
maxLength
=
255
)
@Schema
(
description
=
"备案基数"
)
@ExcelProperty
(
"备案基数"
)
private
String
recordBase
;
/**
* 社保类型区分(0五险、1单独兼职工伤)
*/
@ExcelAttribute
(
name
=
"社保类型区分(0五险、1单独兼职工伤)"
)
@Schema
(
description
=
"社保类型区分(0五险、1单独兼职工伤)"
)
@ExcelProperty
(
"社保类型区分(0五险、1单独兼职工伤)"
)
private
Integer
socialType
;
/**
* 0不随配置 1随配置 2.单位大病随配置 3个人大病随配置
*/
@Length
(
max
=
1
,
message
=
"0不随配置 1随配置 2.单位大病随配置 3个人大病随配置 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"0不随配置 1随配置 2.单位大病随配置 3个人大病随配置"
,
maxLength
=
1
)
@Schema
(
description
=
"0不随配置 1随配置 2.单位大病随配置 3个人大病随配置"
)
@ExcelProperty
(
"0不随配置 1随配置 2.单位大病随配置 3个人大病随配置"
)
private
String
bigailmentVaryFlag
;
/**
* 养老起缴日期
*/
@ExcelAttribute
(
name
=
"养老起缴日期"
,
isDate
=
true
)
@Schema
(
description
=
"养老起缴日期"
)
@ExcelProperty
(
"养老起缴日期"
)
private
Date
pensionStart
;
/**
* 医疗起缴日期
*/
@ExcelAttribute
(
name
=
"医疗起缴日期"
,
isDate
=
true
)
@Schema
(
description
=
"医疗起缴日期"
)
@ExcelProperty
(
"医疗起缴日期"
)
private
Date
medicalStart
;
/**
* 失业起缴日期
*/
@ExcelAttribute
(
name
=
"失业起缴日期"
,
isDate
=
true
)
@Schema
(
description
=
"失业起缴日期"
)
@ExcelProperty
(
"失业起缴日期"
)
private
Date
unemployStart
;
/**
* 工伤起缴日期
*/
@ExcelAttribute
(
name
=
"工伤起缴日期"
,
isDate
=
true
)
@Schema
(
description
=
"工伤起缴日期"
)
@ExcelProperty
(
"工伤起缴日期"
)
private
Date
workInjuryStart
;
/**
* 生育起缴日期
*/
@ExcelAttribute
(
name
=
"生育起缴日期"
,
isDate
=
true
)
@Schema
(
description
=
"生育起缴日期"
)
@ExcelProperty
(
"生育起缴日期"
)
private
Date
birthStart
;
/**
* 大病起缴日期
*/
@ExcelAttribute
(
name
=
"大病起缴日期"
,
isDate
=
true
)
@Schema
(
description
=
"大病起缴日期"
)
@ExcelProperty
(
"大病起缴日期"
)
private
Date
bigailmentStart
;
/**
* 养老办理状态:0待办理1办理成功2办理失败3已派减
*/
@Length
(
max
=
1
,
message
=
"养老办理状态:0待办理1办理成功2办理失败3已派减 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"养老办理状态:0待办理1办理成功2办理失败3已派减"
,
maxLength
=
1
)
@Schema
(
description
=
"养老办理状态:0待办理1办理成功2办理失败3已派减"
)
@ExcelProperty
(
"养老办理状态:0待办理1办理成功2办理失败3已派减"
)
private
String
pensionHandle
;
/**
* 医疗办理状态:0待办理1办理成功2办理失败3已派减
*/
@Length
(
max
=
1
,
message
=
"医疗办理状态:0待办理1办理成功2办理失败3已派减 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"医疗办理状态:0待办理1办理成功2办理失败3已派减"
,
maxLength
=
1
)
@Schema
(
description
=
"医疗办理状态:0待办理1办理成功2办理失败3已派减"
)
@ExcelProperty
(
"医疗办理状态:0待办理1办理成功2办理失败3已派减"
)
private
String
medicalHandle
;
/**
* 失业办理状态:0待办理1办理成功2办理失败3已派减
*/
@Length
(
max
=
1
,
message
=
"失业办理状态:0待办理1办理成功2办理失败3已派减 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"失业办理状态:0待办理1办理成功2办理失败3已派减"
,
maxLength
=
1
)
@Schema
(
description
=
"失业办理状态:0待办理1办理成功2办理失败3已派减"
)
@ExcelProperty
(
"失业办理状态:0待办理1办理成功2办理失败3已派减"
)
private
String
unemployHandle
;
/**
* 工伤办理状态:0待办理1办理成功2办理失败3已派减
*/
@Length
(
max
=
1
,
message
=
"工伤办理状态:0待办理1办理成功2办理失败3已派减 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"工伤办理状态:0待办理1办理成功2办理失败3已派减"
,
maxLength
=
1
)
@Schema
(
description
=
"工伤办理状态:0待办理1办理成功2办理失败3已派减"
)
@ExcelProperty
(
"工伤办理状态:0待办理1办理成功2办理失败3已派减"
)
private
String
workInjuryHandle
;
/**
* 生育办理状态:0待办理1办理成功2办理失败3已派减
*/
@Length
(
max
=
1
,
message
=
"生育办理状态:0待办理1办理成功2办理失败3已派减 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"生育办理状态:0待办理1办理成功2办理失败3已派减"
,
maxLength
=
1
)
@Schema
(
description
=
"生育办理状态:0待办理1办理成功2办理失败3已派减"
)
@ExcelProperty
(
"生育办理状态:0待办理1办理成功2办理失败3已派减"
)
private
String
birthHandle
;
/**
* 大病办理状态:0待办理1办理成功2办理失败3已派减
*/
@Length
(
max
=
1
,
message
=
"大病办理状态:0待办理1办理成功2办理失败3已派减 不能超过1 个字符"
)
@ExcelAttribute
(
name
=
"大病办理状态:0待办理1办理成功2办理失败3已派减"
,
maxLength
=
1
)
@Schema
(
description
=
"大病办理状态:0待办理1办理成功2办理失败3已派减"
)
@ExcelProperty
(
"大病办理状态:0待办理1办理成功2办理失败3已派减"
)
private
String
bigailmentHandle
;
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/controller/TAuditInfoController.java
0 → 100644
View file @
1e811799
/*
* 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
.
social
.
controller
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Wrappers
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.common.log.annotation.SysLog
;
import
com.yifu.cloud.plus.v1.yifu.demo.entity.TAuditInfo
;
import
com.yifu.cloud.plus.v1.yifu.demo.service.TAuditInfoService
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.security.SecurityRequirement
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
lombok.RequiredArgsConstructor
;
import
org.springframework.http.HttpHeaders
;
import
org.springframework.web.bind.annotation.*
;
/**
* 审核信息表(社保、公积金、预估结算单、社保核准表、公积金核准表 、基数变更 审核记录)
*
* @author fxj
* @date 2022-07-15 11:38:05
*/
@RestController
@RequiredArgsConstructor
@RequestMapping
(
"/tauditinfo"
)
@Tag
(
name
=
"审核信息表(社保、公积金、预估结算单、社保核准表、公积金核准表 、基数变更 审核记录)管理"
)
@SecurityRequirement
(
name
=
HttpHeaders
.
AUTHORIZATION
)
public
class
TAuditInfoController
{
private
final
TAuditInfoService
tAuditInfoService
;
/**
* 简单分页查询
* @param page 分页对象
* @param tAuditInfo 审核信息表(社保、公积金、预估结算单、社保核准表、公积金核准表 、基数变更 审核记录)
* @return
*/
@ApiOperation
(
value
=
"简单分页查询"
)
@GetMapping
(
"/page"
)
public
R
<
IPage
<
TAuditInfo
>>
getTAuditInfoPage
(
Page
<
TAuditInfo
>
page
,
TAuditInfo
tAuditInfo
)
{
return
new
R
<>(
tAuditInfoService
.
getTAuditInfoPage
(
page
,
tAuditInfo
));
}
/**
* 不分页查询
* @param tAuditInfo 审核信息表(社保、公积金、预估结算单、社保核准表、公积金核准表 、基数变更 审核记录)
* @return
*/
@Operation
(
summary
=
"不分页查询"
,
description
=
"不分页查询"
)
@PostMapping
(
"/noPage"
)
//@PreAuthorize("@pms.hasPermission('demo_tauditinfo_get')" )
public
R
<
List
<
TAuditInfo
>>
getTAuditInfoNoPage
(
@RequestBody
TAuditInfo
tAuditInfo
)
{
return
R
.
ok
(
tAuditInfoService
.
list
(
Wrappers
.
query
(
tAuditInfo
)));
}
/**
* 通过id查询审核信息表(社保、公积金、预估结算单、社保核准表、公积金核准表 、基数变更 审核记录)
* @param id id
* @return R
*/
@Operation
(
summary
=
"通过id查询"
,
description
=
"通过id查询:hasPermission('demo_tauditinfo_get')"
)
@GetMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('demo_tauditinfo_get')"
)
public
R
<
TAuditInfo
>
getById
(
@PathVariable
(
"id"
)
String
id
)
{
return
R
.
ok
(
tAuditInfoService
.
getById
(
id
));
}
/**
* 新增审核信息表(社保、公积金、预估结算单、社保核准表、公积金核准表 、基数变更 审核记录)
* @param tAuditInfo 审核信息表(社保、公积金、预估结算单、社保核准表、公积金核准表 、基数变更 审核记录)
* @return R
*/
@Operation
(
summary
=
"新增审核信息表(社保、公积金、预估结算单、社保核准表、公积金核准表 、基数变更 审核记录)"
,
description
=
"新增审核信息表(社保、公积金、预估结算单、社保核准表、公积金核准表 、基数变更 审核记录):hasPermission('demo_tauditinfo_add')"
)
@SysLog
(
"新增审核信息表(社保、公积金、预估结算单、社保核准表、公积金核准表 、基数变更 审核记录)"
)
@PostMapping
@PreAuthorize
(
"@pms.hasPermission('demo_tauditinfo_add')"
)
public
R
<
Boolean
>
save
(
@RequestBody
TAuditInfo
tAuditInfo
)
{
return
R
.
ok
(
tAuditInfoService
.
save
(
tAuditInfo
));
}
/**
* 修改审核信息表(社保、公积金、预估结算单、社保核准表、公积金核准表 、基数变更 审核记录)
* @param tAuditInfo 审核信息表(社保、公积金、预估结算单、社保核准表、公积金核准表 、基数变更 审核记录)
* @return R
*/
@Operation
(
summary
=
"修改审核信息表(社保、公积金、预估结算单、社保核准表、公积金核准表 、基数变更 审核记录)"
,
description
=
"修改审核信息表(社保、公积金、预估结算单、社保核准表、公积金核准表 、基数变更 审核记录):hasPermission('demo_tauditinfo_edit')"
)
@SysLog
(
"修改审核信息表(社保、公积金、预估结算单、社保核准表、公积金核准表 、基数变更 审核记录)"
)
@PutMapping
@PreAuthorize
(
"@pms.hasPermission('demo_tauditinfo_edit')"
)
public
R
<
Boolean
>
updateById
(
@RequestBody
TAuditInfo
tAuditInfo
)
{
return
R
.
ok
(
tAuditInfoService
.
updateById
(
tAuditInfo
));
}
/**
* 通过id删除审核信息表(社保、公积金、预估结算单、社保核准表、公积金核准表 、基数变更 审核记录)
* @param id id
* @return R
*/
@Operation
(
summary
=
"通过id删除审核信息表(社保、公积金、预估结算单、社保核准表、公积金核准表 、基数变更 审核记录)"
,
description
=
"通过id删除审核信息表(社保、公积金、预估结算单、社保核准表、公积金核准表 、基数变更 审核记录):hasPermission('demo_tauditinfo_del')"
)
@SysLog
(
"通过id删除审核信息表(社保、公积金、预估结算单、社保核准表、公积金核准表 、基数变更 审核记录)"
)
@DeleteMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('demo_tauditinfo_del')"
)
public
R
<
Boolean
>
removeById
(
@PathVariable
String
id
)
{
return
R
.
ok
(
tAuditInfoService
.
removeById
(
id
));
}
/**
* 审核信息表(社保、公积金、预估结算单、社保核准表、公积金核准表 、基数变更 审核记录) 批量导入
*
* @author fxj
* @date 2022-07-15 11:38:05
**/
@SneakyThrows
@Operation
(
description
=
"批量新增审核信息表(社保、公积金、预估结算单、社保核准表、公积金核准表 、基数变更 审核记录) hasPermission('demo_tauditinfo-batch-import')"
)
@SysLog
(
"批量新增审核信息表(社保、公积金、预估结算单、社保核准表、公积金核准表 、基数变更 审核记录)"
)
@PostMapping
(
"/importListAdd"
)
@PreAuthorize
(
"@pms.hasPermission('demo_tauditinfo-batch-import')"
)
public
R
<
List
<
ErrorMessage
>>
importListAdd
(
@RequestBody
MultipartFile
file
){
return
tAuditInfoService
.
importDiy
(
file
.
getInputStream
());
}
/**
* 审核信息表(社保、公积金、预估结算单、社保核准表、公积金核准表 、基数变更 审核记录) 批量导出
* @author fxj
* @date 2022-07-15 11:38:05
**/
@Operation
(
description
=
"导出审核信息表(社保、公积金、预估结算单、社保核准表、公积金核准表 、基数变更 审核记录) hasPermission('demo_tauditinfo-export')"
)
@PostMapping
(
"/export"
)
@PreAuthorize
(
"@pms.hasPermission('demo_tauditinfo-export')"
)
public
void
export
(
HttpServletResponse
response
,
@RequestBody
TAuditInfoSearchVo
searchVo
)
{
tAuditInfoService
.
listExport
(
response
,
searchVo
);
}
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/controller/TDispatchDayConfController.java
0 → 100644
View file @
1e811799
/*
* 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
.
social
.
controller
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Wrappers
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.common.log.annotation.SysLog
;
import
com.yifu.cloud.plus.v1.yifu.demo.entity.TDispatchDayConf
;
import
com.yifu.cloud.plus.v1.yifu.demo.service.TDispatchDayConfService
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.security.SecurityRequirement
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
lombok.RequiredArgsConstructor
;
import
org.springframework.http.HttpHeaders
;
import
org.springframework.web.bind.annotation.*
;
/**
* 各个地市派单日期
*
* @author fxj
* @date 2022-07-15 11:38:05
*/
@RestController
@RequiredArgsConstructor
@RequestMapping
(
"/tdispatchdayconf"
)
@Tag
(
name
=
"各个地市派单日期管理"
)
@SecurityRequirement
(
name
=
HttpHeaders
.
AUTHORIZATION
)
public
class
TDispatchDayConfController
{
private
final
TDispatchDayConfService
tDispatchDayConfService
;
/**
* 简单分页查询
* @param page 分页对象
* @param tDispatchDayConf 各个地市派单日期
* @return
*/
@ApiOperation
(
value
=
"简单分页查询"
)
@GetMapping
(
"/page"
)
public
R
<
IPage
<
TDispatchDayConf
>>
getTDispatchDayConfPage
(
Page
<
TDispatchDayConf
>
page
,
TDispatchDayConf
tDispatchDayConf
)
{
return
new
R
<>(
tDispatchDayConfService
.
getTDispatchDayConfPage
(
page
,
tDispatchDayConf
));
}
/**
* 不分页查询
* @param tDispatchDayConf 各个地市派单日期
* @return
*/
@Operation
(
summary
=
"不分页查询"
,
description
=
"不分页查询"
)
@PostMapping
(
"/noPage"
)
//@PreAuthorize("@pms.hasPermission('demo_tdispatchdayconf_get')" )
public
R
<
List
<
TDispatchDayConf
>>
getTDispatchDayConfNoPage
(
@RequestBody
TDispatchDayConf
tDispatchDayConf
)
{
return
R
.
ok
(
tDispatchDayConfService
.
list
(
Wrappers
.
query
(
tDispatchDayConf
)));
}
/**
* 通过id查询各个地市派单日期
* @param id id
* @return R
*/
@Operation
(
summary
=
"通过id查询"
,
description
=
"通过id查询:hasPermission('demo_tdispatchdayconf_get')"
)
@GetMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('demo_tdispatchdayconf_get')"
)
public
R
<
TDispatchDayConf
>
getById
(
@PathVariable
(
"id"
)
String
id
)
{
return
R
.
ok
(
tDispatchDayConfService
.
getById
(
id
));
}
/**
* 新增各个地市派单日期
* @param tDispatchDayConf 各个地市派单日期
* @return R
*/
@Operation
(
summary
=
"新增各个地市派单日期"
,
description
=
"新增各个地市派单日期:hasPermission('demo_tdispatchdayconf_add')"
)
@SysLog
(
"新增各个地市派单日期"
)
@PostMapping
@PreAuthorize
(
"@pms.hasPermission('demo_tdispatchdayconf_add')"
)
public
R
<
Boolean
>
save
(
@RequestBody
TDispatchDayConf
tDispatchDayConf
)
{
return
R
.
ok
(
tDispatchDayConfService
.
save
(
tDispatchDayConf
));
}
/**
* 修改各个地市派单日期
* @param tDispatchDayConf 各个地市派单日期
* @return R
*/
@Operation
(
summary
=
"修改各个地市派单日期"
,
description
=
"修改各个地市派单日期:hasPermission('demo_tdispatchdayconf_edit')"
)
@SysLog
(
"修改各个地市派单日期"
)
@PutMapping
@PreAuthorize
(
"@pms.hasPermission('demo_tdispatchdayconf_edit')"
)
public
R
<
Boolean
>
updateById
(
@RequestBody
TDispatchDayConf
tDispatchDayConf
)
{
return
R
.
ok
(
tDispatchDayConfService
.
updateById
(
tDispatchDayConf
));
}
/**
* 通过id删除各个地市派单日期
* @param id id
* @return R
*/
@Operation
(
summary
=
"通过id删除各个地市派单日期"
,
description
=
"通过id删除各个地市派单日期:hasPermission('demo_tdispatchdayconf_del')"
)
@SysLog
(
"通过id删除各个地市派单日期"
)
@DeleteMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('demo_tdispatchdayconf_del')"
)
public
R
<
Boolean
>
removeById
(
@PathVariable
String
id
)
{
return
R
.
ok
(
tDispatchDayConfService
.
removeById
(
id
));
}
/**
* 各个地市派单日期 批量导入
*
* @author fxj
* @date 2022-07-15 11:38:05
**/
@SneakyThrows
@Operation
(
description
=
"批量新增各个地市派单日期 hasPermission('demo_tdispatchdayconf-batch-import')"
)
@SysLog
(
"批量新增各个地市派单日期"
)
@PostMapping
(
"/importListAdd"
)
@PreAuthorize
(
"@pms.hasPermission('demo_tdispatchdayconf-batch-import')"
)
public
R
<
List
<
ErrorMessage
>>
importListAdd
(
@RequestBody
MultipartFile
file
){
return
tDispatchDayConfService
.
importDiy
(
file
.
getInputStream
());
}
/**
* 各个地市派单日期 批量导出
* @author fxj
* @date 2022-07-15 11:38:05
**/
@Operation
(
description
=
"导出各个地市派单日期 hasPermission('demo_tdispatchdayconf-export')"
)
@PostMapping
(
"/export"
)
@PreAuthorize
(
"@pms.hasPermission('demo_tdispatchdayconf-export')"
)
public
void
export
(
HttpServletResponse
response
,
@RequestBody
TDispatchDayConfSearchVo
searchVo
)
{
tDispatchDayConfService
.
listExport
(
response
,
searchVo
);
}
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/controller/TDispatchInfoController.java
0 → 100644
View file @
1e811799
/*
* 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
.
social
.
controller
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Wrappers
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.common.log.annotation.SysLog
;
import
com.yifu.cloud.plus.v1.yifu.demo.entity.TDispatchInfo
;
import
com.yifu.cloud.plus.v1.yifu.demo.service.TDispatchInfoService
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.security.SecurityRequirement
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
lombok.RequiredArgsConstructor
;
import
org.springframework.http.HttpHeaders
;
import
org.springframework.web.bind.annotation.*
;
/**
* 派单信息记录表
*
* @author fxj
* @date 2022-07-15 11:38:05
*/
@RestController
@RequiredArgsConstructor
@RequestMapping
(
"/tdispatchinfo"
)
@Tag
(
name
=
"派单信息记录表管理"
)
@SecurityRequirement
(
name
=
HttpHeaders
.
AUTHORIZATION
)
public
class
TDispatchInfoController
{
private
final
TDispatchInfoService
tDispatchInfoService
;
/**
* 简单分页查询
* @param page 分页对象
* @param tDispatchInfo 派单信息记录表
* @return
*/
@ApiOperation
(
value
=
"简单分页查询"
)
@GetMapping
(
"/page"
)
public
R
<
IPage
<
TDispatchInfo
>>
getTDispatchInfoPage
(
Page
<
TDispatchInfo
>
page
,
TDispatchInfo
tDispatchInfo
)
{
return
new
R
<>(
tDispatchInfoService
.
getTDispatchInfoPage
(
page
,
tDispatchInfo
));
}
/**
* 不分页查询
* @param tDispatchInfo 派单信息记录表
* @return
*/
@Operation
(
summary
=
"不分页查询"
,
description
=
"不分页查询"
)
@PostMapping
(
"/noPage"
)
//@PreAuthorize("@pms.hasPermission('demo_tdispatchinfo_get')" )
public
R
<
List
<
TDispatchInfo
>>
getTDispatchInfoNoPage
(
@RequestBody
TDispatchInfo
tDispatchInfo
)
{
return
R
.
ok
(
tDispatchInfoService
.
list
(
Wrappers
.
query
(
tDispatchInfo
)));
}
/**
* 通过id查询派单信息记录表
* @param id id
* @return R
*/
@Operation
(
summary
=
"通过id查询"
,
description
=
"通过id查询:hasPermission('demo_tdispatchinfo_get')"
)
@GetMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('demo_tdispatchinfo_get')"
)
public
R
<
TDispatchInfo
>
getById
(
@PathVariable
(
"id"
)
String
id
)
{
return
R
.
ok
(
tDispatchInfoService
.
getById
(
id
));
}
/**
* 新增派单信息记录表
* @param tDispatchInfo 派单信息记录表
* @return R
*/
@Operation
(
summary
=
"新增派单信息记录表"
,
description
=
"新增派单信息记录表:hasPermission('demo_tdispatchinfo_add')"
)
@SysLog
(
"新增派单信息记录表"
)
@PostMapping
@PreAuthorize
(
"@pms.hasPermission('demo_tdispatchinfo_add')"
)
public
R
<
Boolean
>
save
(
@RequestBody
TDispatchInfo
tDispatchInfo
)
{
return
R
.
ok
(
tDispatchInfoService
.
save
(
tDispatchInfo
));
}
/**
* 修改派单信息记录表
* @param tDispatchInfo 派单信息记录表
* @return R
*/
@Operation
(
summary
=
"修改派单信息记录表"
,
description
=
"修改派单信息记录表:hasPermission('demo_tdispatchinfo_edit')"
)
@SysLog
(
"修改派单信息记录表"
)
@PutMapping
@PreAuthorize
(
"@pms.hasPermission('demo_tdispatchinfo_edit')"
)
public
R
<
Boolean
>
updateById
(
@RequestBody
TDispatchInfo
tDispatchInfo
)
{
return
R
.
ok
(
tDispatchInfoService
.
updateById
(
tDispatchInfo
));
}
/**
* 通过id删除派单信息记录表
* @param id id
* @return R
*/
@Operation
(
summary
=
"通过id删除派单信息记录表"
,
description
=
"通过id删除派单信息记录表:hasPermission('demo_tdispatchinfo_del')"
)
@SysLog
(
"通过id删除派单信息记录表"
)
@DeleteMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('demo_tdispatchinfo_del')"
)
public
R
<
Boolean
>
removeById
(
@PathVariable
String
id
)
{
return
R
.
ok
(
tDispatchInfoService
.
removeById
(
id
));
}
/**
* 派单信息记录表 批量导入
*
* @author fxj
* @date 2022-07-15 11:38:05
**/
@SneakyThrows
@Operation
(
description
=
"批量新增派单信息记录表 hasPermission('demo_tdispatchinfo-batch-import')"
)
@SysLog
(
"批量新增派单信息记录表"
)
@PostMapping
(
"/importListAdd"
)
@PreAuthorize
(
"@pms.hasPermission('demo_tdispatchinfo-batch-import')"
)
public
R
<
List
<
ErrorMessage
>>
importListAdd
(
@RequestBody
MultipartFile
file
){
return
tDispatchInfoService
.
importDiy
(
file
.
getInputStream
());
}
/**
* 派单信息记录表 批量导出
* @author fxj
* @date 2022-07-15 11:38:05
**/
@Operation
(
description
=
"导出派单信息记录表 hasPermission('demo_tdispatchinfo-export')"
)
@PostMapping
(
"/export"
)
@PreAuthorize
(
"@pms.hasPermission('demo_tdispatchinfo-export')"
)
public
void
export
(
HttpServletResponse
response
,
@RequestBody
TDispatchInfoSearchVo
searchVo
)
{
tDispatchInfoService
.
listExport
(
response
,
searchVo
);
}
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/controller/TProvidentFundController.java
0 → 100644
View file @
1e811799
/*
* 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
.
social
.
controller
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Wrappers
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.common.log.annotation.SysLog
;
import
com.yifu.cloud.plus.v1.yifu.demo.entity.TProvidentFund
;
import
com.yifu.cloud.plus.v1.yifu.demo.service.TProvidentFundService
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.security.SecurityRequirement
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
lombok.RequiredArgsConstructor
;
import
org.springframework.http.HttpHeaders
;
import
org.springframework.web.bind.annotation.*
;
/**
* 公积金信息
*
* @author fxj
* @date 2022-07-15 11:38:05
*/
@RestController
@RequiredArgsConstructor
@RequestMapping
(
"/tprovidentfund"
)
@Tag
(
name
=
"公积金信息管理"
)
@SecurityRequirement
(
name
=
HttpHeaders
.
AUTHORIZATION
)
public
class
TProvidentFundController
{
private
final
TProvidentFundService
tProvidentFundService
;
/**
* 简单分页查询
* @param page 分页对象
* @param tProvidentFund 公积金信息
* @return
*/
@ApiOperation
(
value
=
"简单分页查询"
)
@GetMapping
(
"/page"
)
public
R
<
IPage
<
TProvidentFund
>>
getTProvidentFundPage
(
Page
<
TProvidentFund
>
page
,
TProvidentFund
tProvidentFund
)
{
return
new
R
<>(
tProvidentFundService
.
getTProvidentFundPage
(
page
,
tProvidentFund
));
}
/**
* 不分页查询
* @param tProvidentFund 公积金信息
* @return
*/
@Operation
(
summary
=
"不分页查询"
,
description
=
"不分页查询"
)
@PostMapping
(
"/noPage"
)
//@PreAuthorize("@pms.hasPermission('demo_tprovidentfund_get')" )
public
R
<
List
<
TProvidentFund
>>
getTProvidentFundNoPage
(
@RequestBody
TProvidentFund
tProvidentFund
)
{
return
R
.
ok
(
tProvidentFundService
.
list
(
Wrappers
.
query
(
tProvidentFund
)));
}
/**
* 通过id查询公积金信息
* @param id id
* @return R
*/
@Operation
(
summary
=
"通过id查询"
,
description
=
"通过id查询:hasPermission('demo_tprovidentfund_get')"
)
@GetMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('demo_tprovidentfund_get')"
)
public
R
<
TProvidentFund
>
getById
(
@PathVariable
(
"id"
)
String
id
)
{
return
R
.
ok
(
tProvidentFundService
.
getById
(
id
));
}
/**
* 新增公积金信息
* @param tProvidentFund 公积金信息
* @return R
*/
@Operation
(
summary
=
"新增公积金信息"
,
description
=
"新增公积金信息:hasPermission('demo_tprovidentfund_add')"
)
@SysLog
(
"新增公积金信息"
)
@PostMapping
@PreAuthorize
(
"@pms.hasPermission('demo_tprovidentfund_add')"
)
public
R
<
Boolean
>
save
(
@RequestBody
TProvidentFund
tProvidentFund
)
{
return
R
.
ok
(
tProvidentFundService
.
save
(
tProvidentFund
));
}
/**
* 修改公积金信息
* @param tProvidentFund 公积金信息
* @return R
*/
@Operation
(
summary
=
"修改公积金信息"
,
description
=
"修改公积金信息:hasPermission('demo_tprovidentfund_edit')"
)
@SysLog
(
"修改公积金信息"
)
@PutMapping
@PreAuthorize
(
"@pms.hasPermission('demo_tprovidentfund_edit')"
)
public
R
<
Boolean
>
updateById
(
@RequestBody
TProvidentFund
tProvidentFund
)
{
return
R
.
ok
(
tProvidentFundService
.
updateById
(
tProvidentFund
));
}
/**
* 通过id删除公积金信息
* @param id id
* @return R
*/
@Operation
(
summary
=
"通过id删除公积金信息"
,
description
=
"通过id删除公积金信息:hasPermission('demo_tprovidentfund_del')"
)
@SysLog
(
"通过id删除公积金信息"
)
@DeleteMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('demo_tprovidentfund_del')"
)
public
R
<
Boolean
>
removeById
(
@PathVariable
String
id
)
{
return
R
.
ok
(
tProvidentFundService
.
removeById
(
id
));
}
/**
* 公积金信息 批量导入
*
* @author fxj
* @date 2022-07-15 11:38:05
**/
@SneakyThrows
@Operation
(
description
=
"批量新增公积金信息 hasPermission('demo_tprovidentfund-batch-import')"
)
@SysLog
(
"批量新增公积金信息"
)
@PostMapping
(
"/importListAdd"
)
@PreAuthorize
(
"@pms.hasPermission('demo_tprovidentfund-batch-import')"
)
public
R
<
List
<
ErrorMessage
>>
importListAdd
(
@RequestBody
MultipartFile
file
){
return
tProvidentFundService
.
importDiy
(
file
.
getInputStream
());
}
/**
* 公积金信息 批量导出
* @author fxj
* @date 2022-07-15 11:38:05
**/
@Operation
(
description
=
"导出公积金信息 hasPermission('demo_tprovidentfund-export')"
)
@PostMapping
(
"/export"
)
@PreAuthorize
(
"@pms.hasPermission('demo_tprovidentfund-export')"
)
public
void
export
(
HttpServletResponse
response
,
@RequestBody
TProvidentFundSearchVo
searchVo
)
{
tProvidentFundService
.
listExport
(
response
,
searchVo
);
}
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/controller/TSocialFundHistoryController.java
0 → 100644
View file @
1e811799
/*
* 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
.
social
.
controller
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Wrappers
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.common.log.annotation.SysLog
;
import
com.yifu.cloud.plus.v1.yifu.demo.entity.TSocialFundHistory
;
import
com.yifu.cloud.plus.v1.yifu.demo.service.TSocialFundHistoryService
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.security.SecurityRequirement
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
lombok.RequiredArgsConstructor
;
import
org.springframework.http.HttpHeaders
;
import
org.springframework.web.bind.annotation.*
;
/**
* 社保公积金调基历史记录表
*
* @author fxj
* @date 2022-07-15 11:38:05
*/
@RestController
@RequiredArgsConstructor
@RequestMapping
(
"/tsocialfundhistory"
)
@Tag
(
name
=
"社保公积金调基历史记录表管理"
)
@SecurityRequirement
(
name
=
HttpHeaders
.
AUTHORIZATION
)
public
class
TSocialFundHistoryController
{
private
final
TSocialFundHistoryService
tSocialFundHistoryService
;
/**
* 简单分页查询
* @param page 分页对象
* @param tSocialFundHistory 社保公积金调基历史记录表
* @return
*/
@ApiOperation
(
value
=
"简单分页查询"
)
@GetMapping
(
"/page"
)
public
R
<
IPage
<
TSocialFundHistory
>>
getTSocialFundHistoryPage
(
Page
<
TSocialFundHistory
>
page
,
TSocialFundHistory
tSocialFundHistory
)
{
return
new
R
<>(
tSocialFundHistoryService
.
getTSocialFundHistoryPage
(
page
,
tSocialFundHistory
));
}
/**
* 不分页查询
* @param tSocialFundHistory 社保公积金调基历史记录表
* @return
*/
@Operation
(
summary
=
"不分页查询"
,
description
=
"不分页查询"
)
@PostMapping
(
"/noPage"
)
//@PreAuthorize("@pms.hasPermission('demo_tsocialfundhistory_get')" )
public
R
<
List
<
TSocialFundHistory
>>
getTSocialFundHistoryNoPage
(
@RequestBody
TSocialFundHistory
tSocialFundHistory
)
{
return
R
.
ok
(
tSocialFundHistoryService
.
list
(
Wrappers
.
query
(
tSocialFundHistory
)));
}
/**
* 通过id查询社保公积金调基历史记录表
* @param id id
* @return R
*/
@Operation
(
summary
=
"通过id查询"
,
description
=
"通过id查询:hasPermission('demo_tsocialfundhistory_get')"
)
@GetMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('demo_tsocialfundhistory_get')"
)
public
R
<
TSocialFundHistory
>
getById
(
@PathVariable
(
"id"
)
String
id
)
{
return
R
.
ok
(
tSocialFundHistoryService
.
getById
(
id
));
}
/**
* 新增社保公积金调基历史记录表
* @param tSocialFundHistory 社保公积金调基历史记录表
* @return R
*/
@Operation
(
summary
=
"新增社保公积金调基历史记录表"
,
description
=
"新增社保公积金调基历史记录表:hasPermission('demo_tsocialfundhistory_add')"
)
@SysLog
(
"新增社保公积金调基历史记录表"
)
@PostMapping
@PreAuthorize
(
"@pms.hasPermission('demo_tsocialfundhistory_add')"
)
public
R
<
Boolean
>
save
(
@RequestBody
TSocialFundHistory
tSocialFundHistory
)
{
return
R
.
ok
(
tSocialFundHistoryService
.
save
(
tSocialFundHistory
));
}
/**
* 修改社保公积金调基历史记录表
* @param tSocialFundHistory 社保公积金调基历史记录表
* @return R
*/
@Operation
(
summary
=
"修改社保公积金调基历史记录表"
,
description
=
"修改社保公积金调基历史记录表:hasPermission('demo_tsocialfundhistory_edit')"
)
@SysLog
(
"修改社保公积金调基历史记录表"
)
@PutMapping
@PreAuthorize
(
"@pms.hasPermission('demo_tsocialfundhistory_edit')"
)
public
R
<
Boolean
>
updateById
(
@RequestBody
TSocialFundHistory
tSocialFundHistory
)
{
return
R
.
ok
(
tSocialFundHistoryService
.
updateById
(
tSocialFundHistory
));
}
/**
* 通过id删除社保公积金调基历史记录表
* @param id id
* @return R
*/
@Operation
(
summary
=
"通过id删除社保公积金调基历史记录表"
,
description
=
"通过id删除社保公积金调基历史记录表:hasPermission('demo_tsocialfundhistory_del')"
)
@SysLog
(
"通过id删除社保公积金调基历史记录表"
)
@DeleteMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('demo_tsocialfundhistory_del')"
)
public
R
<
Boolean
>
removeById
(
@PathVariable
String
id
)
{
return
R
.
ok
(
tSocialFundHistoryService
.
removeById
(
id
));
}
/**
* 社保公积金调基历史记录表 批量导入
*
* @author fxj
* @date 2022-07-15 11:38:05
**/
@SneakyThrows
@Operation
(
description
=
"批量新增社保公积金调基历史记录表 hasPermission('demo_tsocialfundhistory-batch-import')"
)
@SysLog
(
"批量新增社保公积金调基历史记录表"
)
@PostMapping
(
"/importListAdd"
)
@PreAuthorize
(
"@pms.hasPermission('demo_tsocialfundhistory-batch-import')"
)
public
R
<
List
<
ErrorMessage
>>
importListAdd
(
@RequestBody
MultipartFile
file
){
return
tSocialFundHistoryService
.
importDiy
(
file
.
getInputStream
());
}
/**
* 社保公积金调基历史记录表 批量导出
* @author fxj
* @date 2022-07-15 11:38:05
**/
@Operation
(
description
=
"导出社保公积金调基历史记录表 hasPermission('demo_tsocialfundhistory-export')"
)
@PostMapping
(
"/export"
)
@PreAuthorize
(
"@pms.hasPermission('demo_tsocialfundhistory-export')"
)
public
void
export
(
HttpServletResponse
response
,
@RequestBody
TSocialFundHistorySearchVo
searchVo
)
{
tSocialFundHistoryService
.
listExport
(
response
,
searchVo
);
}
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/controller/TSocialFundInfoController.java
0 → 100644
View file @
1e811799
/*
* 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
.
social
.
controller
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Wrappers
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.common.log.annotation.SysLog
;
import
com.yifu.cloud.plus.v1.yifu.demo.entity.TSocialFundInfo
;
import
com.yifu.cloud.plus.v1.yifu.demo.service.TSocialFundInfoService
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.security.SecurityRequirement
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
lombok.RequiredArgsConstructor
;
import
org.springframework.http.HttpHeaders
;
import
org.springframework.web.bind.annotation.*
;
/**
* 社保公积金查询表
*
* @author fxj
* @date 2022-07-15 11:38:05
*/
@RestController
@RequiredArgsConstructor
@RequestMapping
(
"/tsocialfundinfo"
)
@Tag
(
name
=
"社保公积金查询表管理"
)
@SecurityRequirement
(
name
=
HttpHeaders
.
AUTHORIZATION
)
public
class
TSocialFundInfoController
{
private
final
TSocialFundInfoService
tSocialFundInfoService
;
/**
* 简单分页查询
* @param page 分页对象
* @param tSocialFundInfo 社保公积金查询表
* @return
*/
@ApiOperation
(
value
=
"简单分页查询"
)
@GetMapping
(
"/page"
)
public
R
<
IPage
<
TSocialFundInfo
>>
getTSocialFundInfoPage
(
Page
<
TSocialFundInfo
>
page
,
TSocialFundInfo
tSocialFundInfo
)
{
return
new
R
<>(
tSocialFundInfoService
.
getTSocialFundInfoPage
(
page
,
tSocialFundInfo
));
}
/**
* 不分页查询
* @param tSocialFundInfo 社保公积金查询表
* @return
*/
@Operation
(
summary
=
"不分页查询"
,
description
=
"不分页查询"
)
@PostMapping
(
"/noPage"
)
//@PreAuthorize("@pms.hasPermission('demo_tsocialfundinfo_get')" )
public
R
<
List
<
TSocialFundInfo
>>
getTSocialFundInfoNoPage
(
@RequestBody
TSocialFundInfo
tSocialFundInfo
)
{
return
R
.
ok
(
tSocialFundInfoService
.
list
(
Wrappers
.
query
(
tSocialFundInfo
)));
}
/**
* 通过id查询社保公积金查询表
* @param id id
* @return R
*/
@Operation
(
summary
=
"通过id查询"
,
description
=
"通过id查询:hasPermission('demo_tsocialfundinfo_get')"
)
@GetMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('demo_tsocialfundinfo_get')"
)
public
R
<
TSocialFundInfo
>
getById
(
@PathVariable
(
"id"
)
String
id
)
{
return
R
.
ok
(
tSocialFundInfoService
.
getById
(
id
));
}
/**
* 新增社保公积金查询表
* @param tSocialFundInfo 社保公积金查询表
* @return R
*/
@Operation
(
summary
=
"新增社保公积金查询表"
,
description
=
"新增社保公积金查询表:hasPermission('demo_tsocialfundinfo_add')"
)
@SysLog
(
"新增社保公积金查询表"
)
@PostMapping
@PreAuthorize
(
"@pms.hasPermission('demo_tsocialfundinfo_add')"
)
public
R
<
Boolean
>
save
(
@RequestBody
TSocialFundInfo
tSocialFundInfo
)
{
return
R
.
ok
(
tSocialFundInfoService
.
save
(
tSocialFundInfo
));
}
/**
* 修改社保公积金查询表
* @param tSocialFundInfo 社保公积金查询表
* @return R
*/
@Operation
(
summary
=
"修改社保公积金查询表"
,
description
=
"修改社保公积金查询表:hasPermission('demo_tsocialfundinfo_edit')"
)
@SysLog
(
"修改社保公积金查询表"
)
@PutMapping
@PreAuthorize
(
"@pms.hasPermission('demo_tsocialfundinfo_edit')"
)
public
R
<
Boolean
>
updateById
(
@RequestBody
TSocialFundInfo
tSocialFundInfo
)
{
return
R
.
ok
(
tSocialFundInfoService
.
updateById
(
tSocialFundInfo
));
}
/**
* 通过id删除社保公积金查询表
* @param id id
* @return R
*/
@Operation
(
summary
=
"通过id删除社保公积金查询表"
,
description
=
"通过id删除社保公积金查询表:hasPermission('demo_tsocialfundinfo_del')"
)
@SysLog
(
"通过id删除社保公积金查询表"
)
@DeleteMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('demo_tsocialfundinfo_del')"
)
public
R
<
Boolean
>
removeById
(
@PathVariable
String
id
)
{
return
R
.
ok
(
tSocialFundInfoService
.
removeById
(
id
));
}
/**
* 社保公积金查询表 批量导入
*
* @author fxj
* @date 2022-07-15 11:38:05
**/
@SneakyThrows
@Operation
(
description
=
"批量新增社保公积金查询表 hasPermission('demo_tsocialfundinfo-batch-import')"
)
@SysLog
(
"批量新增社保公积金查询表"
)
@PostMapping
(
"/importListAdd"
)
@PreAuthorize
(
"@pms.hasPermission('demo_tsocialfundinfo-batch-import')"
)
public
R
<
List
<
ErrorMessage
>>
importListAdd
(
@RequestBody
MultipartFile
file
){
return
tSocialFundInfoService
.
importDiy
(
file
.
getInputStream
());
}
/**
* 社保公积金查询表 批量导出
* @author fxj
* @date 2022-07-15 11:38:05
**/
@Operation
(
description
=
"导出社保公积金查询表 hasPermission('demo_tsocialfundinfo-export')"
)
@PostMapping
(
"/export"
)
@PreAuthorize
(
"@pms.hasPermission('demo_tsocialfundinfo-export')"
)
public
void
export
(
HttpServletResponse
response
,
@RequestBody
TSocialFundInfoSearchVo
searchVo
)
{
tSocialFundInfoService
.
listExport
(
response
,
searchVo
);
}
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/controller/TSocialInfoController.java
0 → 100644
View file @
1e811799
/*
* 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
.
social
.
controller
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.core.toolkit.Wrappers
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.common.log.annotation.SysLog
;
import
com.yifu.cloud.plus.v1.yifu.demo.entity.TSocialInfo
;
import
com.yifu.cloud.plus.v1.yifu.demo.service.TSocialInfoService
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
io.swagger.v3.oas.annotations.Operation
;
import
io.swagger.v3.oas.annotations.security.SecurityRequirement
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
lombok.RequiredArgsConstructor
;
import
org.springframework.http.HttpHeaders
;
import
org.springframework.web.bind.annotation.*
;
/**
* 社保明细表
*
* @author fxj
* @date 2022-07-15 11:38:05
*/
@RestController
@RequiredArgsConstructor
@RequestMapping
(
"/tsocialinfo"
)
@Tag
(
name
=
"社保明细表管理"
)
@SecurityRequirement
(
name
=
HttpHeaders
.
AUTHORIZATION
)
public
class
TSocialInfoController
{
private
final
TSocialInfoService
tSocialInfoService
;
/**
* 简单分页查询
* @param page 分页对象
* @param tSocialInfo 社保明细表
* @return
*/
@ApiOperation
(
value
=
"简单分页查询"
)
@GetMapping
(
"/page"
)
public
R
<
IPage
<
TSocialInfo
>>
getTSocialInfoPage
(
Page
<
TSocialInfo
>
page
,
TSocialInfo
tSocialInfo
)
{
return
new
R
<>(
tSocialInfoService
.
getTSocialInfoPage
(
page
,
tSocialInfo
));
}
/**
* 不分页查询
* @param tSocialInfo 社保明细表
* @return
*/
@Operation
(
summary
=
"不分页查询"
,
description
=
"不分页查询"
)
@PostMapping
(
"/noPage"
)
//@PreAuthorize("@pms.hasPermission('demo_tsocialinfo_get')" )
public
R
<
List
<
TSocialInfo
>>
getTSocialInfoNoPage
(
@RequestBody
TSocialInfo
tSocialInfo
)
{
return
R
.
ok
(
tSocialInfoService
.
list
(
Wrappers
.
query
(
tSocialInfo
)));
}
/**
* 通过id查询社保明细表
* @param id id
* @return R
*/
@Operation
(
summary
=
"通过id查询"
,
description
=
"通过id查询:hasPermission('demo_tsocialinfo_get')"
)
@GetMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('demo_tsocialinfo_get')"
)
public
R
<
TSocialInfo
>
getById
(
@PathVariable
(
"id"
)
String
id
)
{
return
R
.
ok
(
tSocialInfoService
.
getById
(
id
));
}
/**
* 新增社保明细表
* @param tSocialInfo 社保明细表
* @return R
*/
@Operation
(
summary
=
"新增社保明细表"
,
description
=
"新增社保明细表:hasPermission('demo_tsocialinfo_add')"
)
@SysLog
(
"新增社保明细表"
)
@PostMapping
@PreAuthorize
(
"@pms.hasPermission('demo_tsocialinfo_add')"
)
public
R
<
Boolean
>
save
(
@RequestBody
TSocialInfo
tSocialInfo
)
{
return
R
.
ok
(
tSocialInfoService
.
save
(
tSocialInfo
));
}
/**
* 修改社保明细表
* @param tSocialInfo 社保明细表
* @return R
*/
@Operation
(
summary
=
"修改社保明细表"
,
description
=
"修改社保明细表:hasPermission('demo_tsocialinfo_edit')"
)
@SysLog
(
"修改社保明细表"
)
@PutMapping
@PreAuthorize
(
"@pms.hasPermission('demo_tsocialinfo_edit')"
)
public
R
<
Boolean
>
updateById
(
@RequestBody
TSocialInfo
tSocialInfo
)
{
return
R
.
ok
(
tSocialInfoService
.
updateById
(
tSocialInfo
));
}
/**
* 通过id删除社保明细表
* @param id id
* @return R
*/
@Operation
(
summary
=
"通过id删除社保明细表"
,
description
=
"通过id删除社保明细表:hasPermission('demo_tsocialinfo_del')"
)
@SysLog
(
"通过id删除社保明细表"
)
@DeleteMapping
(
"/{id}"
)
@PreAuthorize
(
"@pms.hasPermission('demo_tsocialinfo_del')"
)
public
R
<
Boolean
>
removeById
(
@PathVariable
String
id
)
{
return
R
.
ok
(
tSocialInfoService
.
removeById
(
id
));
}
/**
* 社保明细表 批量导入
*
* @author fxj
* @date 2022-07-15 11:38:05
**/
@SneakyThrows
@Operation
(
description
=
"批量新增社保明细表 hasPermission('demo_tsocialinfo-batch-import')"
)
@SysLog
(
"批量新增社保明细表"
)
@PostMapping
(
"/importListAdd"
)
@PreAuthorize
(
"@pms.hasPermission('demo_tsocialinfo-batch-import')"
)
public
R
<
List
<
ErrorMessage
>>
importListAdd
(
@RequestBody
MultipartFile
file
){
return
tSocialInfoService
.
importDiy
(
file
.
getInputStream
());
}
/**
* 社保明细表 批量导出
* @author fxj
* @date 2022-07-15 11:38:05
**/
@Operation
(
description
=
"导出社保明细表 hasPermission('demo_tsocialinfo-export')"
)
@PostMapping
(
"/export"
)
@PreAuthorize
(
"@pms.hasPermission('demo_tsocialinfo-export')"
)
public
void
export
(
HttpServletResponse
response
,
@RequestBody
TSocialInfoSearchVo
searchVo
)
{
tSocialInfoService
.
listExport
(
response
,
searchVo
);
}
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/mapper/TAuditInfoMapper.java
0 → 100644
View file @
1e811799
/*
* 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
.
social
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.yifu.cloud.plus.v1.yifu.demo.entity.TAuditInfo
;
import
org.apache.ibatis.annotations.Mapper
;
/**
* 审核信息表(社保、公积金、预估结算单、社保核准表、公积金核准表 、基数变更 审核记录)
*
* @author fxj
* @date 2022-07-15 11:38:05
*/
@Mapper
public
interface
TAuditInfoMapper
extends
BaseMapper
<
TAuditInfo
>
{
/**
* 审核信息表(社保、公积金、预估结算单、社保核准表、公积金核准表 、基数变更 审核记录)简单分页查询
* @param tAuditInfo 审核信息表(社保、公积金、预估结算单、社保核准表、公积金核准表 、基数变更 审核记录)
* @return
*/
IPage
<
TAuditInfo
>
getTAuditInfoPage
(
Page
<
TAuditInfo
>
page
,
@Param
(
"tAuditInfo"
)
TAuditInfo
tAuditInfo
);
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/mapper/TDispatchDayConfMapper.java
0 → 100644
View file @
1e811799
/*
* 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
.
social
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.yifu.cloud.plus.v1.yifu.demo.entity.TDispatchDayConf
;
import
org.apache.ibatis.annotations.Mapper
;
/**
* 各个地市派单日期
*
* @author fxj
* @date 2022-07-15 11:38:05
*/
@Mapper
public
interface
TDispatchDayConfMapper
extends
BaseMapper
<
TDispatchDayConf
>
{
/**
* 各个地市派单日期简单分页查询
* @param tDispatchDayConf 各个地市派单日期
* @return
*/
IPage
<
TDispatchDayConf
>
getTDispatchDayConfPage
(
Page
<
TDispatchDayConf
>
page
,
@Param
(
"tDispatchDayConf"
)
TDispatchDayConf
tDispatchDayConf
);
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/mapper/TDispatchInfoMapper.java
0 → 100644
View file @
1e811799
/*
* 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
.
social
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.yifu.cloud.plus.v1.yifu.demo.entity.TDispatchInfo
;
import
org.apache.ibatis.annotations.Mapper
;
/**
* 派单信息记录表
*
* @author fxj
* @date 2022-07-15 11:38:05
*/
@Mapper
public
interface
TDispatchInfoMapper
extends
BaseMapper
<
TDispatchInfo
>
{
/**
* 派单信息记录表简单分页查询
* @param tDispatchInfo 派单信息记录表
* @return
*/
IPage
<
TDispatchInfo
>
getTDispatchInfoPage
(
Page
<
TDispatchInfo
>
page
,
@Param
(
"tDispatchInfo"
)
TDispatchInfo
tDispatchInfo
);
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/mapper/TProvidentFundMapper.java
0 → 100644
View file @
1e811799
/*
* 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
.
social
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.yifu.cloud.plus.v1.yifu.demo.entity.TProvidentFund
;
import
org.apache.ibatis.annotations.Mapper
;
/**
* 公积金信息
*
* @author fxj
* @date 2022-07-15 11:38:05
*/
@Mapper
public
interface
TProvidentFundMapper
extends
BaseMapper
<
TProvidentFund
>
{
/**
* 公积金信息简单分页查询
* @param tProvidentFund 公积金信息
* @return
*/
IPage
<
TProvidentFund
>
getTProvidentFundPage
(
Page
<
TProvidentFund
>
page
,
@Param
(
"tProvidentFund"
)
TProvidentFund
tProvidentFund
);
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/mapper/TSocialFundHistoryMapper.java
0 → 100644
View file @
1e811799
/*
* 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
.
social
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.yifu.cloud.plus.v1.yifu.demo.entity.TSocialFundHistory
;
import
org.apache.ibatis.annotations.Mapper
;
/**
* 社保公积金调基历史记录表
*
* @author fxj
* @date 2022-07-15 11:38:05
*/
@Mapper
public
interface
TSocialFundHistoryMapper
extends
BaseMapper
<
TSocialFundHistory
>
{
/**
* 社保公积金调基历史记录表简单分页查询
* @param tSocialFundHistory 社保公积金调基历史记录表
* @return
*/
IPage
<
TSocialFundHistory
>
getTSocialFundHistoryPage
(
Page
<
TSocialFundHistory
>
page
,
@Param
(
"tSocialFundHistory"
)
TSocialFundHistory
tSocialFundHistory
);
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/mapper/TSocialFundInfoMapper.java
0 → 100644
View file @
1e811799
/*
* 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
.
social
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.yifu.cloud.plus.v1.yifu.demo.entity.TSocialFundInfo
;
import
org.apache.ibatis.annotations.Mapper
;
/**
* 社保公积金查询表
*
* @author fxj
* @date 2022-07-15 11:38:05
*/
@Mapper
public
interface
TSocialFundInfoMapper
extends
BaseMapper
<
TSocialFundInfo
>
{
/**
* 社保公积金查询表简单分页查询
* @param tSocialFundInfo 社保公积金查询表
* @return
*/
IPage
<
TSocialFundInfo
>
getTSocialFundInfoPage
(
Page
<
TSocialFundInfo
>
page
,
@Param
(
"tSocialFundInfo"
)
TSocialFundInfo
tSocialFundInfo
);
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/mapper/TSocialInfoMapper.java
0 → 100644
View file @
1e811799
/*
* 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
.
social
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.yifu.cloud.plus.v1.yifu.demo.entity.TSocialInfo
;
import
org.apache.ibatis.annotations.Mapper
;
/**
* 社保明细表
*
* @author fxj
* @date 2022-07-15 11:38:05
*/
@Mapper
public
interface
TSocialInfoMapper
extends
BaseMapper
<
TSocialInfo
>
{
/**
* 社保明细表简单分页查询
* @param tSocialInfo 社保明细表
* @return
*/
IPage
<
TSocialInfo
>
getTSocialInfoPage
(
Page
<
TSocialInfo
>
page
,
@Param
(
"tSocialInfo"
)
TSocialInfo
tSocialInfo
);
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/TAuditInfoService.java
0 → 100644
View file @
1e811799
/*
* 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
.
social
.
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.pig4cloud.plugin.excel.vo.ErrorMessage
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.social.entity.TAuditInfo
;
import
com.yifu.cloud.plus.v1.yifu.social.vo.TAuditInfoSearchVo
;
import
javax.servlet.http.HttpServletResponse
;
import
java.io.InputStream
;
import
java.util.List
;
/**
* 审核信息表(社保、公积金、预估结算单、社保核准表、公积金核准表 、基数变更 审核记录)
*
* @author fxj
* @date 2022-07-15 11:38:05
*/
public
interface
TAuditInfoService
extends
IService
<
TAuditInfo
>
{
/**
* 审核信息表(社保、公积金、预估结算单、社保核准表、公积金核准表 、基数变更 审核记录)简单分页查询
* @param tAuditInfo 审核信息表(社保、公积金、预估结算单、社保核准表、公积金核准表 、基数变更 审核记录)
* @return
*/
IPage
<
TAuditInfo
>
getTAuditInfoPage
(
Page
<
TAuditInfo
>
page
,
TAuditInfo
tAuditInfo
);
R
<
List
<
ErrorMessage
>>
importDiy
(
InputStream
inputStream
);
void
listExport
(
HttpServletResponse
response
,
TAuditInfoSearchVo
searchVo
);
List
<
TAuditInfo
>
noPageDiy
(
TAuditInfoSearchVo
searchVo
);
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/TDispatchDayConfService.java
0 → 100644
View file @
1e811799
/*
* 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
.
social
.
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.pig4cloud.plugin.excel.vo.ErrorMessage
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.social.entity.TDispatchDayConf
;
import
com.yifu.cloud.plus.v1.yifu.social.vo.TDispatchDayConfSearchVo
;
import
javax.servlet.http.HttpServletResponse
;
import
java.io.InputStream
;
import
java.util.List
;
/**
* 各个地市派单日期
*
* @author fxj
* @date 2022-07-15 11:38:05
*/
public
interface
TDispatchDayConfService
extends
IService
<
TDispatchDayConf
>
{
/**
* 各个地市派单日期简单分页查询
* @param tDispatchDayConf 各个地市派单日期
* @return
*/
IPage
<
TDispatchDayConf
>
getTDispatchDayConfPage
(
Page
<
TDispatchDayConf
>
page
,
TDispatchDayConf
tDispatchDayConf
);
R
<
List
<
ErrorMessage
>>
importDiy
(
InputStream
inputStream
);
void
listExport
(
HttpServletResponse
response
,
TDispatchDayConfSearchVo
searchVo
);
List
<
TDispatchDayConf
>
noPageDiy
(
TDispatchDayConfSearchVo
searchVo
);
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/TDispatchInfoService.java
0 → 100644
View file @
1e811799
/*
* 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
.
social
.
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.pig4cloud.plugin.excel.vo.ErrorMessage
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.social.entity.TDispatchInfo
;
import
com.yifu.cloud.plus.v1.yifu.social.vo.TDispatchInfoSearchVo
;
import
javax.servlet.http.HttpServletResponse
;
import
java.io.InputStream
;
import
java.util.List
;
/**
* 派单信息记录表
*
* @author fxj
* @date 2022-07-15 11:38:05
*/
public
interface
TDispatchInfoService
extends
IService
<
TDispatchInfo
>
{
/**
* 派单信息记录表简单分页查询
* @param tDispatchInfo 派单信息记录表
* @return
*/
IPage
<
TDispatchInfo
>
getTDispatchInfoPage
(
Page
<
TDispatchInfo
>
page
,
TDispatchInfo
tDispatchInfo
);
R
<
List
<
ErrorMessage
>>
importDiy
(
InputStream
inputStream
);
void
listExport
(
HttpServletResponse
response
,
TDispatchInfoSearchVo
searchVo
);
List
<
TDispatchInfo
>
noPageDiy
(
TDispatchInfoSearchVo
searchVo
);
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/TProvidentFundService.java
0 → 100644
View file @
1e811799
/*
* 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
.
social
.
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.pig4cloud.plugin.excel.vo.ErrorMessage
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.social.entity.TProvidentFund
;
import
com.yifu.cloud.plus.v1.yifu.social.vo.TProvidentFundSearchVo
;
import
javax.servlet.http.HttpServletResponse
;
import
java.io.InputStream
;
import
java.util.List
;
/**
* 公积金信息
*
* @author fxj
* @date 2022-07-15 11:38:05
*/
public
interface
TProvidentFundService
extends
IService
<
TProvidentFund
>
{
/**
* 公积金信息简单分页查询
* @param tProvidentFund 公积金信息
* @return
*/
IPage
<
TProvidentFund
>
getTProvidentFundPage
(
Page
<
TProvidentFund
>
page
,
TProvidentFund
tProvidentFund
);
R
<
List
<
ErrorMessage
>>
importDiy
(
InputStream
inputStream
);
void
listExport
(
HttpServletResponse
response
,
TProvidentFundSearchVo
searchVo
);
List
<
TProvidentFund
>
noPageDiy
(
TProvidentFundSearchVo
searchVo
);
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/TSocialFundHistoryService.java
0 → 100644
View file @
1e811799
/*
* 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
.
social
.
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.pig4cloud.plugin.excel.vo.ErrorMessage
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.social.entity.TSocialFundHistory
;
import
com.yifu.cloud.plus.v1.yifu.social.vo.TSocialFundHistorySearchVo
;
import
javax.servlet.http.HttpServletResponse
;
import
java.io.InputStream
;
import
java.util.List
;
/**
* 社保公积金调基历史记录表
*
* @author fxj
* @date 2022-07-15 11:38:05
*/
public
interface
TSocialFundHistoryService
extends
IService
<
TSocialFundHistory
>
{
/**
* 社保公积金调基历史记录表简单分页查询
* @param tSocialFundHistory 社保公积金调基历史记录表
* @return
*/
IPage
<
TSocialFundHistory
>
getTSocialFundHistoryPage
(
Page
<
TSocialFundHistory
>
page
,
TSocialFundHistory
tSocialFundHistory
);
R
<
List
<
ErrorMessage
>>
importDiy
(
InputStream
inputStream
);
void
listExport
(
HttpServletResponse
response
,
TSocialFundHistorySearchVo
searchVo
);
List
<
TSocialFundHistory
>
noPageDiy
(
TSocialFundHistorySearchVo
searchVo
);
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/TSocialFundInfoService.java
0 → 100644
View file @
1e811799
/*
* 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
.
social
.
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.pig4cloud.plugin.excel.vo.ErrorMessage
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.social.entity.TSocialFundInfo
;
import
com.yifu.cloud.plus.v1.yifu.social.vo.TSocialFundInfoSearchVo
;
import
javax.servlet.http.HttpServletResponse
;
import
java.io.InputStream
;
import
java.util.List
;
/**
* 社保公积金查询表
*
* @author fxj
* @date 2022-07-15 11:38:05
*/
public
interface
TSocialFundInfoService
extends
IService
<
TSocialFundInfo
>
{
/**
* 社保公积金查询表简单分页查询
* @param tSocialFundInfo 社保公积金查询表
* @return
*/
IPage
<
TSocialFundInfo
>
getTSocialFundInfoPage
(
Page
<
TSocialFundInfo
>
page
,
TSocialFundInfo
tSocialFundInfo
);
R
<
List
<
ErrorMessage
>>
importDiy
(
InputStream
inputStream
);
void
listExport
(
HttpServletResponse
response
,
TSocialFundInfoSearchVo
searchVo
);
List
<
TSocialFundInfo
>
noPageDiy
(
TSocialFundInfoSearchVo
searchVo
);
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/TSocialInfoService.java
0 → 100644
View file @
1e811799
/*
* 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
.
social
.
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.pig4cloud.plugin.excel.vo.ErrorMessage
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.social.entity.TSocialInfo
;
import
com.yifu.cloud.plus.v1.yifu.social.vo.TSocialInfoSearchVo
;
import
javax.servlet.http.HttpServletResponse
;
import
java.io.InputStream
;
import
java.util.List
;
/**
* 社保明细表
*
* @author fxj
* @date 2022-07-15 11:38:05
*/
public
interface
TSocialInfoService
extends
IService
<
TSocialInfo
>
{
/**
* 社保明细表简单分页查询
* @param tSocialInfo 社保明细表
* @return
*/
IPage
<
TSocialInfo
>
getTSocialInfoPage
(
Page
<
TSocialInfo
>
page
,
TSocialInfo
tSocialInfo
);
R
<
List
<
ErrorMessage
>>
importDiy
(
InputStream
inputStream
);
void
listExport
(
HttpServletResponse
response
,
TSocialInfoSearchVo
searchVo
);
List
<
TSocialInfo
>
noPageDiy
(
TSocialInfoSearchVo
searchVo
);
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/TSocialLogService.java
View file @
1e811799
...
@@ -21,7 +21,6 @@ import com.baomidou.mybatisplus.core.metadata.IPage;
...
@@ -21,7 +21,6 @@ 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.social.entity.TSocialLog
;
import
com.yifu.cloud.plus.v1.yifu.social.entity.TSocialLog
;
/**
/**
* 社保变更记录表
* 社保变更记录表
*
*
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TAuditInfoServiceImpl.java
0 → 100644
View file @
1e811799
/*
* 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
.
social
.
service
.
impl
;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.pig4cloud.plugin.excel.vo.ErrorMessage
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.R
;
import
com.yifu.cloud.plus.v1.yifu.demo.entity.TAuditInfo
;
import
com.yifu.cloud.plus.v1.yifu.demo.mapper.TAuditInfoMapper
;
import
com.yifu.cloud.plus.v1.yifu.demo.service.TAuditInfoService
;
import
com.yifu.cloud.plus.v1.yifu.social.entity.TAuditInfo
;
import
com.yifu.cloud.plus.v1.yifu.social.mapper.TAuditInfoMapper
;
import
com.yifu.cloud.plus.v1.yifu.social.service.TAuditInfoService
;
import
org.springframework.stereotype.Service
;
import
java.io.InputStream
;
import
java.util.List
;
/**
* 审核信息表(社保、公积金、预估结算单、社保核准表、公积金核准表 、基数变更 审核记录)
*
* @author fxj
* @date 2022-07-15 11:38:05
*/
@Service
public
class
TAuditInfoServiceImpl
extends
ServiceImpl
<
TAuditInfoMapper
,
TAuditInfo
>
implements
TAuditInfoService
{
/**
* 审核信息表(社保、公积金、预估结算单、社保核准表、公积金核准表 、基数变更 审核记录)简单分页查询
* @param tAuditInfo 审核信息表(社保、公积金、预估结算单、社保核准表、公积金核准表 、基数变更 审核记录)
* @return
*/
@Override
public
IPage
<
TAuditInfo
>
getTAuditInfoPage
(
Page
<
TAuditInfo
>
page
,
TAuditInfo
tAuditInfo
){
return
baseMapper
.
getTAuditInfoPage
(
page
,
tAuditInfo
);
}
/**
* 审核信息表(社保、公积金、预估结算单、社保核准表、公积金核准表 、基数变更 审核记录)批量导入
*/
@Override
R
<
List
<
ErrorMessage
>>
importDiy
(
InputStream
inputStream
){
}
/**
* 审核信息表(社保、公积金、预估结算单、社保核准表、公积金核准表 、基数变更 审核记录)批量导出
* @param tAuditInfo 审核信息表(社保、公积金、预估结算单、社保核准表、公积金核准表 、基数变更 审核记录)
* @return
*/
@Override
void
listExport
(
HttpServletResponse
response
,
TAuditInfoSearchVo
searchVo
){
String
fileName
=
"不良记录批量导出"
+
DateUtil
.
getThisTime
()
+
".xlsx"
;
//获取要导出的列表
List
<
TAuditInfo
>
list
=
new
ArrayList
<>();
long
count
=
noPageCountDiy
(
searchVo
);
ServletOutputStream
out
=
null
;
try
{
out
=
response
.
getOutputStream
();
response
.
setContentType
(
"multipart/form-data"
);
response
.
setCharacterEncoding
(
"utf-8"
);
response
.
setHeader
(
"Content-Disposition"
,
"attachment;filename="
+
URLEncoder
.
encode
(
fileName
,
"UTF-8"
));
// 这里 需要指定写用哪个class去写,然后写到第一个sheet,然后文件流会自动关闭
//EasyExcel.write(out, TEmpBadRecord.class).sheet("不良记录").doWrite(list);
ExcelWriter
excelWriter
=
EasyExcel
.
write
(
out
,
TAuditInfo
.
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
=
noPageDiy
(
searchVo
);
if
(
Common
.
isNotNull
(
list
)){
ExcelUtil
<
TAuditInfo
>
util
=
new
ExcelUtil
<>(
TAuditInfo
.
class
);
for
(
TAuditInfo
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
List
<
TAuditInfo
>
noPageDiy
(
TAuditInfoSearchVo
searchVo
)
{
LambdaQueryWrapper
<
TAuditInfo
>
wrapper
=
buildQueryWrapper
(
searchVo
);
List
<
String
>
idList
=
Common
.
getList
(
searchVo
.
getIds
());
if
(
Common
.
isNotNull
(
idList
)){
wrapper
.
in
(
TEmpBadRecord:
:
getId
,
idList
);
}
if
(
searchVo
.
getLimitStart
()
>=
0
&&
searchVo
.
getLimitEnd
()
>
0
){
wrapper
.
last
(
" limit "
+
searchVo
.
getLimitStart
()
+
","
+
searchVo
.
getLimitEnd
());
}
wrapper
.
orderByDesc
(
BaseEntity:
:
getCreateTime
);
return
baseMapper
.
selectList
(
wrapper
);
}
private
Long
noPageCountDiy
(
TAuditInfoSearchVo
searchVo
)
{
LambdaQueryWrapper
<
TAuditInfo
>
wrapper
=
buildQueryWrapper
(
searchVo
);
List
<
String
>
idList
=
Common
.
getList
(
searchVo
.
getIds
());
if
(
Common
.
isNotNull
(
idList
)){
wrapper
.
in
(
TAuditInfo:
:
getId
,
idList
);
}
return
baseMapper
.
selectCount
(
wrapper
);
}
private
LambdaQueryWrapper
buildQueryWrapper
(
TAuditInfoSearchVo
entity
){
LambdaQueryWrapper
<
TAuditInfo
>
wrapper
=
Wrappers
.
lambdaQuery
();
if
(
ArrayUtil
.
isNotEmpty
(
entity
.
getCreateTimes
()))
{
wrapper
.
ge
(
TAuditInfo:
:
getCreateTime
,
entity
.
getCreateTimes
()[
0
])
.
le
(
TAuditInfo:
:
getCreateTime
,
entity
.
getCreateTimes
()[
1
]);
}
if
(
Common
.
isNotNull
(
entity
.
getCreateName
())){
wrapper
.
eq
(
TAuditInfo:
:
getCreateName
,
entity
.
getCreateName
());
}
return
wrapper
;
}
@Override
public
R
<
List
<
ErrorMessage
>>
importDiy
(
InputStream
inputStream
)
{
List
<
ErrorMessage
>
errorMessageList
=
new
ArrayList
<>();
ExcelUtil
<
TAuditInfoVo
>
util1
=
new
ExcelUtil
<>(
TAuditInfoVo
.
class
);;
// 写法2:
// 匿名内部类 不用额外写一个DemoDataListener
// 这里 需要指定读用哪个class去读,然后读取第一个sheet 文件流会自动关闭
try
{
EasyExcel
.
read
(
inputStream
,
TAuditInfoVo
.
class
,
new
ReadListener
<
TAuditInfoVo
>()
{
/**
* 单次缓存的数据量
*/
public
static
final
int
BATCH_COUNT
=
CommonConstants
.
BATCH_COUNT
;
/**
*临时存储
*/
private
List
<
TAuditInfoVo
>
cachedDataList
=
ListUtils
.
newArrayListWithExpectedSize
(
BATCH_COUNT
);
@Override
public
void
invoke
(
TAuditInfoVo
data
,
AnalysisContext
context
)
{
ReadRowHolder
readRowHolder
=
context
.
readRowHolder
();
Integer
rowIndex
=
readRowHolder
.
getRowIndex
();
data
.
setRowIndex
(
rowIndex
+
1
);
ErrorMessage
errorMessage
=
util1
.
checkEntity
(
data
,
data
.
getRowIndex
());
if
(
Common
.
isNotNull
(
errorMessage
)){
errorMessageList
.
add
(
errorMessage
);
}
else
{
cachedDataList
.
add
(
data
);
}
if
(
cachedDataList
.
size
()
>=
BATCH_COUNT
)
{
saveData
();
// 存储完成清理 list
cachedDataList
=
ListUtils
.
newArrayListWithExpectedSize
(
BATCH_COUNT
);
}
}
@Override
public
void
doAfterAllAnalysed
(
AnalysisContext
context
)
{
saveData
();
}
/**
* 加上存储数据库
*/
private
void
saveData
()
{
log
.
info
(
"{}条数据,开始存储数据库!"
,
cachedDataList
.
size
());
importTAuditInfo
(
cachedDataList
,
errorMessageList
);
log
.
info
(
"存储数据库成功!"
);
}
}).
sheet
().
doRead
();
}
catch
(
Exception
e
){
log
.
error
(
CommonConstants
.
IMPORT_DATA_ANALYSIS_ERROR
,
e
);
return
R
.
failed
(
CommonConstants
.
IMPORT_DATA_ANALYSIS_ERROR
);
}
return
R
.
ok
(
errorMessageList
);
}
private
void
importTAuditInfo
(
List
<
TAuditInfoVo
>
excelVOList
,
List
<
ErrorMessage
>
errorMessageList
)
{
// 个性化校验逻辑
ErrorMessage
errorMsg
;
// 执行数据插入操作 组装
for
(
int
i
=
0
;
i
<
excelVOList
.
size
();
i
++)
{
TAuditInfoVo
excel
=
excelVOList
.
get
(
i
);
// 数据合法情况 TODO
// 插入
insertExcel
(
excel
,
emp
);
errorMessageList
.
add
(
new
ErrorMessage
(
excel
.
getRowIndex
(),
CommonConstants
.
SAVE_SUCCESS
));
}
}
/**
* 插入excel bad record
*/
private
void
insertExcel
(
TAuditInfoVo
excel
)
{
TAuditInfo
insert
=
new
TAuditInfo
();
BeanUtil
.
copyProperties
(
excel
,
insert
);
this
.
save
(
insert
);
}
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TDispatchDayConfServiceImpl.java
0 → 100644
View file @
1e811799
/*
* 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
.
social
.
service
.
impl
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.yifu.cloud.plus.v1.yifu.demo.entity.TDispatchDayConf
;
import
com.yifu.cloud.plus.v1.yifu.demo.mapper.TDispatchDayConfMapper
;
import
com.yifu.cloud.plus.v1.yifu.demo.service.TDispatchDayConfService
;
import
org.springframework.stereotype.Service
;
/**
* 各个地市派单日期
*
* @author fxj
* @date 2022-07-15 11:38:05
*/
@Service
public
class
TDispatchDayConfServiceImpl
extends
ServiceImpl
<
TDispatchDayConfMapper
,
TDispatchDayConf
>
implements
TDispatchDayConfService
{
/**
* 各个地市派单日期简单分页查询
* @param tDispatchDayConf 各个地市派单日期
* @return
*/
@Override
public
IPage
<
TDispatchDayConf
>
getTDispatchDayConfPage
(
Page
<
TDispatchDayConf
>
page
,
TDispatchDayConf
tDispatchDayConf
){
return
baseMapper
.
getTDispatchDayConfPage
(
page
,
tDispatchDayConf
);
}
/**
* 各个地市派单日期批量导入
*/
@Override
R
<
List
<
ErrorMessage
>>
importDiy
(
InputStream
inputStream
){
}
/**
* 各个地市派单日期批量导出
* @param tDispatchDayConf 各个地市派单日期
* @return
*/
@Override
void
listExport
(
HttpServletResponse
response
,
TDispatchDayConfSearchVo
searchVo
){
String
fileName
=
"不良记录批量导出"
+
DateUtil
.
getThisTime
()
+
".xlsx"
;
//获取要导出的列表
List
<
TDispatchDayConf
>
list
=
new
ArrayList
<>();
long
count
=
noPageCountDiy
(
searchVo
);
ServletOutputStream
out
=
null
;
try
{
out
=
response
.
getOutputStream
();
response
.
setContentType
(
"multipart/form-data"
);
response
.
setCharacterEncoding
(
"utf-8"
);
response
.
setHeader
(
"Content-Disposition"
,
"attachment;filename="
+
URLEncoder
.
encode
(
fileName
,
"UTF-8"
));
// 这里 需要指定写用哪个class去写,然后写到第一个sheet,然后文件流会自动关闭
//EasyExcel.write(out, TEmpBadRecord.class).sheet("不良记录").doWrite(list);
ExcelWriter
excelWriter
=
EasyExcel
.
write
(
out
,
TDispatchDayConf
.
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
=
noPageDiy
(
searchVo
);
if
(
Common
.
isNotNull
(
list
)){
ExcelUtil
<
TDispatchDayConf
>
util
=
new
ExcelUtil
<>(
TDispatchDayConf
.
class
);
for
(
TDispatchDayConf
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
List
<
TDispatchDayConf
>
noPageDiy
(
TDispatchDayConfSearchVo
searchVo
)
{
LambdaQueryWrapper
<
TDispatchDayConf
>
wrapper
=
buildQueryWrapper
(
searchVo
);
List
<
String
>
idList
=
Common
.
getList
(
searchVo
.
getIds
());
if
(
Common
.
isNotNull
(
idList
)){
wrapper
.
in
(
TEmpBadRecord:
:
getId
,
idList
);
}
if
(
searchVo
.
getLimitStart
()
>=
0
&&
searchVo
.
getLimitEnd
()
>
0
){
wrapper
.
last
(
" limit "
+
searchVo
.
getLimitStart
()
+
","
+
searchVo
.
getLimitEnd
());
}
wrapper
.
orderByDesc
(
BaseEntity:
:
getCreateTime
);
return
baseMapper
.
selectList
(
wrapper
);
}
private
Long
noPageCountDiy
(
TDispatchDayConfSearchVo
searchVo
)
{
LambdaQueryWrapper
<
TDispatchDayConf
>
wrapper
=
buildQueryWrapper
(
searchVo
);
List
<
String
>
idList
=
Common
.
getList
(
searchVo
.
getIds
());
if
(
Common
.
isNotNull
(
idList
)){
wrapper
.
in
(
TDispatchDayConf:
:
getId
,
idList
);
}
return
baseMapper
.
selectCount
(
wrapper
);
}
private
LambdaQueryWrapper
buildQueryWrapper
(
TDispatchDayConfSearchVo
entity
){
LambdaQueryWrapper
<
TDispatchDayConf
>
wrapper
=
Wrappers
.
lambdaQuery
();
if
(
ArrayUtil
.
isNotEmpty
(
entity
.
getCreateTimes
()))
{
wrapper
.
ge
(
TDispatchDayConf:
:
getCreateTime
,
entity
.
getCreateTimes
()[
0
])
.
le
(
TDispatchDayConf:
:
getCreateTime
,
entity
.
getCreateTimes
()[
1
]);
}
if
(
Common
.
isNotNull
(
entity
.
getCreateName
())){
wrapper
.
eq
(
TDispatchDayConf:
:
getCreateName
,
entity
.
getCreateName
());
}
return
wrapper
;
}
@Override
public
R
<
List
<
ErrorMessage
>>
importDiy
(
InputStream
inputStream
)
{
List
<
ErrorMessage
>
errorMessageList
=
new
ArrayList
<>();
ExcelUtil
<
TDispatchDayConfVo
>
util1
=
new
ExcelUtil
<>(
TDispatchDayConfVo
.
class
);;
// 写法2:
// 匿名内部类 不用额外写一个DemoDataListener
// 这里 需要指定读用哪个class去读,然后读取第一个sheet 文件流会自动关闭
try
{
EasyExcel
.
read
(
inputStream
,
TDispatchDayConfVo
.
class
,
new
ReadListener
<
TDispatchDayConfVo
>()
{
/**
* 单次缓存的数据量
*/
public
static
final
int
BATCH_COUNT
=
CommonConstants
.
BATCH_COUNT
;
/**
*临时存储
*/
private
List
<
TDispatchDayConfVo
>
cachedDataList
=
ListUtils
.
newArrayListWithExpectedSize
(
BATCH_COUNT
);
@Override
public
void
invoke
(
TDispatchDayConfVo
data
,
AnalysisContext
context
)
{
ReadRowHolder
readRowHolder
=
context
.
readRowHolder
();
Integer
rowIndex
=
readRowHolder
.
getRowIndex
();
data
.
setRowIndex
(
rowIndex
+
1
);
ErrorMessage
errorMessage
=
util1
.
checkEntity
(
data
,
data
.
getRowIndex
());
if
(
Common
.
isNotNull
(
errorMessage
)){
errorMessageList
.
add
(
errorMessage
);
}
else
{
cachedDataList
.
add
(
data
);
}
if
(
cachedDataList
.
size
()
>=
BATCH_COUNT
)
{
saveData
();
// 存储完成清理 list
cachedDataList
=
ListUtils
.
newArrayListWithExpectedSize
(
BATCH_COUNT
);
}
}
@Override
public
void
doAfterAllAnalysed
(
AnalysisContext
context
)
{
saveData
();
}
/**
* 加上存储数据库
*/
private
void
saveData
()
{
log
.
info
(
"{}条数据,开始存储数据库!"
,
cachedDataList
.
size
());
importTDispatchDayConf
(
cachedDataList
,
errorMessageList
);
log
.
info
(
"存储数据库成功!"
);
}
}).
sheet
().
doRead
();
}
catch
(
Exception
e
){
log
.
error
(
CommonConstants
.
IMPORT_DATA_ANALYSIS_ERROR
,
e
);
return
R
.
failed
(
CommonConstants
.
IMPORT_DATA_ANALYSIS_ERROR
);
}
return
R
.
ok
(
errorMessageList
);
}
private
void
importTDispatchDayConf
(
List
<
TDispatchDayConfVo
>
excelVOList
,
List
<
ErrorMessage
>
errorMessageList
)
{
// 个性化校验逻辑
ErrorMessage
errorMsg
;
// 执行数据插入操作 组装
for
(
int
i
=
0
;
i
<
excelVOList
.
size
();
i
++)
{
TDispatchDayConfVo
excel
=
excelVOList
.
get
(
i
);
// 数据合法情况 TODO
// 插入
insertExcel
(
excel
,
emp
);
errorMessageList
.
add
(
new
ErrorMessage
(
excel
.
getRowIndex
(),
CommonConstants
.
SAVE_SUCCESS
));
}
}
/**
* 插入excel bad record
*/
private
void
insertExcel
(
TDispatchDayConfVo
excel
)
{
TDispatchDayConf
insert
=
new
TDispatchDayConf
();
BeanUtil
.
copyProperties
(
excel
,
insert
);
this
.
save
(
insert
);
}
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TDispatchInfoServiceImpl.java
0 → 100644
View file @
1e811799
/*
* 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
.
social
.
service
.
impl
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.yifu.cloud.plus.v1.yifu.demo.entity.TDispatchInfo
;
import
com.yifu.cloud.plus.v1.yifu.demo.mapper.TDispatchInfoMapper
;
import
com.yifu.cloud.plus.v1.yifu.demo.service.TDispatchInfoService
;
import
org.springframework.stereotype.Service
;
/**
* 派单信息记录表
*
* @author fxj
* @date 2022-07-15 11:38:05
*/
@Service
public
class
TDispatchInfoServiceImpl
extends
ServiceImpl
<
TDispatchInfoMapper
,
TDispatchInfo
>
implements
TDispatchInfoService
{
/**
* 派单信息记录表简单分页查询
* @param tDispatchInfo 派单信息记录表
* @return
*/
@Override
public
IPage
<
TDispatchInfo
>
getTDispatchInfoPage
(
Page
<
TDispatchInfo
>
page
,
TDispatchInfo
tDispatchInfo
){
return
baseMapper
.
getTDispatchInfoPage
(
page
,
tDispatchInfo
);
}
/**
* 派单信息记录表批量导入
*/
@Override
R
<
List
<
ErrorMessage
>>
importDiy
(
InputStream
inputStream
){
}
/**
* 派单信息记录表批量导出
* @param tDispatchInfo 派单信息记录表
* @return
*/
@Override
void
listExport
(
HttpServletResponse
response
,
TDispatchInfoSearchVo
searchVo
){
String
fileName
=
"不良记录批量导出"
+
DateUtil
.
getThisTime
()
+
".xlsx"
;
//获取要导出的列表
List
<
TDispatchInfo
>
list
=
new
ArrayList
<>();
long
count
=
noPageCountDiy
(
searchVo
);
ServletOutputStream
out
=
null
;
try
{
out
=
response
.
getOutputStream
();
response
.
setContentType
(
"multipart/form-data"
);
response
.
setCharacterEncoding
(
"utf-8"
);
response
.
setHeader
(
"Content-Disposition"
,
"attachment;filename="
+
URLEncoder
.
encode
(
fileName
,
"UTF-8"
));
// 这里 需要指定写用哪个class去写,然后写到第一个sheet,然后文件流会自动关闭
//EasyExcel.write(out, TEmpBadRecord.class).sheet("不良记录").doWrite(list);
ExcelWriter
excelWriter
=
EasyExcel
.
write
(
out
,
TDispatchInfo
.
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
=
noPageDiy
(
searchVo
);
if
(
Common
.
isNotNull
(
list
)){
ExcelUtil
<
TDispatchInfo
>
util
=
new
ExcelUtil
<>(
TDispatchInfo
.
class
);
for
(
TDispatchInfo
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
List
<
TDispatchInfo
>
noPageDiy
(
TDispatchInfoSearchVo
searchVo
)
{
LambdaQueryWrapper
<
TDispatchInfo
>
wrapper
=
buildQueryWrapper
(
searchVo
);
List
<
String
>
idList
=
Common
.
getList
(
searchVo
.
getIds
());
if
(
Common
.
isNotNull
(
idList
)){
wrapper
.
in
(
TEmpBadRecord:
:
getId
,
idList
);
}
if
(
searchVo
.
getLimitStart
()
>=
0
&&
searchVo
.
getLimitEnd
()
>
0
){
wrapper
.
last
(
" limit "
+
searchVo
.
getLimitStart
()
+
","
+
searchVo
.
getLimitEnd
());
}
wrapper
.
orderByDesc
(
BaseEntity:
:
getCreateTime
);
return
baseMapper
.
selectList
(
wrapper
);
}
private
Long
noPageCountDiy
(
TDispatchInfoSearchVo
searchVo
)
{
LambdaQueryWrapper
<
TDispatchInfo
>
wrapper
=
buildQueryWrapper
(
searchVo
);
List
<
String
>
idList
=
Common
.
getList
(
searchVo
.
getIds
());
if
(
Common
.
isNotNull
(
idList
)){
wrapper
.
in
(
TDispatchInfo:
:
getId
,
idList
);
}
return
baseMapper
.
selectCount
(
wrapper
);
}
private
LambdaQueryWrapper
buildQueryWrapper
(
TDispatchInfoSearchVo
entity
){
LambdaQueryWrapper
<
TDispatchInfo
>
wrapper
=
Wrappers
.
lambdaQuery
();
if
(
ArrayUtil
.
isNotEmpty
(
entity
.
getCreateTimes
()))
{
wrapper
.
ge
(
TDispatchInfo:
:
getCreateTime
,
entity
.
getCreateTimes
()[
0
])
.
le
(
TDispatchInfo:
:
getCreateTime
,
entity
.
getCreateTimes
()[
1
]);
}
if
(
Common
.
isNotNull
(
entity
.
getCreateName
())){
wrapper
.
eq
(
TDispatchInfo:
:
getCreateName
,
entity
.
getCreateName
());
}
return
wrapper
;
}
@Override
public
R
<
List
<
ErrorMessage
>>
importDiy
(
InputStream
inputStream
)
{
List
<
ErrorMessage
>
errorMessageList
=
new
ArrayList
<>();
ExcelUtil
<
TDispatchInfoVo
>
util1
=
new
ExcelUtil
<>(
TDispatchInfoVo
.
class
);;
// 写法2:
// 匿名内部类 不用额外写一个DemoDataListener
// 这里 需要指定读用哪个class去读,然后读取第一个sheet 文件流会自动关闭
try
{
EasyExcel
.
read
(
inputStream
,
TDispatchInfoVo
.
class
,
new
ReadListener
<
TDispatchInfoVo
>()
{
/**
* 单次缓存的数据量
*/
public
static
final
int
BATCH_COUNT
=
CommonConstants
.
BATCH_COUNT
;
/**
*临时存储
*/
private
List
<
TDispatchInfoVo
>
cachedDataList
=
ListUtils
.
newArrayListWithExpectedSize
(
BATCH_COUNT
);
@Override
public
void
invoke
(
TDispatchInfoVo
data
,
AnalysisContext
context
)
{
ReadRowHolder
readRowHolder
=
context
.
readRowHolder
();
Integer
rowIndex
=
readRowHolder
.
getRowIndex
();
data
.
setRowIndex
(
rowIndex
+
1
);
ErrorMessage
errorMessage
=
util1
.
checkEntity
(
data
,
data
.
getRowIndex
());
if
(
Common
.
isNotNull
(
errorMessage
)){
errorMessageList
.
add
(
errorMessage
);
}
else
{
cachedDataList
.
add
(
data
);
}
if
(
cachedDataList
.
size
()
>=
BATCH_COUNT
)
{
saveData
();
// 存储完成清理 list
cachedDataList
=
ListUtils
.
newArrayListWithExpectedSize
(
BATCH_COUNT
);
}
}
@Override
public
void
doAfterAllAnalysed
(
AnalysisContext
context
)
{
saveData
();
}
/**
* 加上存储数据库
*/
private
void
saveData
()
{
log
.
info
(
"{}条数据,开始存储数据库!"
,
cachedDataList
.
size
());
importTDispatchInfo
(
cachedDataList
,
errorMessageList
);
log
.
info
(
"存储数据库成功!"
);
}
}).
sheet
().
doRead
();
}
catch
(
Exception
e
){
log
.
error
(
CommonConstants
.
IMPORT_DATA_ANALYSIS_ERROR
,
e
);
return
R
.
failed
(
CommonConstants
.
IMPORT_DATA_ANALYSIS_ERROR
);
}
return
R
.
ok
(
errorMessageList
);
}
private
void
importTDispatchInfo
(
List
<
TDispatchInfoVo
>
excelVOList
,
List
<
ErrorMessage
>
errorMessageList
)
{
// 个性化校验逻辑
ErrorMessage
errorMsg
;
// 执行数据插入操作 组装
for
(
int
i
=
0
;
i
<
excelVOList
.
size
();
i
++)
{
TDispatchInfoVo
excel
=
excelVOList
.
get
(
i
);
// 数据合法情况 TODO
// 插入
insertExcel
(
excel
,
emp
);
errorMessageList
.
add
(
new
ErrorMessage
(
excel
.
getRowIndex
(),
CommonConstants
.
SAVE_SUCCESS
));
}
}
/**
* 插入excel bad record
*/
private
void
insertExcel
(
TDispatchInfoVo
excel
)
{
TDispatchInfo
insert
=
new
TDispatchInfo
();
BeanUtil
.
copyProperties
(
excel
,
insert
);
this
.
save
(
insert
);
}
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TProvidentFundServiceImpl.java
0 → 100644
View file @
1e811799
/*
* 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
.
social
.
service
.
impl
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.yifu.cloud.plus.v1.yifu.demo.entity.TProvidentFund
;
import
com.yifu.cloud.plus.v1.yifu.demo.mapper.TProvidentFundMapper
;
import
com.yifu.cloud.plus.v1.yifu.demo.service.TProvidentFundService
;
import
org.springframework.stereotype.Service
;
/**
* 公积金信息
*
* @author fxj
* @date 2022-07-15 11:38:05
*/
@Service
public
class
TProvidentFundServiceImpl
extends
ServiceImpl
<
TProvidentFundMapper
,
TProvidentFund
>
implements
TProvidentFundService
{
/**
* 公积金信息简单分页查询
* @param tProvidentFund 公积金信息
* @return
*/
@Override
public
IPage
<
TProvidentFund
>
getTProvidentFundPage
(
Page
<
TProvidentFund
>
page
,
TProvidentFund
tProvidentFund
){
return
baseMapper
.
getTProvidentFundPage
(
page
,
tProvidentFund
);
}
/**
* 公积金信息批量导入
*/
@Override
R
<
List
<
ErrorMessage
>>
importDiy
(
InputStream
inputStream
){
}
/**
* 公积金信息批量导出
* @param tProvidentFund 公积金信息
* @return
*/
@Override
void
listExport
(
HttpServletResponse
response
,
TProvidentFundSearchVo
searchVo
){
String
fileName
=
"不良记录批量导出"
+
DateUtil
.
getThisTime
()
+
".xlsx"
;
//获取要导出的列表
List
<
TProvidentFund
>
list
=
new
ArrayList
<>();
long
count
=
noPageCountDiy
(
searchVo
);
ServletOutputStream
out
=
null
;
try
{
out
=
response
.
getOutputStream
();
response
.
setContentType
(
"multipart/form-data"
);
response
.
setCharacterEncoding
(
"utf-8"
);
response
.
setHeader
(
"Content-Disposition"
,
"attachment;filename="
+
URLEncoder
.
encode
(
fileName
,
"UTF-8"
));
// 这里 需要指定写用哪个class去写,然后写到第一个sheet,然后文件流会自动关闭
//EasyExcel.write(out, TEmpBadRecord.class).sheet("不良记录").doWrite(list);
ExcelWriter
excelWriter
=
EasyExcel
.
write
(
out
,
TProvidentFund
.
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
=
noPageDiy
(
searchVo
);
if
(
Common
.
isNotNull
(
list
)){
ExcelUtil
<
TProvidentFund
>
util
=
new
ExcelUtil
<>(
TProvidentFund
.
class
);
for
(
TProvidentFund
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
List
<
TProvidentFund
>
noPageDiy
(
TProvidentFundSearchVo
searchVo
)
{
LambdaQueryWrapper
<
TProvidentFund
>
wrapper
=
buildQueryWrapper
(
searchVo
);
List
<
String
>
idList
=
Common
.
getList
(
searchVo
.
getIds
());
if
(
Common
.
isNotNull
(
idList
)){
wrapper
.
in
(
TEmpBadRecord:
:
getId
,
idList
);
}
if
(
searchVo
.
getLimitStart
()
>=
0
&&
searchVo
.
getLimitEnd
()
>
0
){
wrapper
.
last
(
" limit "
+
searchVo
.
getLimitStart
()
+
","
+
searchVo
.
getLimitEnd
());
}
wrapper
.
orderByDesc
(
BaseEntity:
:
getCreateTime
);
return
baseMapper
.
selectList
(
wrapper
);
}
private
Long
noPageCountDiy
(
TProvidentFundSearchVo
searchVo
)
{
LambdaQueryWrapper
<
TProvidentFund
>
wrapper
=
buildQueryWrapper
(
searchVo
);
List
<
String
>
idList
=
Common
.
getList
(
searchVo
.
getIds
());
if
(
Common
.
isNotNull
(
idList
)){
wrapper
.
in
(
TProvidentFund:
:
getId
,
idList
);
}
return
baseMapper
.
selectCount
(
wrapper
);
}
private
LambdaQueryWrapper
buildQueryWrapper
(
TProvidentFundSearchVo
entity
){
LambdaQueryWrapper
<
TProvidentFund
>
wrapper
=
Wrappers
.
lambdaQuery
();
if
(
ArrayUtil
.
isNotEmpty
(
entity
.
getCreateTimes
()))
{
wrapper
.
ge
(
TProvidentFund:
:
getCreateTime
,
entity
.
getCreateTimes
()[
0
])
.
le
(
TProvidentFund:
:
getCreateTime
,
entity
.
getCreateTimes
()[
1
]);
}
if
(
Common
.
isNotNull
(
entity
.
getCreateName
())){
wrapper
.
eq
(
TProvidentFund:
:
getCreateName
,
entity
.
getCreateName
());
}
return
wrapper
;
}
@Override
public
R
<
List
<
ErrorMessage
>>
importDiy
(
InputStream
inputStream
)
{
List
<
ErrorMessage
>
errorMessageList
=
new
ArrayList
<>();
ExcelUtil
<
TProvidentFundVo
>
util1
=
new
ExcelUtil
<>(
TProvidentFundVo
.
class
);;
// 写法2:
// 匿名内部类 不用额外写一个DemoDataListener
// 这里 需要指定读用哪个class去读,然后读取第一个sheet 文件流会自动关闭
try
{
EasyExcel
.
read
(
inputStream
,
TProvidentFundVo
.
class
,
new
ReadListener
<
TProvidentFundVo
>()
{
/**
* 单次缓存的数据量
*/
public
static
final
int
BATCH_COUNT
=
CommonConstants
.
BATCH_COUNT
;
/**
*临时存储
*/
private
List
<
TProvidentFundVo
>
cachedDataList
=
ListUtils
.
newArrayListWithExpectedSize
(
BATCH_COUNT
);
@Override
public
void
invoke
(
TProvidentFundVo
data
,
AnalysisContext
context
)
{
ReadRowHolder
readRowHolder
=
context
.
readRowHolder
();
Integer
rowIndex
=
readRowHolder
.
getRowIndex
();
data
.
setRowIndex
(
rowIndex
+
1
);
ErrorMessage
errorMessage
=
util1
.
checkEntity
(
data
,
data
.
getRowIndex
());
if
(
Common
.
isNotNull
(
errorMessage
)){
errorMessageList
.
add
(
errorMessage
);
}
else
{
cachedDataList
.
add
(
data
);
}
if
(
cachedDataList
.
size
()
>=
BATCH_COUNT
)
{
saveData
();
// 存储完成清理 list
cachedDataList
=
ListUtils
.
newArrayListWithExpectedSize
(
BATCH_COUNT
);
}
}
@Override
public
void
doAfterAllAnalysed
(
AnalysisContext
context
)
{
saveData
();
}
/**
* 加上存储数据库
*/
private
void
saveData
()
{
log
.
info
(
"{}条数据,开始存储数据库!"
,
cachedDataList
.
size
());
importTProvidentFund
(
cachedDataList
,
errorMessageList
);
log
.
info
(
"存储数据库成功!"
);
}
}).
sheet
().
doRead
();
}
catch
(
Exception
e
){
log
.
error
(
CommonConstants
.
IMPORT_DATA_ANALYSIS_ERROR
,
e
);
return
R
.
failed
(
CommonConstants
.
IMPORT_DATA_ANALYSIS_ERROR
);
}
return
R
.
ok
(
errorMessageList
);
}
private
void
importTProvidentFund
(
List
<
TProvidentFundVo
>
excelVOList
,
List
<
ErrorMessage
>
errorMessageList
)
{
// 个性化校验逻辑
ErrorMessage
errorMsg
;
// 执行数据插入操作 组装
for
(
int
i
=
0
;
i
<
excelVOList
.
size
();
i
++)
{
TProvidentFundVo
excel
=
excelVOList
.
get
(
i
);
// 数据合法情况 TODO
// 插入
insertExcel
(
excel
,
emp
);
errorMessageList
.
add
(
new
ErrorMessage
(
excel
.
getRowIndex
(),
CommonConstants
.
SAVE_SUCCESS
));
}
}
/**
* 插入excel bad record
*/
private
void
insertExcel
(
TProvidentFundVo
excel
)
{
TProvidentFund
insert
=
new
TProvidentFund
();
BeanUtil
.
copyProperties
(
excel
,
insert
);
this
.
save
(
insert
);
}
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TSocialFundHistoryServiceImpl.java
0 → 100644
View file @
1e811799
/*
* 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
.
social
.
service
.
impl
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.yifu.cloud.plus.v1.yifu.demo.entity.TSocialFundHistory
;
import
com.yifu.cloud.plus.v1.yifu.demo.mapper.TSocialFundHistoryMapper
;
import
com.yifu.cloud.plus.v1.yifu.demo.service.TSocialFundHistoryService
;
import
org.springframework.stereotype.Service
;
/**
* 社保公积金调基历史记录表
*
* @author fxj
* @date 2022-07-15 11:38:05
*/
@Service
public
class
TSocialFundHistoryServiceImpl
extends
ServiceImpl
<
TSocialFundHistoryMapper
,
TSocialFundHistory
>
implements
TSocialFundHistoryService
{
/**
* 社保公积金调基历史记录表简单分页查询
* @param tSocialFundHistory 社保公积金调基历史记录表
* @return
*/
@Override
public
IPage
<
TSocialFundHistory
>
getTSocialFundHistoryPage
(
Page
<
TSocialFundHistory
>
page
,
TSocialFundHistory
tSocialFundHistory
){
return
baseMapper
.
getTSocialFundHistoryPage
(
page
,
tSocialFundHistory
);
}
/**
* 社保公积金调基历史记录表批量导入
*/
@Override
R
<
List
<
ErrorMessage
>>
importDiy
(
InputStream
inputStream
){
}
/**
* 社保公积金调基历史记录表批量导出
* @param tSocialFundHistory 社保公积金调基历史记录表
* @return
*/
@Override
void
listExport
(
HttpServletResponse
response
,
TSocialFundHistorySearchVo
searchVo
){
String
fileName
=
"不良记录批量导出"
+
DateUtil
.
getThisTime
()
+
".xlsx"
;
//获取要导出的列表
List
<
TSocialFundHistory
>
list
=
new
ArrayList
<>();
long
count
=
noPageCountDiy
(
searchVo
);
ServletOutputStream
out
=
null
;
try
{
out
=
response
.
getOutputStream
();
response
.
setContentType
(
"multipart/form-data"
);
response
.
setCharacterEncoding
(
"utf-8"
);
response
.
setHeader
(
"Content-Disposition"
,
"attachment;filename="
+
URLEncoder
.
encode
(
fileName
,
"UTF-8"
));
// 这里 需要指定写用哪个class去写,然后写到第一个sheet,然后文件流会自动关闭
//EasyExcel.write(out, TEmpBadRecord.class).sheet("不良记录").doWrite(list);
ExcelWriter
excelWriter
=
EasyExcel
.
write
(
out
,
TSocialFundHistory
.
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
=
noPageDiy
(
searchVo
);
if
(
Common
.
isNotNull
(
list
)){
ExcelUtil
<
TSocialFundHistory
>
util
=
new
ExcelUtil
<>(
TSocialFundHistory
.
class
);
for
(
TSocialFundHistory
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
List
<
TSocialFundHistory
>
noPageDiy
(
TSocialFundHistorySearchVo
searchVo
)
{
LambdaQueryWrapper
<
TSocialFundHistory
>
wrapper
=
buildQueryWrapper
(
searchVo
);
List
<
String
>
idList
=
Common
.
getList
(
searchVo
.
getIds
());
if
(
Common
.
isNotNull
(
idList
)){
wrapper
.
in
(
TEmpBadRecord:
:
getId
,
idList
);
}
if
(
searchVo
.
getLimitStart
()
>=
0
&&
searchVo
.
getLimitEnd
()
>
0
){
wrapper
.
last
(
" limit "
+
searchVo
.
getLimitStart
()
+
","
+
searchVo
.
getLimitEnd
());
}
wrapper
.
orderByDesc
(
BaseEntity:
:
getCreateTime
);
return
baseMapper
.
selectList
(
wrapper
);
}
private
Long
noPageCountDiy
(
TSocialFundHistorySearchVo
searchVo
)
{
LambdaQueryWrapper
<
TSocialFundHistory
>
wrapper
=
buildQueryWrapper
(
searchVo
);
List
<
String
>
idList
=
Common
.
getList
(
searchVo
.
getIds
());
if
(
Common
.
isNotNull
(
idList
)){
wrapper
.
in
(
TSocialFundHistory:
:
getId
,
idList
);
}
return
baseMapper
.
selectCount
(
wrapper
);
}
private
LambdaQueryWrapper
buildQueryWrapper
(
TSocialFundHistorySearchVo
entity
){
LambdaQueryWrapper
<
TSocialFundHistory
>
wrapper
=
Wrappers
.
lambdaQuery
();
if
(
ArrayUtil
.
isNotEmpty
(
entity
.
getCreateTimes
()))
{
wrapper
.
ge
(
TSocialFundHistory:
:
getCreateTime
,
entity
.
getCreateTimes
()[
0
])
.
le
(
TSocialFundHistory:
:
getCreateTime
,
entity
.
getCreateTimes
()[
1
]);
}
if
(
Common
.
isNotNull
(
entity
.
getCreateName
())){
wrapper
.
eq
(
TSocialFundHistory:
:
getCreateName
,
entity
.
getCreateName
());
}
return
wrapper
;
}
@Override
public
R
<
List
<
ErrorMessage
>>
importDiy
(
InputStream
inputStream
)
{
List
<
ErrorMessage
>
errorMessageList
=
new
ArrayList
<>();
ExcelUtil
<
TSocialFundHistoryVo
>
util1
=
new
ExcelUtil
<>(
TSocialFundHistoryVo
.
class
);;
// 写法2:
// 匿名内部类 不用额外写一个DemoDataListener
// 这里 需要指定读用哪个class去读,然后读取第一个sheet 文件流会自动关闭
try
{
EasyExcel
.
read
(
inputStream
,
TSocialFundHistoryVo
.
class
,
new
ReadListener
<
TSocialFundHistoryVo
>()
{
/**
* 单次缓存的数据量
*/
public
static
final
int
BATCH_COUNT
=
CommonConstants
.
BATCH_COUNT
;
/**
*临时存储
*/
private
List
<
TSocialFundHistoryVo
>
cachedDataList
=
ListUtils
.
newArrayListWithExpectedSize
(
BATCH_COUNT
);
@Override
public
void
invoke
(
TSocialFundHistoryVo
data
,
AnalysisContext
context
)
{
ReadRowHolder
readRowHolder
=
context
.
readRowHolder
();
Integer
rowIndex
=
readRowHolder
.
getRowIndex
();
data
.
setRowIndex
(
rowIndex
+
1
);
ErrorMessage
errorMessage
=
util1
.
checkEntity
(
data
,
data
.
getRowIndex
());
if
(
Common
.
isNotNull
(
errorMessage
)){
errorMessageList
.
add
(
errorMessage
);
}
else
{
cachedDataList
.
add
(
data
);
}
if
(
cachedDataList
.
size
()
>=
BATCH_COUNT
)
{
saveData
();
// 存储完成清理 list
cachedDataList
=
ListUtils
.
newArrayListWithExpectedSize
(
BATCH_COUNT
);
}
}
@Override
public
void
doAfterAllAnalysed
(
AnalysisContext
context
)
{
saveData
();
}
/**
* 加上存储数据库
*/
private
void
saveData
()
{
log
.
info
(
"{}条数据,开始存储数据库!"
,
cachedDataList
.
size
());
importTSocialFundHistory
(
cachedDataList
,
errorMessageList
);
log
.
info
(
"存储数据库成功!"
);
}
}).
sheet
().
doRead
();
}
catch
(
Exception
e
){
log
.
error
(
CommonConstants
.
IMPORT_DATA_ANALYSIS_ERROR
,
e
);
return
R
.
failed
(
CommonConstants
.
IMPORT_DATA_ANALYSIS_ERROR
);
}
return
R
.
ok
(
errorMessageList
);
}
private
void
importTSocialFundHistory
(
List
<
TSocialFundHistoryVo
>
excelVOList
,
List
<
ErrorMessage
>
errorMessageList
)
{
// 个性化校验逻辑
ErrorMessage
errorMsg
;
// 执行数据插入操作 组装
for
(
int
i
=
0
;
i
<
excelVOList
.
size
();
i
++)
{
TSocialFundHistoryVo
excel
=
excelVOList
.
get
(
i
);
// 数据合法情况 TODO
// 插入
insertExcel
(
excel
,
emp
);
errorMessageList
.
add
(
new
ErrorMessage
(
excel
.
getRowIndex
(),
CommonConstants
.
SAVE_SUCCESS
));
}
}
/**
* 插入excel bad record
*/
private
void
insertExcel
(
TSocialFundHistoryVo
excel
)
{
TSocialFundHistory
insert
=
new
TSocialFundHistory
();
BeanUtil
.
copyProperties
(
excel
,
insert
);
this
.
save
(
insert
);
}
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TSocialFundInfoServiceImpl.java
0 → 100644
View file @
1e811799
/*
* 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
.
social
.
service
.
impl
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.yifu.cloud.plus.v1.yifu.demo.entity.TSocialFundInfo
;
import
com.yifu.cloud.plus.v1.yifu.demo.mapper.TSocialFundInfoMapper
;
import
com.yifu.cloud.plus.v1.yifu.demo.service.TSocialFundInfoService
;
import
org.springframework.stereotype.Service
;
/**
* 社保公积金查询表
*
* @author fxj
* @date 2022-07-15 11:38:05
*/
@Service
public
class
TSocialFundInfoServiceImpl
extends
ServiceImpl
<
TSocialFundInfoMapper
,
TSocialFundInfo
>
implements
TSocialFundInfoService
{
/**
* 社保公积金查询表简单分页查询
* @param tSocialFundInfo 社保公积金查询表
* @return
*/
@Override
public
IPage
<
TSocialFundInfo
>
getTSocialFundInfoPage
(
Page
<
TSocialFundInfo
>
page
,
TSocialFundInfo
tSocialFundInfo
){
return
baseMapper
.
getTSocialFundInfoPage
(
page
,
tSocialFundInfo
);
}
/**
* 社保公积金查询表批量导入
*/
@Override
R
<
List
<
ErrorMessage
>>
importDiy
(
InputStream
inputStream
){
}
/**
* 社保公积金查询表批量导出
* @param tSocialFundInfo 社保公积金查询表
* @return
*/
@Override
void
listExport
(
HttpServletResponse
response
,
TSocialFundInfoSearchVo
searchVo
){
String
fileName
=
"不良记录批量导出"
+
DateUtil
.
getThisTime
()
+
".xlsx"
;
//获取要导出的列表
List
<
TSocialFundInfo
>
list
=
new
ArrayList
<>();
long
count
=
noPageCountDiy
(
searchVo
);
ServletOutputStream
out
=
null
;
try
{
out
=
response
.
getOutputStream
();
response
.
setContentType
(
"multipart/form-data"
);
response
.
setCharacterEncoding
(
"utf-8"
);
response
.
setHeader
(
"Content-Disposition"
,
"attachment;filename="
+
URLEncoder
.
encode
(
fileName
,
"UTF-8"
));
// 这里 需要指定写用哪个class去写,然后写到第一个sheet,然后文件流会自动关闭
//EasyExcel.write(out, TEmpBadRecord.class).sheet("不良记录").doWrite(list);
ExcelWriter
excelWriter
=
EasyExcel
.
write
(
out
,
TSocialFundInfo
.
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
=
noPageDiy
(
searchVo
);
if
(
Common
.
isNotNull
(
list
)){
ExcelUtil
<
TSocialFundInfo
>
util
=
new
ExcelUtil
<>(
TSocialFundInfo
.
class
);
for
(
TSocialFundInfo
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
List
<
TSocialFundInfo
>
noPageDiy
(
TSocialFundInfoSearchVo
searchVo
)
{
LambdaQueryWrapper
<
TSocialFundInfo
>
wrapper
=
buildQueryWrapper
(
searchVo
);
List
<
String
>
idList
=
Common
.
getList
(
searchVo
.
getIds
());
if
(
Common
.
isNotNull
(
idList
)){
wrapper
.
in
(
TEmpBadRecord:
:
getId
,
idList
);
}
if
(
searchVo
.
getLimitStart
()
>=
0
&&
searchVo
.
getLimitEnd
()
>
0
){
wrapper
.
last
(
" limit "
+
searchVo
.
getLimitStart
()
+
","
+
searchVo
.
getLimitEnd
());
}
wrapper
.
orderByDesc
(
BaseEntity:
:
getCreateTime
);
return
baseMapper
.
selectList
(
wrapper
);
}
private
Long
noPageCountDiy
(
TSocialFundInfoSearchVo
searchVo
)
{
LambdaQueryWrapper
<
TSocialFundInfo
>
wrapper
=
buildQueryWrapper
(
searchVo
);
List
<
String
>
idList
=
Common
.
getList
(
searchVo
.
getIds
());
if
(
Common
.
isNotNull
(
idList
)){
wrapper
.
in
(
TSocialFundInfo:
:
getId
,
idList
);
}
return
baseMapper
.
selectCount
(
wrapper
);
}
private
LambdaQueryWrapper
buildQueryWrapper
(
TSocialFundInfoSearchVo
entity
){
LambdaQueryWrapper
<
TSocialFundInfo
>
wrapper
=
Wrappers
.
lambdaQuery
();
if
(
ArrayUtil
.
isNotEmpty
(
entity
.
getCreateTimes
()))
{
wrapper
.
ge
(
TSocialFundInfo:
:
getCreateTime
,
entity
.
getCreateTimes
()[
0
])
.
le
(
TSocialFundInfo:
:
getCreateTime
,
entity
.
getCreateTimes
()[
1
]);
}
if
(
Common
.
isNotNull
(
entity
.
getCreateName
())){
wrapper
.
eq
(
TSocialFundInfo:
:
getCreateName
,
entity
.
getCreateName
());
}
return
wrapper
;
}
@Override
public
R
<
List
<
ErrorMessage
>>
importDiy
(
InputStream
inputStream
)
{
List
<
ErrorMessage
>
errorMessageList
=
new
ArrayList
<>();
ExcelUtil
<
TSocialFundInfoVo
>
util1
=
new
ExcelUtil
<>(
TSocialFundInfoVo
.
class
);;
// 写法2:
// 匿名内部类 不用额外写一个DemoDataListener
// 这里 需要指定读用哪个class去读,然后读取第一个sheet 文件流会自动关闭
try
{
EasyExcel
.
read
(
inputStream
,
TSocialFundInfoVo
.
class
,
new
ReadListener
<
TSocialFundInfoVo
>()
{
/**
* 单次缓存的数据量
*/
public
static
final
int
BATCH_COUNT
=
CommonConstants
.
BATCH_COUNT
;
/**
*临时存储
*/
private
List
<
TSocialFundInfoVo
>
cachedDataList
=
ListUtils
.
newArrayListWithExpectedSize
(
BATCH_COUNT
);
@Override
public
void
invoke
(
TSocialFundInfoVo
data
,
AnalysisContext
context
)
{
ReadRowHolder
readRowHolder
=
context
.
readRowHolder
();
Integer
rowIndex
=
readRowHolder
.
getRowIndex
();
data
.
setRowIndex
(
rowIndex
+
1
);
ErrorMessage
errorMessage
=
util1
.
checkEntity
(
data
,
data
.
getRowIndex
());
if
(
Common
.
isNotNull
(
errorMessage
)){
errorMessageList
.
add
(
errorMessage
);
}
else
{
cachedDataList
.
add
(
data
);
}
if
(
cachedDataList
.
size
()
>=
BATCH_COUNT
)
{
saveData
();
// 存储完成清理 list
cachedDataList
=
ListUtils
.
newArrayListWithExpectedSize
(
BATCH_COUNT
);
}
}
@Override
public
void
doAfterAllAnalysed
(
AnalysisContext
context
)
{
saveData
();
}
/**
* 加上存储数据库
*/
private
void
saveData
()
{
log
.
info
(
"{}条数据,开始存储数据库!"
,
cachedDataList
.
size
());
importTSocialFundInfo
(
cachedDataList
,
errorMessageList
);
log
.
info
(
"存储数据库成功!"
);
}
}).
sheet
().
doRead
();
}
catch
(
Exception
e
){
log
.
error
(
CommonConstants
.
IMPORT_DATA_ANALYSIS_ERROR
,
e
);
return
R
.
failed
(
CommonConstants
.
IMPORT_DATA_ANALYSIS_ERROR
);
}
return
R
.
ok
(
errorMessageList
);
}
private
void
importTSocialFundInfo
(
List
<
TSocialFundInfoVo
>
excelVOList
,
List
<
ErrorMessage
>
errorMessageList
)
{
// 个性化校验逻辑
ErrorMessage
errorMsg
;
// 执行数据插入操作 组装
for
(
int
i
=
0
;
i
<
excelVOList
.
size
();
i
++)
{
TSocialFundInfoVo
excel
=
excelVOList
.
get
(
i
);
// 数据合法情况 TODO
// 插入
insertExcel
(
excel
,
emp
);
errorMessageList
.
add
(
new
ErrorMessage
(
excel
.
getRowIndex
(),
CommonConstants
.
SAVE_SUCCESS
));
}
}
/**
* 插入excel bad record
*/
private
void
insertExcel
(
TSocialFundInfoVo
excel
)
{
TSocialFundInfo
insert
=
new
TSocialFundInfo
();
BeanUtil
.
copyProperties
(
excel
,
insert
);
this
.
save
(
insert
);
}
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TSocialInfoServiceImpl.java
0 → 100644
View file @
1e811799
/*
* 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
.
social
.
service
.
impl
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.yifu.cloud.plus.v1.yifu.demo.entity.TSocialInfo
;
import
com.yifu.cloud.plus.v1.yifu.demo.mapper.TSocialInfoMapper
;
import
com.yifu.cloud.plus.v1.yifu.demo.service.TSocialInfoService
;
import
org.springframework.stereotype.Service
;
/**
* 社保明细表
*
* @author fxj
* @date 2022-07-15 11:38:05
*/
@Service
public
class
TSocialInfoServiceImpl
extends
ServiceImpl
<
TSocialInfoMapper
,
TSocialInfo
>
implements
TSocialInfoService
{
/**
* 社保明细表简单分页查询
* @param tSocialInfo 社保明细表
* @return
*/
@Override
public
IPage
<
TSocialInfo
>
getTSocialInfoPage
(
Page
<
TSocialInfo
>
page
,
TSocialInfo
tSocialInfo
){
return
baseMapper
.
getTSocialInfoPage
(
page
,
tSocialInfo
);
}
/**
* 社保明细表批量导入
*/
@Override
R
<
List
<
ErrorMessage
>>
importDiy
(
InputStream
inputStream
){
}
/**
* 社保明细表批量导出
* @param tSocialInfo 社保明细表
* @return
*/
@Override
void
listExport
(
HttpServletResponse
response
,
TSocialInfoSearchVo
searchVo
){
String
fileName
=
"不良记录批量导出"
+
DateUtil
.
getThisTime
()
+
".xlsx"
;
//获取要导出的列表
List
<
TSocialInfo
>
list
=
new
ArrayList
<>();
long
count
=
noPageCountDiy
(
searchVo
);
ServletOutputStream
out
=
null
;
try
{
out
=
response
.
getOutputStream
();
response
.
setContentType
(
"multipart/form-data"
);
response
.
setCharacterEncoding
(
"utf-8"
);
response
.
setHeader
(
"Content-Disposition"
,
"attachment;filename="
+
URLEncoder
.
encode
(
fileName
,
"UTF-8"
));
// 这里 需要指定写用哪个class去写,然后写到第一个sheet,然后文件流会自动关闭
//EasyExcel.write(out, TEmpBadRecord.class).sheet("不良记录").doWrite(list);
ExcelWriter
excelWriter
=
EasyExcel
.
write
(
out
,
TSocialInfo
.
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
=
noPageDiy
(
searchVo
);
if
(
Common
.
isNotNull
(
list
)){
ExcelUtil
<
TSocialInfo
>
util
=
new
ExcelUtil
<>(
TSocialInfo
.
class
);
for
(
TSocialInfo
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
List
<
TSocialInfo
>
noPageDiy
(
TSocialInfoSearchVo
searchVo
)
{
LambdaQueryWrapper
<
TSocialInfo
>
wrapper
=
buildQueryWrapper
(
searchVo
);
List
<
String
>
idList
=
Common
.
getList
(
searchVo
.
getIds
());
if
(
Common
.
isNotNull
(
idList
)){
wrapper
.
in
(
TEmpBadRecord:
:
getId
,
idList
);
}
if
(
searchVo
.
getLimitStart
()
>=
0
&&
searchVo
.
getLimitEnd
()
>
0
){
wrapper
.
last
(
" limit "
+
searchVo
.
getLimitStart
()
+
","
+
searchVo
.
getLimitEnd
());
}
wrapper
.
orderByDesc
(
BaseEntity:
:
getCreateTime
);
return
baseMapper
.
selectList
(
wrapper
);
}
private
Long
noPageCountDiy
(
TSocialInfoSearchVo
searchVo
)
{
LambdaQueryWrapper
<
TSocialInfo
>
wrapper
=
buildQueryWrapper
(
searchVo
);
List
<
String
>
idList
=
Common
.
getList
(
searchVo
.
getIds
());
if
(
Common
.
isNotNull
(
idList
)){
wrapper
.
in
(
TSocialInfo:
:
getId
,
idList
);
}
return
baseMapper
.
selectCount
(
wrapper
);
}
private
LambdaQueryWrapper
buildQueryWrapper
(
TSocialInfoSearchVo
entity
){
LambdaQueryWrapper
<
TSocialInfo
>
wrapper
=
Wrappers
.
lambdaQuery
();
if
(
ArrayUtil
.
isNotEmpty
(
entity
.
getCreateTimes
()))
{
wrapper
.
ge
(
TSocialInfo:
:
getCreateTime
,
entity
.
getCreateTimes
()[
0
])
.
le
(
TSocialInfo:
:
getCreateTime
,
entity
.
getCreateTimes
()[
1
]);
}
if
(
Common
.
isNotNull
(
entity
.
getCreateName
())){
wrapper
.
eq
(
TSocialInfo:
:
getCreateName
,
entity
.
getCreateName
());
}
return
wrapper
;
}
@Override
public
R
<
List
<
ErrorMessage
>>
importDiy
(
InputStream
inputStream
)
{
List
<
ErrorMessage
>
errorMessageList
=
new
ArrayList
<>();
ExcelUtil
<
TSocialInfoVo
>
util1
=
new
ExcelUtil
<>(
TSocialInfoVo
.
class
);;
// 写法2:
// 匿名内部类 不用额外写一个DemoDataListener
// 这里 需要指定读用哪个class去读,然后读取第一个sheet 文件流会自动关闭
try
{
EasyExcel
.
read
(
inputStream
,
TSocialInfoVo
.
class
,
new
ReadListener
<
TSocialInfoVo
>()
{
/**
* 单次缓存的数据量
*/
public
static
final
int
BATCH_COUNT
=
CommonConstants
.
BATCH_COUNT
;
/**
*临时存储
*/
private
List
<
TSocialInfoVo
>
cachedDataList
=
ListUtils
.
newArrayListWithExpectedSize
(
BATCH_COUNT
);
@Override
public
void
invoke
(
TSocialInfoVo
data
,
AnalysisContext
context
)
{
ReadRowHolder
readRowHolder
=
context
.
readRowHolder
();
Integer
rowIndex
=
readRowHolder
.
getRowIndex
();
data
.
setRowIndex
(
rowIndex
+
1
);
ErrorMessage
errorMessage
=
util1
.
checkEntity
(
data
,
data
.
getRowIndex
());
if
(
Common
.
isNotNull
(
errorMessage
)){
errorMessageList
.
add
(
errorMessage
);
}
else
{
cachedDataList
.
add
(
data
);
}
if
(
cachedDataList
.
size
()
>=
BATCH_COUNT
)
{
saveData
();
// 存储完成清理 list
cachedDataList
=
ListUtils
.
newArrayListWithExpectedSize
(
BATCH_COUNT
);
}
}
@Override
public
void
doAfterAllAnalysed
(
AnalysisContext
context
)
{
saveData
();
}
/**
* 加上存储数据库
*/
private
void
saveData
()
{
log
.
info
(
"{}条数据,开始存储数据库!"
,
cachedDataList
.
size
());
importTSocialInfo
(
cachedDataList
,
errorMessageList
);
log
.
info
(
"存储数据库成功!"
);
}
}).
sheet
().
doRead
();
}
catch
(
Exception
e
){
log
.
error
(
CommonConstants
.
IMPORT_DATA_ANALYSIS_ERROR
,
e
);
return
R
.
failed
(
CommonConstants
.
IMPORT_DATA_ANALYSIS_ERROR
);
}
return
R
.
ok
(
errorMessageList
);
}
private
void
importTSocialInfo
(
List
<
TSocialInfoVo
>
excelVOList
,
List
<
ErrorMessage
>
errorMessageList
)
{
// 个性化校验逻辑
ErrorMessage
errorMsg
;
// 执行数据插入操作 组装
for
(
int
i
=
0
;
i
<
excelVOList
.
size
();
i
++)
{
TSocialInfoVo
excel
=
excelVOList
.
get
(
i
);
// 数据合法情况 TODO
// 插入
insertExcel
(
excel
,
emp
);
errorMessageList
.
add
(
new
ErrorMessage
(
excel
.
getRowIndex
(),
CommonConstants
.
SAVE_SUCCESS
));
}
}
/**
* 插入excel bad record
*/
private
void
insertExcel
(
TSocialInfoVo
excel
)
{
TSocialInfo
insert
=
new
TSocialInfo
();
BeanUtil
.
copyProperties
(
excel
,
insert
);
this
.
save
(
insert
);
}
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/package-info.java
deleted
100644 → 0
View file @
af3c20ee
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
social
.
service
;
\ No newline at end of file
yifu-social/yifu-social-biz/src/main/resources/mapper/TAuditInfoMapper.xml
0 → 100644
View file @
1e811799
<?xml version="1.0" encoding="UTF-8"?>
<!--
~
~ Copyright (c) 2018-2025, lengleng All rights reserved.
~
~ Redistribution and use in source and binary forms, with or without
~ modification, are permitted provided that the following conditions are met:
~
~ Redistributions of source code must retain the above copyright notice,
~ this list of conditions and the following disclaimer.
~ Redistributions in binary form must reproduce the above copyright
~ notice, this list of conditions and the following disclaimer in the
~ documentation and/or other materials provided with the distribution.
~ Neither the name of the yifu4cloud.com developer nor the names of its
~ contributors may be used to endorse or promote products derived from
~ this software without specific prior written permission.
~ Author: lengleng (wangiegie@gmail.com)
~
-->
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.yifu.cloud.plus.v1.yifu.demo.mapper.TAuditInfoMapper"
>
<resultMap
id=
"tAuditInfoMap"
type=
"com.yifu.cloud.plus.v1.yifu.demo.entity.TAuditInfo"
>
<id
property=
"id"
column=
"ID"
/>
<result
property=
"socialId"
column=
"SOCIAL_ID"
/>
<result
property=
"auditStatus"
column=
"AUDIT_STATUS"
/>
<result
property=
"auditRemark"
column=
"AUDIT_REMARK"
/>
<result
property=
"auditUser"
column=
"AUDIT_USER"
/>
<result
property=
"auditTime"
column=
"AUDIT_TIME"
/>
<result
property=
"isCommision"
column=
"IS_COMMISION"
/>
<result
property=
"providentId"
column=
"PROVIDENT_ID"
/>
<result
property=
"cardinalId"
column=
"CARDINAL_ID"
/>
<result
property=
"forecastFormId"
column=
"FORECAST_FORM_ID"
/>
<result
property=
"empLeaveId"
column=
"EMP_LEAVE_ID"
/>
<result
property=
"aprovalFormId"
column=
"APROVAL_FORM_ID"
/>
<result
property=
"dispatchInfoId"
column=
"DISPATCH_INFO_ID"
/>
<result
property=
"type"
column=
"TYPE"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
a.ID,
a.SOCIAL_ID,
a.AUDIT_STATUS,
a.AUDIT_REMARK,
a.AUDIT_USER,
a.AUDIT_TIME,
a.IS_COMMISION,
a.PROVIDENT_ID,
a.CARDINAL_ID,
a.FORECAST_FORM_ID,
a.EMP_LEAVE_ID,
a.APROVAL_FORM_ID,
a.DISPATCH_INFO_ID,
a.TYPE
</sql>
<sql
id=
"tAuditInfo_where"
>
<if
test=
"tAuditInfo != null"
>
<if
test=
"tAuditInfo.id != null and tAuditInfo.id.trim() != ''"
>
AND a.ID = #{tAuditInfo.id}
</if>
<if
test=
"tAuditInfo.socialId != null and tAuditInfo.socialId.trim() != ''"
>
AND a.SOCIAL_ID = #{tAuditInfo.socialId}
</if>
<if
test=
"tAuditInfo.auditStatus != null and tAuditInfo.auditStatus.trim() != ''"
>
AND a.AUDIT_STATUS = #{tAuditInfo.auditStatus}
</if>
<if
test=
"tAuditInfo.auditRemark != null and tAuditInfo.auditRemark.trim() != ''"
>
AND a.AUDIT_REMARK = #{tAuditInfo.auditRemark}
</if>
<if
test=
"tAuditInfo.auditUser != null and tAuditInfo.auditUser.trim() != ''"
>
AND a.AUDIT_USER = #{tAuditInfo.auditUser}
</if>
<if
test=
"tAuditInfo.auditTime != null"
>
AND a.AUDIT_TIME = #{tAuditInfo.auditTime}
</if>
<if
test=
"tAuditInfo.isCommision != null and tAuditInfo.isCommision.trim() != ''"
>
AND a.IS_COMMISION = #{tAuditInfo.isCommision}
</if>
<if
test=
"tAuditInfo.providentId != null and tAuditInfo.providentId.trim() != ''"
>
AND a.PROVIDENT_ID = #{tAuditInfo.providentId}
</if>
<if
test=
"tAuditInfo.cardinalId != null and tAuditInfo.cardinalId.trim() != ''"
>
AND a.CARDINAL_ID = #{tAuditInfo.cardinalId}
</if>
<if
test=
"tAuditInfo.forecastFormId != null and tAuditInfo.forecastFormId.trim() != ''"
>
AND a.FORECAST_FORM_ID = #{tAuditInfo.forecastFormId}
</if>
<if
test=
"tAuditInfo.empLeaveId != null and tAuditInfo.empLeaveId.trim() != ''"
>
AND a.EMP_LEAVE_ID = #{tAuditInfo.empLeaveId}
</if>
<if
test=
"tAuditInfo.aprovalFormId != null and tAuditInfo.aprovalFormId.trim() != ''"
>
AND a.APROVAL_FORM_ID = #{tAuditInfo.aprovalFormId}
</if>
<if
test=
"tAuditInfo.dispatchInfoId != null and tAuditInfo.dispatchInfoId.trim() != ''"
>
AND a.DISPATCH_INFO_ID = #{tAuditInfo.dispatchInfoId}
</if>
<if
test=
"tAuditInfo.type != null and tAuditInfo.type.trim() != ''"
>
AND a.TYPE = #{tAuditInfo.type}
</if>
</if>
</sql>
<!--tAuditInfo简单分页查询-->
<select
id=
"getTAuditInfoPage"
resultMap=
"tAuditInfoMap"
>
SELECT
<include
refid=
"Base_Column_List"
/>
FROM t_audit_info a
<where>
1=1
<include
refid=
"tAuditInfo_where"
/>
</where>
</select>
</mapper>
yifu-social/yifu-social-biz/src/main/resources/mapper/TDispatchDayConfMapper.xml
0 → 100644
View file @
1e811799
<?xml version="1.0" encoding="UTF-8"?>
<!--
~
~ Copyright (c) 2018-2025, lengleng All rights reserved.
~
~ Redistribution and use in source and binary forms, with or without
~ modification, are permitted provided that the following conditions are met:
~
~ Redistributions of source code must retain the above copyright notice,
~ this list of conditions and the following disclaimer.
~ Redistributions in binary form must reproduce the above copyright
~ notice, this list of conditions and the following disclaimer in the
~ documentation and/or other materials provided with the distribution.
~ Neither the name of the yifu4cloud.com developer nor the names of its
~ contributors may be used to endorse or promote products derived from
~ this software without specific prior written permission.
~ Author: lengleng (wangiegie@gmail.com)
~
-->
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.yifu.cloud.plus.v1.yifu.demo.mapper.TDispatchDayConfMapper"
>
<resultMap
id=
"tDispatchDayConfMap"
type=
"com.yifu.cloud.plus.v1.yifu.demo.entity.TDispatchDayConf"
>
<id
property=
"id"
column=
"ID"
/>
<result
property=
"province"
column=
"PROVINCE"
/>
<result
property=
"city"
column=
"CITY"
/>
<result
property=
"town"
column=
"TOWN"
/>
<result
property=
"areaName"
column=
"AREA_NAME"
/>
<result
property=
"day"
column=
"DAY"
/>
<result
property=
"createBy"
column=
"CREATE_BY"
/>
<result
property=
"updateBy"
column=
"UPDATE_BY"
/>
<result
property=
"createName"
column=
"CREATE_NAME"
/>
<result
property=
"updateTime"
column=
"UPDATE_TIME"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
a.ID,
a.PROVINCE,
a.CITY,
a.TOWN,
a.AREA_NAME,
a.DAY,
a.CREATE_BY,
a.UPDATE_BY,
a.CREATE_NAME,
a.UPDATE_TIME
</sql>
<sql
id=
"tDispatchDayConf_where"
>
<if
test=
"tDispatchDayConf != null"
>
<if
test=
"tDispatchDayConf.id != null and tDispatchDayConf.id.trim() != ''"
>
AND a.ID = #{tDispatchDayConf.id}
</if>
<if
test=
"tDispatchDayConf.province != null and tDispatchDayConf.province.trim() != ''"
>
AND a.PROVINCE = #{tDispatchDayConf.province}
</if>
<if
test=
"tDispatchDayConf.city != null and tDispatchDayConf.city.trim() != ''"
>
AND a.CITY = #{tDispatchDayConf.city}
</if>
<if
test=
"tDispatchDayConf.town != null and tDispatchDayConf.town.trim() != ''"
>
AND a.TOWN = #{tDispatchDayConf.town}
</if>
<if
test=
"tDispatchDayConf.areaName != null and tDispatchDayConf.areaName.trim() != ''"
>
AND a.AREA_NAME = #{tDispatchDayConf.areaName}
</if>
<if
test=
"tDispatchDayConf.day != null"
>
AND a.DAY = #{tDispatchDayConf.day}
</if>
<if
test=
"tDispatchDayConf.createBy != null and tDispatchDayConf.createBy.trim() != ''"
>
AND a.CREATE_BY = #{tDispatchDayConf.createBy}
</if>
<if
test=
"tDispatchDayConf.updateBy != null and tDispatchDayConf.updateBy.trim() != ''"
>
AND a.UPDATE_BY = #{tDispatchDayConf.updateBy}
</if>
<if
test=
"tDispatchDayConf.createName != null and tDispatchDayConf.createName.trim() != ''"
>
AND a.CREATE_NAME = #{tDispatchDayConf.createName}
</if>
<if
test=
"tDispatchDayConf.updateTime != null"
>
AND a.UPDATE_TIME = #{tDispatchDayConf.updateTime}
</if>
</if>
</sql>
<!--tDispatchDayConf简单分页查询-->
<select
id=
"getTDispatchDayConfPage"
resultMap=
"tDispatchDayConfMap"
>
SELECT
<include
refid=
"Base_Column_List"
/>
FROM t_dispatch_day_conf a
<where>
1=1
<include
refid=
"tDispatchDayConf_where"
/>
</where>
</select>
</mapper>
yifu-social/yifu-social-biz/src/main/resources/mapper/TDispatchInfoMapper.xml
0 → 100644
View file @
1e811799
<?xml version="1.0" encoding="UTF-8"?>
<!--
~
~ Copyright (c) 2018-2025, lengleng All rights reserved.
~
~ Redistribution and use in source and binary forms, with or without
~ modification, are permitted provided that the following conditions are met:
~
~ Redistributions of source code must retain the above copyright notice,
~ this list of conditions and the following disclaimer.
~ Redistributions in binary form must reproduce the above copyright
~ notice, this list of conditions and the following disclaimer in the
~ documentation and/or other materials provided with the distribution.
~ Neither the name of the yifu4cloud.com developer nor the names of its
~ contributors may be used to endorse or promote products derived from
~ this software without specific prior written permission.
~ Author: lengleng (wangiegie@gmail.com)
~
-->
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.yifu.cloud.plus.v1.yifu.demo.mapper.TDispatchInfoMapper"
>
<resultMap
id=
"tDispatchInfoMap"
type=
"com.yifu.cloud.plus.v1.yifu.demo.entity.TDispatchInfo"
>
<id
property=
"id"
column=
"ID"
/>
<result
property=
"empId"
column=
"EMP_ID"
/>
<result
property=
"empName"
column=
"EMP_NAME"
/>
<result
property=
"empNo"
column=
"EMP_NO"
/>
<result
property=
"empIdcard"
column=
"EMP_IDCARD"
/>
<result
property=
"empType"
column=
"EMP_TYPE"
/>
<result
property=
"empMobile"
column=
"EMP_MOBILE"
/>
<result
property=
"empNational"
column=
"EMP_NATIONAL"
/>
<result
property=
"status"
column=
"STATUS"
/>
<result
property=
"type"
column=
"TYPE"
/>
<result
property=
"socialId"
column=
"SOCIAL_ID"
/>
<result
property=
"fundId"
column=
"FUND_ID"
/>
<result
property=
"typeSub"
column=
"TYPE_SUB"
/>
<result
property=
"processInstId"
column=
"PROCESS_INST_ID"
/>
<result
property=
"settleDomain"
column=
"SETTLE_DOMAIN"
/>
<result
property=
"deleteFlag"
column=
"DELETE_FLAG"
/>
<result
property=
"socialReduceDate"
column=
"SOCIAL_REDUCE_DATE"
/>
<result
property=
"fundReduceDate"
column=
"FUND_REDUCE_DATE"
/>
<result
property=
"leaveDate"
column=
"LEAVE_DATE"
/>
<result
property=
"reduceReason"
column=
"REDUCE_REASON"
/>
<result
property=
"reduceRemark"
column=
"REDUCE_REMARK"
/>
<result
property=
"belongUnit"
column=
"BELONG_UNIT"
/>
<result
property=
"currentOperator"
column=
"CURRENT_OPERATOR"
/>
<result
property=
"dispatchIdBak"
column=
"DISPATCH_ID_BAK"
/>
<result
property=
"contractStart"
column=
"CONTRACT_START"
/>
<result
property=
"contractEnd"
column=
"CONTRACT_END"
/>
<result
property=
"contractTerm"
column=
"CONTRACT_TERM"
/>
<result
property=
"empRegisType"
column=
"EMP_REGIS_TYPE"
/>
<result
property=
"enjoinDate"
column=
"ENJOIN_DATE"
/>
<result
property=
"tryPeriod"
column=
"TRY_PERIOD"
/>
<result
property=
"fileAddr"
column=
"FILE_ADDR"
/>
<result
property=
"post"
column=
"POST"
/>
<result
property=
"trustRemark"
column=
"TRUST_REMARK"
/>
<result
property=
"fileProvince"
column=
"FILE_PROVINCE"
/>
<result
property=
"fileCity"
column=
"FILE_CITY"
/>
<result
property=
"fileTown"
column=
"FILE_TOWN"
/>
<result
property=
"contractType"
column=
"CONTRACT_TYPE"
/>
<result
property=
"socialHandleStatus"
column=
"SOCIAL_HANDLE_STATUS"
/>
<result
property=
"fundHandleStatus"
column=
"FUND_HANDLE_STATUS"
/>
<result
property=
"handleRemark"
column=
"HANDLE_REMARK"
/>
<result
property=
"auditRemark"
column=
"AUDIT_REMARK"
/>
<result
property=
"fundHandleRemark"
column=
"FUND_HANDLE_REMARK"
/>
<result
property=
"socialHandleRemark"
column=
"SOCIAL_HANDLE_REMARK"
/>
<result
property=
"socialProvince"
column=
"SOCIAL_PROVINCE"
/>
<result
property=
"socialCity"
column=
"SOCIAL_CITY"
/>
<result
property=
"socialTown"
column=
"SOCIAL_TOWN"
/>
<result
property=
"fundProvince"
column=
"FUND_PROVINCE"
/>
<result
property=
"fundCity"
column=
"FUND_CITY"
/>
<result
property=
"fundTown"
column=
"FUND_TOWN"
/>
<result
property=
"auditUser"
column=
"AUDIT_USER"
/>
<result
property=
"auditTime"
column=
"AUDIT_TIME"
/>
<result
property=
"workingHours"
column=
"WORKING_HOURS"
/>
<result
property=
"createBy"
column=
"CREATE_BY"
/>
<result
property=
"updateBy"
column=
"UPDATE_BY"
/>
<result
property=
"createName"
column=
"CREATE_NAME"
/>
<result
property=
"updateTime"
column=
"UPDATE_TIME"
/>
<result
property=
"organName"
column=
"ORGAN_NAME"
/>
<result
property=
"dispatchItem"
column=
"DISPATCH_ITEM"
/>
<result
property=
"settleDomainName"
column=
"SETTLE_DOMAIN_NAME"
/>
<result
property=
"belongUnitName"
column=
"BELONG_UNIT_NAME"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
a.ID,
a.EMP_ID,
a.EMP_NAME,
a.EMP_NO,
a.EMP_IDCARD,
a.EMP_TYPE,
a.EMP_MOBILE,
a.EMP_NATIONAL,
a.STATUS,
a.TYPE,
a.SOCIAL_ID,
a.FUND_ID,
a.TYPE_SUB,
a.PROCESS_INST_ID,
a.SETTLE_DOMAIN,
a.DELETE_FLAG,
a.SOCIAL_REDUCE_DATE,
a.FUND_REDUCE_DATE,
a.LEAVE_DATE,
a.REDUCE_REASON,
a.REDUCE_REMARK,
a.BELONG_UNIT,
a.CURRENT_OPERATOR,
a.DISPATCH_ID_BAK,
a.CONTRACT_START,
a.CONTRACT_END,
a.CONTRACT_TERM,
a.EMP_REGIS_TYPE,
a.ENJOIN_DATE,
a.TRY_PERIOD,
a.FILE_ADDR,
a.POST,
a.TRUST_REMARK,
a.FILE_PROVINCE,
a.FILE_CITY,
a.FILE_TOWN,
a.CONTRACT_TYPE,
a.SOCIAL_HANDLE_STATUS,
a.FUND_HANDLE_STATUS,
a.HANDLE_REMARK,
a.AUDIT_REMARK,
a.FUND_HANDLE_REMARK,
a.SOCIAL_HANDLE_REMARK,
a.SOCIAL_PROVINCE,
a.SOCIAL_CITY,
a.SOCIAL_TOWN,
a.FUND_PROVINCE,
a.FUND_CITY,
a.FUND_TOWN,
a.AUDIT_USER,
a.AUDIT_TIME,
a.WORKING_HOURS,
a.CREATE_BY,
a.UPDATE_BY,
a.CREATE_NAME,
a.UPDATE_TIME,
a.ORGAN_NAME,
a.DISPATCH_ITEM,
a.SETTLE_DOMAIN_NAME,
a.BELONG_UNIT_NAME
</sql>
<sql
id=
"tDispatchInfo_where"
>
<if
test=
"tDispatchInfo != null"
>
<if
test=
"tDispatchInfo.id != null and tDispatchInfo.id.trim() != ''"
>
AND a.ID = #{tDispatchInfo.id}
</if>
<if
test=
"tDispatchInfo.empId != null and tDispatchInfo.empId.trim() != ''"
>
AND a.EMP_ID = #{tDispatchInfo.empId}
</if>
<if
test=
"tDispatchInfo.empName != null and tDispatchInfo.empName.trim() != ''"
>
AND a.EMP_NAME = #{tDispatchInfo.empName}
</if>
<if
test=
"tDispatchInfo.empNo != null and tDispatchInfo.empNo.trim() != ''"
>
AND a.EMP_NO = #{tDispatchInfo.empNo}
</if>
<if
test=
"tDispatchInfo.empIdcard != null and tDispatchInfo.empIdcard.trim() != ''"
>
AND a.EMP_IDCARD = #{tDispatchInfo.empIdcard}
</if>
<if
test=
"tDispatchInfo.empType != null and tDispatchInfo.empType.trim() != ''"
>
AND a.EMP_TYPE = #{tDispatchInfo.empType}
</if>
<if
test=
"tDispatchInfo.empMobile != null and tDispatchInfo.empMobile.trim() != ''"
>
AND a.EMP_MOBILE = #{tDispatchInfo.empMobile}
</if>
<if
test=
"tDispatchInfo.empNational != null and tDispatchInfo.empNational.trim() != ''"
>
AND a.EMP_NATIONAL = #{tDispatchInfo.empNational}
</if>
<if
test=
"tDispatchInfo.status != null and tDispatchInfo.status.trim() != ''"
>
AND a.STATUS = #{tDispatchInfo.status}
</if>
<if
test=
"tDispatchInfo.type != null and tDispatchInfo.type.trim() != ''"
>
AND a.TYPE = #{tDispatchInfo.type}
</if>
<if
test=
"tDispatchInfo.socialId != null and tDispatchInfo.socialId.trim() != ''"
>
AND a.SOCIAL_ID = #{tDispatchInfo.socialId}
</if>
<if
test=
"tDispatchInfo.fundId != null and tDispatchInfo.fundId.trim() != ''"
>
AND a.FUND_ID = #{tDispatchInfo.fundId}
</if>
<if
test=
"tDispatchInfo.typeSub != null and tDispatchInfo.typeSub.trim() != ''"
>
AND a.TYPE_SUB = #{tDispatchInfo.typeSub}
</if>
<if
test=
"tDispatchInfo.processInstId != null and tDispatchInfo.processInstId.trim() != ''"
>
AND a.PROCESS_INST_ID = #{tDispatchInfo.processInstId}
</if>
<if
test=
"tDispatchInfo.settleDomain != null and tDispatchInfo.settleDomain.trim() != ''"
>
AND a.SETTLE_DOMAIN = #{tDispatchInfo.settleDomain}
</if>
<if
test=
"tDispatchInfo.deleteFlag != null and tDispatchInfo.deleteFlag.trim() != ''"
>
AND a.DELETE_FLAG = #{tDispatchInfo.deleteFlag}
</if>
<if
test=
"tDispatchInfo.socialReduceDate != null"
>
AND a.SOCIAL_REDUCE_DATE = #{tDispatchInfo.socialReduceDate}
</if>
<if
test=
"tDispatchInfo.fundReduceDate != null"
>
AND a.FUND_REDUCE_DATE = #{tDispatchInfo.fundReduceDate}
</if>
<if
test=
"tDispatchInfo.leaveDate != null"
>
AND a.LEAVE_DATE = #{tDispatchInfo.leaveDate}
</if>
<if
test=
"tDispatchInfo.reduceReason != null and tDispatchInfo.reduceReason.trim() != ''"
>
AND a.REDUCE_REASON = #{tDispatchInfo.reduceReason}
</if>
<if
test=
"tDispatchInfo.reduceRemark != null and tDispatchInfo.reduceRemark.trim() != ''"
>
AND a.REDUCE_REMARK = #{tDispatchInfo.reduceRemark}
</if>
<if
test=
"tDispatchInfo.belongUnit != null and tDispatchInfo.belongUnit.trim() != ''"
>
AND a.BELONG_UNIT = #{tDispatchInfo.belongUnit}
</if>
<if
test=
"tDispatchInfo.currentOperator != null and tDispatchInfo.currentOperator.trim() != ''"
>
AND a.CURRENT_OPERATOR = #{tDispatchInfo.currentOperator}
</if>
<if
test=
"tDispatchInfo.dispatchIdBak != null and tDispatchInfo.dispatchIdBak.trim() != ''"
>
AND a.DISPATCH_ID_BAK = #{tDispatchInfo.dispatchIdBak}
</if>
<if
test=
"tDispatchInfo.contractStart != null"
>
AND a.CONTRACT_START = #{tDispatchInfo.contractStart}
</if>
<if
test=
"tDispatchInfo.contractEnd != null"
>
AND a.CONTRACT_END = #{tDispatchInfo.contractEnd}
</if>
<if
test=
"tDispatchInfo.contractTerm != null"
>
AND a.CONTRACT_TERM = #{tDispatchInfo.contractTerm}
</if>
<if
test=
"tDispatchInfo.empRegisType != null and tDispatchInfo.empRegisType.trim() != ''"
>
AND a.EMP_REGIS_TYPE = #{tDispatchInfo.empRegisType}
</if>
<if
test=
"tDispatchInfo.enjoinDate != null"
>
AND a.ENJOIN_DATE = #{tDispatchInfo.enjoinDate}
</if>
<if
test=
"tDispatchInfo.tryPeriod != null and tDispatchInfo.tryPeriod.trim() != ''"
>
AND a.TRY_PERIOD = #{tDispatchInfo.tryPeriod}
</if>
<if
test=
"tDispatchInfo.fileAddr != null and tDispatchInfo.fileAddr.trim() != ''"
>
AND a.FILE_ADDR = #{tDispatchInfo.fileAddr}
</if>
<if
test=
"tDispatchInfo.post != null and tDispatchInfo.post.trim() != ''"
>
AND a.POST = #{tDispatchInfo.post}
</if>
<if
test=
"tDispatchInfo.trustRemark != null and tDispatchInfo.trustRemark.trim() != ''"
>
AND a.TRUST_REMARK = #{tDispatchInfo.trustRemark}
</if>
<if
test=
"tDispatchInfo.fileProvince != null"
>
AND a.FILE_PROVINCE = #{tDispatchInfo.fileProvince}
</if>
<if
test=
"tDispatchInfo.fileCity != null"
>
AND a.FILE_CITY = #{tDispatchInfo.fileCity}
</if>
<if
test=
"tDispatchInfo.fileTown != null"
>
AND a.FILE_TOWN = #{tDispatchInfo.fileTown}
</if>
<if
test=
"tDispatchInfo.contractType != null and tDispatchInfo.contractType.trim() != ''"
>
AND a.CONTRACT_TYPE = #{tDispatchInfo.contractType}
</if>
<if
test=
"tDispatchInfo.socialHandleStatus != null and tDispatchInfo.socialHandleStatus.trim() != ''"
>
AND a.SOCIAL_HANDLE_STATUS = #{tDispatchInfo.socialHandleStatus}
</if>
<if
test=
"tDispatchInfo.fundHandleStatus != null and tDispatchInfo.fundHandleStatus.trim() != ''"
>
AND a.FUND_HANDLE_STATUS = #{tDispatchInfo.fundHandleStatus}
</if>
<if
test=
"tDispatchInfo.handleRemark != null and tDispatchInfo.handleRemark.trim() != ''"
>
AND a.HANDLE_REMARK = #{tDispatchInfo.handleRemark}
</if>
<if
test=
"tDispatchInfo.auditRemark != null and tDispatchInfo.auditRemark.trim() != ''"
>
AND a.AUDIT_REMARK = #{tDispatchInfo.auditRemark}
</if>
<if
test=
"tDispatchInfo.fundHandleRemark != null and tDispatchInfo.fundHandleRemark.trim() != ''"
>
AND a.FUND_HANDLE_REMARK = #{tDispatchInfo.fundHandleRemark}
</if>
<if
test=
"tDispatchInfo.socialHandleRemark != null and tDispatchInfo.socialHandleRemark.trim() != ''"
>
AND a.SOCIAL_HANDLE_REMARK = #{tDispatchInfo.socialHandleRemark}
</if>
<if
test=
"tDispatchInfo.socialProvince != null and tDispatchInfo.socialProvince.trim() != ''"
>
AND a.SOCIAL_PROVINCE = #{tDispatchInfo.socialProvince}
</if>
<if
test=
"tDispatchInfo.socialCity != null and tDispatchInfo.socialCity.trim() != ''"
>
AND a.SOCIAL_CITY = #{tDispatchInfo.socialCity}
</if>
<if
test=
"tDispatchInfo.socialTown != null and tDispatchInfo.socialTown.trim() != ''"
>
AND a.SOCIAL_TOWN = #{tDispatchInfo.socialTown}
</if>
<if
test=
"tDispatchInfo.fundProvince != null and tDispatchInfo.fundProvince.trim() != ''"
>
AND a.FUND_PROVINCE = #{tDispatchInfo.fundProvince}
</if>
<if
test=
"tDispatchInfo.fundCity != null and tDispatchInfo.fundCity.trim() != ''"
>
AND a.FUND_CITY = #{tDispatchInfo.fundCity}
</if>
<if
test=
"tDispatchInfo.fundTown != null and tDispatchInfo.fundTown.trim() != ''"
>
AND a.FUND_TOWN = #{tDispatchInfo.fundTown}
</if>
<if
test=
"tDispatchInfo.auditUser != null and tDispatchInfo.auditUser.trim() != ''"
>
AND a.AUDIT_USER = #{tDispatchInfo.auditUser}
</if>
<if
test=
"tDispatchInfo.auditTime != null"
>
AND a.AUDIT_TIME = #{tDispatchInfo.auditTime}
</if>
<if
test=
"tDispatchInfo.workingHours != null and tDispatchInfo.workingHours.trim() != ''"
>
AND a.WORKING_HOURS = #{tDispatchInfo.workingHours}
</if>
<if
test=
"tDispatchInfo.createBy != null and tDispatchInfo.createBy.trim() != ''"
>
AND a.CREATE_BY = #{tDispatchInfo.createBy}
</if>
<if
test=
"tDispatchInfo.updateBy != null and tDispatchInfo.updateBy.trim() != ''"
>
AND a.UPDATE_BY = #{tDispatchInfo.updateBy}
</if>
<if
test=
"tDispatchInfo.createName != null and tDispatchInfo.createName.trim() != ''"
>
AND a.CREATE_NAME = #{tDispatchInfo.createName}
</if>
<if
test=
"tDispatchInfo.updateTime != null"
>
AND a.UPDATE_TIME = #{tDispatchInfo.updateTime}
</if>
<if
test=
"tDispatchInfo.organName != null and tDispatchInfo.organName.trim() != ''"
>
AND a.ORGAN_NAME = #{tDispatchInfo.organName}
</if>
<if
test=
"tDispatchInfo.dispatchItem != null and tDispatchInfo.dispatchItem.trim() != ''"
>
AND a.DISPATCH_ITEM = #{tDispatchInfo.dispatchItem}
</if>
<if
test=
"tDispatchInfo.settleDomainName != null and tDispatchInfo.settleDomainName.trim() != ''"
>
AND a.SETTLE_DOMAIN_NAME = #{tDispatchInfo.settleDomainName}
</if>
<if
test=
"tDispatchInfo.belongUnitName != null and tDispatchInfo.belongUnitName.trim() != ''"
>
AND a.BELONG_UNIT_NAME = #{tDispatchInfo.belongUnitName}
</if>
</if>
</sql>
<!--tDispatchInfo简单分页查询-->
<select
id=
"getTDispatchInfoPage"
resultMap=
"tDispatchInfoMap"
>
SELECT
<include
refid=
"Base_Column_List"
/>
FROM t_dispatch_info a
<where>
1=1
<include
refid=
"tDispatchInfo_where"
/>
</where>
</select>
</mapper>
yifu-social/yifu-social-biz/src/main/resources/mapper/TProvidentFundMapper.xml
0 → 100644
View file @
1e811799
<?xml version="1.0" encoding="UTF-8"?>
<!--
~
~ Copyright (c) 2018-2025, lengleng All rights reserved.
~
~ Redistribution and use in source and binary forms, with or without
~ modification, are permitted provided that the following conditions are met:
~
~ Redistributions of source code must retain the above copyright notice,
~ this list of conditions and the following disclaimer.
~ Redistributions in binary form must reproduce the above copyright
~ notice, this list of conditions and the following disclaimer in the
~ documentation and/or other materials provided with the distribution.
~ Neither the name of the yifu4cloud.com developer nor the names of its
~ contributors may be used to endorse or promote products derived from
~ this software without specific prior written permission.
~ Author: lengleng (wangiegie@gmail.com)
~
-->
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.yifu.cloud.plus.v1.yifu.demo.mapper.TProvidentFundMapper"
>
<resultMap
id=
"tProvidentFundMap"
type=
"com.yifu.cloud.plus.v1.yifu.demo.entity.TProvidentFund"
>
<id
property=
"id"
column=
"ID"
/>
<result
property=
"providentHousehold"
column=
"PROVIDENT_HOUSEHOLD"
/>
<result
property=
"providentStart"
column=
"PROVIDENT_START"
/>
<result
property=
"unitProvidengCardinal"
column=
"UNIT_PROVIDENG_CARDINAL"
/>
<result
property=
"personalProvidentCardinal"
column=
"PERSONAL_PROVIDENT_CARDINAL"
/>
<result
property=
"unitProvidentPer"
column=
"UNIT_PROVIDENT_PER"
/>
<result
property=
"personalProvidentPer"
column=
"PERSONAL_PROVIDENT_PER"
/>
<result
property=
"unitProvidentFee"
column=
"UNIT_PROVIDENT_FEE"
/>
<result
property=
"personalProvidentFee"
column=
"PERSONAL_PROVIDENT_FEE"
/>
<result
property=
"oldId"
column=
"OLD_ID"
/>
<result
property=
"auditStatus"
column=
"AUDIT_STATUS"
/>
<result
property=
"handleStatus"
column=
"HANDLE_STATUS"
/>
<result
property=
"draftStatus"
column=
"DRAFT_STATUS"
/>
<result
property=
"empId"
column=
"EMP_ID"
/>
<result
property=
"empNo"
column=
"EMP_NO"
/>
<result
property=
"empName"
column=
"EMP_NAME"
/>
<result
property=
"empIdcard"
column=
"EMP_IDCARD"
/>
<result
property=
"settleDomain"
column=
"SETTLE_DOMAIN"
/>
<result
property=
"fundProvince"
column=
"FUND_PROVINCE"
/>
<result
property=
"fundCity"
column=
"FUND_CITY"
/>
<result
property=
"fundTown"
column=
"FUND_TOWN"
/>
<result
property=
"remark"
column=
"REMARK"
/>
<result
property=
"deleteFlag"
column=
"DELETE_FLAG"
/>
<result
property=
"fundBaseSetId"
column=
"FUND_BASE_SET_ID"
/>
<result
property=
"fundPayPoint"
column=
"FUND_PAY_POINT"
/>
<result
property=
"processInstId"
column=
"PROCESS_INST_ID"
/>
<result
property=
"auditUser"
column=
"AUDIT_USER"
/>
<result
property=
"auditTime"
column=
"AUDIT_TIME"
/>
<result
property=
"handleUser"
column=
"HANDLE_USER"
/>
<result
property=
"handleTime"
column=
"HANDLE_TIME"
/>
<result
property=
"applyUser"
column=
"APPLY_USER"
/>
<result
property=
"applyTime"
column=
"APPLY_TIME"
/>
<result
property=
"belongUnit"
column=
"BELONG_UNIT"
/>
<result
property=
"fundReduceDate"
column=
"FUND_REDUCE_DATE"
/>
<result
property=
"canOverpay"
column=
"CAN_OVERPAY"
/>
<result
property=
"overpayNumber"
column=
"OVERPAY_NUMBER"
/>
<result
property=
"insuranceIsLatestCardinality"
column=
"INSURANCE_IS_LATEST_CARDINALITY"
/>
<result
property=
"haveThisMonth"
column=
"HAVE_THIS_MONTH"
/>
<result
property=
"reduceHandleUser"
column=
"REDUCE_HANDLE_USER"
/>
<result
property=
"reduceHandleTime"
column=
"REDUCE_HANDLE_TIME"
/>
<result
property=
"trustRemark"
column=
"TRUST_REMARK"
/>
<result
property=
"reduceCan"
column=
"REDUCE_CAN"
/>
<result
property=
"inauguralTeam"
column=
"INAUGURAL_TEAM"
/>
<result
property=
"telecomNumber"
column=
"TELECOM_NUMBER"
/>
<result
property=
"createBy"
column=
"CREATE_BY"
/>
<result
property=
"updateBy"
column=
"UPDATE_BY"
/>
<result
property=
"createName"
column=
"CREATE_NAME"
/>
<result
property=
"updateTime"
column=
"UPDATE_TIME"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
a.ID,
a.PROVIDENT_HOUSEHOLD,
a.PROVIDENT_START,
a.UNIT_PROVIDENG_CARDINAL,
a.PERSONAL_PROVIDENT_CARDINAL,
a.UNIT_PROVIDENT_PER,
a.PERSONAL_PROVIDENT_PER,
a.UNIT_PROVIDENT_FEE,
a.PERSONAL_PROVIDENT_FEE,
a.OLD_ID,
a.AUDIT_STATUS,
a.HANDLE_STATUS,
a.DRAFT_STATUS,
a.EMP_ID,
a.EMP_NO,
a.EMP_NAME,
a.EMP_IDCARD,
a.SETTLE_DOMAIN,
a.FUND_PROVINCE,
a.FUND_CITY,
a.FUND_TOWN,
a.REMARK,
a.DELETE_FLAG,
a.FUND_BASE_SET_ID,
a.FUND_PAY_POINT,
a.PROCESS_INST_ID,
a.AUDIT_USER,
a.AUDIT_TIME,
a.HANDLE_USER,
a.HANDLE_TIME,
a.APPLY_USER,
a.APPLY_TIME,
a.BELONG_UNIT,
a.FUND_REDUCE_DATE,
a.CAN_OVERPAY,
a.OVERPAY_NUMBER,
a.INSURANCE_IS_LATEST_CARDINALITY,
a.HAVE_THIS_MONTH,
a.REDUCE_HANDLE_USER,
a.REDUCE_HANDLE_TIME,
a.TRUST_REMARK,
a.REDUCE_CAN,
a.INAUGURAL_TEAM,
a.TELECOM_NUMBER,
a.CREATE_BY,
a.UPDATE_BY,
a.CREATE_NAME,
a.UPDATE_TIME
</sql>
<sql
id=
"tProvidentFund_where"
>
<if
test=
"tProvidentFund != null"
>
<if
test=
"tProvidentFund.id != null and tProvidentFund.id.trim() != ''"
>
AND a.ID = #{tProvidentFund.id}
</if>
<if
test=
"tProvidentFund.providentHousehold != null and tProvidentFund.providentHousehold.trim() != ''"
>
AND a.PROVIDENT_HOUSEHOLD = #{tProvidentFund.providentHousehold}
</if>
<if
test=
"tProvidentFund.providentStart != null"
>
AND a.PROVIDENT_START = #{tProvidentFund.providentStart}
</if>
<if
test=
"tProvidentFund.unitProvidengCardinal != null"
>
AND a.UNIT_PROVIDENG_CARDINAL = #{tProvidentFund.unitProvidengCardinal}
</if>
<if
test=
"tProvidentFund.personalProvidentCardinal != null"
>
AND a.PERSONAL_PROVIDENT_CARDINAL = #{tProvidentFund.personalProvidentCardinal}
</if>
<if
test=
"tProvidentFund.unitProvidentPer != null"
>
AND a.UNIT_PROVIDENT_PER = #{tProvidentFund.unitProvidentPer}
</if>
<if
test=
"tProvidentFund.personalProvidentPer != null"
>
AND a.PERSONAL_PROVIDENT_PER = #{tProvidentFund.personalProvidentPer}
</if>
<if
test=
"tProvidentFund.unitProvidentFee != null"
>
AND a.UNIT_PROVIDENT_FEE = #{tProvidentFund.unitProvidentFee}
</if>
<if
test=
"tProvidentFund.personalProvidentFee != null"
>
AND a.PERSONAL_PROVIDENT_FEE = #{tProvidentFund.personalProvidentFee}
</if>
<if
test=
"tProvidentFund.oldId != null and tProvidentFund.oldId.trim() != ''"
>
AND a.OLD_ID = #{tProvidentFund.oldId}
</if>
<if
test=
"tProvidentFund.auditStatus != null and tProvidentFund.auditStatus.trim() != ''"
>
AND a.AUDIT_STATUS = #{tProvidentFund.auditStatus}
</if>
<if
test=
"tProvidentFund.handleStatus != null and tProvidentFund.handleStatus.trim() != ''"
>
AND a.HANDLE_STATUS = #{tProvidentFund.handleStatus}
</if>
<if
test=
"tProvidentFund.draftStatus != null and tProvidentFund.draftStatus.trim() != ''"
>
AND a.DRAFT_STATUS = #{tProvidentFund.draftStatus}
</if>
<if
test=
"tProvidentFund.empId != null and tProvidentFund.empId.trim() != ''"
>
AND a.EMP_ID = #{tProvidentFund.empId}
</if>
<if
test=
"tProvidentFund.empNo != null and tProvidentFund.empNo.trim() != ''"
>
AND a.EMP_NO = #{tProvidentFund.empNo}
</if>
<if
test=
"tProvidentFund.empName != null and tProvidentFund.empName.trim() != ''"
>
AND a.EMP_NAME = #{tProvidentFund.empName}
</if>
<if
test=
"tProvidentFund.empIdcard != null and tProvidentFund.empIdcard.trim() != ''"
>
AND a.EMP_IDCARD = #{tProvidentFund.empIdcard}
</if>
<if
test=
"tProvidentFund.settleDomain != null and tProvidentFund.settleDomain.trim() != ''"
>
AND a.SETTLE_DOMAIN = #{tProvidentFund.settleDomain}
</if>
<if
test=
"tProvidentFund.fundProvince != null and tProvidentFund.fundProvince.trim() != ''"
>
AND a.FUND_PROVINCE = #{tProvidentFund.fundProvince}
</if>
<if
test=
"tProvidentFund.fundCity != null and tProvidentFund.fundCity.trim() != ''"
>
AND a.FUND_CITY = #{tProvidentFund.fundCity}
</if>
<if
test=
"tProvidentFund.fundTown != null and tProvidentFund.fundTown.trim() != ''"
>
AND a.FUND_TOWN = #{tProvidentFund.fundTown}
</if>
<if
test=
"tProvidentFund.remark != null and tProvidentFund.remark.trim() != ''"
>
AND a.REMARK = #{tProvidentFund.remark}
</if>
<if
test=
"tProvidentFund.deleteFlag != null and tProvidentFund.deleteFlag.trim() != ''"
>
AND a.DELETE_FLAG = #{tProvidentFund.deleteFlag}
</if>
<if
test=
"tProvidentFund.fundBaseSetId != null and tProvidentFund.fundBaseSetId.trim() != ''"
>
AND a.FUND_BASE_SET_ID = #{tProvidentFund.fundBaseSetId}
</if>
<if
test=
"tProvidentFund.fundPayPoint != null and tProvidentFund.fundPayPoint.trim() != ''"
>
AND a.FUND_PAY_POINT = #{tProvidentFund.fundPayPoint}
</if>
<if
test=
"tProvidentFund.processInstId != null and tProvidentFund.processInstId.trim() != ''"
>
AND a.PROCESS_INST_ID = #{tProvidentFund.processInstId}
</if>
<if
test=
"tProvidentFund.auditUser != null and tProvidentFund.auditUser.trim() != ''"
>
AND a.AUDIT_USER = #{tProvidentFund.auditUser}
</if>
<if
test=
"tProvidentFund.auditTime != null"
>
AND a.AUDIT_TIME = #{tProvidentFund.auditTime}
</if>
<if
test=
"tProvidentFund.handleUser != null and tProvidentFund.handleUser.trim() != ''"
>
AND a.HANDLE_USER = #{tProvidentFund.handleUser}
</if>
<if
test=
"tProvidentFund.handleTime != null"
>
AND a.HANDLE_TIME = #{tProvidentFund.handleTime}
</if>
<if
test=
"tProvidentFund.applyUser != null and tProvidentFund.applyUser.trim() != ''"
>
AND a.APPLY_USER = #{tProvidentFund.applyUser}
</if>
<if
test=
"tProvidentFund.applyTime != null"
>
AND a.APPLY_TIME = #{tProvidentFund.applyTime}
</if>
<if
test=
"tProvidentFund.belongUnit != null and tProvidentFund.belongUnit.trim() != ''"
>
AND a.BELONG_UNIT = #{tProvidentFund.belongUnit}
</if>
<if
test=
"tProvidentFund.fundReduceDate != null"
>
AND a.FUND_REDUCE_DATE = #{tProvidentFund.fundReduceDate}
</if>
<if
test=
"tProvidentFund.canOverpay != null and tProvidentFund.canOverpay.trim() != ''"
>
AND a.CAN_OVERPAY = #{tProvidentFund.canOverpay}
</if>
<if
test=
"tProvidentFund.overpayNumber != null"
>
AND a.OVERPAY_NUMBER = #{tProvidentFund.overpayNumber}
</if>
<if
test=
"tProvidentFund.insuranceIsLatestCardinality != null and tProvidentFund.insuranceIsLatestCardinality.trim() != ''"
>
AND a.INSURANCE_IS_LATEST_CARDINALITY = #{tProvidentFund.insuranceIsLatestCardinality}
</if>
<if
test=
"tProvidentFund.haveThisMonth != null and tProvidentFund.haveThisMonth.trim() != ''"
>
AND a.HAVE_THIS_MONTH = #{tProvidentFund.haveThisMonth}
</if>
<if
test=
"tProvidentFund.reduceHandleUser != null and tProvidentFund.reduceHandleUser.trim() != ''"
>
AND a.REDUCE_HANDLE_USER = #{tProvidentFund.reduceHandleUser}
</if>
<if
test=
"tProvidentFund.reduceHandleTime != null"
>
AND a.REDUCE_HANDLE_TIME = #{tProvidentFund.reduceHandleTime}
</if>
<if
test=
"tProvidentFund.trustRemark != null and tProvidentFund.trustRemark.trim() != ''"
>
AND a.TRUST_REMARK = #{tProvidentFund.trustRemark}
</if>
<if
test=
"tProvidentFund.reduceCan != null and tProvidentFund.reduceCan.trim() != ''"
>
AND a.REDUCE_CAN = #{tProvidentFund.reduceCan}
</if>
<if
test=
"tProvidentFund.inauguralTeam != null and tProvidentFund.inauguralTeam.trim() != ''"
>
AND a.INAUGURAL_TEAM = #{tProvidentFund.inauguralTeam}
</if>
<if
test=
"tProvidentFund.telecomNumber != null and tProvidentFund.telecomNumber.trim() != ''"
>
AND a.TELECOM_NUMBER = #{tProvidentFund.telecomNumber}
</if>
<if
test=
"tProvidentFund.createBy != null and tProvidentFund.createBy.trim() != ''"
>
AND a.CREATE_BY = #{tProvidentFund.createBy}
</if>
<if
test=
"tProvidentFund.updateBy != null and tProvidentFund.updateBy.trim() != ''"
>
AND a.UPDATE_BY = #{tProvidentFund.updateBy}
</if>
<if
test=
"tProvidentFund.createName != null and tProvidentFund.createName.trim() != ''"
>
AND a.CREATE_NAME = #{tProvidentFund.createName}
</if>
<if
test=
"tProvidentFund.updateTime != null"
>
AND a.UPDATE_TIME = #{tProvidentFund.updateTime}
</if>
</if>
</sql>
<!--tProvidentFund简单分页查询-->
<select
id=
"getTProvidentFundPage"
resultMap=
"tProvidentFundMap"
>
SELECT
<include
refid=
"Base_Column_List"
/>
FROM t_provident_fund a
<where>
1=1
<include
refid=
"tProvidentFund_where"
/>
</where>
</select>
</mapper>
yifu-social/yifu-social-biz/src/main/resources/mapper/TSocialFundHistoryMapper.xml
0 → 100644
View file @
1e811799
<?xml version="1.0" encoding="UTF-8"?>
<!--
~
~ Copyright (c) 2018-2025, lengleng All rights reserved.
~
~ Redistribution and use in source and binary forms, with or without
~ modification, are permitted provided that the following conditions are met:
~
~ Redistributions of source code must retain the above copyright notice,
~ this list of conditions and the following disclaimer.
~ Redistributions in binary form must reproduce the above copyright
~ notice, this list of conditions and the following disclaimer in the
~ documentation and/or other materials provided with the distribution.
~ Neither the name of the yifu4cloud.com developer nor the names of its
~ contributors may be used to endorse or promote products derived from
~ this software without specific prior written permission.
~ Author: lengleng (wangiegie@gmail.com)
~
-->
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.yifu.cloud.plus.v1.yifu.demo.mapper.TSocialFundHistoryMapper"
>
<resultMap
id=
"tSocialFundHistoryMap"
type=
"com.yifu.cloud.plus.v1.yifu.demo.entity.TSocialFundHistory"
>
<id
property=
"id"
column=
"ID"
/>
<result
property=
"name"
column=
"NAME"
/>
<result
property=
"idCard"
column=
"ID_CARD"
/>
<result
property=
"employeeId"
column=
"EMPLOYEE_ID"
/>
<result
property=
"unitPensionBase"
column=
"UNIT_PENSION_BASE"
/>
<result
property=
"unitMedicalBase"
column=
"UNIT_MEDICAL_BASE"
/>
<result
property=
"unitUnemploymentBase"
column=
"UNIT_UNEMPLOYMENT_BASE"
/>
<result
property=
"unitInjuryBase"
column=
"UNIT_INJURY_BASE"
/>
<result
property=
"unitBirthBase"
column=
"UNIT_BIRTH_BASE"
/>
<result
property=
"unitBigailmentBase"
column=
"UNIT_BIGAILMENT_BASE"
/>
<result
property=
"personalPensionBase"
column=
"PERSONAL_PENSION_BASE"
/>
<result
property=
"personalMedicalBase"
column=
"PERSONAL_MEDICAL_BASE"
/>
<result
property=
"personalUnemploymentBase"
column=
"PERSONAL_UNEMPLOYMENT_BASE"
/>
<result
property=
"personalBigailmentBase"
column=
"PERSONAL_BIGAILMENT_BASE"
/>
<result
property=
"unitPersionPro"
column=
"UNIT_PERSION_PRO"
/>
<result
property=
"unitPersionMoney"
column=
"UNIT_PERSION_MONEY"
/>
<result
property=
"unitMedicalPro"
column=
"UNIT_MEDICAL_PRO"
/>
<result
property=
"unitMedicalMoney"
column=
"UNIT_MEDICAL_MONEY"
/>
<result
property=
"unitUnemploymentPro"
column=
"UNIT_UNEMPLOYMENT_PRO"
/>
<result
property=
"unitUnemploymentMoney"
column=
"UNIT_UNEMPLOYMENT_MONEY"
/>
<result
property=
"unitInjuryPro"
column=
"UNIT_INJURY_PRO"
/>
<result
property=
"unitInjuryMoney"
column=
"UNIT_INJURY_MONEY"
/>
<result
property=
"unitBirthPro"
column=
"UNIT_BIRTH_PRO"
/>
<result
property=
"unitBirthMoney"
column=
"UNIT_BIRTH_MONEY"
/>
<result
property=
"unitBigailmentPro"
column=
"UNIT_BIGAILMENT_PRO"
/>
<result
property=
"unitBigailmentMoney"
column=
"UNIT_BIGAILMENT_MONEY"
/>
<result
property=
"personalPersionPro"
column=
"PERSONAL_PERSION_PRO"
/>
<result
property=
"personalPersionMoney"
column=
"PERSONAL_PERSION_MONEY"
/>
<result
property=
"personalMedicalPro"
column=
"PERSONAL_MEDICAL_PRO"
/>
<result
property=
"personalMedicalMoney"
column=
"PERSONAL_MEDICAL_MONEY"
/>
<result
property=
"personalUnemploymentPro"
column=
"PERSONAL_UNEMPLOYMENT_PRO"
/>
<result
property=
"personalUnemploymentMoney"
column=
"PERSONAL_UNEMPLOYMENT_MONEY"
/>
<result
property=
"personalBigailmentPro"
column=
"PERSONAL_BIGAILMENT_PRO"
/>
<result
property=
"personalBigailmentMoney"
column=
"PERSONAL_BIGAILMENT_MONEY"
/>
<result
property=
"unitFundBase"
column=
"UNIT_FUND_BASE"
/>
<result
property=
"personalFundBase"
column=
"PERSONAL_FUND_BASE"
/>
<result
property=
"unitFundProp"
column=
"UNIT_FUND_PROP"
/>
<result
property=
"personalFundProp"
column=
"PERSONAL_FUND_PROP"
/>
<result
property=
"unitFundMoney"
column=
"UNIT_FUND_MONEY"
/>
<result
property=
"personalFundMoney"
column=
"PERSONAL_FUND_MONEY"
/>
<result
property=
"isOld"
column=
"IS_OLD"
/>
<result
property=
"paymentType"
column=
"PAYMENT_TYPE"
/>
<result
property=
"isSocial"
column=
"IS_SOCIAL"
/>
<result
property=
"isFund"
column=
"IS_FUND"
/>
<result
property=
"socialId"
column=
"SOCIAL_ID"
/>
<result
property=
"fundId"
column=
"FUND_ID"
/>
<result
property=
"createBy"
column=
"CREATE_BY"
/>
<result
property=
"updateBy"
column=
"UPDATE_BY"
/>
<result
property=
"createName"
column=
"CREATE_NAME"
/>
<result
property=
"updateTime"
column=
"UPDATE_TIME"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
a.ID,
a.NAME,
a.ID_CARD,
a.EMPLOYEE_ID,
a.UNIT_PENSION_BASE,
a.UNIT_MEDICAL_BASE,
a.UNIT_UNEMPLOYMENT_BASE,
a.UNIT_INJURY_BASE,
a.UNIT_BIRTH_BASE,
a.UNIT_BIGAILMENT_BASE,
a.PERSONAL_PENSION_BASE,
a.PERSONAL_MEDICAL_BASE,
a.PERSONAL_UNEMPLOYMENT_BASE,
a.PERSONAL_BIGAILMENT_BASE,
a.UNIT_PERSION_PRO,
a.UNIT_PERSION_MONEY,
a.UNIT_MEDICAL_PRO,
a.UNIT_MEDICAL_MONEY,
a.UNIT_UNEMPLOYMENT_PRO,
a.UNIT_UNEMPLOYMENT_MONEY,
a.UNIT_INJURY_PRO,
a.UNIT_INJURY_MONEY,
a.UNIT_BIRTH_PRO,
a.UNIT_BIRTH_MONEY,
a.UNIT_BIGAILMENT_PRO,
a.UNIT_BIGAILMENT_MONEY,
a.PERSONAL_PERSION_PRO,
a.PERSONAL_PERSION_MONEY,
a.PERSONAL_MEDICAL_PRO,
a.PERSONAL_MEDICAL_MONEY,
a.PERSONAL_UNEMPLOYMENT_PRO,
a.PERSONAL_UNEMPLOYMENT_MONEY,
a.PERSONAL_BIGAILMENT_PRO,
a.PERSONAL_BIGAILMENT_MONEY,
a.UNIT_FUND_BASE,
a.PERSONAL_FUND_BASE,
a.UNIT_FUND_PROP,
a.PERSONAL_FUND_PROP,
a.UNIT_FUND_MONEY,
a.PERSONAL_FUND_MONEY,
a.IS_OLD,
a.PAYMENT_TYPE,
a.IS_SOCIAL,
a.IS_FUND,
a.SOCIAL_ID,
a.FUND_ID,
a.CREATE_BY,
a.UPDATE_BY,
a.CREATE_NAME,
a.UPDATE_TIME
</sql>
<sql
id=
"tSocialFundHistory_where"
>
<if
test=
"tSocialFundHistory != null"
>
<if
test=
"tSocialFundHistory.id != null and tSocialFundHistory.id.trim() != ''"
>
AND a.ID = #{tSocialFundHistory.id}
</if>
<if
test=
"tSocialFundHistory.name != null and tSocialFundHistory.name.trim() != ''"
>
AND a.NAME = #{tSocialFundHistory.name}
</if>
<if
test=
"tSocialFundHistory.idCard != null and tSocialFundHistory.idCard.trim() != ''"
>
AND a.ID_CARD = #{tSocialFundHistory.idCard}
</if>
<if
test=
"tSocialFundHistory.employeeId != null and tSocialFundHistory.employeeId.trim() != ''"
>
AND a.EMPLOYEE_ID = #{tSocialFundHistory.employeeId}
</if>
<if
test=
"tSocialFundHistory.unitPensionBase != null"
>
AND a.UNIT_PENSION_BASE = #{tSocialFundHistory.unitPensionBase}
</if>
<if
test=
"tSocialFundHistory.unitMedicalBase != null"
>
AND a.UNIT_MEDICAL_BASE = #{tSocialFundHistory.unitMedicalBase}
</if>
<if
test=
"tSocialFundHistory.unitUnemploymentBase != null"
>
AND a.UNIT_UNEMPLOYMENT_BASE = #{tSocialFundHistory.unitUnemploymentBase}
</if>
<if
test=
"tSocialFundHistory.unitInjuryBase != null"
>
AND a.UNIT_INJURY_BASE = #{tSocialFundHistory.unitInjuryBase}
</if>
<if
test=
"tSocialFundHistory.unitBirthBase != null"
>
AND a.UNIT_BIRTH_BASE = #{tSocialFundHistory.unitBirthBase}
</if>
<if
test=
"tSocialFundHistory.unitBigailmentBase != null"
>
AND a.UNIT_BIGAILMENT_BASE = #{tSocialFundHistory.unitBigailmentBase}
</if>
<if
test=
"tSocialFundHistory.personalPensionBase != null"
>
AND a.PERSONAL_PENSION_BASE = #{tSocialFundHistory.personalPensionBase}
</if>
<if
test=
"tSocialFundHistory.personalMedicalBase != null"
>
AND a.PERSONAL_MEDICAL_BASE = #{tSocialFundHistory.personalMedicalBase}
</if>
<if
test=
"tSocialFundHistory.personalUnemploymentBase != null"
>
AND a.PERSONAL_UNEMPLOYMENT_BASE = #{tSocialFundHistory.personalUnemploymentBase}
</if>
<if
test=
"tSocialFundHistory.personalBigailmentBase != null"
>
AND a.PERSONAL_BIGAILMENT_BASE = #{tSocialFundHistory.personalBigailmentBase}
</if>
<if
test=
"tSocialFundHistory.unitPersionPro != null"
>
AND a.UNIT_PERSION_PRO = #{tSocialFundHistory.unitPersionPro}
</if>
<if
test=
"tSocialFundHistory.unitPersionMoney != null"
>
AND a.UNIT_PERSION_MONEY = #{tSocialFundHistory.unitPersionMoney}
</if>
<if
test=
"tSocialFundHistory.unitMedicalPro != null"
>
AND a.UNIT_MEDICAL_PRO = #{tSocialFundHistory.unitMedicalPro}
</if>
<if
test=
"tSocialFundHistory.unitMedicalMoney != null"
>
AND a.UNIT_MEDICAL_MONEY = #{tSocialFundHistory.unitMedicalMoney}
</if>
<if
test=
"tSocialFundHistory.unitUnemploymentPro != null"
>
AND a.UNIT_UNEMPLOYMENT_PRO = #{tSocialFundHistory.unitUnemploymentPro}
</if>
<if
test=
"tSocialFundHistory.unitUnemploymentMoney != null"
>
AND a.UNIT_UNEMPLOYMENT_MONEY = #{tSocialFundHistory.unitUnemploymentMoney}
</if>
<if
test=
"tSocialFundHistory.unitInjuryPro != null"
>
AND a.UNIT_INJURY_PRO = #{tSocialFundHistory.unitInjuryPro}
</if>
<if
test=
"tSocialFundHistory.unitInjuryMoney != null"
>
AND a.UNIT_INJURY_MONEY = #{tSocialFundHistory.unitInjuryMoney}
</if>
<if
test=
"tSocialFundHistory.unitBirthPro != null"
>
AND a.UNIT_BIRTH_PRO = #{tSocialFundHistory.unitBirthPro}
</if>
<if
test=
"tSocialFundHistory.unitBirthMoney != null"
>
AND a.UNIT_BIRTH_MONEY = #{tSocialFundHistory.unitBirthMoney}
</if>
<if
test=
"tSocialFundHistory.unitBigailmentPro != null"
>
AND a.UNIT_BIGAILMENT_PRO = #{tSocialFundHistory.unitBigailmentPro}
</if>
<if
test=
"tSocialFundHistory.unitBigailmentMoney != null"
>
AND a.UNIT_BIGAILMENT_MONEY = #{tSocialFundHistory.unitBigailmentMoney}
</if>
<if
test=
"tSocialFundHistory.personalPersionPro != null"
>
AND a.PERSONAL_PERSION_PRO = #{tSocialFundHistory.personalPersionPro}
</if>
<if
test=
"tSocialFundHistory.personalPersionMoney != null"
>
AND a.PERSONAL_PERSION_MONEY = #{tSocialFundHistory.personalPersionMoney}
</if>
<if
test=
"tSocialFundHistory.personalMedicalPro != null"
>
AND a.PERSONAL_MEDICAL_PRO = #{tSocialFundHistory.personalMedicalPro}
</if>
<if
test=
"tSocialFundHistory.personalMedicalMoney != null"
>
AND a.PERSONAL_MEDICAL_MONEY = #{tSocialFundHistory.personalMedicalMoney}
</if>
<if
test=
"tSocialFundHistory.personalUnemploymentPro != null"
>
AND a.PERSONAL_UNEMPLOYMENT_PRO = #{tSocialFundHistory.personalUnemploymentPro}
</if>
<if
test=
"tSocialFundHistory.personalUnemploymentMoney != null"
>
AND a.PERSONAL_UNEMPLOYMENT_MONEY = #{tSocialFundHistory.personalUnemploymentMoney}
</if>
<if
test=
"tSocialFundHistory.personalBigailmentPro != null"
>
AND a.PERSONAL_BIGAILMENT_PRO = #{tSocialFundHistory.personalBigailmentPro}
</if>
<if
test=
"tSocialFundHistory.personalBigailmentMoney != null"
>
AND a.PERSONAL_BIGAILMENT_MONEY = #{tSocialFundHistory.personalBigailmentMoney}
</if>
<if
test=
"tSocialFundHistory.unitFundBase != null"
>
AND a.UNIT_FUND_BASE = #{tSocialFundHistory.unitFundBase}
</if>
<if
test=
"tSocialFundHistory.personalFundBase != null"
>
AND a.PERSONAL_FUND_BASE = #{tSocialFundHistory.personalFundBase}
</if>
<if
test=
"tSocialFundHistory.unitFundProp != null"
>
AND a.UNIT_FUND_PROP = #{tSocialFundHistory.unitFundProp}
</if>
<if
test=
"tSocialFundHistory.personalFundProp != null"
>
AND a.PERSONAL_FUND_PROP = #{tSocialFundHistory.personalFundProp}
</if>
<if
test=
"tSocialFundHistory.unitFundMoney != null"
>
AND a.UNIT_FUND_MONEY = #{tSocialFundHistory.unitFundMoney}
</if>
<if
test=
"tSocialFundHistory.personalFundMoney != null"
>
AND a.PERSONAL_FUND_MONEY = #{tSocialFundHistory.personalFundMoney}
</if>
<if
test=
"tSocialFundHistory.isOld != null"
>
AND a.IS_OLD = #{tSocialFundHistory.isOld}
</if>
<if
test=
"tSocialFundHistory.paymentType != null"
>
AND a.PAYMENT_TYPE = #{tSocialFundHistory.paymentType}
</if>
<if
test=
"tSocialFundHistory.isSocial != null"
>
AND a.IS_SOCIAL = #{tSocialFundHistory.isSocial}
</if>
<if
test=
"tSocialFundHistory.isFund != null"
>
AND a.IS_FUND = #{tSocialFundHistory.isFund}
</if>
<if
test=
"tSocialFundHistory.socialId != null and tSocialFundHistory.socialId.trim() != ''"
>
AND a.SOCIAL_ID = #{tSocialFundHistory.socialId}
</if>
<if
test=
"tSocialFundHistory.fundId != null and tSocialFundHistory.fundId.trim() != ''"
>
AND a.FUND_ID = #{tSocialFundHistory.fundId}
</if>
<if
test=
"tSocialFundHistory.createBy != null and tSocialFundHistory.createBy.trim() != ''"
>
AND a.CREATE_BY = #{tSocialFundHistory.createBy}
</if>
<if
test=
"tSocialFundHistory.updateBy != null and tSocialFundHistory.updateBy.trim() != ''"
>
AND a.UPDATE_BY = #{tSocialFundHistory.updateBy}
</if>
<if
test=
"tSocialFundHistory.createName != null and tSocialFundHistory.createName.trim() != ''"
>
AND a.CREATE_NAME = #{tSocialFundHistory.createName}
</if>
<if
test=
"tSocialFundHistory.updateTime != null"
>
AND a.UPDATE_TIME = #{tSocialFundHistory.updateTime}
</if>
</if>
</sql>
<!--tSocialFundHistory简单分页查询-->
<select
id=
"getTSocialFundHistoryPage"
resultMap=
"tSocialFundHistoryMap"
>
SELECT
<include
refid=
"Base_Column_List"
/>
FROM t_social_fund_history a
<where>
1=1
<include
refid=
"tSocialFundHistory_where"
/>
</where>
</select>
</mapper>
yifu-social/yifu-social-biz/src/main/resources/mapper/TSocialFundInfoMapper.xml
0 → 100644
View file @
1e811799
<?xml version="1.0" encoding="UTF-8"?>
<!--
~
~ Copyright (c) 2018-2025, lengleng All rights reserved.
~
~ Redistribution and use in source and binary forms, with or without
~ modification, are permitted provided that the following conditions are met:
~
~ Redistributions of source code must retain the above copyright notice,
~ this list of conditions and the following disclaimer.
~ Redistributions in binary form must reproduce the above copyright
~ notice, this list of conditions and the following disclaimer in the
~ documentation and/or other materials provided with the distribution.
~ Neither the name of the yifu4cloud.com developer nor the names of its
~ contributors may be used to endorse or promote products derived from
~ this software without specific prior written permission.
~ Author: lengleng (wangiegie@gmail.com)
~
-->
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.yifu.cloud.plus.v1.yifu.demo.mapper.TSocialFundInfoMapper"
>
<resultMap
id=
"tSocialFundInfoMap"
type=
"com.yifu.cloud.plus.v1.yifu.demo.entity.TSocialFundInfo"
>
<id
property=
"id"
column=
"ID"
/>
<result
property=
"empId"
column=
"EMP_ID"
/>
<result
property=
"empNo"
column=
"EMP_NO"
/>
<result
property=
"empName"
column=
"EMP_NAME"
/>
<result
property=
"empIdcard"
column=
"EMP_IDCARD"
/>
<result
property=
"empType"
column=
"EMP_TYPE"
/>
<result
property=
"settleDomain"
column=
"SETTLE_DOMAIN"
/>
<result
property=
"settleDomainName"
column=
"SETTLE_DOMAIN_NAME"
/>
<result
property=
"unitName"
column=
"UNIT_NAME"
/>
<result
property=
"unitId"
column=
"UNIT_ID"
/>
<result
property=
"socialHousehold"
column=
"SOCIAL_HOUSEHOLD"
/>
<result
property=
"socialHouseholdName"
column=
"SOCIAL_HOUSEHOLD_NAME"
/>
<result
property=
"socialProvince"
column=
"SOCIAL_PROVINCE"
/>
<result
property=
"socialCity"
column=
"SOCIAL_CITY"
/>
<result
property=
"socialTown"
column=
"SOCIAL_TOWN"
/>
<result
property=
"providentHousehold"
column=
"PROVIDENT_HOUSEHOLD"
/>
<result
property=
"providentHouseholdName"
column=
"PROVIDENT_HOUSEHOLD_NAME"
/>
<result
property=
"fundProvince"
column=
"FUND_PROVINCE"
/>
<result
property=
"fundCity"
column=
"FUND_CITY"
/>
<result
property=
"fundTown"
column=
"FUND_TOWN"
/>
<result
property=
"socialAddStatus"
column=
"SOCIAL_ADD_STATUS"
/>
<result
property=
"fundAddStatus"
column=
"FUND_ADD_STATUS"
/>
<result
property=
"socialReduceStatus"
column=
"SOCIAL_REDUCE_STATUS"
/>
<result
property=
"fundReduceStatus"
column=
"FUND_REDUCE_STATUS"
/>
<result
property=
"socialId"
column=
"SOCIAL_ID"
/>
<result
property=
"fundId"
column=
"FUND_ID"
/>
<result
property=
"createBy"
column=
"CREATE_BY"
/>
<result
property=
"updateBy"
column=
"UPDATE_BY"
/>
<result
property=
"createName"
column=
"CREATE_NAME"
/>
<result
property=
"updateTime"
column=
"UPDATE_TIME"
/>
<result
property=
"firstBuyMonthSocial"
column=
"FIRST_BUY_MONTH_SOCIAL"
/>
<result
property=
"unitPensionCardinal"
column=
"UNIT_PENSION_CARDINAL"
/>
<result
property=
"unitMedicalCardinal"
column=
"UNIT_MEDICAL_CARDINAL"
/>
<result
property=
"unitUnemploymentCardinal"
column=
"UNIT_UNEMPLOYMENT_CARDINAL"
/>
<result
property=
"unitBigailmentCardinal"
column=
"UNIT_BIGAILMENT_CARDINAL"
/>
<result
property=
"unitWorkInjuryCardinal"
column=
"UNIT_WORK_INJURY_CARDINAL"
/>
<result
property=
"unitBirthCardinal"
column=
"UNIT_BIRTH_CARDINAL"
/>
<result
property=
"personalPensionCardinal"
column=
"PERSONAL_PENSION_CARDINAL"
/>
<result
property=
"personalMedicalCardinal"
column=
"PERSONAL_MEDICAL_CARDINAL"
/>
<result
property=
"personalBigailmentCardinal"
column=
"PERSONAL_BIGAILMENT_CARDINAL"
/>
<result
property=
"personalUnemploymentCardinal"
column=
"PERSONAL_UNEMPLOYMENT_CARDINAL"
/>
<result
property=
"personalWorkInjuryCardinal"
column=
"PERSONAL_WORK_INJURY_CARDINAL"
/>
<result
property=
"unitPensionPer"
column=
"UNIT_PENSION_PER"
/>
<result
property=
"unitMedicalPer"
column=
"UNIT_MEDICAL_PER"
/>
<result
property=
"unitUnemploymentPer"
column=
"UNIT_UNEMPLOYMENT_PER"
/>
<result
property=
"unitWorkUnjuryPer"
column=
"UNIT_WORK_UNJURY_PER"
/>
<result
property=
"unitBirthPer"
column=
"UNIT_BIRTH_PER"
/>
<result
property=
"personalPensionPer"
column=
"PERSONAL_PENSION_PER"
/>
<result
property=
"personalMedicalPer"
column=
"PERSONAL_MEDICAL_PER"
/>
<result
property=
"personalUnemploymentPer"
column=
"PERSONAL_UNEMPLOYMENT_PER"
/>
<result
property=
"handleStatus"
column=
"HANDLE_STATUS"
/>
<result
property=
"personalBigailmentPer"
column=
"PERSONAL_BIGAILMENT_PER"
/>
<result
property=
"unitBigailmentPer"
column=
"UNIT_BIGAILMENT_PER"
/>
<result
property=
"socialReduceDate"
column=
"SOCIAL_REDUCE_DATE"
/>
<result
property=
"canOverpay"
column=
"CAN_OVERPAY"
/>
<result
property=
"payPolicy"
column=
"PAY_POLICY"
/>
<result
property=
"overpayNumber"
column=
"OVERPAY_NUMBER"
/>
<result
property=
"haveThisMonth"
column=
"HAVE_THIS_MONTH"
/>
<result
property=
"insurancePension"
column=
"INSURANCE_PENSION"
/>
<result
property=
"insuranceMedical"
column=
"INSURANCE_MEDICAL"
/>
<result
property=
"insuranceUnemployment"
column=
"INSURANCE_UNEMPLOYMENT"
/>
<result
property=
"insuranceInjury"
column=
"INSURANCE_INJURY"
/>
<result
property=
"insuranceBirth"
column=
"INSURANCE_BIRTH"
/>
<result
property=
"insuranceBigailment"
column=
"INSURANCE_BIGAILMENT"
/>
<result
property=
"latestCardinality"
column=
"LATEST_CARDINALITY"
/>
<result
property=
"isIllness"
column=
"IS_ILLNESS"
/>
<result
property=
"collectType"
column=
"COLLECT_TYPE"
/>
<result
property=
"valueType"
column=
"VALUE_TYPE"
/>
<result
property=
"collectMoth"
column=
"COLLECT_MOTH"
/>
<result
property=
"isChargePersonal"
column=
"IS_CHARGE_PERSONAL"
/>
<result
property=
"recordBase"
column=
"RECORD_BASE"
/>
<result
property=
"trustRemark"
column=
"TRUST_REMARK"
/>
<result
property=
"paymentType"
column=
"PAYMENT_TYPE"
/>
<result
property=
"upperLimit"
column=
"UPPER_LIMIT"
/>
<result
property=
"lowerLimit"
column=
"LOWER_LIMIT"
/>
<result
property=
"pensionStart"
column=
"PENSION_START"
/>
<result
property=
"medicalStart"
column=
"MEDICAL_START"
/>
<result
property=
"unemployStart"
column=
"UNEMPLOY_START"
/>
<result
property=
"workInjuryStart"
column=
"WORK_INJURY_START"
/>
<result
property=
"birthStart"
column=
"BIRTH_START"
/>
<result
property=
"bigailmentStart"
column=
"BIGAILMENT_START"
/>
<result
property=
"pensionHandle"
column=
"PENSION_HANDLE"
/>
<result
property=
"medicalHandle"
column=
"MEDICAL_HANDLE"
/>
<result
property=
"unemployHandle"
column=
"UNEMPLOY_HANDLE"
/>
<result
property=
"workInjuryHandle"
column=
"WORK_INJURY_HANDLE"
/>
<result
property=
"birthHandle"
column=
"BIRTH_HANDLE"
/>
<result
property=
"bigailmentHandle"
column=
"BIGAILMENT_HANDLE"
/>
<result
property=
"unitPersionMoney"
column=
"UNIT_PERSION_MONEY"
/>
<result
property=
"unitMedicalMoney"
column=
"UNIT_MEDICAL_MONEY"
/>
<result
property=
"unitUnemploymentMoney"
column=
"UNIT_UNEMPLOYMENT_MONEY"
/>
<result
property=
"unitInjuryMoney"
column=
"UNIT_INJURY_MONEY"
/>
<result
property=
"unitBirthMoney"
column=
"UNIT_BIRTH_MONEY"
/>
<result
property=
"unitBigailmentMoney"
column=
"UNIT_BIGAILMENT_MONEY"
/>
<result
property=
"personalPersionMoney"
column=
"PERSONAL_PERSION_MONEY"
/>
<result
property=
"personalMedicalMoney"
column=
"PERSONAL_MEDICAL_MONEY"
/>
<result
property=
"personalUnemploymentMoney"
column=
"PERSONAL_UNEMPLOYMENT_MONEY"
/>
<result
property=
"personalBigailmentMoney"
column=
"PERSONAL_BIGAILMENT_MONEY"
/>
<result
property=
"unitProvidengCardinal"
column=
"UNIT_PROVIDENG_CARDINAL"
/>
<result
property=
"personalProvidentCardinal"
column=
"PERSONAL_PROVIDENT_CARDINAL"
/>
<result
property=
"socialStartDate"
column=
"SOCIAL_START_DATE"
/>
<result
property=
"unitProvidentPer"
column=
"UNIT_PROVIDENT_PER"
/>
<result
property=
"personalProvidentPer"
column=
"PERSONAL_PROVIDENT_PER"
/>
<result
property=
"providentStart"
column=
"PROVIDENT_START"
/>
<result
property=
"firstBuyMothFund"
column=
"FIRST_BUY_MOTH_FUND"
/>
<result
property=
"upperLimitFund"
column=
"UPPER_LIMIT_FUND"
/>
<result
property=
"lowerLimitFund"
column=
"LOWER_LIMIT_FUND"
/>
<result
property=
"fundPayPoint"
column=
"FUND_PAY_POINT"
/>
<result
property=
"canOverpayFund"
column=
"CAN_OVERPAY_FUND"
/>
<result
property=
"overpayNumberFund"
column=
"OVERPAY_NUMBER_FUND"
/>
<result
property=
"payPolicyFund"
column=
"PAY_POLICY_FUND"
/>
<result
property=
"trustRemarkFund"
column=
"TRUST_REMARK_FUND"
/>
<result
property=
"haveThisMonthFund"
column=
"HAVE_THIS_MONTH_FUND"
/>
<result
property=
"latestCardinalityFund"
column=
"LATEST_CARDINALITY_FUND"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
a.ID,
a.EMP_ID,
a.EMP_NO,
a.EMP_NAME,
a.EMP_IDCARD,
a.EMP_TYPE,
a.SETTLE_DOMAIN,
a.SETTLE_DOMAIN_NAME,
a.UNIT_NAME,
a.UNIT_ID,
a.SOCIAL_HOUSEHOLD,
a.SOCIAL_HOUSEHOLD_NAME,
a.SOCIAL_PROVINCE,
a.SOCIAL_CITY,
a.SOCIAL_TOWN,
a.PROVIDENT_HOUSEHOLD,
a.PROVIDENT_HOUSEHOLD_NAME,
a.FUND_PROVINCE,
a.FUND_CITY,
a.FUND_TOWN,
a.SOCIAL_ADD_STATUS,
a.FUND_ADD_STATUS,
a.SOCIAL_REDUCE_STATUS,
a.FUND_REDUCE_STATUS,
a.SOCIAL_ID,
a.FUND_ID,
a.CREATE_BY,
a.UPDATE_BY,
a.CREATE_NAME,
a.UPDATE_TIME,
a.FIRST_BUY_MONTH_SOCIAL,
a.UNIT_PENSION_CARDINAL,
a.UNIT_MEDICAL_CARDINAL,
a.UNIT_UNEMPLOYMENT_CARDINAL,
a.UNIT_BIGAILMENT_CARDINAL,
a.UNIT_WORK_INJURY_CARDINAL,
a.UNIT_BIRTH_CARDINAL,
a.PERSONAL_PENSION_CARDINAL,
a.PERSONAL_MEDICAL_CARDINAL,
a.PERSONAL_BIGAILMENT_CARDINAL,
a.PERSONAL_UNEMPLOYMENT_CARDINAL,
a.PERSONAL_WORK_INJURY_CARDINAL,
a.UNIT_PENSION_PER,
a.UNIT_MEDICAL_PER,
a.UNIT_UNEMPLOYMENT_PER,
a.UNIT_WORK_UNJURY_PER,
a.UNIT_BIRTH_PER,
a.PERSONAL_PENSION_PER,
a.PERSONAL_MEDICAL_PER,
a.PERSONAL_UNEMPLOYMENT_PER,
a.HANDLE_STATUS,
a.PERSONAL_BIGAILMENT_PER,
a.UNIT_BIGAILMENT_PER,
a.SOCIAL_REDUCE_DATE,
a.CAN_OVERPAY,
a.PAY_POLICY,
a.OVERPAY_NUMBER,
a.HAVE_THIS_MONTH,
a.INSURANCE_PENSION,
a.INSURANCE_MEDICAL,
a.INSURANCE_UNEMPLOYMENT,
a.INSURANCE_INJURY,
a.INSURANCE_BIRTH,
a.INSURANCE_BIGAILMENT,
a.LATEST_CARDINALITY,
a.IS_ILLNESS,
a.COLLECT_TYPE,
a.VALUE_TYPE,
a.COLLECT_MOTH,
a.IS_CHARGE_PERSONAL,
a.RECORD_BASE,
a.TRUST_REMARK,
a.PAYMENT_TYPE,
a.UPPER_LIMIT,
a.LOWER_LIMIT,
a.PENSION_START,
a.MEDICAL_START,
a.UNEMPLOY_START,
a.WORK_INJURY_START,
a.BIRTH_START,
a.BIGAILMENT_START,
a.PENSION_HANDLE,
a.MEDICAL_HANDLE,
a.UNEMPLOY_HANDLE,
a.WORK_INJURY_HANDLE,
a.BIRTH_HANDLE,
a.BIGAILMENT_HANDLE,
a.UNIT_PERSION_MONEY,
a.UNIT_MEDICAL_MONEY,
a.UNIT_UNEMPLOYMENT_MONEY,
a.UNIT_INJURY_MONEY,
a.UNIT_BIRTH_MONEY,
a.UNIT_BIGAILMENT_MONEY,
a.PERSONAL_PERSION_MONEY,
a.PERSONAL_MEDICAL_MONEY,
a.PERSONAL_UNEMPLOYMENT_MONEY,
a.PERSONAL_BIGAILMENT_MONEY,
a.UNIT_PROVIDENG_CARDINAL,
a.PERSONAL_PROVIDENT_CARDINAL,
a.SOCIAL_START_DATE,
a.UNIT_PROVIDENT_PER,
a.PERSONAL_PROVIDENT_PER,
a.PROVIDENT_START,
a.FIRST_BUY_MOTH_FUND,
a.UPPER_LIMIT_FUND,
a.LOWER_LIMIT_FUND,
a.FUND_PAY_POINT,
a.CAN_OVERPAY_FUND,
a.OVERPAY_NUMBER_FUND,
a.PAY_POLICY_FUND,
a.TRUST_REMARK_FUND,
a.HAVE_THIS_MONTH_FUND,
a.LATEST_CARDINALITY_FUND
</sql>
<sql
id=
"tSocialFundInfo_where"
>
<if
test=
"tSocialFundInfo != null"
>
<if
test=
"tSocialFundInfo.id != null and tSocialFundInfo.id.trim() != ''"
>
AND a.ID = #{tSocialFundInfo.id}
</if>
<if
test=
"tSocialFundInfo.empId != null and tSocialFundInfo.empId.trim() != ''"
>
AND a.EMP_ID = #{tSocialFundInfo.empId}
</if>
<if
test=
"tSocialFundInfo.empNo != null and tSocialFundInfo.empNo.trim() != ''"
>
AND a.EMP_NO = #{tSocialFundInfo.empNo}
</if>
<if
test=
"tSocialFundInfo.empName != null and tSocialFundInfo.empName.trim() != ''"
>
AND a.EMP_NAME = #{tSocialFundInfo.empName}
</if>
<if
test=
"tSocialFundInfo.empIdcard != null and tSocialFundInfo.empIdcard.trim() != ''"
>
AND a.EMP_IDCARD = #{tSocialFundInfo.empIdcard}
</if>
<if
test=
"tSocialFundInfo.empType != null and tSocialFundInfo.empType.trim() != ''"
>
AND a.EMP_TYPE = #{tSocialFundInfo.empType}
</if>
<if
test=
"tSocialFundInfo.settleDomain != null and tSocialFundInfo.settleDomain.trim() != ''"
>
AND a.SETTLE_DOMAIN = #{tSocialFundInfo.settleDomain}
</if>
<if
test=
"tSocialFundInfo.settleDomainName != null and tSocialFundInfo.settleDomainName.trim() != ''"
>
AND a.SETTLE_DOMAIN_NAME = #{tSocialFundInfo.settleDomainName}
</if>
<if
test=
"tSocialFundInfo.unitName != null and tSocialFundInfo.unitName.trim() != ''"
>
AND a.UNIT_NAME = #{tSocialFundInfo.unitName}
</if>
<if
test=
"tSocialFundInfo.unitId != null and tSocialFundInfo.unitId.trim() != ''"
>
AND a.UNIT_ID = #{tSocialFundInfo.unitId}
</if>
<if
test=
"tSocialFundInfo.socialHousehold != null and tSocialFundInfo.socialHousehold.trim() != ''"
>
AND a.SOCIAL_HOUSEHOLD = #{tSocialFundInfo.socialHousehold}
</if>
<if
test=
"tSocialFundInfo.socialHouseholdName != null and tSocialFundInfo.socialHouseholdName.trim() != ''"
>
AND a.SOCIAL_HOUSEHOLD_NAME = #{tSocialFundInfo.socialHouseholdName}
</if>
<if
test=
"tSocialFundInfo.socialProvince != null and tSocialFundInfo.socialProvince.trim() != ''"
>
AND a.SOCIAL_PROVINCE = #{tSocialFundInfo.socialProvince}
</if>
<if
test=
"tSocialFundInfo.socialCity != null and tSocialFundInfo.socialCity.trim() != ''"
>
AND a.SOCIAL_CITY = #{tSocialFundInfo.socialCity}
</if>
<if
test=
"tSocialFundInfo.socialTown != null and tSocialFundInfo.socialTown.trim() != ''"
>
AND a.SOCIAL_TOWN = #{tSocialFundInfo.socialTown}
</if>
<if
test=
"tSocialFundInfo.providentHousehold != null and tSocialFundInfo.providentHousehold.trim() != ''"
>
AND a.PROVIDENT_HOUSEHOLD = #{tSocialFundInfo.providentHousehold}
</if>
<if
test=
"tSocialFundInfo.providentHouseholdName != null and tSocialFundInfo.providentHouseholdName.trim() != ''"
>
AND a.PROVIDENT_HOUSEHOLD_NAME = #{tSocialFundInfo.providentHouseholdName}
</if>
<if
test=
"tSocialFundInfo.fundProvince != null and tSocialFundInfo.fundProvince.trim() != ''"
>
AND a.FUND_PROVINCE = #{tSocialFundInfo.fundProvince}
</if>
<if
test=
"tSocialFundInfo.fundCity != null and tSocialFundInfo.fundCity.trim() != ''"
>
AND a.FUND_CITY = #{tSocialFundInfo.fundCity}
</if>
<if
test=
"tSocialFundInfo.fundTown != null and tSocialFundInfo.fundTown.trim() != ''"
>
AND a.FUND_TOWN = #{tSocialFundInfo.fundTown}
</if>
<if
test=
"tSocialFundInfo.socialAddStatus != null and tSocialFundInfo.socialAddStatus.trim() != ''"
>
AND a.SOCIAL_ADD_STATUS = #{tSocialFundInfo.socialAddStatus}
</if>
<if
test=
"tSocialFundInfo.fundAddStatus != null and tSocialFundInfo.fundAddStatus.trim() != ''"
>
AND a.FUND_ADD_STATUS = #{tSocialFundInfo.fundAddStatus}
</if>
<if
test=
"tSocialFundInfo.socialReduceStatus != null and tSocialFundInfo.socialReduceStatus.trim() != ''"
>
AND a.SOCIAL_REDUCE_STATUS = #{tSocialFundInfo.socialReduceStatus}
</if>
<if
test=
"tSocialFundInfo.fundReduceStatus != null and tSocialFundInfo.fundReduceStatus.trim() != ''"
>
AND a.FUND_REDUCE_STATUS = #{tSocialFundInfo.fundReduceStatus}
</if>
<if
test=
"tSocialFundInfo.socialId != null and tSocialFundInfo.socialId.trim() != ''"
>
AND a.SOCIAL_ID = #{tSocialFundInfo.socialId}
</if>
<if
test=
"tSocialFundInfo.fundId != null and tSocialFundInfo.fundId.trim() != ''"
>
AND a.FUND_ID = #{tSocialFundInfo.fundId}
</if>
<if
test=
"tSocialFundInfo.createBy != null and tSocialFundInfo.createBy.trim() != ''"
>
AND a.CREATE_BY = #{tSocialFundInfo.createBy}
</if>
<if
test=
"tSocialFundInfo.updateBy != null and tSocialFundInfo.updateBy.trim() != ''"
>
AND a.UPDATE_BY = #{tSocialFundInfo.updateBy}
</if>
<if
test=
"tSocialFundInfo.createName != null and tSocialFundInfo.createName.trim() != ''"
>
AND a.CREATE_NAME = #{tSocialFundInfo.createName}
</if>
<if
test=
"tSocialFundInfo.updateTime != null"
>
AND a.UPDATE_TIME = #{tSocialFundInfo.updateTime}
</if>
<if
test=
"tSocialFundInfo.firstBuyMonthSocial != null"
>
AND a.FIRST_BUY_MONTH_SOCIAL = #{tSocialFundInfo.firstBuyMonthSocial}
</if>
<if
test=
"tSocialFundInfo.unitPensionCardinal != null"
>
AND a.UNIT_PENSION_CARDINAL = #{tSocialFundInfo.unitPensionCardinal}
</if>
<if
test=
"tSocialFundInfo.unitMedicalCardinal != null"
>
AND a.UNIT_MEDICAL_CARDINAL = #{tSocialFundInfo.unitMedicalCardinal}
</if>
<if
test=
"tSocialFundInfo.unitUnemploymentCardinal != null"
>
AND a.UNIT_UNEMPLOYMENT_CARDINAL = #{tSocialFundInfo.unitUnemploymentCardinal}
</if>
<if
test=
"tSocialFundInfo.unitBigailmentCardinal != null"
>
AND a.UNIT_BIGAILMENT_CARDINAL = #{tSocialFundInfo.unitBigailmentCardinal}
</if>
<if
test=
"tSocialFundInfo.unitWorkInjuryCardinal != null"
>
AND a.UNIT_WORK_INJURY_CARDINAL = #{tSocialFundInfo.unitWorkInjuryCardinal}
</if>
<if
test=
"tSocialFundInfo.unitBirthCardinal != null"
>
AND a.UNIT_BIRTH_CARDINAL = #{tSocialFundInfo.unitBirthCardinal}
</if>
<if
test=
"tSocialFundInfo.personalPensionCardinal != null"
>
AND a.PERSONAL_PENSION_CARDINAL = #{tSocialFundInfo.personalPensionCardinal}
</if>
<if
test=
"tSocialFundInfo.personalMedicalCardinal != null"
>
AND a.PERSONAL_MEDICAL_CARDINAL = #{tSocialFundInfo.personalMedicalCardinal}
</if>
<if
test=
"tSocialFundInfo.personalBigailmentCardinal != null"
>
AND a.PERSONAL_BIGAILMENT_CARDINAL = #{tSocialFundInfo.personalBigailmentCardinal}
</if>
<if
test=
"tSocialFundInfo.personalUnemploymentCardinal != null"
>
AND a.PERSONAL_UNEMPLOYMENT_CARDINAL = #{tSocialFundInfo.personalUnemploymentCardinal}
</if>
<if
test=
"tSocialFundInfo.personalWorkInjuryCardinal != null"
>
AND a.PERSONAL_WORK_INJURY_CARDINAL = #{tSocialFundInfo.personalWorkInjuryCardinal}
</if>
<if
test=
"tSocialFundInfo.unitPensionPer != null"
>
AND a.UNIT_PENSION_PER = #{tSocialFundInfo.unitPensionPer}
</if>
<if
test=
"tSocialFundInfo.unitMedicalPer != null"
>
AND a.UNIT_MEDICAL_PER = #{tSocialFundInfo.unitMedicalPer}
</if>
<if
test=
"tSocialFundInfo.unitUnemploymentPer != null"
>
AND a.UNIT_UNEMPLOYMENT_PER = #{tSocialFundInfo.unitUnemploymentPer}
</if>
<if
test=
"tSocialFundInfo.unitWorkUnjuryPer != null"
>
AND a.UNIT_WORK_UNJURY_PER = #{tSocialFundInfo.unitWorkUnjuryPer}
</if>
<if
test=
"tSocialFundInfo.unitBirthPer != null"
>
AND a.UNIT_BIRTH_PER = #{tSocialFundInfo.unitBirthPer}
</if>
<if
test=
"tSocialFundInfo.personalPensionPer != null"
>
AND a.PERSONAL_PENSION_PER = #{tSocialFundInfo.personalPensionPer}
</if>
<if
test=
"tSocialFundInfo.personalMedicalPer != null"
>
AND a.PERSONAL_MEDICAL_PER = #{tSocialFundInfo.personalMedicalPer}
</if>
<if
test=
"tSocialFundInfo.personalUnemploymentPer != null"
>
AND a.PERSONAL_UNEMPLOYMENT_PER = #{tSocialFundInfo.personalUnemploymentPer}
</if>
<if
test=
"tSocialFundInfo.handleStatus != null and tSocialFundInfo.handleStatus.trim() != ''"
>
AND a.HANDLE_STATUS = #{tSocialFundInfo.handleStatus}
</if>
<if
test=
"tSocialFundInfo.personalBigailmentPer != null"
>
AND a.PERSONAL_BIGAILMENT_PER = #{tSocialFundInfo.personalBigailmentPer}
</if>
<if
test=
"tSocialFundInfo.unitBigailmentPer != null"
>
AND a.UNIT_BIGAILMENT_PER = #{tSocialFundInfo.unitBigailmentPer}
</if>
<if
test=
"tSocialFundInfo.socialReduceDate != null"
>
AND a.SOCIAL_REDUCE_DATE = #{tSocialFundInfo.socialReduceDate}
</if>
<if
test=
"tSocialFundInfo.canOverpay != null and tSocialFundInfo.canOverpay.trim() != ''"
>
AND a.CAN_OVERPAY = #{tSocialFundInfo.canOverpay}
</if>
<if
test=
"tSocialFundInfo.payPolicy != null and tSocialFundInfo.payPolicy.trim() != ''"
>
AND a.PAY_POLICY = #{tSocialFundInfo.payPolicy}
</if>
<if
test=
"tSocialFundInfo.overpayNumber != null"
>
AND a.OVERPAY_NUMBER = #{tSocialFundInfo.overpayNumber}
</if>
<if
test=
"tSocialFundInfo.haveThisMonth != null and tSocialFundInfo.haveThisMonth.trim() != ''"
>
AND a.HAVE_THIS_MONTH = #{tSocialFundInfo.haveThisMonth}
</if>
<if
test=
"tSocialFundInfo.insurancePension != null and tSocialFundInfo.insurancePension.trim() != ''"
>
AND a.INSURANCE_PENSION = #{tSocialFundInfo.insurancePension}
</if>
<if
test=
"tSocialFundInfo.insuranceMedical != null and tSocialFundInfo.insuranceMedical.trim() != ''"
>
AND a.INSURANCE_MEDICAL = #{tSocialFundInfo.insuranceMedical}
</if>
<if
test=
"tSocialFundInfo.insuranceUnemployment != null and tSocialFundInfo.insuranceUnemployment.trim() != ''"
>
AND a.INSURANCE_UNEMPLOYMENT = #{tSocialFundInfo.insuranceUnemployment}
</if>
<if
test=
"tSocialFundInfo.insuranceInjury != null and tSocialFundInfo.insuranceInjury.trim() != ''"
>
AND a.INSURANCE_INJURY = #{tSocialFundInfo.insuranceInjury}
</if>
<if
test=
"tSocialFundInfo.insuranceBirth != null and tSocialFundInfo.insuranceBirth.trim() != ''"
>
AND a.INSURANCE_BIRTH = #{tSocialFundInfo.insuranceBirth}
</if>
<if
test=
"tSocialFundInfo.insuranceBigailment != null and tSocialFundInfo.insuranceBigailment.trim() != ''"
>
AND a.INSURANCE_BIGAILMENT = #{tSocialFundInfo.insuranceBigailment}
</if>
<if
test=
"tSocialFundInfo.latestCardinality != null and tSocialFundInfo.latestCardinality.trim() != ''"
>
AND a.LATEST_CARDINALITY = #{tSocialFundInfo.latestCardinality}
</if>
<if
test=
"tSocialFundInfo.isIllness != null and tSocialFundInfo.isIllness.trim() != ''"
>
AND a.IS_ILLNESS = #{tSocialFundInfo.isIllness}
</if>
<if
test=
"tSocialFundInfo.collectType != null and tSocialFundInfo.collectType.trim() != ''"
>
AND a.COLLECT_TYPE = #{tSocialFundInfo.collectType}
</if>
<if
test=
"tSocialFundInfo.valueType != null and tSocialFundInfo.valueType.trim() != ''"
>
AND a.VALUE_TYPE = #{tSocialFundInfo.valueType}
</if>
<if
test=
"tSocialFundInfo.collectMoth != null"
>
AND a.COLLECT_MOTH = #{tSocialFundInfo.collectMoth}
</if>
<if
test=
"tSocialFundInfo.isChargePersonal != null and tSocialFundInfo.isChargePersonal.trim() != ''"
>
AND a.IS_CHARGE_PERSONAL = #{tSocialFundInfo.isChargePersonal}
</if>
<if
test=
"tSocialFundInfo.recordBase != null and tSocialFundInfo.recordBase.trim() != ''"
>
AND a.RECORD_BASE = #{tSocialFundInfo.recordBase}
</if>
<if
test=
"tSocialFundInfo.trustRemark != null and tSocialFundInfo.trustRemark.trim() != ''"
>
AND a.TRUST_REMARK = #{tSocialFundInfo.trustRemark}
</if>
<if
test=
"tSocialFundInfo.paymentType != null and tSocialFundInfo.paymentType.trim() != ''"
>
AND a.PAYMENT_TYPE = #{tSocialFundInfo.paymentType}
</if>
<if
test=
"tSocialFundInfo.upperLimit != null"
>
AND a.UPPER_LIMIT = #{tSocialFundInfo.upperLimit}
</if>
<if
test=
"tSocialFundInfo.lowerLimit != null"
>
AND a.LOWER_LIMIT = #{tSocialFundInfo.lowerLimit}
</if>
<if
test=
"tSocialFundInfo.pensionStart != null"
>
AND a.PENSION_START = #{tSocialFundInfo.pensionStart}
</if>
<if
test=
"tSocialFundInfo.medicalStart != null"
>
AND a.MEDICAL_START = #{tSocialFundInfo.medicalStart}
</if>
<if
test=
"tSocialFundInfo.unemployStart != null"
>
AND a.UNEMPLOY_START = #{tSocialFundInfo.unemployStart}
</if>
<if
test=
"tSocialFundInfo.workInjuryStart != null"
>
AND a.WORK_INJURY_START = #{tSocialFundInfo.workInjuryStart}
</if>
<if
test=
"tSocialFundInfo.birthStart != null"
>
AND a.BIRTH_START = #{tSocialFundInfo.birthStart}
</if>
<if
test=
"tSocialFundInfo.bigailmentStart != null"
>
AND a.BIGAILMENT_START = #{tSocialFundInfo.bigailmentStart}
</if>
<if
test=
"tSocialFundInfo.pensionHandle != null and tSocialFundInfo.pensionHandle.trim() != ''"
>
AND a.PENSION_HANDLE = #{tSocialFundInfo.pensionHandle}
</if>
<if
test=
"tSocialFundInfo.medicalHandle != null and tSocialFundInfo.medicalHandle.trim() != ''"
>
AND a.MEDICAL_HANDLE = #{tSocialFundInfo.medicalHandle}
</if>
<if
test=
"tSocialFundInfo.unemployHandle != null and tSocialFundInfo.unemployHandle.trim() != ''"
>
AND a.UNEMPLOY_HANDLE = #{tSocialFundInfo.unemployHandle}
</if>
<if
test=
"tSocialFundInfo.workInjuryHandle != null and tSocialFundInfo.workInjuryHandle.trim() != ''"
>
AND a.WORK_INJURY_HANDLE = #{tSocialFundInfo.workInjuryHandle}
</if>
<if
test=
"tSocialFundInfo.birthHandle != null and tSocialFundInfo.birthHandle.trim() != ''"
>
AND a.BIRTH_HANDLE = #{tSocialFundInfo.birthHandle}
</if>
<if
test=
"tSocialFundInfo.bigailmentHandle != null and tSocialFundInfo.bigailmentHandle.trim() != ''"
>
AND a.BIGAILMENT_HANDLE = #{tSocialFundInfo.bigailmentHandle}
</if>
<if
test=
"tSocialFundInfo.unitPersionMoney != null"
>
AND a.UNIT_PERSION_MONEY = #{tSocialFundInfo.unitPersionMoney}
</if>
<if
test=
"tSocialFundInfo.unitMedicalMoney != null"
>
AND a.UNIT_MEDICAL_MONEY = #{tSocialFundInfo.unitMedicalMoney}
</if>
<if
test=
"tSocialFundInfo.unitUnemploymentMoney != null"
>
AND a.UNIT_UNEMPLOYMENT_MONEY = #{tSocialFundInfo.unitUnemploymentMoney}
</if>
<if
test=
"tSocialFundInfo.unitInjuryMoney != null"
>
AND a.UNIT_INJURY_MONEY = #{tSocialFundInfo.unitInjuryMoney}
</if>
<if
test=
"tSocialFundInfo.unitBirthMoney != null"
>
AND a.UNIT_BIRTH_MONEY = #{tSocialFundInfo.unitBirthMoney}
</if>
<if
test=
"tSocialFundInfo.unitBigailmentMoney != null"
>
AND a.UNIT_BIGAILMENT_MONEY = #{tSocialFundInfo.unitBigailmentMoney}
</if>
<if
test=
"tSocialFundInfo.personalPersionMoney != null"
>
AND a.PERSONAL_PERSION_MONEY = #{tSocialFundInfo.personalPersionMoney}
</if>
<if
test=
"tSocialFundInfo.personalMedicalMoney != null"
>
AND a.PERSONAL_MEDICAL_MONEY = #{tSocialFundInfo.personalMedicalMoney}
</if>
<if
test=
"tSocialFundInfo.personalUnemploymentMoney != null"
>
AND a.PERSONAL_UNEMPLOYMENT_MONEY = #{tSocialFundInfo.personalUnemploymentMoney}
</if>
<if
test=
"tSocialFundInfo.personalBigailmentMoney != null"
>
AND a.PERSONAL_BIGAILMENT_MONEY = #{tSocialFundInfo.personalBigailmentMoney}
</if>
<if
test=
"tSocialFundInfo.unitProvidengCardinal != null"
>
AND a.UNIT_PROVIDENG_CARDINAL = #{tSocialFundInfo.unitProvidengCardinal}
</if>
<if
test=
"tSocialFundInfo.personalProvidentCardinal != null"
>
AND a.PERSONAL_PROVIDENT_CARDINAL = #{tSocialFundInfo.personalProvidentCardinal}
</if>
<if
test=
"tSocialFundInfo.socialStartDate != null"
>
AND a.SOCIAL_START_DATE = #{tSocialFundInfo.socialStartDate}
</if>
<if
test=
"tSocialFundInfo.unitProvidentPer != null"
>
AND a.UNIT_PROVIDENT_PER = #{tSocialFundInfo.unitProvidentPer}
</if>
<if
test=
"tSocialFundInfo.personalProvidentPer != null"
>
AND a.PERSONAL_PROVIDENT_PER = #{tSocialFundInfo.personalProvidentPer}
</if>
<if
test=
"tSocialFundInfo.providentStart != null"
>
AND a.PROVIDENT_START = #{tSocialFundInfo.providentStart}
</if>
<if
test=
"tSocialFundInfo.firstBuyMothFund != null"
>
AND a.FIRST_BUY_MOTH_FUND = #{tSocialFundInfo.firstBuyMothFund}
</if>
<if
test=
"tSocialFundInfo.upperLimitFund != null"
>
AND a.UPPER_LIMIT_FUND = #{tSocialFundInfo.upperLimitFund}
</if>
<if
test=
"tSocialFundInfo.lowerLimitFund != null"
>
AND a.LOWER_LIMIT_FUND = #{tSocialFundInfo.lowerLimitFund}
</if>
<if
test=
"tSocialFundInfo.fundPayPoint != null and tSocialFundInfo.fundPayPoint.trim() != ''"
>
AND a.FUND_PAY_POINT = #{tSocialFundInfo.fundPayPoint}
</if>
<if
test=
"tSocialFundInfo.canOverpayFund != null and tSocialFundInfo.canOverpayFund.trim() != ''"
>
AND a.CAN_OVERPAY_FUND = #{tSocialFundInfo.canOverpayFund}
</if>
<if
test=
"tSocialFundInfo.overpayNumberFund != null"
>
AND a.OVERPAY_NUMBER_FUND = #{tSocialFundInfo.overpayNumberFund}
</if>
<if
test=
"tSocialFundInfo.payPolicyFund != null and tSocialFundInfo.payPolicyFund.trim() != ''"
>
AND a.PAY_POLICY_FUND = #{tSocialFundInfo.payPolicyFund}
</if>
<if
test=
"tSocialFundInfo.trustRemarkFund != null and tSocialFundInfo.trustRemarkFund.trim() != ''"
>
AND a.TRUST_REMARK_FUND = #{tSocialFundInfo.trustRemarkFund}
</if>
<if
test=
"tSocialFundInfo.haveThisMonthFund != null and tSocialFundInfo.haveThisMonthFund.trim() != ''"
>
AND a.HAVE_THIS_MONTH_FUND = #{tSocialFundInfo.haveThisMonthFund}
</if>
<if
test=
"tSocialFundInfo.latestCardinalityFund != null and tSocialFundInfo.latestCardinalityFund.trim() != ''"
>
AND a.LATEST_CARDINALITY_FUND = #{tSocialFundInfo.latestCardinalityFund}
</if>
</if>
</sql>
<!--tSocialFundInfo简单分页查询-->
<select
id=
"getTSocialFundInfoPage"
resultMap=
"tSocialFundInfoMap"
>
SELECT
<include
refid=
"Base_Column_List"
/>
FROM t_social_fund_info a
<where>
1=1
<include
refid=
"tSocialFundInfo_where"
/>
</where>
</select>
</mapper>
yifu-social/yifu-social-biz/src/main/resources/mapper/TSocialInfoMapper.xml
0 → 100644
View file @
1e811799
<?xml version="1.0" encoding="UTF-8"?>
<!--
~
~ Copyright (c) 2018-2025, lengleng All rights reserved.
~
~ Redistribution and use in source and binary forms, with or without
~ modification, are permitted provided that the following conditions are met:
~
~ Redistributions of source code must retain the above copyright notice,
~ this list of conditions and the following disclaimer.
~ Redistributions in binary form must reproduce the above copyright
~ notice, this list of conditions and the following disclaimer in the
~ documentation and/or other materials provided with the distribution.
~ Neither the name of the yifu4cloud.com developer nor the names of its
~ contributors may be used to endorse or promote products derived from
~ this software without specific prior written permission.
~ Author: lengleng (wangiegie@gmail.com)
~
-->
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.yifu.cloud.plus.v1.yifu.demo.mapper.TSocialInfoMapper"
>
<resultMap
id=
"tSocialInfoMap"
type=
"com.yifu.cloud.plus.v1.yifu.demo.entity.TSocialInfo"
>
<id
property=
"id"
column=
"ID"
/>
<result
property=
"socialHousehold"
column=
"SOCIAL_HOUSEHOLD"
/>
<result
property=
"socialStartDate"
column=
"SOCIAL_START_DATE"
/>
<result
property=
"unitPensionCardinal"
column=
"UNIT_PENSION_CARDINAL"
/>
<result
property=
"unitMedicalCardinal"
column=
"UNIT_MEDICAL_CARDINAL"
/>
<result
property=
"unitUnemploymentCardinal"
column=
"UNIT_UNEMPLOYMENT_CARDINAL"
/>
<result
property=
"unitBigailmentCardinal"
column=
"UNIT_BIGAILMENT_CARDINAL"
/>
<result
property=
"unitWorkInjuryCardinal"
column=
"UNIT_WORK_INJURY_CARDINAL"
/>
<result
property=
"unitBirthCardinal"
column=
"UNIT_BIRTH_CARDINAL"
/>
<result
property=
"personalPensionCardinal"
column=
"PERSONAL_PENSION_CARDINAL"
/>
<result
property=
"personalMedicalCardinal"
column=
"PERSONAL_MEDICAL_CARDINAL"
/>
<result
property=
"personalBigailmentCardinal"
column=
"PERSONAL_BIGAILMENT_CARDINAL"
/>
<result
property=
"personalUnemploymentCardinal"
column=
"PERSONAL_UNEMPLOYMENT_CARDINAL"
/>
<result
property=
"personalWorkInjuryCardinal"
column=
"PERSONAL_WORK_INJURY_CARDINAL"
/>
<result
property=
"empId"
column=
"EMP_ID"
/>
<result
property=
"empNo"
column=
"EMP_NO"
/>
<result
property=
"empName"
column=
"EMP_NAME"
/>
<result
property=
"empIdcard"
column=
"EMP_IDCARD"
/>
<result
property=
"unitPensionPer"
column=
"UNIT_PENSION_PER"
/>
<result
property=
"unitMedicalPer"
column=
"UNIT_MEDICAL_PER"
/>
<result
property=
"unitUnemploymentPer"
column=
"UNIT_UNEMPLOYMENT_PER"
/>
<result
property=
"unitWorkUnjuryPer"
column=
"UNIT_WORK_UNJURY_PER"
/>
<result
property=
"unitBirthPer"
column=
"UNIT_BIRTH_PER"
/>
<result
property=
"personalPensionPer"
column=
"PERSONAL_PENSION_PER"
/>
<result
property=
"personalMedicalPer"
column=
"PERSONAL_MEDICAL_PER"
/>
<result
property=
"personalUnemploymentPer"
column=
"PERSONAL_UNEMPLOYMENT_PER"
/>
<result
property=
"auditStatus"
column=
"AUDIT_STATUS"
/>
<result
property=
"handleStatus"
column=
"HANDLE_STATUS"
/>
<result
property=
"draftStatus"
column=
"DRAFT_STATUS"
/>
<result
property=
"cardinalIid"
column=
"CARDINAL_IID"
/>
<result
property=
"oldId"
column=
"OLD_ID"
/>
<result
property=
"settleDomain"
column=
"SETTLE_DOMAIN"
/>
<result
property=
"socialProvince"
column=
"SOCIAL_PROVINCE"
/>
<result
property=
"socialCity"
column=
"SOCIAL_CITY"
/>
<result
property=
"socialTown"
column=
"SOCIAL_TOWN"
/>
<result
property=
"remark"
column=
"REMARK"
/>
<result
property=
"deleteFlag"
column=
"DELETE_FLAG"
/>
<result
property=
"unitPersionMoney"
column=
"UNIT_PERSION_MONEY"
/>
<result
property=
"unitMedicalMoney"
column=
"UNIT_MEDICAL_MONEY"
/>
<result
property=
"unitUnemploymentMoney"
column=
"UNIT_UNEMPLOYMENT_MONEY"
/>
<result
property=
"unitInjuryMoney"
column=
"UNIT_INJURY_MONEY"
/>
<result
property=
"unitBirthMoney"
column=
"UNIT_BIRTH_MONEY"
/>
<result
property=
"unitBigailmentMoney"
column=
"UNIT_BIGAILMENT_MONEY"
/>
<result
property=
"personalPersionMoney"
column=
"PERSONAL_PERSION_MONEY"
/>
<result
property=
"personalMedicalMoney"
column=
"PERSONAL_MEDICAL_MONEY"
/>
<result
property=
"personalUnemploymentMoney"
column=
"PERSONAL_UNEMPLOYMENT_MONEY"
/>
<result
property=
"personalBigailmentMoney"
column=
"PERSONAL_BIGAILMENT_MONEY"
/>
<result
property=
"valueType"
column=
"VALUE_TYPE"
/>
<result
property=
"personalBigailmentPer"
column=
"PERSONAL_BIGAILMENT_PER"
/>
<result
property=
"unitBigailmentPer"
column=
"UNIT_BIGAILMENT_PER"
/>
<result
property=
"isIllness"
column=
"IS_ILLNESS"
/>
<result
property=
"collectMoth"
column=
"COLLECT_MOTH"
/>
<result
property=
"collectType"
column=
"COLLECT_TYPE"
/>
<result
property=
"processInstId"
column=
"PROCESS_INST_ID"
/>
<result
property=
"auditUser"
column=
"AUDIT_USER"
/>
<result
property=
"auditTime"
column=
"AUDIT_TIME"
/>
<result
property=
"handleUser"
column=
"HANDLE_USER"
/>
<result
property=
"handleTime"
column=
"HANDLE_TIME"
/>
<result
property=
"belongUnit"
column=
"BELONG_UNIT"
/>
<result
property=
"socialReduceDate"
column=
"SOCIAL_REDUCE_DATE"
/>
<result
property=
"canOverpay"
column=
"CAN_OVERPAY"
/>
<result
property=
"overpayNumber"
column=
"OVERPAY_NUMBER"
/>
<result
property=
"haveThisMonth"
column=
"HAVE_THIS_MONTH"
/>
<result
property=
"insurancePension"
column=
"INSURANCE_PENSION"
/>
<result
property=
"insuranceMedical"
column=
"INSURANCE_MEDICAL"
/>
<result
property=
"insuranceUnemployment"
column=
"INSURANCE_UNEMPLOYMENT"
/>
<result
property=
"insuranceInjury"
column=
"INSURANCE_INJURY"
/>
<result
property=
"insuranceBirth"
column=
"INSURANCE_BIRTH"
/>
<result
property=
"insuranceBigailment"
column=
"INSURANCE_BIGAILMENT"
/>
<result
property=
"insuranceIsLatestCardinality"
column=
"INSURANCE_IS_LATEST_CARDINALITY"
/>
<result
property=
"reduceHandleUser"
column=
"REDUCE_HANDLE_USER"
/>
<result
property=
"reduceHandleTime"
column=
"REDUCE_HANDLE_TIME"
/>
<result
property=
"isChargePersonal"
column=
"IS_CHARGE_PERSONAL"
/>
<result
property=
"trustRemark"
column=
"TRUST_REMARK"
/>
<result
property=
"reduceCan"
column=
"REDUCE_CAN"
/>
<result
property=
"inauguralTeam"
column=
"INAUGURAL_TEAM"
/>
<result
property=
"telecomNumber"
column=
"TELECOM_NUMBER"
/>
<result
property=
"paymentType"
column=
"PAYMENT_TYPE"
/>
<result
property=
"recordBase"
column=
"RECORD_BASE"
/>
<result
property=
"socialType"
column=
"SOCIAL_TYPE"
/>
<result
property=
"bigailmentVaryFlag"
column=
"BIGAILMENT_VARY_FLAG"
/>
<result
property=
"pensionStart"
column=
"PENSION_START"
/>
<result
property=
"medicalStart"
column=
"MEDICAL_START"
/>
<result
property=
"unemployStart"
column=
"UNEMPLOY_START"
/>
<result
property=
"workInjuryStart"
column=
"WORK_INJURY_START"
/>
<result
property=
"birthStart"
column=
"BIRTH_START"
/>
<result
property=
"bigailmentStart"
column=
"BIGAILMENT_START"
/>
<result
property=
"pensionHandle"
column=
"PENSION_HANDLE"
/>
<result
property=
"medicalHandle"
column=
"MEDICAL_HANDLE"
/>
<result
property=
"unemployHandle"
column=
"UNEMPLOY_HANDLE"
/>
<result
property=
"workInjuryHandle"
column=
"WORK_INJURY_HANDLE"
/>
<result
property=
"birthHandle"
column=
"BIRTH_HANDLE"
/>
<result
property=
"bigailmentHandle"
column=
"BIGAILMENT_HANDLE"
/>
<result
property=
"createBy"
column=
"CREATE_BY"
/>
<result
property=
"updateBy"
column=
"UPDATE_BY"
/>
<result
property=
"createName"
column=
"CREATE_NAME"
/>
<result
property=
"updateTime"
column=
"UPDATE_TIME"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
a.ID,
a.SOCIAL_HOUSEHOLD,
a.SOCIAL_START_DATE,
a.UNIT_PENSION_CARDINAL,
a.UNIT_MEDICAL_CARDINAL,
a.UNIT_UNEMPLOYMENT_CARDINAL,
a.UNIT_BIGAILMENT_CARDINAL,
a.UNIT_WORK_INJURY_CARDINAL,
a.UNIT_BIRTH_CARDINAL,
a.PERSONAL_PENSION_CARDINAL,
a.PERSONAL_MEDICAL_CARDINAL,
a.PERSONAL_BIGAILMENT_CARDINAL,
a.PERSONAL_UNEMPLOYMENT_CARDINAL,
a.PERSONAL_WORK_INJURY_CARDINAL,
a.EMP_ID,
a.EMP_NO,
a.EMP_NAME,
a.EMP_IDCARD,
a.UNIT_PENSION_PER,
a.UNIT_MEDICAL_PER,
a.UNIT_UNEMPLOYMENT_PER,
a.UNIT_WORK_UNJURY_PER,
a.UNIT_BIRTH_PER,
a.PERSONAL_PENSION_PER,
a.PERSONAL_MEDICAL_PER,
a.PERSONAL_UNEMPLOYMENT_PER,
a.AUDIT_STATUS,
a.HANDLE_STATUS,
a.DRAFT_STATUS,
a.CARDINAL_IID,
a.OLD_ID,
a.SETTLE_DOMAIN,
a.SOCIAL_PROVINCE,
a.SOCIAL_CITY,
a.SOCIAL_TOWN,
a.REMARK,
a.DELETE_FLAG,
a.UNIT_PERSION_MONEY,
a.UNIT_MEDICAL_MONEY,
a.UNIT_UNEMPLOYMENT_MONEY,
a.UNIT_INJURY_MONEY,
a.UNIT_BIRTH_MONEY,
a.UNIT_BIGAILMENT_MONEY,
a.PERSONAL_PERSION_MONEY,
a.PERSONAL_MEDICAL_MONEY,
a.PERSONAL_UNEMPLOYMENT_MONEY,
a.PERSONAL_BIGAILMENT_MONEY,
a.VALUE_TYPE,
a.PERSONAL_BIGAILMENT_PER,
a.UNIT_BIGAILMENT_PER,
a.IS_ILLNESS,
a.COLLECT_MOTH,
a.COLLECT_TYPE,
a.PROCESS_INST_ID,
a.AUDIT_USER,
a.AUDIT_TIME,
a.HANDLE_USER,
a.HANDLE_TIME,
a.BELONG_UNIT,
a.SOCIAL_REDUCE_DATE,
a.CAN_OVERPAY,
a.OVERPAY_NUMBER,
a.HAVE_THIS_MONTH,
a.INSURANCE_PENSION,
a.INSURANCE_MEDICAL,
a.INSURANCE_UNEMPLOYMENT,
a.INSURANCE_INJURY,
a.INSURANCE_BIRTH,
a.INSURANCE_BIGAILMENT,
a.INSURANCE_IS_LATEST_CARDINALITY,
a.REDUCE_HANDLE_USER,
a.REDUCE_HANDLE_TIME,
a.IS_CHARGE_PERSONAL,
a.TRUST_REMARK,
a.REDUCE_CAN,
a.INAUGURAL_TEAM,
a.TELECOM_NUMBER,
a.PAYMENT_TYPE,
a.RECORD_BASE,
a.SOCIAL_TYPE,
a.BIGAILMENT_VARY_FLAG,
a.PENSION_START,
a.MEDICAL_START,
a.UNEMPLOY_START,
a.WORK_INJURY_START,
a.BIRTH_START,
a.BIGAILMENT_START,
a.PENSION_HANDLE,
a.MEDICAL_HANDLE,
a.UNEMPLOY_HANDLE,
a.WORK_INJURY_HANDLE,
a.BIRTH_HANDLE,
a.BIGAILMENT_HANDLE,
a.CREATE_BY,
a.UPDATE_BY,
a.CREATE_NAME,
a.UPDATE_TIME
</sql>
<sql
id=
"tSocialInfo_where"
>
<if
test=
"tSocialInfo != null"
>
<if
test=
"tSocialInfo.id != null and tSocialInfo.id.trim() != ''"
>
AND a.ID = #{tSocialInfo.id}
</if>
<if
test=
"tSocialInfo.socialHousehold != null and tSocialInfo.socialHousehold.trim() != ''"
>
AND a.SOCIAL_HOUSEHOLD = #{tSocialInfo.socialHousehold}
</if>
<if
test=
"tSocialInfo.socialStartDate != null"
>
AND a.SOCIAL_START_DATE = #{tSocialInfo.socialStartDate}
</if>
<if
test=
"tSocialInfo.unitPensionCardinal != null"
>
AND a.UNIT_PENSION_CARDINAL = #{tSocialInfo.unitPensionCardinal}
</if>
<if
test=
"tSocialInfo.unitMedicalCardinal != null"
>
AND a.UNIT_MEDICAL_CARDINAL = #{tSocialInfo.unitMedicalCardinal}
</if>
<if
test=
"tSocialInfo.unitUnemploymentCardinal != null"
>
AND a.UNIT_UNEMPLOYMENT_CARDINAL = #{tSocialInfo.unitUnemploymentCardinal}
</if>
<if
test=
"tSocialInfo.unitBigailmentCardinal != null"
>
AND a.UNIT_BIGAILMENT_CARDINAL = #{tSocialInfo.unitBigailmentCardinal}
</if>
<if
test=
"tSocialInfo.unitWorkInjuryCardinal != null"
>
AND a.UNIT_WORK_INJURY_CARDINAL = #{tSocialInfo.unitWorkInjuryCardinal}
</if>
<if
test=
"tSocialInfo.unitBirthCardinal != null"
>
AND a.UNIT_BIRTH_CARDINAL = #{tSocialInfo.unitBirthCardinal}
</if>
<if
test=
"tSocialInfo.personalPensionCardinal != null"
>
AND a.PERSONAL_PENSION_CARDINAL = #{tSocialInfo.personalPensionCardinal}
</if>
<if
test=
"tSocialInfo.personalMedicalCardinal != null"
>
AND a.PERSONAL_MEDICAL_CARDINAL = #{tSocialInfo.personalMedicalCardinal}
</if>
<if
test=
"tSocialInfo.personalBigailmentCardinal != null"
>
AND a.PERSONAL_BIGAILMENT_CARDINAL = #{tSocialInfo.personalBigailmentCardinal}
</if>
<if
test=
"tSocialInfo.personalUnemploymentCardinal != null"
>
AND a.PERSONAL_UNEMPLOYMENT_CARDINAL = #{tSocialInfo.personalUnemploymentCardinal}
</if>
<if
test=
"tSocialInfo.personalWorkInjuryCardinal != null"
>
AND a.PERSONAL_WORK_INJURY_CARDINAL = #{tSocialInfo.personalWorkInjuryCardinal}
</if>
<if
test=
"tSocialInfo.empId != null and tSocialInfo.empId.trim() != ''"
>
AND a.EMP_ID = #{tSocialInfo.empId}
</if>
<if
test=
"tSocialInfo.empNo != null and tSocialInfo.empNo.trim() != ''"
>
AND a.EMP_NO = #{tSocialInfo.empNo}
</if>
<if
test=
"tSocialInfo.empName != null and tSocialInfo.empName.trim() != ''"
>
AND a.EMP_NAME = #{tSocialInfo.empName}
</if>
<if
test=
"tSocialInfo.empIdcard != null and tSocialInfo.empIdcard.trim() != ''"
>
AND a.EMP_IDCARD = #{tSocialInfo.empIdcard}
</if>
<if
test=
"tSocialInfo.unitPensionPer != null"
>
AND a.UNIT_PENSION_PER = #{tSocialInfo.unitPensionPer}
</if>
<if
test=
"tSocialInfo.unitMedicalPer != null"
>
AND a.UNIT_MEDICAL_PER = #{tSocialInfo.unitMedicalPer}
</if>
<if
test=
"tSocialInfo.unitUnemploymentPer != null"
>
AND a.UNIT_UNEMPLOYMENT_PER = #{tSocialInfo.unitUnemploymentPer}
</if>
<if
test=
"tSocialInfo.unitWorkUnjuryPer != null"
>
AND a.UNIT_WORK_UNJURY_PER = #{tSocialInfo.unitWorkUnjuryPer}
</if>
<if
test=
"tSocialInfo.unitBirthPer != null"
>
AND a.UNIT_BIRTH_PER = #{tSocialInfo.unitBirthPer}
</if>
<if
test=
"tSocialInfo.personalPensionPer != null"
>
AND a.PERSONAL_PENSION_PER = #{tSocialInfo.personalPensionPer}
</if>
<if
test=
"tSocialInfo.personalMedicalPer != null"
>
AND a.PERSONAL_MEDICAL_PER = #{tSocialInfo.personalMedicalPer}
</if>
<if
test=
"tSocialInfo.personalUnemploymentPer != null"
>
AND a.PERSONAL_UNEMPLOYMENT_PER = #{tSocialInfo.personalUnemploymentPer}
</if>
<if
test=
"tSocialInfo.auditStatus != null and tSocialInfo.auditStatus.trim() != ''"
>
AND a.AUDIT_STATUS = #{tSocialInfo.auditStatus}
</if>
<if
test=
"tSocialInfo.handleStatus != null and tSocialInfo.handleStatus.trim() != ''"
>
AND a.HANDLE_STATUS = #{tSocialInfo.handleStatus}
</if>
<if
test=
"tSocialInfo.draftStatus != null and tSocialInfo.draftStatus.trim() != ''"
>
AND a.DRAFT_STATUS = #{tSocialInfo.draftStatus}
</if>
<if
test=
"tSocialInfo.cardinalIid != null and tSocialInfo.cardinalIid.trim() != ''"
>
AND a.CARDINAL_IID = #{tSocialInfo.cardinalIid}
</if>
<if
test=
"tSocialInfo.oldId != null"
>
AND a.OLD_ID = #{tSocialInfo.oldId}
</if>
<if
test=
"tSocialInfo.settleDomain != null and tSocialInfo.settleDomain.trim() != ''"
>
AND a.SETTLE_DOMAIN = #{tSocialInfo.settleDomain}
</if>
<if
test=
"tSocialInfo.socialProvince != null and tSocialInfo.socialProvince.trim() != ''"
>
AND a.SOCIAL_PROVINCE = #{tSocialInfo.socialProvince}
</if>
<if
test=
"tSocialInfo.socialCity != null and tSocialInfo.socialCity.trim() != ''"
>
AND a.SOCIAL_CITY = #{tSocialInfo.socialCity}
</if>
<if
test=
"tSocialInfo.socialTown != null and tSocialInfo.socialTown.trim() != ''"
>
AND a.SOCIAL_TOWN = #{tSocialInfo.socialTown}
</if>
<if
test=
"tSocialInfo.remark != null and tSocialInfo.remark.trim() != ''"
>
AND a.REMARK = #{tSocialInfo.remark}
</if>
<if
test=
"tSocialInfo.deleteFlag != null and tSocialInfo.deleteFlag.trim() != ''"
>
AND a.DELETE_FLAG = #{tSocialInfo.deleteFlag}
</if>
<if
test=
"tSocialInfo.unitPersionMoney != null"
>
AND a.UNIT_PERSION_MONEY = #{tSocialInfo.unitPersionMoney}
</if>
<if
test=
"tSocialInfo.unitMedicalMoney != null"
>
AND a.UNIT_MEDICAL_MONEY = #{tSocialInfo.unitMedicalMoney}
</if>
<if
test=
"tSocialInfo.unitUnemploymentMoney != null"
>
AND a.UNIT_UNEMPLOYMENT_MONEY = #{tSocialInfo.unitUnemploymentMoney}
</if>
<if
test=
"tSocialInfo.unitInjuryMoney != null"
>
AND a.UNIT_INJURY_MONEY = #{tSocialInfo.unitInjuryMoney}
</if>
<if
test=
"tSocialInfo.unitBirthMoney != null"
>
AND a.UNIT_BIRTH_MONEY = #{tSocialInfo.unitBirthMoney}
</if>
<if
test=
"tSocialInfo.unitBigailmentMoney != null"
>
AND a.UNIT_BIGAILMENT_MONEY = #{tSocialInfo.unitBigailmentMoney}
</if>
<if
test=
"tSocialInfo.personalPersionMoney != null"
>
AND a.PERSONAL_PERSION_MONEY = #{tSocialInfo.personalPersionMoney}
</if>
<if
test=
"tSocialInfo.personalMedicalMoney != null"
>
AND a.PERSONAL_MEDICAL_MONEY = #{tSocialInfo.personalMedicalMoney}
</if>
<if
test=
"tSocialInfo.personalUnemploymentMoney != null"
>
AND a.PERSONAL_UNEMPLOYMENT_MONEY = #{tSocialInfo.personalUnemploymentMoney}
</if>
<if
test=
"tSocialInfo.personalBigailmentMoney != null"
>
AND a.PERSONAL_BIGAILMENT_MONEY = #{tSocialInfo.personalBigailmentMoney}
</if>
<if
test=
"tSocialInfo.valueType != null and tSocialInfo.valueType.trim() != ''"
>
AND a.VALUE_TYPE = #{tSocialInfo.valueType}
</if>
<if
test=
"tSocialInfo.personalBigailmentPer != null"
>
AND a.PERSONAL_BIGAILMENT_PER = #{tSocialInfo.personalBigailmentPer}
</if>
<if
test=
"tSocialInfo.unitBigailmentPer != null"
>
AND a.UNIT_BIGAILMENT_PER = #{tSocialInfo.unitBigailmentPer}
</if>
<if
test=
"tSocialInfo.isIllness != null and tSocialInfo.isIllness.trim() != ''"
>
AND a.IS_ILLNESS = #{tSocialInfo.isIllness}
</if>
<if
test=
"tSocialInfo.collectMoth != null"
>
AND a.COLLECT_MOTH = #{tSocialInfo.collectMoth}
</if>
<if
test=
"tSocialInfo.collectType != null and tSocialInfo.collectType.trim() != ''"
>
AND a.COLLECT_TYPE = #{tSocialInfo.collectType}
</if>
<if
test=
"tSocialInfo.processInstId != null and tSocialInfo.processInstId.trim() != ''"
>
AND a.PROCESS_INST_ID = #{tSocialInfo.processInstId}
</if>
<if
test=
"tSocialInfo.auditUser != null and tSocialInfo.auditUser.trim() != ''"
>
AND a.AUDIT_USER = #{tSocialInfo.auditUser}
</if>
<if
test=
"tSocialInfo.auditTime != null"
>
AND a.AUDIT_TIME = #{tSocialInfo.auditTime}
</if>
<if
test=
"tSocialInfo.handleUser != null and tSocialInfo.handleUser.trim() != ''"
>
AND a.HANDLE_USER = #{tSocialInfo.handleUser}
</if>
<if
test=
"tSocialInfo.handleTime != null"
>
AND a.HANDLE_TIME = #{tSocialInfo.handleTime}
</if>
<if
test=
"tSocialInfo.belongUnit != null and tSocialInfo.belongUnit.trim() != ''"
>
AND a.BELONG_UNIT = #{tSocialInfo.belongUnit}
</if>
<if
test=
"tSocialInfo.socialReduceDate != null"
>
AND a.SOCIAL_REDUCE_DATE = #{tSocialInfo.socialReduceDate}
</if>
<if
test=
"tSocialInfo.canOverpay != null and tSocialInfo.canOverpay.trim() != ''"
>
AND a.CAN_OVERPAY = #{tSocialInfo.canOverpay}
</if>
<if
test=
"tSocialInfo.overpayNumber != null"
>
AND a.OVERPAY_NUMBER = #{tSocialInfo.overpayNumber}
</if>
<if
test=
"tSocialInfo.haveThisMonth != null and tSocialInfo.haveThisMonth.trim() != ''"
>
AND a.HAVE_THIS_MONTH = #{tSocialInfo.haveThisMonth}
</if>
<if
test=
"tSocialInfo.insurancePension != null and tSocialInfo.insurancePension.trim() != ''"
>
AND a.INSURANCE_PENSION = #{tSocialInfo.insurancePension}
</if>
<if
test=
"tSocialInfo.insuranceMedical != null and tSocialInfo.insuranceMedical.trim() != ''"
>
AND a.INSURANCE_MEDICAL = #{tSocialInfo.insuranceMedical}
</if>
<if
test=
"tSocialInfo.insuranceUnemployment != null and tSocialInfo.insuranceUnemployment.trim() != ''"
>
AND a.INSURANCE_UNEMPLOYMENT = #{tSocialInfo.insuranceUnemployment}
</if>
<if
test=
"tSocialInfo.insuranceInjury != null and tSocialInfo.insuranceInjury.trim() != ''"
>
AND a.INSURANCE_INJURY = #{tSocialInfo.insuranceInjury}
</if>
<if
test=
"tSocialInfo.insuranceBirth != null and tSocialInfo.insuranceBirth.trim() != ''"
>
AND a.INSURANCE_BIRTH = #{tSocialInfo.insuranceBirth}
</if>
<if
test=
"tSocialInfo.insuranceBigailment != null and tSocialInfo.insuranceBigailment.trim() != ''"
>
AND a.INSURANCE_BIGAILMENT = #{tSocialInfo.insuranceBigailment}
</if>
<if
test=
"tSocialInfo.insuranceIsLatestCardinality != null and tSocialInfo.insuranceIsLatestCardinality.trim() != ''"
>
AND a.INSURANCE_IS_LATEST_CARDINALITY = #{tSocialInfo.insuranceIsLatestCardinality}
</if>
<if
test=
"tSocialInfo.reduceHandleUser != null and tSocialInfo.reduceHandleUser.trim() != ''"
>
AND a.REDUCE_HANDLE_USER = #{tSocialInfo.reduceHandleUser}
</if>
<if
test=
"tSocialInfo.reduceHandleTime != null"
>
AND a.REDUCE_HANDLE_TIME = #{tSocialInfo.reduceHandleTime}
</if>
<if
test=
"tSocialInfo.isChargePersonal != null and tSocialInfo.isChargePersonal.trim() != ''"
>
AND a.IS_CHARGE_PERSONAL = #{tSocialInfo.isChargePersonal}
</if>
<if
test=
"tSocialInfo.trustRemark != null and tSocialInfo.trustRemark.trim() != ''"
>
AND a.TRUST_REMARK = #{tSocialInfo.trustRemark}
</if>
<if
test=
"tSocialInfo.reduceCan != null and tSocialInfo.reduceCan.trim() != ''"
>
AND a.REDUCE_CAN = #{tSocialInfo.reduceCan}
</if>
<if
test=
"tSocialInfo.inauguralTeam != null and tSocialInfo.inauguralTeam.trim() != ''"
>
AND a.INAUGURAL_TEAM = #{tSocialInfo.inauguralTeam}
</if>
<if
test=
"tSocialInfo.telecomNumber != null and tSocialInfo.telecomNumber.trim() != ''"
>
AND a.TELECOM_NUMBER = #{tSocialInfo.telecomNumber}
</if>
<if
test=
"tSocialInfo.paymentType != null and tSocialInfo.paymentType.trim() != ''"
>
AND a.PAYMENT_TYPE = #{tSocialInfo.paymentType}
</if>
<if
test=
"tSocialInfo.recordBase != null and tSocialInfo.recordBase.trim() != ''"
>
AND a.RECORD_BASE = #{tSocialInfo.recordBase}
</if>
<if
test=
"tSocialInfo.socialType != null"
>
AND a.SOCIAL_TYPE = #{tSocialInfo.socialType}
</if>
<if
test=
"tSocialInfo.bigailmentVaryFlag != null and tSocialInfo.bigailmentVaryFlag.trim() != ''"
>
AND a.BIGAILMENT_VARY_FLAG = #{tSocialInfo.bigailmentVaryFlag}
</if>
<if
test=
"tSocialInfo.pensionStart != null"
>
AND a.PENSION_START = #{tSocialInfo.pensionStart}
</if>
<if
test=
"tSocialInfo.medicalStart != null"
>
AND a.MEDICAL_START = #{tSocialInfo.medicalStart}
</if>
<if
test=
"tSocialInfo.unemployStart != null"
>
AND a.UNEMPLOY_START = #{tSocialInfo.unemployStart}
</if>
<if
test=
"tSocialInfo.workInjuryStart != null"
>
AND a.WORK_INJURY_START = #{tSocialInfo.workInjuryStart}
</if>
<if
test=
"tSocialInfo.birthStart != null"
>
AND a.BIRTH_START = #{tSocialInfo.birthStart}
</if>
<if
test=
"tSocialInfo.bigailmentStart != null"
>
AND a.BIGAILMENT_START = #{tSocialInfo.bigailmentStart}
</if>
<if
test=
"tSocialInfo.pensionHandle != null and tSocialInfo.pensionHandle.trim() != ''"
>
AND a.PENSION_HANDLE = #{tSocialInfo.pensionHandle}
</if>
<if
test=
"tSocialInfo.medicalHandle != null and tSocialInfo.medicalHandle.trim() != ''"
>
AND a.MEDICAL_HANDLE = #{tSocialInfo.medicalHandle}
</if>
<if
test=
"tSocialInfo.unemployHandle != null and tSocialInfo.unemployHandle.trim() != ''"
>
AND a.UNEMPLOY_HANDLE = #{tSocialInfo.unemployHandle}
</if>
<if
test=
"tSocialInfo.workInjuryHandle != null and tSocialInfo.workInjuryHandle.trim() != ''"
>
AND a.WORK_INJURY_HANDLE = #{tSocialInfo.workInjuryHandle}
</if>
<if
test=
"tSocialInfo.birthHandle != null and tSocialInfo.birthHandle.trim() != ''"
>
AND a.BIRTH_HANDLE = #{tSocialInfo.birthHandle}
</if>
<if
test=
"tSocialInfo.bigailmentHandle != null and tSocialInfo.bigailmentHandle.trim() != ''"
>
AND a.BIGAILMENT_HANDLE = #{tSocialInfo.bigailmentHandle}
</if>
<if
test=
"tSocialInfo.createBy != null and tSocialInfo.createBy.trim() != ''"
>
AND a.CREATE_BY = #{tSocialInfo.createBy}
</if>
<if
test=
"tSocialInfo.updateBy != null and tSocialInfo.updateBy.trim() != ''"
>
AND a.UPDATE_BY = #{tSocialInfo.updateBy}
</if>
<if
test=
"tSocialInfo.createName != null and tSocialInfo.createName.trim() != ''"
>
AND a.CREATE_NAME = #{tSocialInfo.createName}
</if>
<if
test=
"tSocialInfo.updateTime != null"
>
AND a.UPDATE_TIME = #{tSocialInfo.updateTime}
</if>
</if>
</sql>
<!--tSocialInfo简单分页查询-->
<select
id=
"getTSocialInfoPage"
resultMap=
"tSocialInfoMap"
>
SELECT
<include
refid=
"Base_Column_List"
/>
FROM t_social_info a
<where>
1=1
<include
refid=
"tSocialInfo_where"
/>
</where>
</select>
</mapper>
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment