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
86b52ddc
Commit
86b52ddc
authored
Feb 16, 2023
by
huyuchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
商险优化修改
parent
63c4a0e2
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
2 deletions
+32
-2
TPaymentInfoMapper.java
.../cloud/plus/v1/yifu/social/mapper/TPaymentInfoMapper.java
+14
-0
TPaymentInfoServiceImpl.java
.../v1/yifu/social/service/impl/TPaymentInfoServiceImpl.java
+2
-2
TPaymentInfoMapper.xml
...cial-biz/src/main/resources/mapper/TPaymentInfoMapper.xml
+16
-0
No files found.
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/mapper/TPaymentInfoMapper.java
View file @
86b52ddc
...
...
@@ -102,6 +102,20 @@ public interface TPaymentInfoMapper extends BaseMapper<TPaymentInfo> {
*/
int
updateStatusById
(
@Param
(
"tPaymentInfo"
)
TPaymentInfo
tPaymentInfo
);
/**
* 更新结算状态
* @param sUpdateList 缴费库
* @return
*/
int
updateBatchByIdList
(
@Param
(
"details"
)
List
<
TPaymentInfo
>
sUpdateList
);
/**
* 更新结算状态
* @param sUpdateList 缴费库
* @return
*/
int
updateBatchByIdList1
(
@Param
(
"details"
)
List
<
TPaymentInfo
>
sUpdateList
);
/**
* 通过ID获取缴费库 及社保、公积金明细
* @param id
...
...
yifu-social/yifu-social-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/social/service/impl/TPaymentInfoServiceImpl.java
View file @
86b52ddc
...
...
@@ -3409,10 +3409,10 @@ public class TPaymentInfoServiceImpl extends ServiceImpl<TPaymentInfoMapper, TPa
}
}
if
(!
sUpdateList
.
isEmpty
())
{
this
.
updateBatchById
(
sUpdateList
);
baseMapper
.
updateBatchByIdList
(
sUpdateList
);
}
if
(!
zSpdateList
.
isEmpty
())
{
this
.
updateBatchById
(
zSpdateList
);
baseMapper
.
updateBatchByIdList1
(
zSpdateList
);
}
}
catch
(
Exception
e
)
{
log
.
error
(
"更新社保结算状态失败"
,
e
);
...
...
yifu-social/yifu-social-biz/src/main/resources/mapper/TPaymentInfoMapper.xml
View file @
86b52ddc
...
...
@@ -1270,6 +1270,22 @@
where ID = #{tPaymentInfo.id}
</update>
<update
id=
"updateBatchByIdList"
>
<foreach
collection=
"details"
index=
"index"
item=
"item"
separator=
";"
>
update t_payment_info set INCOME_SETTLE_FLAG = #{item.incomeSettleFlag},
INCOME_COLLECT_FLAG = #{item.incomeCollectFlag}
where ID = #{item.id}
</foreach>
</update>
<update
id=
"updateBatchByIdList1"
>
<foreach
collection=
"details"
index=
"index"
item=
"item"
separator=
";"
>
update t_payment_info set PAY_SETTLE_FLAG = #{item.paySettleFlag},
PAY_COLLECT_FLAG = #{item.payCollectFlag}
where ID = #{item.id}
</foreach>
</update>
<!--tPaymentInfo 按ID查收缴费库包含社保和公积金明细的数据查询-->
<select
id=
"getAllInfoById"
resultMap=
"tPaymentAllInfoMap"
>
SELECT
...
...
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