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
09761585
Commit
09761585
authored
Aug 04, 2022
by
fangxinjiang
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/develop' into develop
parents
5a05d509
c2e805c3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
369 additions
and
188 deletions
+369
-188
TSettleDomainMapper.java
...oud/plus/v1/yifu/archives/mapper/TSettleDomainMapper.java
+2
-2
TSettleDomainServiceImpl.java
.../yifu/archives/service/impl/TSettleDomainServiceImpl.java
+1
-1
TSettleDomainMapper.xml
...ves-biz/src/main/resources/mapper/TSettleDomainMapper.xml
+1
-1
ValidityConstants.java
....plus.v1/yifu/common/core/constant/ValidityConstants.java
+2
-0
ArchivesDaprUtil.java
...cloud/plus/v1/yifu/common/dapr/util/ArchivesDaprUtil.java
+1
-1
daprConfig.properties
...yifu-common-dapr/src/main/resources/daprConfig.properties
+1
-1
InsurancesConstants.java
...lus/v1/yifu/insurances/constants/InsurancesConstants.java
+7
-7
ValidityUtil.java
...yifu/cloud/plus/v1/yifu/insurances/util/ValidityUtil.java
+1
-1
DeptChangeCheckParam.java
...loud/plus/v1/yifu/insurances/vo/DeptChangeCheckParam.java
+12
-0
TInsuranceDetailController.java
...ifu/insurances/controller/TInsuranceDetailController.java
+0
-5
TInsuranceDetailServiceImpl.java
.../insurances/service/impl/TInsuranceDetailServiceImpl.java
+102
-15
TInsuranceTypeStandardServiceImpl.java
...ances/service/impl/TInsuranceTypeStandardServiceImpl.java
+0
-8
TPreDispatchInfo.java
...fu/cloud/plus/v1/yifu/social/entity/TPreDispatchInfo.java
+186
-92
TForecastLibraryService.java
.../plus/v1/yifu/social/service/TForecastLibraryService.java
+6
-0
TAgentConfigServiceImpl.java
.../v1/yifu/social/service/impl/TAgentConfigServiceImpl.java
+1
-0
TForecastLibraryServiceImpl.java
...yifu/social/service/impl/TForecastLibraryServiceImpl.java
+19
-27
TPreDispatchInfoServiceImpl.java
...yifu/social/service/impl/TPreDispatchInfoServiceImpl.java
+27
-27
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/mapper/TSettleDomainMapper.java
View file @
09761585
...
...
@@ -36,12 +36,12 @@ import java.util.List;
public
interface
TSettleDomainMapper
extends
BaseMapper
<
TSettleDomain
>
{
/**
* @param
id
* @param
departNo
* @Author: wangan
* @Date: 2019/10/18
* @Description: 通过id获取项目及单位部分信息
**/
TSettleDomainSelectVo
selectSettleDomainSelectVosById
(
@Param
(
"
id"
)
String
id
);
TSettleDomainSelectVo
selectSettleDomainSelectVosById
(
@Param
(
"
departNo"
)
String
departNo
);
/**
* 获取所有客户单位的项目信息
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TSettleDomainServiceImpl.java
View file @
09761585
...
...
@@ -95,7 +95,7 @@ public class TSettleDomainServiceImpl extends ServiceImpl<TSettleDomainMapper, T
**/
@Override
public
TSettleDomainSelectVo
selectSettleDomainSelectVosById
(
TSettleDomainSelectVo
settleDomainSelectVo
)
{
return
baseMapper
.
selectSettleDomainSelectVosById
(
settleDomainSelectVo
.
get
Id
());
return
baseMapper
.
selectSettleDomainSelectVosById
(
settleDomainSelectVo
.
get
DepartNo
());
}
@Override
...
...
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TSettleDomainMapper.xml
View file @
09761585
...
...
@@ -176,7 +176,7 @@
INDUSTRY_BELONG,
CUSTOMER_CODE from t_customer_info
) c ON a.CUSTOMER_ID = c.customerId
WHERE a.
id=#{id} GROUP BY a.id
WHERE a.
DEPART_NO=#{departNo} GROUP BY a.DEPART_NO
</select>
<select
id=
"selectAllSettleDomainSelectVos"
resultMap=
"tSettleDomainSelectVoMap"
>
...
...
yifu-common/yifu-common-core/src/main/java/com/yifu.cloud.plus.v1/yifu/common/core/constant/ValidityConstants.java
View file @
09761585
...
...
@@ -69,4 +69,6 @@ public class ValidityConstants {
/** 不超过两位小数的正数 */
public
static
final
String
POSITIVE_INTEGER_PATTERN_TWO_FLOAT
=
"^[+]?([0-9]+(.[0-9]{1,2})?)$"
;
/** 身份证规则(x只能大写) */
public
static
final
String
IDCARD_UPPERCASE_PATTERN
=
"(^[1-9]\\d{5}(18|19|20)\\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\\d{3}[0-9X]$)|(^[1-9]\\d{5}\\d{2}((0[1-9])|(10|11|12))(([0-2][1-9])|10|20|30|31)\\d{3}$)"
;
}
yifu-common/yifu-common-dapr/src/main/java/com/yifu/cloud/plus/v1/yifu/common/dapr/util/ArchivesDaprUtil.java
View file @
09761585
...
...
@@ -84,7 +84,7 @@ public class ArchivesDaprUtil {
**/
public
R
<
TSettleDomainSelectVo
>
getSettleDomainSelectVoById
(
String
departId
){
TSettleDomainSelectVo
settleDomainSelectVo
=
new
TSettleDomainSelectVo
();
settleDomainSelectVo
.
set
Id
(
departId
);
settleDomainSelectVo
.
set
DepartNo
(
departId
);
R
<
TSettleDomainSelectVo
>
res
=
HttpDaprUtil
.
invokeMethodPost
(
daprArchivesProperties
.
getAppUrl
(),
daprArchivesProperties
.
getAppId
(),
"/tsettledomain/getSettleDomainSelectVoById"
,
settleDomainSelectVo
,
TSettleDomainSelectVo
.
class
,
SecurityConstants
.
FROM_IN
);
if
(
Common
.
isEmpty
(
res
)){
return
R
.
failed
(
"获取派单校验需要的档案信息失败!"
);
...
...
yifu-common/yifu-common-dapr/src/main/resources/daprConfig.properties
View file @
09761585
...
...
@@ -12,6 +12,6 @@ dapr.check.appId=yifu-check
dapr.archives.appUrl
=
http://yifu-archives.qas-mvp.svc.cluster.local:3500/v1.0/invoke/
dapr.archives.appId
=
yifu-archives
dapr.insurances.appUrl
=
http://yifu-
insurances.qas-mvp.svc.cluster.local:3511
/v1.0/invoke/
dapr.insurances.appUrl
=
http://yifu-
auth.qas-mvp.svc.cluster.local:3500
/v1.0/invoke/
dapr.insurances.appId
=
yifu-insurances
yifu-insurances/yifu-insurances-api/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/constants/InsurancesConstants.java
View file @
09761585
...
...
@@ -146,9 +146,9 @@ public class InsurancesConstants {
*/
public
static
final
String
REDUCE_ROLLBACK_IS_NOT_ALLOW
=
"投保状态不是待投保、投保中、已投保,无法退回"
;
/**
* 减员中,无法退回
*
商险
减员中,无法退回
*/
public
static
final
String
REDUCE_ROLLBACK_REDUCE_IS_NOT_ALLOW
=
"减员中,无法退回"
;
public
static
final
String
REDUCE_ROLLBACK_REDUCE_IS_NOT_ALLOW
=
"
商险
减员中,无法退回"
;
/**
* 员工姓名不能为空
*/
...
...
@@ -190,9 +190,9 @@ public class InsurancesConstants {
*/
public
static
final
String
REPLACE_EMP_INFO_SAME
=
"替换信息和被替换信息一致,无法替换"
;
/**
* 替换员工身份证号格式
有
误
* 替换员工身份证号格式
错
误
*/
public
static
final
String
REPLACE_EMP_IDCARD_NO_NOT_LEGITIMATE
=
"替换员工身份证号格式
有
误"
;
public
static
final
String
REPLACE_EMP_IDCARD_NO_NOT_LEGITIMATE
=
"替换员工身份证号格式
错
误"
;
/**
* 项目编码不能为空
*/
...
...
@@ -326,9 +326,9 @@ public class InsurancesConstants {
*/
public
static
final
String
ACTUAL_PREMIUM_EMPTY
=
"保费不能为空"
;
/**
* 保费金额
格式错误
* 保费金额
需要填写不大于9999999.99的正数,最多支持两位小数
*/
public
static
final
String
ACTUAL_PREMIUM_PARSE_ERROR
=
"保费金额
格式错误
"
;
public
static
final
String
ACTUAL_PREMIUM_PARSE_ERROR
=
"保费金额
需要填写不大于9999999.99的正数,最多支持两位小数
"
;
/**
* 替换类型无法登记保单保费
*/
...
...
@@ -525,7 +525,7 @@ public class InsurancesConstants {
/**
* 商险已减员,无法变更项目
*/
public
static
final
String
DEPT_NO_CHANGE_REFUND_STATUS_ONE_ERROR
=
"
商险减员
中,无法变更项目"
;
public
static
final
String
DEPT_NO_CHANGE_REFUND_STATUS_ONE_ERROR
=
"
减员流程
中,无法变更项目"
;
/**
* 商险结算中,无法变更项目
...
...
yifu-insurances/yifu-insurances-api/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/util/ValidityUtil.java
View file @
09761585
...
...
@@ -150,7 +150,7 @@ public class ValidityUtil {
if
(
Common
.
isEmpty
(
idCard
)){
return
Boolean
.
FALSE
;
}
return
idCard
.
matches
(
ValidityConstants
.
IDCARD_PATTERN
)
;
return
idCard
.
matches
(
ValidityConstants
.
IDCARD_
UPPERCASE_
PATTERN
)
;
}
/**
...
...
yifu-insurances/yifu-insurances-api/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/vo/DeptChangeCheckParam.java
View file @
09761585
...
...
@@ -38,6 +38,18 @@ public class DeptChangeCheckParam implements Serializable {
@Schema
(
description
=
"原项目编码"
)
private
String
oldDeptNo
;
/**
* 新项目名称
*/
@Schema
(
description
=
"新项目名称"
)
private
String
newDeptName
;
/**
* 原项目名称
*/
@Schema
(
description
=
"原项目名称"
)
private
String
oldDeptName
;
/**
* 新项目编码
*/
...
...
yifu-insurances/yifu-insurances-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/controller/TInsuranceDetailController.java
View file @
09761585
...
...
@@ -3,18 +3,14 @@ package com.yifu.cloud.plus.v1.yifu.insurances.controller;
import
com.baomidou.mybatisplus.core.metadata.IPage
;
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.insurances.entity.TInsuranceCompany
;
import
com.yifu.cloud.plus.v1.yifu.common.log.annotation.SysLog
;
import
com.yifu.cloud.plus.v1.yifu.common.security.annotation.Inner
;
import
com.yifu.cloud.plus.v1.yifu.insurances.entity.TInsuranceDetail
;
import
com.yifu.cloud.plus.v1.yifu.insurances.vo.Dept
;
import
com.yifu.cloud.plus.v1.yifu.insurances.service.TInsuranceDetailService
;
import
com.yifu.cloud.plus.v1.yifu.insurances.vo.*
;
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.validation.annotation.Validated
;
import
org.springframework.web.bind.annotation.*
;
...
...
@@ -33,7 +29,6 @@ import java.util.List;
@RequestMapping
(
"/insuranceDetail"
)
@Tag
(
name
=
"商险相关"
)
@Validated
@SecurityRequirement
(
name
=
HttpHeaders
.
AUTHORIZATION
)
public
class
TInsuranceDetailController
{
@Resource
private
TInsuranceDetailService
tInsuranceDetailService
;
...
...
yifu-insurances/yifu-insurances-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/service/impl/TInsuranceDetailServiceImpl.java
View file @
09761585
This diff is collapsed.
Click to expand it.
yifu-insurances/yifu-insurances-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/service/impl/TInsuranceTypeStandardServiceImpl.java
View file @
09761585
...
...
@@ -84,14 +84,6 @@ public class TInsuranceTypeStandardServiceImpl extends ServiceImpl<TInsuranceTyp
if
(
Common
.
isEmpty
(
byId
)
||
CommonConstants
.
ONE_INT
==
byId
.
getDeleteFlag
()){
return
R
.
failed
(
"购买标准信息不存在或已被删除"
);
}
LambdaQueryWrapper
<
TInsuranceDetail
>
queryWrapper
=
new
LambdaQueryWrapper
<>();
queryWrapper
.
eq
(
TInsuranceDetail:
:
getInsuranceTypeId
,
byId
.
getInsuranceTypeId
())
.
eq
(
TInsuranceDetail:
:
getBuyStandard
,
byId
.
getBuyStandard
())
.
eq
(
TInsuranceDetail:
:
getDeleteFlag
,
CommonConstants
.
ZERO_INT
);
List
<
TInsuranceDetail
>
list
=
tInsuranceDetailService
.
list
(
queryWrapper
);
if
(
Common
.
isNotEmpty
(
list
)){
return
R
.
failed
(
"当前险种的购买标准已存在对应的商险信息,不能删除"
);
}
LambdaUpdateWrapper
<
TInsuranceTypeStandard
>
updateWrapper
=
new
LambdaUpdateWrapper
<>();
updateWrapper
.
eq
(
TInsuranceTypeStandard:
:
getId
,
id
)
.
set
(
TInsuranceTypeStandard:
:
getDeleteFlag
,
CommonConstants
.
ONE_INT
)
...
...
yifu-social/yifu-social-api/src/main/java/com/yifu/cloud/plus/v1/yifu/social/entity/TPreDispatchInfo.java
View file @
09761585
This diff is collapsed.
Click to expand it.
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/TForecastLibraryService.java
View file @
09761585
...
...
@@ -42,6 +42,12 @@ public interface TForecastLibraryService extends IService<TForecastLibrary> {
*/
IPage
<
TForecastLibrary
>
getTForecastLibraryPage
(
Page
<
TForecastLibrary
>
page
,
TForecastLibrary
tForecastLibrary
);
/**
* @Description: 批量导出
* @Author: hgw
* @Date: 2022/8/4 9:34
* @return: void
**/
void
listExport
(
HttpServletResponse
response
,
TForecastLibrary
searchVo
);
/**
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TAgentConfigServiceImpl.java
View file @
09761585
...
...
@@ -88,6 +88,7 @@ public class TAgentConfigServiceImpl extends ServiceImpl<TAgentConfigMapper, TAg
if
(
Common
.
isNotNull
(
count
))
{
return
R
.
failed
(
"同一城市,年度的政策不能重复新增"
);
}
baseMapper
.
insert
(
tAgentConfig
);
return
R
.
ok
();
}
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TForecastLibraryServiceImpl.java
View file @
09761585
...
...
@@ -312,13 +312,13 @@ public class TForecastLibraryServiceImpl extends ServiceImpl<TForecastLibraryMap
String
sfMapKey
;
if
(
Common
.
isNotNull
(
librarySocialList
))
{
for
(
TForecastLibrary
library
:
librarySocialList
)
{
sfMapKey
=
this
.
getMapKey
(
library
.
getEmpIdcard
(),
library
.
getSettleDomainId
(),
library
.
getSocialPayMonth
(),
library
.
getSocialCreateMonth
());
sfMapKey
=
this
.
getMapKey
(
library
.
getEmpIdcard
(),
library
.
getSettleDomainId
(),
library
.
getSocialPayMonth
(),
library
.
getSocialCreateMonth
()
,
CommonConstants
.
ZERO_STRING
);
socialHistoryMap
.
put
(
sfMapKey
,
library
);
}
}
if
(
Common
.
isNotNull
(
libraryFundList
))
{
for
(
TForecastLibrary
library
:
libraryFundList
)
{
sfMapKey
=
this
.
getMapKey
(
library
.
getEmpIdcard
(),
library
.
getSettleDomainId
(),
library
.
getProvidentPayMonth
(),
library
.
getProvidentCreateMonth
());
sfMapKey
=
this
.
getMapKey
(
library
.
getEmpIdcard
(),
library
.
getSettleDomainId
(),
library
.
getProvidentPayMonth
(),
library
.
getProvidentCreateMonth
()
,
CommonConstants
.
ONE_STRING
);
fundHistoryMap
.
put
(
sfMapKey
,
library
);
}
}
...
...
@@ -326,7 +326,7 @@ public class TForecastLibraryServiceImpl extends ServiceImpl<TForecastLibraryMap
if
(
Common
.
isNotNull
(
librarySocialListTemp
))
{
TForecastLibrary
libraryOld
;
for
(
TForecastLibrary
library
:
librarySocialListTemp
)
{
sfMapKey
=
this
.
getMapKey
(
library
.
getEmpIdcard
(),
library
.
getSettleDomainId
(),
library
.
getSocialPayMonth
(),
library
.
getSocialCreateMonth
());
sfMapKey
=
this
.
getMapKey
(
library
.
getEmpIdcard
(),
library
.
getSettleDomainId
(),
library
.
getSocialPayMonth
(),
library
.
getSocialCreateMonth
()
,
CommonConstants
.
ZERO_STRING
);
libraryOld
=
socialPushMap
.
get
(
sfMapKey
);
if
(
libraryOld
!=
null
)
{
this
.
getChangeAddData
(
libraryOld
,
library
);
...
...
@@ -338,7 +338,7 @@ public class TForecastLibraryServiceImpl extends ServiceImpl<TForecastLibraryMap
if
(
Common
.
isNotNull
(
libraryFundListTemp
))
{
TForecastLibrary
libraryOld
;
for
(
TForecastLibrary
library
:
libraryFundListTemp
)
{
sfMapKey
=
this
.
getMapKey
(
library
.
getEmpIdcard
(),
library
.
getSettleDomainId
(),
library
.
getProvidentPayMonth
(),
library
.
getProvidentCreateMonth
());
sfMapKey
=
this
.
getMapKey
(
library
.
getEmpIdcard
(),
library
.
getSettleDomainId
(),
library
.
getProvidentPayMonth
(),
library
.
getProvidentCreateMonth
()
,
CommonConstants
.
ONE_STRING
);
libraryOld
=
fundPushMap
.
get
(
sfMapKey
);
if
(
libraryOld
!=
null
)
{
this
.
getChangeAddData
(
libraryOld
,
library
);
...
...
@@ -349,14 +349,22 @@ public class TForecastLibraryServiceImpl extends ServiceImpl<TForecastLibraryMap
}
}
/**
* @param type 类型:0社保,1公积金
* @Description:
* @Author: hgw
* @Date: 2022/8/4 9:50
* @return: java.lang.String
**/
private
String
getMapKey
(
String
empIdcard
,
String
settleDomainId
,
String
socialPayMonth
,
String
socialCreateMonth
)
{
,
String
socialPayMonth
,
String
socialCreateMonth
,
String
type
)
{
StringBuilder
sfMapKey
;
sfMapKey
=
new
StringBuilder
(
empIdcard
);
// 获取key
sfMapKey
.
append
(
CommonConstants
.
DOWN_LINE_STRING
).
append
(
settleDomainId
);
sfMapKey
.
append
(
CommonConstants
.
DOWN_LINE_STRING
).
append
(
socialPayMonth
);
sfMapKey
.
append
(
CommonConstants
.
DOWN_LINE_STRING
).
append
(
socialCreateMonth
);
sfMapKey
.
append
(
CommonConstants
.
DOWN_LINE_STRING
).
append
(
type
);
return
sfMapKey
.
toString
();
}
...
...
@@ -438,26 +446,6 @@ public class TForecastLibraryServiceImpl extends ServiceImpl<TForecastLibraryMap
}
}
/**
* @Description: 填充key的基本信息
* @Author: hgw
* @Date: 2022-7-19 15:30:45
* @return: void
**/
private
void
getMapKey
(
StringBuilder
mapKeyBuilder
,
String
socialProvince
,
String
socialCity
,
String
socialTown
)
{
if
(
Common
.
isNotNull
(
socialProvince
))
{
mapKeyBuilder
.
append
(
CommonConstants
.
DOWN_LINE_STRING
).
append
(
socialProvince
);
}
if
(
Common
.
isNotNull
(
socialCity
))
{
mapKeyBuilder
.
append
(
CommonConstants
.
DOWN_LINE_STRING
).
append
(
socialCity
);
}
else
if
(
Common
.
isNotNull
(
socialProvince
)
&&
"12"
.
equals
(
socialProvince
))
{
mapKeyBuilder
.
append
(
CommonConstants
.
DOWN_LINE_STRING
).
append
(
"135"
);
}
if
(
Common
.
isNotNull
(
socialTown
))
{
mapKeyBuilder
.
append
(
CommonConstants
.
DOWN_LINE_STRING
).
append
(
socialTown
);
}
}
private
void
initSocialLibary
(
String
diffType
,
String
payMonth
,
Map
<
String
,
TForecastLibrary
>
saveLibraryMap
,
TSocialFundInfo
tSocialInfo
,
boolean
isReduceFund
,
HashMap
<
String
,
TAgentConfig
>
agentConfigMap
,
TForecastLibrary
lib
,
String
sfMapKey
,
TForecastLibrary
historyLibrary
)
{
...
...
@@ -1125,6 +1113,10 @@ public class TForecastLibraryServiceImpl extends ServiceImpl<TForecastLibraryMap
}
// 大病取值方式:1 按比例 按派单的基数和比例来
if
(
CommonConstants
.
ONE_STRING
.
equals
(
sysBaseSetInfo
.
getValueType
()))
{
library
.
setUnitBigailmentBase
(
baseLimit
);
library
.
setUnitBigailmentPro
(
sysBaseSetInfo
.
getPayCompanyPro
());
library
.
setPersonalBigailmentBase
(
baseLimit
);
library
.
setPersonalBigailmentPro
(
sysBaseSetInfo
.
getPayPersonalPro
());
library
.
setPersonalBigailmentFee
(
BigDecimalUtils
.
safeMultiply
(
baseLimit
,
sysBaseSetInfo
.
getPayPersonalPro
(),
...
...
@@ -1744,7 +1736,7 @@ public class TForecastLibraryServiceImpl extends ServiceImpl<TForecastLibraryMap
for
(
TSocialFundInfo
tSocialInfo
:
socialInfoList
)
{
minStartDate
=
this
.
getMinDate
(
tSocialInfo
);
createMonth
=
ServiceUtil
.
initCreateMonth
(
tSocialInfo
.
getCreateTime
(),
payMonth
);
sfMapKey
=
this
.
getMapKey
(
tSocialInfo
.
getEmpIdcard
(),
tSocialInfo
.
getSettleDomain
(),
payMonth
,
createMonth
);
sfMapKey
=
this
.
getMapKey
(
tSocialInfo
.
getEmpIdcard
(),
tSocialInfo
.
getSettleDomain
(),
payMonth
,
createMonth
,
CommonConstants
.
ZERO_STRING
);
// 变更:已推送的,计算变更值
tForecastLibrary
=
socialPushMap
.
get
(
sfMapKey
);
...
...
@@ -1777,7 +1769,7 @@ public class TForecastLibraryServiceImpl extends ServiceImpl<TForecastLibraryMap
if
(
Common
.
isNotNull
(
fundList
))
{
for
(
TSocialFundInfo
providentFund
:
fundList
)
{
createMonth
=
ServiceUtil
.
initCreateMonth
(
providentFund
.
getCreateTime
(),
payMonth
);
sfMapKey
=
this
.
getMapKey
(
providentFund
.
getEmpIdcard
(),
providentFund
.
getSettleDomainFund
(),
payMonth
,
createMonth
);
sfMapKey
=
this
.
getMapKey
(
providentFund
.
getEmpIdcard
(),
providentFund
.
getSettleDomainFund
(),
payMonth
,
createMonth
,
CommonConstants
.
ONE_STRING
);
// 变更:已推送的,计算变更值
tForecastLibrary
=
fundPushMap
.
get
(
sfMapKey
);
diffType
=
SocialConstants
.
DIFF_TYPE_ONE
;
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TPreDispatchInfoServiceImpl.java
View file @
09761585
...
...
@@ -1825,6 +1825,33 @@ public class TPreDispatchInfoServiceImpl extends ServiceImpl<TPreDispatchInfoMap
}
}
/**
* map数据封装
*
* @param settleDomainList
* @param settleDomainNameMap
* @param customerNameMap
* @param settleIdAndCustomerIdMap
* @return
* @Author huyc
* @Date 2022-07-18
**/
private
void
initSettleDomainMaps
(
List
<
TSettleDomainSelectVo
>
settleDomainList
,
Map
<
String
,
String
>
settleDomainNameMap
,
Map
<
String
,
String
>
customerNameMap
,
Map
<
String
,
String
>
settleIdAndCustomerIdMap
)
{
//map数据封装
if
(
Common
.
isNotNull
(
settleDomainList
))
{
for
(
TSettleDomainSelectVo
settleDomainSelectVo
:
settleDomainList
)
{
settleDomainNameMap
.
put
(
settleDomainSelectVo
.
getId
(),
settleDomainSelectVo
.
getDepartName
());
settleIdAndCustomerIdMap
.
put
(
settleDomainSelectVo
.
getId
(),
settleDomainSelectVo
.
getCustomerId
());
if
(!
customerNameMap
.
containsKey
(
settleDomainSelectVo
.
getCustomerName
()))
{
customerNameMap
.
put
(
settleDomainSelectVo
.
getCustomerId
(),
settleDomainSelectVo
.
getCustomerName
());
}
}
}
}
/**
* 初始化社保公积金基数
*
...
...
@@ -1858,33 +1885,6 @@ public class TPreDispatchInfoServiceImpl extends ServiceImpl<TPreDispatchInfoMap
initBaseSetMap
(
baseSocialTimeMap
,
baseFundTimeMap
,
baseSocialSetMap
,
baseFundSetMap
);
}
/**
* map数据封装
*
* @param settleDomainList
* @param settleDomainNameMap
* @param customerNameMap
* @param settleIdAndCustomerIdMap
* @return
* @Author huyc
* @Date 2022-07-18
**/
private
void
initSettleDomainMaps
(
List
<
TSettleDomainSelectVo
>
settleDomainList
,
Map
<
String
,
String
>
settleDomainNameMap
,
Map
<
String
,
String
>
customerNameMap
,
Map
<
String
,
String
>
settleIdAndCustomerIdMap
)
{
//map数据封装
if
(
Common
.
isNotNull
(
settleDomainList
))
{
for
(
TSettleDomainSelectVo
settleDomainSelectVo
:
settleDomainList
)
{
settleDomainNameMap
.
put
(
settleDomainSelectVo
.
getId
(),
settleDomainSelectVo
.
getDepartName
());
settleIdAndCustomerIdMap
.
put
(
settleDomainSelectVo
.
getId
(),
settleDomainSelectVo
.
getCustomerId
());
if
(!
customerNameMap
.
containsKey
(
settleDomainSelectVo
.
getCustomerName
()))
{
customerNameMap
.
put
(
settleDomainSelectVo
.
getCustomerId
(),
settleDomainSelectVo
.
getCustomerName
());
}
}
}
}
/**
* 初始化派减的相关状态及数据
*
...
...
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