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
806be6f1
Commit
806be6f1
authored
Dec 08, 2022
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MVP8号版本
parent
a26b75bb
Show whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
30 additions
and
75 deletions
+30
-75
TEmployeeInfo.java
...ifu/cloud/plus/v1/yifu/archives/entity/TEmployeeInfo.java
+4
-4
TEmployeeProjectMapper.xml
...-biz/src/main/resources/mapper/TEmployeeProjectMapper.xml
+4
-4
TInsuranceDetailMapper.java
.../insurances/mapper/insurances/TInsuranceDetailMapper.java
+0
-1
TInsuranceDetailServiceImpl.java
...s/service/insurance/impl/TInsuranceDetailServiceImpl.java
+1
-55
TInsuranceDetailMapper.xml
...in/resources/mapper/insurances/TInsuranceDetailMapper.xml
+5
-9
TSalaryStandardExportVo.java
...cloud/plus/v1/yifu/salary/vo/TSalaryStandardExportVo.java
+1
-1
TSalaryStandardController.java
.../v1/yifu/salary/controller/TSalaryStandardController.java
+10
-0
TSalaryStandardMapper.xml
...y-biz/src/main/resources/mapper/TSalaryStandardMapper.xml
+5
-1
No files found.
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/entity/TEmployeeInfo.java
View file @
806be6f1
...
@@ -319,16 +319,16 @@ public class TEmployeeInfo extends BaseEntity {
...
@@ -319,16 +319,16 @@ public class TEmployeeInfo extends BaseEntity {
* 1、派单处社保或公积金状态为待审核、待办理、办理中,项目档案处社保或公积金状态为处理中; 0,1=1
* 1、派单处社保或公积金状态为待审核、待办理、办理中,项目档案处社保或公积金状态为处理中; 0,1=1
* 2、派单处社保或公积金状态为审核不通过或办理失败,项目档案处社保状态为无社保,公积金状态为无公积金; 9,4=0
* 2、派单处社保或公积金状态为审核不通过或办理失败,项目档案处社保状态为无社保,公积金状态为无公积金; 9,4=0
* 3、派单处社保状态为部分办理失败,项目档案处社保状态为部分购买
* 3、派单处社保状态为部分办理失败,项目档案处社保状态为部分购买
* 4、派单处社保或公积金状态为办理成功,项目档案处社保或公积金状态为正常 3=
2
* 4、派单处社保或公积金状态为办理成功,项目档案处社保或公积金状态为正常 3=
3
* 派减:
* 派减:
* 1、派减状态为待审核、待办理、审核不通过、办理失败,项目档案处社保或公积金状态不变; 5,6,8 =
2
* 1、派减状态为待审核、待办理、审核不通过、办理失败,项目档案处社保或公积金状态不变; 5,6,8 =
3
* 2、派减状态为办理成功,项目档案处社保或公积金状态变为已派减 7=
3
* 2、派减状态为办理成功,项目档案处社保或公积金状态变为已派减 7=
4
* 人员档案处社保或公积金状态根据身份证+项目进行整合:
* 人员档案处社保或公积金状态根据身份证+项目进行整合:
* 社保状态优先级:正常>部分购买>处理中>已派减>无社保
* 社保状态优先级:正常>部分购买>处理中>已派减>无社保
* 公积金状态优先级:正常>处理中>已派减>无公积金
* 公积金状态优先级:正常>处理中>已派减>无公积金
* 公积金状态(字典)0初始状态
* 公积金状态(字典)0初始状态
*/
*/
@Schema
(
description
=
"公积金状态(字典)0初始状态:0 无公积金 1 处理中
2.正常 3
.已派减"
)
@Schema
(
description
=
"公积金状态(字典)0初始状态:0 无公积金 1 处理中
2.部分购买 3.正常 4
.已派减"
)
private
Integer
fundStatus
;
private
Integer
fundStatus
;
/**
/**
...
...
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TEmployeeProjectMapper.xml
View file @
806be6f1
...
@@ -377,10 +377,10 @@
...
@@ -377,10 +377,10 @@
<if
test=
"tEmployeeProject.socialProvince != null"
>
<if
test=
"tEmployeeProject.socialProvince != null"
>
AND a.SOCIAL_PROVINCE = #{tEmployeeProject.socialProvince}
AND a.SOCIAL_PROVINCE = #{tEmployeeProject.socialProvince}
</if>
</if>
<if
test=
"tEmployeeProject.
social
City != null"
>
<if
test=
"tEmployeeProject.
file
City != null"
>
AND a.SOCIAL_CITY = #{tEmployeeProject.socialCity}
AND a.SOCIAL_CITY = #{tEmployeeProject.socialCity}
</if>
</if>
<if
test=
"tEmployeeProject.
social
Town != null"
>
<if
test=
"tEmployeeProject.
file
Town != null"
>
AND a.SOCIAL_TOWN = #{tEmployeeProject.socialTown}
AND a.SOCIAL_TOWN = #{tEmployeeProject.socialTown}
</if>
</if>
<if
test=
"tEmployeeProject.empNatureArray != null and tEmployeeProject.empNatureArray.length > 0"
>
<if
test=
"tEmployeeProject.empNatureArray != null and tEmployeeProject.empNatureArray.length > 0"
>
...
@@ -528,10 +528,10 @@
...
@@ -528,10 +528,10 @@
<if
test=
"tEmployeeProject.socialProvince != null"
>
<if
test=
"tEmployeeProject.socialProvince != null"
>
AND a.SOCIAL_PROVINCE = #{tEmployeeProject.socialProvince}
AND a.SOCIAL_PROVINCE = #{tEmployeeProject.socialProvince}
</if>
</if>
<if
test=
"tEmployeeProject.
social
City != null"
>
<if
test=
"tEmployeeProject.
file
City != null"
>
AND a.SOCIAL_CITY = #{tEmployeeProject.socialCity}
AND a.SOCIAL_CITY = #{tEmployeeProject.socialCity}
</if>
</if>
<if
test=
"tEmployeeProject.
social
Town != null"
>
<if
test=
"tEmployeeProject.
file
Town != null"
>
AND a.SOCIAL_TOWN = #{tEmployeeProject.socialTown}
AND a.SOCIAL_TOWN = #{tEmployeeProject.socialTown}
</if>
</if>
<if
test=
"tEmployeeProject.idList != null"
>
<if
test=
"tEmployeeProject.idList != null"
>
...
...
yifu-insurances/yifu-insurances-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/mapper/insurances/TInsuranceDetailMapper.java
View file @
806be6f1
...
@@ -255,5 +255,4 @@ public interface TInsuranceDetailMapper extends BaseMapper<TInsuranceDetail> {
...
@@ -255,5 +255,4 @@ public interface TInsuranceDetailMapper extends BaseMapper<TInsuranceDetail> {
**/
**/
List
<
InsuranceUpdateVO
>
selectByIds
(
@Param
(
"ids"
)
List
<
String
>
ids
);
List
<
InsuranceUpdateVO
>
selectByIds
(
@Param
(
"ids"
)
List
<
String
>
ids
);
List
<
TInsuranceDetail
>
selectPushList
();
}
}
yifu-insurances/yifu-insurances-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/service/insurance/impl/TInsuranceDetailServiceImpl.java
View file @
806be6f1
...
@@ -1982,61 +1982,6 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
...
@@ -1982,61 +1982,6 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
return
R
.
ok
(
operatList
,
InsurancesConstants
.
OPERATE_SUCCESS
);
return
R
.
ok
(
operatList
,
InsurancesConstants
.
OPERATE_SUCCESS
);
}
}
/*
* 获取当前保单的结算状态
*
* @author zhaji
* @param
* @return {@link String}
*/
@Override
public
void
pushActualPremium
(){
List
<
TInsuranceDetail
>
list
=
baseMapper
.
selectPushList
();
for
(
TInsuranceDetail
detail:
list
){
//推作废
pushEstimate
(
detail
,
CommonConstants
.
FIVE_INT
);
}
for
(
TInsuranceDetail
detail:
list
){
//单独结算
if
(
StringUtils
.
isNotBlank
(
detail
.
getDefaultSettleId
())
&&
detail
.
getSettleType
()
==
CommonConstants
.
ONE_INT
)
{
TInsuranceSettle
settle
=
tInsuranceSettleService
.
getById
(
detail
.
getDefaultSettleId
());
String
s
=
pushEstimate
(
detail
,
CommonConstants
.
TWO_INT
);
//如果推送成功则更改推送状态
if
(
StringUtils
.
isNotBlank
(
s
)
&&
Common
.
isNotNull
(
settle
))
{
settle
.
setActualPushTime
(
LocalDateTime
.
now
());
settle
.
setIsActualPush
(
CommonConstants
.
ONE_INT
);
tInsuranceSettleService
.
updateById
(
settle
);
}
}
if
(
StringUtils
.
isNotBlank
(
detail
.
getDefaultSettleId
())
&&
detail
.
getSettleType
()
==
CommonConstants
.
ZERO_INT
)
{
TInsuranceSettle
settle
=
tInsuranceSettleService
.
getById
(
detail
.
getDefaultSettleId
());
TInsuranceDetail
t
=
new
TInsuranceDetail
();
BeanUtils
.
copyProperties
(
detail
,
t
);
if
(
Common
.
isEmpty
(
detail
.
getEstimatePremium
()))
{
detail
.
setEstimatePremium
(
detail
.
getActualPremium
());
}
String
s1
=
pushEstimate
(
detail
,
CommonConstants
.
ONE_INT
);
//如果推送成功则更改推送状态
if
(
StringUtils
.
isNotBlank
(
s1
)
&&
Common
.
isNotNull
(
settle
))
{
settle
.
setIsEstimatePush
(
CommonConstants
.
ONE_INT
);
settle
.
setEstimatePushTime
(
LocalDateTime
.
now
());
tInsuranceSettleService
.
updateById
(
settle
);
}
if
(
Common
.
isEmpty
(
t
.
getEstimatePremium
()))
{
t
.
setEstimatePremium
(
t
.
getActualPremium
());
}
String
s2
=
pushEstimate
(
t
,
CommonConstants
.
TWO_INT
);
//如果推送成功则更改推送状态
if
(
StringUtils
.
isNotBlank
(
s2
)
&&
Common
.
isNotNull
(
settle
))
{
settle
.
setIsActualPush
(
CommonConstants
.
ONE_INT
);
settle
.
setActualPushTime
(
LocalDateTime
.
now
());
tInsuranceSettleService
.
updateById
(
settle
);
}
}
}
}
/**
/**
* 商险新增校验
* 商险新增校验
*
*
...
@@ -6260,6 +6205,7 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
...
@@ -6260,6 +6205,7 @@ public class TInsuranceDetailServiceImpl extends ServiceImpl<TInsuranceDetailMap
cancel
.
setDeptNo
(
tInsuranceDetail
.
getDeptNo
());
cancel
.
setDeptNo
(
tInsuranceDetail
.
getDeptNo
());
cancel
.
setInsDetailId
(
tInsuranceDetail
.
getId
());
cancel
.
setInsDetailId
(
tInsuranceDetail
.
getId
());
cancel
.
setSettleId
(
tInsuranceDetail
.
getDefaultSettleId
());
cancel
.
setSettleId
(
tInsuranceDetail
.
getDefaultSettleId
());
cancel
.
setCreateUesr
(
user
.
getId
());
cancel
.
setCreateTime
(
LocalDateTime
.
now
());
cancel
.
setCreateTime
(
LocalDateTime
.
now
());
cancel
.
setDeptName
(
param
.
getDeptName
());
cancel
.
setDeptName
(
param
.
getDeptName
());
cancel
.
setIsCancelPush
(
CommonConstants
.
ZERO_INT
);
cancel
.
setIsCancelPush
(
CommonConstants
.
ZERO_INT
);
...
...
yifu-insurances/yifu-insurances-biz/src/main/resources/mapper/insurances/TInsuranceDetailMapper.xml
View file @
806be6f1
...
@@ -1191,13 +1191,6 @@
...
@@ -1191,13 +1191,6 @@
</foreach>
</foreach>
</update>
</update>
<select
id=
"selectPushList"
resultType=
"com.yifu.cloud.plus.v1.yifu.insurances.entity.TInsuranceDetail"
>
SELECT
*
FROM
t_insurance_detail
WHERE ERROR_STATUS = '1'
</select>
<!--查询所有商险,如果idList 不为空,则不含被替换的本身。 用来改变档案状态-->
<!--查询所有商险,如果idList 不为空,则不含被替换的本身。 用来改变档案状态-->
<select
id=
"selectByIdCardList"
resultMap=
"BaseResultMap"
>
<select
id=
"selectByIdCardList"
resultMap=
"BaseResultMap"
>
...
@@ -1206,11 +1199,14 @@
...
@@ -1206,11 +1199,14 @@
FROM
FROM
t_insurance_detail
t_insurance_detail
where
where
DELETE_FLAG = 0 AND EMP_IDCARD_NO in
DELETE_FLAG = 0
<if
test=
"idCardList != null and idCardList.size > 0"
>
AND EMP_IDCARD_NO in
<foreach
item=
"item"
index=
"index"
collection=
"idCardList"
open=
"("
separator=
","
close=
")"
>
<foreach
item=
"item"
index=
"index"
collection=
"idCardList"
open=
"("
separator=
","
close=
")"
>
#{item}
#{item}
</foreach>
</foreach>
<if
test=
"idList != null"
>
</if>
<if
test=
"idList != null and idList.size > 0"
>
AND id not in
AND id not in
<foreach
item=
"item"
index=
"index"
collection=
"idList"
open=
"("
separator=
","
close=
")"
>
<foreach
item=
"item"
index=
"index"
collection=
"idList"
open=
"("
separator=
","
close=
")"
>
#{item}
#{item}
...
...
yifu-salary/yifu-salary-api/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/vo/TSalaryStandardExportVo.java
View file @
806be6f1
...
@@ -26,7 +26,7 @@ public class TSalaryStandardExportVo implements Serializable {
...
@@ -26,7 +26,7 @@ public class TSalaryStandardExportVo implements Serializable {
/**
/**
* 状态0待提交 1待审核 2审核通过 3发送成功 5审核不通过 10 发送失败
* 状态0待提交 1待审核 2审核通过 3发送成功 5审核不通过 10 发送失败
*/
*/
@ExcelAttribute
(
name
=
"状态"
,
isDataId
=
true
,
readConverterExp
=
"0=待提交,1=待审核,2=
审核通过,3=发送成功,5=审核不通过,6=确认不通过,10=发送
失败"
)
@ExcelAttribute
(
name
=
"状态"
,
isDataId
=
true
,
readConverterExp
=
"0=待提交,1=待审核,2=
待推送明细,3=发送成功,5=审核不通过,6=确认不通过,10=发送失败,11=已审核生成收入中,12=已审核生成收入
失败"
)
@NotBlank
(
message
=
"状态(0待提交 1待审核 2审核通过 3发送成功 5审核不通过 10 发送失败)不能为空"
)
@NotBlank
(
message
=
"状态(0待提交 1待审核 2审核通过 3发送成功 5审核不通过 10 发送失败)不能为空"
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@HeadFontStyle
(
fontHeightInPoints
=
11
)
@ExcelProperty
(
"薪酬状态"
)
@ExcelProperty
(
"薪酬状态"
)
...
...
yifu-salary/yifu-salary-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/controller/TSalaryStandardController.java
View file @
806be6f1
...
@@ -229,4 +229,14 @@ public class TSalaryStandardController {
...
@@ -229,4 +229,14 @@ public class TSalaryStandardController {
public
R
<
String
>
backSalaryByApplyNo
(
@RequestParam
String
applyNo
)
{
public
R
<
String
>
backSalaryByApplyNo
(
@RequestParam
String
applyNo
)
{
return
tSalaryStandardService
.
backSalaryByApplyNo
(
applyNo
);
return
tSalaryStandardService
.
backSalaryByApplyNo
(
applyNo
);
}
}
/**
* @param id
* @return
*/
@Operation
(
description
=
"重新生成收入"
)
@GetMapping
(
"/salaryDoIncome"
)
public
R
<
String
>
salaryDoIncome
(
@RequestParam
String
id
)
{
return
tSalaryStandardService
.
salaryDoIncome
(
id
);
}
}
}
yifu-salary/yifu-salary-biz/src/main/resources/mapper/TSalaryStandardMapper.xml
View file @
806be6f1
...
@@ -75,6 +75,8 @@
...
@@ -75,6 +75,8 @@
<result
property=
"orderId"
column=
"ORDER_ID"
/>
<result
property=
"orderId"
column=
"ORDER_ID"
/>
<result
property=
"bpoFlag"
column=
"BPO_FLAG"
/>
<result
property=
"bpoFlag"
column=
"BPO_FLAG"
/>
<result
property=
"applyNo"
column=
"APPLY_NO"
/>
<result
property=
"applyNo"
column=
"APPLY_NO"
/>
<result
property=
"incomeStartTime"
column=
"INCOME_START_TIME"
/>
<result
property=
"incomeEndTime"
column=
"INCOME_END_TIME"
/>
</resultMap>
</resultMap>
<sql
id=
"Base_Column_List"
>
<sql
id=
"Base_Column_List"
>
a.ID,
a.ID,
...
@@ -128,7 +130,9 @@
...
@@ -128,7 +130,9 @@
a.INVOICE_TITLE,
a.INVOICE_TITLE,
a.ORDER_ID,
a.ORDER_ID,
a.BPO_FLAG,
a.BPO_FLAG,
a.APPLY_NO
a.APPLY_NO,
a.INCOME_START_TIME,
a.INCOME_END_TIME
</sql>
</sql>
<sql
id=
"tSalaryStandard_where"
>
<sql
id=
"tSalaryStandard_where"
>
<if
test=
"tSalaryStandard != null"
>
<if
test=
"tSalaryStandard != null"
>
...
...
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