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
407c6ea9
Commit
407c6ea9
authored
Aug 09, 2022
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
派增
parent
b7f4cf7e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
379 additions
and
167 deletions
+379
-167
UpProjectSocialFundVo.java
...cloud/plus/v1/yifu/archives/vo/UpProjectSocialFundVo.java
+11
-0
TEmployeeContractInfoMapper.java
.../v1/yifu/archives/mapper/TEmployeeContractInfoMapper.java
+2
-2
TEmployeeContractInfoService.java
...1/yifu/archives/service/TEmployeeContractInfoService.java
+1
-1
TEmployeeContractInfoServiceImpl.java
...chives/service/impl/TEmployeeContractInfoServiceImpl.java
+2
-2
TEmployeeInfoServiceImpl.java
.../yifu/archives/service/impl/TEmployeeInfoServiceImpl.java
+3
-1
TEmployeeContractInfoMapper.xml
...src/main/resources/mapper/TEmployeeContractInfoMapper.xml
+1
-1
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
+11
-0
TSalaryEmployee.java
...ifu/cloud/plus/v1/yifu/salary/entity/TSalaryEmployee.java
+4
-4
TDispatchInfoServiceImpl.java
...v1/yifu/social/service/impl/TDispatchInfoServiceImpl.java
+338
-156
No files found.
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/vo/UpProjectSocialFundVo.java
View file @
407c6ea9
...
...
@@ -9,6 +9,17 @@ import java.io.Serializable;
* @Author fxj
* @Date 2022/8/5
* @Description
* 派增:
* * 1、派单处社保或公积金状态为待审核、待办理、办理中,项目档案处社保或公积金状态为处理中1;
* * 2、派单处社保或公积金状态为审核不通过或办理失败,项目档案处社保状态为无社保,公积金状态为无公积金0;
* * 3、派单处社保状态为部分办理失败,项目档案处社保状态为部分购买 2
* * 4、派单处社保或公积金状态为办理成功,项目档案处社保或公积金状态为正常 3
* * 派减:
* * 1、派减状态为待审核、待办理、审核不通过、办理失败,项目档案处社保或公积金状态不变;
* * 2、派减状态为办理成功,项目档案处社保或公积金状态变为已派减 4
* * 人员档案处社保或公积金状态根据身份证+项目进行整合:
* * 社保状态优先级:正常>部分购买>处理中>已派减>无社保
* * 公积金状态优先级:正常>处理中>已派减>无公积金
* @Version 1.0
*/
@Data
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/mapper/TEmployeeContractInfoMapper.java
View file @
407c6ea9
...
...
@@ -56,12 +56,12 @@ public interface TEmployeeContractInfoMapper extends BaseMapper<TEmployeeContrac
* @Author fxj
* @Date 2019-10-17
* @param empId
* @param dept
Id
* @param dept
No
* @param id
* @param status
* @return
**/
int
updateInUseStatusById
(
@Param
(
"empId"
)
String
empId
,
@Param
(
"dept
Id"
)
String
deptId
int
updateInUseStatusById
(
@Param
(
"empId"
)
String
empId
,
@Param
(
"dept
No"
)
String
deptNo
,
@Param
(
"id"
)
String
id
,
@Param
(
"status"
)
String
status
);
/**
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/TEmployeeContractInfoService.java
View file @
407c6ea9
...
...
@@ -97,7 +97,7 @@ public interface TEmployeeContractInfoService extends IService<TEmployeeContract
String
getCode
(
boolean
isNew
);
boolean
updateInUseStatusById
(
String
empId
,
String
dept
Id
,
String
ContractId
);
boolean
updateInUseStatusById
(
String
empId
,
String
dept
No
,
String
ContractId
);
/**
* @param tEmployeeContractInfo
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TEmployeeContractInfoServiceImpl.java
View file @
407c6ea9
...
...
@@ -406,8 +406,8 @@ public class TEmployeeContractInfoServiceImpl extends ServiceImpl<TEmployeeContr
}
}
@Override
public
boolean
updateInUseStatusById
(
String
empId
,
String
dept
Id
,
String
ContractId
){
return
baseMapper
.
updateInUseStatusById
(
empId
,
dept
Id
,
ContractId
,
CommonConstants
.
ONE_STRING
)
>
0
;
public
boolean
updateInUseStatusById
(
String
empId
,
String
dept
No
,
String
ContractId
){
return
baseMapper
.
updateInUseStatusById
(
empId
,
dept
No
,
ContractId
,
CommonConstants
.
ONE_STRING
)
>
0
;
}
@Override
public
R
<
String
>
auditContract
(
TEmployeeContractInfo
tEmployeeContractInfo
)
{
...
...
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TEmployeeInfoServiceImpl.java
View file @
407c6ea9
...
...
@@ -2129,14 +2129,16 @@ public class TEmployeeInfoServiceImpl extends ServiceImpl<TEmployeeInfoMapper, T
.
eq
(
TEmployeeContractInfo:
:
getDispatchFlag
,
CommonConstants
.
ONE_STRING
)
.
last
(
CommonConstants
.
LAST_ONE_SQL
));
if
(
Common
.
isNotNull
(
c
)){
//审核通过
if
(
CommonConstants
.
ZERO_STRING
.
equals
(
vo
.
getType
())){
c
.
setAuditStatus
(
CommonConstants
.
TWO_INT
);
c
.
setInUse
(
CommonConstants
.
ZERO_STRING
);
contractServicer
.
updateInUseStatusById
(
c
.
getEmpId
(),
c
.
getDeptNo
(),
c
.
getId
());
//审核不同
}
else
if
(
CommonConstants
.
ONE_STRING
.
equals
(
vo
.
getType
())){
c
.
setAuditStatus
(
CommonConstants
.
THREE_INT
);
c
.
setInUse
(
CommonConstants
.
ONE_STRING
);
}
contractServicer
.
updateInUseStatusById
(
c
.
getEmpId
(),
c
.
getDeptNo
(),
c
.
getSettleDomain
());
contractServicer
.
updateById
(
c
);
}
...
...
yifu-archives/yifu-archives-biz/src/main/resources/mapper/TEmployeeContractInfoMapper.xml
View file @
407c6ea9
...
...
@@ -455,7 +455,7 @@
<update
id=
"updateInUseStatusById"
>
update t_employee_contract_info
set IN_USE = #{status}
where EMP_ID = #{empId} and
SETTLE_DOMAIN = #{deptId
} and ID != #{id}
where EMP_ID = #{empId} and
DEPT_NO = #{deptNo
} and ID != #{id}
</update>
<!-- 获取当日最大的编码 -->
...
...
yifu-common/yifu-common-core/src/main/java/com/yifu.cloud.plus.v1/yifu/common/core/exception/ErrorCodes.java
View file @
407c6ea9
...
...
@@ -488,4 +488,8 @@ public interface ErrorCodes {
* 派增异常: 同一身份证不可分多行派单
*/
String
EMP_DISPATCH_EXIST
=
"emp_dispatch_exist"
;
/**
* 派增异常: 已存在兼职工伤,请派减后再派增五险
*/
String
EMP_DISPATCH_SOCIAL_INJURY_EXISTING_LIMIT
=
"emp.dispatch.social.injury.existing.limit"
;
}
yifu-common/yifu-common-core/src/main/resources/i18n/messages_zh_CN.properties
View file @
407c6ea9
...
...
@@ -187,6 +187,8 @@ emp.dispatch.emp.mobile.repeat=\u6D3E\u589E\u5F02\u5E38\uFF1A \u5DF2\u5B58\u5728
emp_dispatch_exist
=
\u
6D3E
\u
589E
\u
5F02
\u
5E38
\u
FF1A
\u
540C
\u
4E00
\u
8EAB
\u
4EFD
\u
8BC1
\u
4E0D
\u
53EF
\u5206\u
591A
\u
884C
\u
6D3E
\u5355
emp.dispatch.social.injury.existing.limit
=
\u
6D3E
\u
589E
\u
5F02
\u
5E38
\u
FF1A
\u
5DF2
\u
5B58
\u5728\u
517C
\u
804C
\u
5DE5
\u
4F24
\u
FF0C
\u
8BF7
\u
6D3E
\u
51CF
\u
540E
\u
518D
\u
6D3E
\u
589E
\u
4E94
\u9669
...
...
yifu-common/yifu-common-dapr/src/main/java/com/yifu/cloud/plus/v1/yifu/common/dapr/util/ArchivesDaprUtil.java
View file @
407c6ea9
...
...
@@ -226,6 +226,17 @@ public class ArchivesDaprUtil {
/**
* @Author fxj
* @Description 更新项目档案和人员档案的社保公积金状态
* 派增:
* * 1、派单处社保或公积金状态为待审核、待办理、办理中,项目档案处社保或公积金状态为处理中1;
* * 2、派单处社保或公积金状态为审核不通过或办理失败,项目档案处社保状态为无社保,公积金状态为无公积金0;
* * 3、派单处社保状态为部分办理失败,项目档案处社保状态为部分购买 2
* * 4、派单处社保或公积金状态为办理成功,项目档案处社保或公积金状态为正常 3
* * 派减:
* * 1、派减状态为待审核、待办理、审核不通过、办理失败,项目档案处社保或公积金状态不变;
* * 2、派减状态为办理成功,项目档案处社保或公积金状态变为已派减 4
* * 人员档案处社保或公积金状态根据身份证+项目进行整合:
* * 社保状态优先级:正常>部分购买>处理中>已派减>无社保
* * 公积金状态优先级:正常>处理中>已派减>无公积金
* @Date 19:30 2022/8/1
* @Param type 0 审核通过 1 审核不通过
* @return
...
...
yifu-salary/yifu-salary-api/src/main/java/com/yifu/cloud/plus/v1/yifu/salary/entity/TSalaryEmployee.java
View file @
407c6ea9
...
...
@@ -128,13 +128,13 @@ public class TSalaryEmployee extends BaseEntity {
/**
* 开户行省
*/
@ExcelAttribute
(
name
=
"开户行省"
)
@ExcelAttribute
(
name
=
"开户行省"
,
isArea
=
true
)
@ExcelProperty
(
"开户行省"
)
private
Integer
bankProvince
;
/**
* 开户行市
*/
@ExcelAttribute
(
name
=
"开户行市"
)
@ExcelAttribute
(
name
=
"开户行市"
,
isArea
=
true
,
parentField
=
"bankProvince"
)
@ExcelProperty
(
"开户行市"
)
private
Integer
bankCity
;
/**
...
...
@@ -168,8 +168,8 @@ public class TSalaryEmployee extends BaseEntity {
/**
* 在职状态(0在职;1离职)
*/
@ExcelAttribute
(
name
=
"在职状态
(0在职;1离职)
"
)
@ExcelProperty
(
"在职状态
(0在职;1离职)
"
)
@ExcelAttribute
(
name
=
"在职状态
"
,
isDataId
=
true
,
readConverterExp
=
"0=在职,1=离职
"
)
@ExcelProperty
(
"在职状态"
)
private
Integer
fileStatus
;
}
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TDispatchInfoServiceImpl.java
View file @
407c6ea9
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment