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
f469fcf2
Commit
f469fcf2
authored
Jul 21, 2022
by
hongguangwu
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop' into develop
parents
764e528c
41c6d96a
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
23 changed files
with
486 additions
and
69 deletions
+486
-69
EmpContractDispatchVo.java
...cloud/plus/v1/yifu/archives/vo/EmpContractDispatchVo.java
+6
-0
EmpDispatchAddVo.java
...yifu/cloud/plus/v1/yifu/archives/vo/EmpDispatchAddVo.java
+30
-0
EmpProjectDispatchVo.java
.../cloud/plus/v1/yifu/archives/vo/EmpProjectDispatchVo.java
+6
-0
TEmployeeInfoController.java
.../v1/yifu/archives/controller/TEmployeeInfoController.java
+16
-0
TEmployeeInfoService.java
...d/plus/v1/yifu/archives/service/TEmployeeInfoService.java
+2
-0
TEmpContractAlertServiceImpl.java
...u/archives/service/impl/TEmpContractAlertServiceImpl.java
+1
-0
TEmployeeInfoServiceImpl.java
.../yifu/archives/service/impl/TEmployeeInfoServiceImpl.java
+122
-10
ErrorCodes.java
....cloud.plus.v1/yifu/common/core/exception/ErrorCodes.java
+4
-0
messages_zh_CN.properties
...on-core/src/main/resources/i18n/messages_zh_CN.properties
+2
-0
ArchivesDaprUtil.java
...cloud/plus/v1/yifu/common/dapr/util/ArchivesDaprUtil.java
+9
-0
TInsuranceDetail.java
...loud/plus/v1/yifu/insurances/entity/TInsuranceDetail.java
+1
-2
TInsuranceReplace.java
...oud/plus/v1/yifu/insurances/entity/TInsuranceReplace.java
+1
-2
InsuranceAddParam.java
...u/cloud/plus/v1/yifu/insurances/vo/InsuranceAddParam.java
+1
-2
InsuranceBatchParam.java
...cloud/plus/v1/yifu/insurances/vo/InsuranceBatchParam.java
+1
-2
InsuranceDetailVO.java
...u/cloud/plus/v1/yifu/insurances/vo/InsuranceDetailVO.java
+25
-2
InsuranceListParam.java
.../cloud/plus/v1/yifu/insurances/vo/InsuranceListParam.java
+1
-2
InsuranceListVO.java
...ifu/cloud/plus/v1/yifu/insurances/vo/InsuranceListVO.java
+1
-2
InsuranceReplaceParam.java
...oud/plus/v1/yifu/insurances/vo/InsuranceReplaceParam.java
+1
-3
TInsuranceDetailMapper.xml
...-biz/src/main/resources/mapper/TInsuranceDetailMapper.xml
+4
-0
TSocialFundInfo.java
...ifu/cloud/plus/v1/yifu/social/entity/TSocialFundInfo.java
+46
-1
TDispatchImportVo.java
.../yifu/cloud/plus/v1/yifu/social/vo/TDispatchImportVo.java
+36
-0
TDispatchInfoServiceImpl.java
...v1/yifu/social/service/impl/TDispatchInfoServiceImpl.java
+154
-41
TSocialFundInfoMapper.xml
...l-biz/src/main/resources/mapper/TSocialFundInfoMapper.xml
+16
-0
No files found.
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/vo/EmpContractDispatchVo.java
View file @
f469fcf2
...
...
@@ -21,6 +21,12 @@ import java.util.Date;
*/
@Data
public
class
EmpContractDispatchVo
implements
Serializable
{
/**
* 合同主键ID
*/
@Schema
(
description
=
"合同主键ID"
,
name
=
"empId"
)
private
String
id
;
/**
* 员工主键
*/
...
...
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/vo/EmpDispatchAddVo.java
0 → 100644
View file @
f469fcf2
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
vo
;
import
lombok.Data
;
import
java.io.Serializable
;
import
java.util.HashMap
;
import
java.util.Map
;
/**
* @Author fxj
* @Date 2022/7/20
* @Description
* @Version 1.0
*/
@Data
public
class
EmpDispatchAddVo
implements
Serializable
{
/**
* 员工档案
**/
Map
<
String
,
EmpAddDispatchVo
>
empAddsMap
;
/**
* 员工合同
**/
Map
<
String
,
EmpContractDispatchVo
>
contractsMap
;
/**
* 员工项目档案
**/
Map
<
String
,
EmpProjectDispatchVo
>
projectsMap
;
}
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/vo/EmpProjectDispatchVo.java
View file @
f469fcf2
...
...
@@ -18,6 +18,12 @@ import java.io.Serializable;
*/
@Data
public
class
EmpProjectDispatchVo
implements
Serializable
{
/**
* 项目档案ID
*/
@Schema
(
description
=
"项目档案ID"
)
private
String
id
;
/**
* 人员档案主表id
*/
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/controller/TEmployeeInfoController.java
View file @
f469fcf2
...
...
@@ -25,6 +25,7 @@ import com.yifu.cloud.plus.v1.yifu.archives.entity.TEmployeeInfo;
import
com.yifu.cloud.plus.v1.yifu.archives.service.TEmployeeInfoService
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.DispatchCheckVo
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.DispatchEmpVo
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.EmpDispatchAddVo
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.ErrorMessageVO
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.CacheConstants
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.CommonConstants
;
...
...
@@ -438,4 +439,19 @@ public class TEmployeeInfoController {
return
tEmployeeInfoService
.
getDispatchEmpVo
(
checkVo
);
}
/**
* @Author fxj
* @Description 新增档案|项目档案|合同信息
* @Date 21:05 2022/7/20
* @Param
* @return
**/
@Operation
(
description
=
"新增档案|项目档案|合同信息"
)
@SysLog
(
"新增档案|项目档案|合同信息"
)
@Inner
@PostMapping
(
"/addDispatchInfo"
)
public
EmpDispatchAddVo
addDispatchInfo
(
@RequestBody
(
required
=
true
)
EmpDispatchAddVo
addVo
)
{
return
tEmployeeInfoService
.
addDispatchInfo
(
addVo
);
}
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/TEmployeeInfoService.java
View file @
f469fcf2
...
...
@@ -182,4 +182,6 @@ public interface TEmployeeInfoService extends IService<TEmployeeInfo> {
void
exportLeaveEmployee
(
TEmployeeInfo
employeeVo
,
HttpServletResponse
response
);
Map
<
String
,
DispatchEmpVo
>
getDispatchEmpVo
(
DispatchCheckVo
checkVo
);
EmpDispatchAddVo
addDispatchInfo
(
EmpDispatchAddVo
addVo
);
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TEmpContractAlertServiceImpl.java
View file @
f469fcf2
...
...
@@ -273,6 +273,7 @@ public class TEmpContractAlertServiceImpl extends ServiceImpl<TEmpContractAlertM
alert
.
setAlertPerson
(
contract
.
getCreateName
());
alert
.
setEmpName
(
contract
.
getEmpName
());
alert
.
setEmpId
(
contract
.
getEmpId
());
alert
.
setEmpCode
(
contract
.
getEmpNo
());
alert
.
setProject
(
contract
.
getSubjectDepart
());
alert
.
setProjectNo
(
contract
.
getDeptNo
());
alert
.
setEmpIdcard
(
contract
.
getEmpIdcard
());
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TEmployeeInfoServiceImpl.java
View file @
f469fcf2
...
...
@@ -28,13 +28,12 @@ import com.baomidou.mybatisplus.core.toolkit.Wrappers;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.pig4cloud.plugin.excel.vo.ErrorMessage
;
import
com.sun.org.apache.bcel.internal.generic.IF_ACMPEQ
;
import
com.yifu.cloud.plus.v1.check.entity.TCheckIdCard
;
import
com.yifu.cloud.plus.v1.check.entity.TCheckMobile
;
import
com.yifu.cloud.plus.v1.yifu.archives.constants.EmployeeConstants
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TEmpEducation
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TEmployeeInfo
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TEmployeeProject
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TSettleDomain
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.*
;
import
com.yifu.cloud.plus.v1.yifu.archives.mapper.TEmployeeContractInfoMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.mapper.TEmployeeInfoMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.*
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.*
;
...
...
@@ -88,6 +87,8 @@ public class TEmployeeInfoServiceImpl extends ServiceImpl<TEmployeeInfoMapper, T
private
final
TEmpEducationService
tEmpEducationService
;
private
final
TSettleDomainService
tSettleDomainService
;
private
final
TEmployeeContractInfoMapper
contractMapper
;
@Override
public
IPage
<
TEmployeeInfo
>
getPage
(
Page
<
TEmployeeInfo
>
page
,
TEmployeeInfo
employeeInfo
,
String
sql
)
{
return
baseMapper
.
getPage
(
page
,
employeeInfo
,
sql
);
...
...
@@ -354,7 +355,7 @@ public class TEmployeeInfoServiceImpl extends ServiceImpl<TEmployeeInfoMapper, T
project
.
setLeaveTime
(
null
);
project
.
setProjectStatus
(
CommonConstants
.
ZERO_INT
);
tEmployeeProjectService
.
updateById
(
project
);
projectNum
++
;
projectNum
++;
}
}
}
...
...
@@ -2043,16 +2044,127 @@ public class TEmployeeInfoServiceImpl extends ServiceImpl<TEmployeeInfoMapper, T
}
@Override
public
Map
<
String
,
DispatchEmpVo
>
getDispatchEmpVo
(
DispatchCheckVo
checkVo
)
{
public
Map
<
String
,
DispatchEmpVo
>
getDispatchEmpVo
(
DispatchCheckVo
checkVo
)
{
List
<
DispatchEmpVo
>
voList
=
baseMapper
.
getDispatchEmpVo
(
checkVo
);
if
(
Common
.
isNotNull
(
voList
)){
Map
<
String
,
DispatchEmpVo
>
voMap
=
new
HashMap
<>();
for
(
DispatchEmpVo
vo
:
voList
)
{
voMap
.
put
(
vo
.
getEmpIdcard
(),
vo
);
if
(
Common
.
isNotNull
(
voList
))
{
Map
<
String
,
DispatchEmpVo
>
voMap
=
new
HashMap
<>();
for
(
DispatchEmpVo
vo
:
voList
)
{
voMap
.
put
(
vo
.
getEmpIdcard
(),
vo
);
}
return
voMap
;
}
return
null
;
}
/**
* @return
* @Author fxj
* @Description 新增派单的档案 项目档案 合同
* @Date 21:51 2022/7/20
* @Param
**/
@Override
public
EmpDispatchAddVo
addDispatchInfo
(
EmpDispatchAddVo
addVo
)
{
if
(
Common
.
isEmpty
(
addVo
))
{
return
new
EmpDispatchAddVo
();
}
//员工档案
Map
<
String
,
EmpAddDispatchVo
>
empAddsMap
=
addVo
.
getEmpAddsMap
();
//员工合同
Map
<
String
,
EmpContractDispatchVo
>
contractsMap
=
addVo
.
getContractsMap
();
//员工项目档案
Map
<
String
,
EmpProjectDispatchVo
>
projectsMap
=
addVo
.
getProjectsMap
();
// 新增档案
saveEmp
(
empAddsMap
);
// 新增项目档案不需要返回ID
saveProject
(
empAddsMap
,
projectsMap
);
// 新增合同
saveContract
(
empAddsMap
,
contractsMap
);
addVo
.
setProjectsMap
(
projectsMap
);
addVo
.
setEmpAddsMap
(
empAddsMap
);
addVo
.
setContractsMap
(
contractsMap
);
return
addVo
;
}
private
void
saveContract
(
Map
<
String
,
EmpAddDispatchVo
>
empAddsMap
,
Map
<
String
,
EmpContractDispatchVo
>
contractsMap
)
{
if
(
Common
.
isNotNull
(
contractsMap
))
{
EmpContractDispatchVo
contractAdd
;
TEmployeeContractInfo
contract
;
for
(
Map
.
Entry
<
String
,
EmpContractDispatchVo
>
entry
:
contractsMap
.
entrySet
())
{
contractAdd
=
entry
.
getValue
();
try
{
if
(
Common
.
isNotNull
(
contractAdd
))
{
contract
=
new
TEmployeeContractInfo
();
BeanUtil
.
copyProperties
(
contractAdd
,
contract
);
if
(
Common
.
isEmpty
(
contract
.
getEmpId
())
&&
Common
.
isNotNull
(
empAddsMap
))
{
EmpAddDispatchVo
emp
=
empAddsMap
.
get
(
contract
.
getEmpIdcard
());
if
(
Common
.
isNotNull
(
emp
))
{
contract
.
setEmpId
(
emp
.
getId
());
contract
.
setEmpNo
(
emp
.
getEmpCode
());
}
contractMapper
.
insert
(
contract
);
contractAdd
.
setId
(
contract
.
getId
());
contractsMap
.
put
(
contractAdd
.
getEmpIdcard
()
+
CommonConstants
.
DOWN_LINE_STRING
+
contractAdd
.
getDeptNo
(),
contractAdd
);
}
}
}
catch
(
Exception
e
)
{
log
.
error
(
contractAdd
.
getEmpIdcard
()
+
CommonConstants
.
COLON_STRING
+
"派单新增合同失败"
);
}
}
}
}
private
void
saveEmp
(
Map
<
String
,
EmpAddDispatchVo
>
empAddsMap
)
{
if
(
Common
.
isNotNull
(
empAddsMap
))
{
EmpAddDispatchVo
empAdd
;
TEmployeeInfo
employeeInfo
;
for
(
Map
.
Entry
<
String
,
EmpAddDispatchVo
>
entry
:
empAddsMap
.
entrySet
())
{
empAdd
=
entry
.
getValue
();
try
{
if
(
Common
.
isNotNull
(
empAdd
))
{
employeeInfo
=
new
TEmployeeInfo
();
BeanUtil
.
copyProperties
(
empAdd
,
employeeInfo
);
employeeInfo
.
setEmpCode
(
getCode
());
baseMapper
.
insert
(
employeeInfo
);
empAdd
.
setId
(
employeeInfo
.
getId
());
empAddsMap
.
put
(
empAdd
.
getEmpIdcard
(),
empAdd
);
}
}
catch
(
Exception
e
)
{
log
.
error
(
empAdd
.
getEmpIdcard
()
+
CommonConstants
.
COLON_STRING
+
"派单新增档案失败"
);
}
}
}
}
private
void
saveProject
(
Map
<
String
,
EmpAddDispatchVo
>
empAddsMap
,
Map
<
String
,
EmpProjectDispatchVo
>
projectsMap
)
{
if
(
Common
.
isNotNull
(
projectsMap
))
{
EmpProjectDispatchVo
projectAdd
;
TEmployeeProject
project
;
EmpAddDispatchVo
emp
;
for
(
Map
.
Entry
<
String
,
EmpProjectDispatchVo
>
entry
:
projectsMap
.
entrySet
())
{
projectAdd
=
entry
.
getValue
();
try
{
if
(
Common
.
isNotNull
(
projectAdd
))
;
{
project
=
new
TEmployeeProject
();
BeanUtil
.
copyProperties
(
projectAdd
,
project
);
if
(
Common
.
isEmpty
(
project
.
getEmpId
())
&&
Common
.
isNotNull
(
empAddsMap
))
{
emp
=
empAddsMap
.
get
(
project
.
getEmpIdcard
());
if
(
Common
.
isNotNull
(
emp
))
{
project
.
setEmpCode
(
emp
.
getEmpCode
());
project
.
setEmpId
(
emp
.
getId
());
}
}
tEmployeeProjectService
.
save
(
project
);
projectAdd
.
setId
(
project
.
getId
());
projectsMap
.
put
(
project
.
getEmpIdcard
()
+
CommonConstants
.
DOWN_LINE_STRING
+
project
.
getDeptNo
(),
projectAdd
);
}
}
catch
(
Exception
e
)
{
log
.
error
(
projectAdd
.
getEmpIdcard
()
+
CommonConstants
.
COLON_STRING
+
"派单新增项目档案失败"
);
}
}
}
}
}
yifu-common/yifu-common-core/src/main/java/com/yifu.cloud.plus.v1/yifu/common/core/exception/ErrorCodes.java
View file @
f469fcf2
...
...
@@ -378,4 +378,8 @@ public interface ErrorCodes {
* 新增异常:必须派单社保或公积金,不支持单派档案
*/
String
EMP_DISPATCH_SOCIAL_AND_FUND_NOT_EMPTY
=
"emp.dispatch.social.and.fund.not.empty"
;
/**
* 新增异常:未找到对应项目编码信息
*/
String
EMP_DISPATCH_PROJECT_NOT_FOUND
=
"emp.dispatch.project.not.found"
;
}
yifu-common/yifu-common-core/src/main/resources/i18n/messages_zh_CN.properties
View file @
f469fcf2
...
...
@@ -133,6 +133,8 @@ emp.dispatch.social.exist=\u65B0\u589E\u5F02\u5E38\uFF1A\u5355\u6B21\u5BFC\u5165
emp.dispatch.social.and.fund.not.empty
=
\u
65B0
\u
589E
\u
5F02
\u
5E38
\u
FF1A
\u
5FC5
\u
987B
\u
6D3E
\u5355\u
793E
\u
4FDD
\u6216\u
516C
\u
79EF
\u
91D1
\u
FF0C
\u
4E0D
\u
652F
\u6301\u5355\u
6D3E
\u6863\u6848
emp.dispatch.project.not.found
=
\u
65B0
\u
589E
\u
5F02
\u
5E38
\u
FF1A
\u
672A
\u
627E
\u5230\u
5BF9
\u
5E94
\u9879\u
76EE
\u
7F16
\u7801\u
4FE1
\u
606F
...
...
yifu-common/yifu-common-dapr/src/main/java/com/yifu/cloud/plus/v1/yifu/common/dapr/util/ArchivesDaprUtil.java
View file @
f469fcf2
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
common
.
dapr
.
util
;
import
com.alibaba.fastjson.JSON
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.DispatchAddVo
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.DispatchCheckVo
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.EmpDispatchAddVo
;
import
com.yifu.cloud.plus.v1.yifu.archives.vo.TSettleDomainSelectVo
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.SecurityConstants
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.Common
;
...
...
@@ -98,4 +100,11 @@ public class ArchivesDaprUtil {
return
res
;
}
public
R
<
DispatchAddVo
>
addDispatchInfo
(
EmpDispatchAddVo
addVo
)
{
R
<
DispatchAddVo
>
res
=
HttpDaprUtil
.
invokeMethodPost
(
daprArchivesProperties
.
getAppUrl
(),
daprArchivesProperties
.
getAppId
(),
"/temployeeinfo/addDispatchInfo"
,
JSON
.
toJSONString
(
addVo
),
DispatchAddVo
.
class
,
SecurityConstants
.
FROM_IN
);
if
(
Common
.
isEmpty
(
res
)){
return
R
.
failed
(
"新增档案|项目档案|合同信息失败!"
);
}
return
res
;
}
}
yifu-insurances/yifu-insurances-api/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/entity/TInsuranceDetail.java
View file @
f469fcf2
...
...
@@ -5,7 +5,6 @@ import com.baomidou.mybatisplus.annotation.TableId;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.yifu.cloud.plus.v1.yifu.common.mybatis.base.BaseEntity
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
java.math.BigDecimal
;
...
...
@@ -21,7 +20,7 @@ import java.time.LocalDateTime;
@Data
@EqualsAndHashCode
(
callSuper
=
true
)
@TableName
(
"t_insurance_detail"
)
@
Tag
(
name
=
"商险明细表"
)
@
Schema
(
description
=
"商险明细表"
)
public
class
TInsuranceDetail
extends
BaseEntity
{
/**
* 主键
...
...
yifu-insurances/yifu-insurances-api/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/entity/TInsuranceReplace.java
View file @
f469fcf2
...
...
@@ -3,7 +3,6 @@ package com.yifu.cloud.plus.v1.yifu.insurances.entity;
import
com.baomidou.mybatisplus.annotation.*
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
lombok.Data
;
import
java.io.Serializable
;
...
...
@@ -16,7 +15,7 @@ import java.time.LocalDateTime;
*/
@Data
@TableName
(
"t_insurance_replace"
)
@
Tag
(
name
=
"商险替换表"
)
@
Schema
(
description
=
"商险替换表"
)
public
class
TInsuranceReplace
implements
Serializable
{
private
static
final
long
serialVersionUID
=
-
8528017421473755436L
;
...
...
yifu-insurances/yifu-insurances-api/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/vo/InsuranceAddParam.java
View file @
f469fcf2
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
insurances
.
vo
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
lombok.Data
;
import
java.io.Serializable
;
...
...
@@ -11,7 +10,7 @@ import java.io.Serializable;
* @date 2022-07-18 17:03:31
*/
@Data
@
Tag
(
name
=
"商险办理新增入参"
)
@
Schema
(
description
=
"商险办理新增入参"
)
public
class
InsuranceAddParam
implements
Serializable
{
private
static
final
long
serialVersionUID
=
-
2689686777914935788L
;
/**
...
...
yifu-insurances/yifu-insurances-api/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/vo/InsuranceBatchParam.java
View file @
f469fcf2
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
insurances
.
vo
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
lombok.Data
;
import
java.io.Serializable
;
...
...
@@ -13,7 +12,7 @@ import java.time.LocalDate;
* @date 2022-07-20 08:43:31
*/
@Data
@
Tag
(
name
=
"商险办理批增入参"
)
@
Schema
(
description
=
"商险办理批增入参"
)
public
class
InsuranceBatchParam
implements
Serializable
{
private
static
final
long
serialVersionUID
=
-
2689686777914935788L
;
/**
...
...
yifu-insurances/yifu-insurances-api/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/vo/InsuranceDetailVO.java
View file @
f469fcf2
...
...
@@ -3,7 +3,6 @@ package com.yifu.cloud.plus.v1.yifu.insurances.vo;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
com.fasterxml.jackson.annotation.JsonIgnore
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
lombok.Data
;
import
java.io.Serializable
;
...
...
@@ -17,7 +16,7 @@ import java.time.LocalDateTime;
* @date 2022-07-20 19:23:17
*/
@Data
@
Tag
(
name
=
"投保详情VO"
)
@
Schema
(
description
=
"投保详情VO"
)
public
class
InsuranceDetailVO
implements
Serializable
{
private
static
final
long
serialVersionUID
=
628032758008497542L
;
/**
...
...
@@ -191,24 +190,48 @@ public class InsuranceDetailVO implements Serializable {
@Schema
(
description
=
"商险购买地省"
)
private
String
insuranceProvinceName
;
/**
* 商险购买地省code
*/
@Schema
(
description
=
"商险购买地省code"
)
private
Integer
insuranceProvince
;
/**
* 商险购买地市
*/
@Schema
(
description
=
"商险购买地市"
)
private
String
insuranceCityName
;
/**
* 商险购买地市code
*/
@Schema
(
description
=
"商险购买地市code"
)
private
Integer
insuranceCity
;
/**
* 商险办理省
*/
@Schema
(
description
=
"商险办理省"
)
private
String
insuranceHandleProvinceName
;
/**
* 商险办理省code
*/
@Schema
(
description
=
"商险办理省code"
)
private
Integer
insuranceHandleProvince
;
/**
* 商险办理城市
*/
@Schema
(
description
=
"商险办理城市"
)
private
String
insuranceHandleCityName
;
/**
* 商险办理城市code
*/
@Schema
(
description
=
"商险办理城市code"
)
private
Integer
insuranceHandleCity
;
/**
* 创建人姓名
*/
...
...
yifu-insurances/yifu-insurances-api/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/vo/InsuranceListParam.java
View file @
f469fcf2
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
insurances
.
vo
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
lombok.Data
;
import
java.io.Serializable
;
...
...
@@ -12,7 +11,7 @@ import java.io.Serializable;
* @date 2022-07-20 16:14:19
*/
@Data
@
Tag
(
name
=
"投保列表请求参数"
)
@
Schema
(
description
=
"投保列表请求参数"
)
public
class
InsuranceListParam
implements
Serializable
{
private
static
final
long
serialVersionUID
=
-
4692341622141432288L
;
...
...
yifu-insurances/yifu-insurances-api/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/vo/InsuranceListVO.java
View file @
f469fcf2
...
...
@@ -3,7 +3,6 @@ package com.yifu.cloud.plus.v1.yifu.insurances.vo;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
com.fasterxml.jackson.annotation.JsonIgnore
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
lombok.Data
;
import
java.io.Serializable
;
...
...
@@ -15,7 +14,7 @@ import java.time.LocalDate;
* @date 2022-07-20 16:18:41
*/
@Data
@
Tag
(
name
=
"投保列表VO"
)
@
Schema
(
description
=
"投保列表VO"
)
public
class
InsuranceListVO
implements
Serializable
{
private
static
final
long
serialVersionUID
=
-
6673220061558171816L
;
...
...
yifu-insurances/yifu-insurances-api/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/vo/InsuranceReplaceParam.java
View file @
f469fcf2
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
insurances
.
vo
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
io.swagger.v3.oas.annotations.tags.Tag
;
import
lombok.Data
;
import
java.io.Serializable
;
import
java.time.LocalDate
;
/**
* @author licancan
...
...
@@ -13,7 +11,7 @@ import java.time.LocalDate;
* @date 2022-07-20 08:43:31
*/
@Data
@
Tag
(
name
=
"商险办理替换入参"
)
@
Schema
(
description
=
"商险办理替换入参"
)
public
class
InsuranceReplaceParam
implements
Serializable
{
private
static
final
long
serialVersionUID
=
-
2689686777914935788L
;
...
...
yifu-insurances/yifu-insurances-biz/src/main/resources/mapper/TInsuranceDetailMapper.xml
View file @
f469fcf2
...
...
@@ -169,9 +169,13 @@
detail.IS_EFFECT as isEffect,
detail.IS_OVERDUE as isOverdue,
detail.INSURANCE_PROVINCE_NAME as insuranceProvinceName,
detail.INSURANCE_PROVINCE as insuranceProvince,
detail.INSURANCE_CITY_NAME as insuranceCityName,
detail.INSURANCE_CITY as insuranceCity,
detail.INSURANCE_HANDLE_PROVINCE_NAME as insuranceHandleProvinceName,
detail.INSURANCE_HANDLE_PROVINCE as insuranceHandleProvince,
detail.INSURANCE_HANDLE_CITY_NAME as insuranceHandleCityName,
detail.INSURANCE_HANDLE_CITY as insuranceHandleCity,
detail.CREATE_NAME as createName,
detail.CREATE_TIME as createTime
from t_insurance_detail detail
...
...
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/entity/TSocialFundInfo.java
View file @
f469fcf2
...
...
@@ -106,6 +106,15 @@ public class TSocialFundInfo extends BaseEntity {
@Schema
(
description
=
"结算主体"
)
@ExcelProperty
(
"结算主体"
)
private
String
settleDomainName
;
/**
* 结算主体编码
*/
@Length
(
max
=
50
,
message
=
"结算主体编码不能超过50个字符"
)
@ExcelAttribute
(
name
=
"结算主体编码"
,
maxLength
=
50
)
@Schema
(
description
=
"结算主体编码"
)
@ExcelProperty
(
"结算主体编码"
)
private
String
settleDomainCode
;
/**
* unitName
*/
...
...
@@ -117,11 +126,47 @@ public class TSocialFundInfo extends BaseEntity {
/**
* unitId
*/
@Length
(
max
=
32
,
message
=
"unitId 不能超过32个字符"
)
@ExcelAttribute
(
name
=
"unitId"
,
maxLength
=
32
)
@Schema
(
description
=
"unitId"
)
@ExcelProperty
(
"unitId"
)
private
String
unitId
;
/**
* 结算主体-公积金
*/
@ExcelAttribute
(
name
=
"结算主体-公积金"
,
maxLength
=
32
)
@Schema
(
description
=
"结算主体-公积金"
)
@ExcelProperty
(
"结算主体-公积金"
)
private
String
settleDomainFund
;
/**
* 结算主体-公积金
*/
@ExcelAttribute
(
name
=
"结算主体-公积金"
,
maxLength
=
50
)
@Schema
(
description
=
"结算主体-公积金"
)
@ExcelProperty
(
"结算主体-公积金"
)
private
String
settleDomainNameFund
;
/**
* 结算主体编码-公积金
*/
@ExcelAttribute
(
name
=
"结算主体编码-公积金"
,
maxLength
=
50
)
@Schema
(
description
=
"结算主体编码-公积金"
)
@ExcelProperty
(
"结算主体编码-公积金"
)
private
String
settleDomainCodeFund
;
/**
* 单位名称-公积金
*/
@ExcelAttribute
(
name
=
"单位名称-公积金"
,
maxLength
=
50
)
@Schema
(
description
=
"单位名称-公积金"
)
@ExcelProperty
(
"单位名称-公积金"
)
private
String
unitNameFund
;
/**
* 单位ID
*/
@ExcelAttribute
(
name
=
"单位ID"
,
maxLength
=
32
)
@Schema
(
description
=
"单位ID"
)
@ExcelProperty
(
"单位ID"
)
private
String
unitIdFund
;
/**
* 社保户
*/
...
...
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/vo/TDispatchImportVo.java
View file @
f469fcf2
...
...
@@ -16,6 +16,7 @@
*/
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
social
.
vo
;
import
com.alibaba.excel.annotation.ExcelIgnore
;
import
com.alibaba.excel.annotation.ExcelProperty
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
...
...
@@ -402,4 +403,39 @@ public class TDispatchImportVo extends RowIndex implements Serializable {
@ExcelProperty
(
"委托备注"
)
private
String
trustRemark
;
/**
* 结算主体ID
*/
@Schema
(
description
=
"结算主体ID"
)
@ExcelIgnore
private
String
settleDomainId
;
/**
* 结算主体名称
*/
@Schema
(
description
=
"结算主体名称"
)
@ExcelIgnore
private
String
departName
;
/**
* 所属客户
*/
@Schema
(
description
=
"所属客户"
)
@ExcelIgnore
private
String
customerId
;
/**
* 客户名称
*/
@Schema
(
description
=
"客户名称"
)
@ExcelIgnore
private
String
customerName
;
/**
* 客户编码
*/
@Schema
(
description
=
"客户编码"
)
@ExcelIgnore
private
String
customerCode
;
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TDispatchInfoServiceImpl.java
View file @
f469fcf2
This diff is collapsed.
Click to expand it.
yifu-social/yifu-social-biz/src/main/resources/mapper/TSocialFundInfoMapper.xml
View file @
f469fcf2
...
...
@@ -31,9 +31,17 @@
<result
property=
"empIdcard"
column=
"EMP_IDCARD"
/>
<result
property=
"empType"
column=
"EMP_TYPE"
/>
<result
property=
"settleDomain"
column=
"SETTLE_DOMAIN"
/>
<result
property=
"settleDomainCode"
column=
"SETTLE_DOMAIN_CODE"
/>
<result
property=
"settleDomainName"
column=
"SETTLE_DOMAIN_NAME"
/>
<result
property=
"unitName"
column=
"UNIT_NAME"
/>
<result
property=
"unitId"
column=
"UNIT_ID"
/>
<result
property=
"settleDomainFund"
column=
"SETTLE_DOMAIN_FUND"
/>
<result
property=
"settleDomainCodeFund"
column=
"SETTLE_DOMAIN_CODE_FUND"
/>
<result
property=
"settleDomainNameFund"
column=
"SETTLE_DOMAIN_NAME_FUND"
/>
<result
property=
"unitNameFund"
column=
"UNIT_NAME_FUND"
/>
<result
property=
"unitIdFund"
column=
"UNIT_ID_FUND"
/>
<result
property=
"socialHousehold"
column=
"SOCIAL_HOUSEHOLD"
/>
<result
property=
"socialHouseholdName"
column=
"SOCIAL_HOUSEHOLD_NAME"
/>
<result
property=
"socialProvince"
column=
"SOCIAL_PROVINCE"
/>
...
...
@@ -145,6 +153,8 @@
<result
property=
"personalSocialSum"
column=
"PERSONAL_SOCIAL_SUM"
/>
<result
property=
"unitInterestFee"
column=
"UNIT_INTEREST_FEE"
/>
<result
property=
"personalInterestFee"
column=
"PERSONAL_INTEREST_FEE"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
a.ID,
...
...
@@ -154,9 +164,15 @@
a.EMP_IDCARD,
a.EMP_TYPE,
a.SETTLE_DOMAIN,
a.SETTLE_DOMAIN_CODE,
a.SETTLE_DOMAIN_NAME,
a.UNIT_NAME,
a.UNIT_ID,
a.SETTLE_DOMAIN_FUND,
a.SETTLE_DOMAIN_CODE_FUND,
a.SETTLE_DOMAIN_NAME_FUND,
a.UNIT_NAME_FUND,
a.UNIT_ID_FUND,
a.SOCIAL_HOUSEHOLD,
a.SOCIAL_HOUSEHOLD_NAME,
a.SOCIAL_PROVINCE,
...
...
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