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
0c359eb2
Commit
0c359eb2
authored
Oct 31, 2024
by
fangxinjiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
员工报账查询&批量导出&审核人导出最终版-fxj
parent
a6c2e484
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
1 deletion
+20
-1
SysHouseHoldInfoServiceImpl.java
...yifu/social/service/impl/SysHouseHoldInfoServiceImpl.java
+4
-1
TDispatchInfoServiceImpl.java
...v1/yifu/social/service/impl/TDispatchInfoServiceImpl.java
+16
-0
No files found.
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/SysHouseHoldInfoServiceImpl.java
View file @
0c359eb2
...
...
@@ -77,7 +77,8 @@ public class SysHouseHoldInfoServiceImpl extends ServiceImpl<SysHouseHoldInfoMap
*/
@Override
public
R
<
Boolean
>
saveInfo
(
SysHouseHoldInfo
sysHouseHoldInfo
)
{
//户名称去空格
sysHouseHoldInfo
.
setName
(
sysHouseHoldInfo
.
getName
().
replace
(
" "
,
""
));
SysHouseHoldInfo
info
=
this
.
getOne
(
Wrappers
.<
SysHouseHoldInfo
>
query
().
lambda
()
.
eq
(
SysHouseHoldInfo:
:
getType
,
sysHouseHoldInfo
.
getType
())
.
eq
(
SysHouseHoldInfo:
:
getName
,
sysHouseHoldInfo
.
getName
())
...
...
@@ -131,6 +132,8 @@ public class SysHouseHoldInfoServiceImpl extends ServiceImpl<SysHouseHoldInfoMap
**/
@Override
public
R
<
Boolean
>
updateByIdAsso
(
SysHouseHoldInfo
hold
)
{
//户名称去空格
hold
.
setName
(
hold
.
getName
().
replace
(
" "
,
""
));
if
(
Common
.
isEmpty
(
hold
.
getId
())){
return
R
.
failed
(
CommonConstants
.
PARAM_INFO_ERROR
);
}
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TDispatchInfoServiceImpl.java
View file @
0c359eb2
...
...
@@ -3249,6 +3249,22 @@ public class TDispatchInfoServiceImpl extends ServiceImpl<TDispatchInfoMapper, T
errorMessageList
.
add
(
new
ErrorMessage
(
excel
.
getRowIndex
(),
MsgUtils
.
getMessage
(
ErrorCodes
.
EMP_DISPATCH_REDUCE_SOCIAL_STATUS_ERROR
)));
return
true
;
}
//派减部分办理失败需要额外判断是否有办理成功的项可供派减;明细项办理状态:0待办理1办理成功2办理失败3已派减4派减失败5派减待办理
if
(!
CommonConstants
.
ONE_STRING
.
equals
(
socialFund
.
getPensionHandle
())
&&!
CommonConstants
.
FOUR_STRING
.
equals
(
socialFund
.
getPensionHandle
())
&&!
CommonConstants
.
ONE_STRING
.
equals
(
socialFund
.
getMedicalHandle
())
&&!
CommonConstants
.
FOUR_STRING
.
equals
(
socialFund
.
getMedicalHandle
())
&&!
CommonConstants
.
ONE_STRING
.
equals
(
socialFund
.
getWorkInjuryHandle
())
&&!
CommonConstants
.
FOUR_STRING
.
equals
(
socialFund
.
getWorkInjuryHandle
())
&&!
CommonConstants
.
ONE_STRING
.
equals
(
socialFund
.
getBirthHandle
())
&&!
CommonConstants
.
FOUR_STRING
.
equals
(
socialFund
.
getBirthHandle
())
&&!
CommonConstants
.
ONE_STRING
.
equals
(
socialFund
.
getBigailmentHandle
())
&&!
CommonConstants
.
FOUR_STRING
.
equals
(
socialFund
.
getBigailmentHandle
())
&&!
CommonConstants
.
ONE_STRING
.
equals
(
socialFund
.
getUnemployHandle
())
&&!
CommonConstants
.
FOUR_STRING
.
equals
(
socialFund
.
getUnemployHandle
())){
errorMessageList
.
add
(
new
ErrorMessage
(
excel
.
getRowIndex
(),
MsgUtils
.
getMessage
(
ErrorCodes
.
EMP_DISPATCH_REDUCE_SOCIAL_STATUS_ERROR
)));
return
true
;
}
if
(!
excel
.
getDepartNo
().
equals
(
socialFund
.
getSettleDomainCode
())){
errorMessageList
.
add
(
new
ErrorMessage
(
excel
.
getRowIndex
(),
MsgUtils
.
getMessage
(
ErrorCodes
.
EMP_DISPATCH_REDUCE_SOCIAL_DEPARTNO_ERROR
)));
return
true
;
...
...
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