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
a199dd3f
You need to sign in or sign up before continuing.
Commit
a199dd3f
authored
Mar 31, 2025
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MVP1.7.8-优化BUG
parent
7c42f7f8
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
48 additions
and
44 deletions
+48
-44
TInsuranceDetailController.java
...ifu/insurances/controller/TInsuranceDetailController.java
+1
-1
DoJointInsuranceTask.java
...ud/plus/v1/yifu/insurances/util/DoJointInsuranceTask.java
+44
-40
EkpSettleMapper.xml
...ces-biz/src/main/resources/mapper/ekp/EkpSettleMapper.xml
+3
-3
No files found.
yifu-insurances/yifu-insurances-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/controller/TInsuranceDetailController.java
View file @
a199dd3f
...
@@ -819,7 +819,7 @@ public class TInsuranceDetailController {
...
@@ -819,7 +819,7 @@ public class TInsuranceDetailController {
* @Date: 2025/1/14 9:56
* @Date: 2025/1/14 9:56
* @return: com.yifu.cloud.plus.v1.yifu.salary.vo.SalaryRiskListVo
* @return: com.yifu.cloud.plus.v1.yifu.salary.vo.SalaryRiskListVo
**/
**/
@SysLog
(
"
重新更新结算状态同步失败的数据
"
)
@SysLog
(
"
获取商险是否在保
"
)
@Inner
@Inner
@PostMapping
(
"/inner/getRiskByIdCard"
)
@PostMapping
(
"/inner/getRiskByIdCard"
)
public
SalaryRiskListVo
getRiskByIdCard
(
@RequestBody
List
<
TSalaryAccount
>
idCardList
)
{
public
SalaryRiskListVo
getRiskByIdCard
(
@RequestBody
List
<
TSalaryAccount
>
idCardList
)
{
...
...
yifu-insurances/yifu-insurances-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/util/DoJointInsuranceTask.java
View file @
a199dd3f
...
@@ -223,6 +223,7 @@ public class DoJointInsuranceTask {
...
@@ -223,6 +223,7 @@ public class DoJointInsuranceTask {
String
insuranceId
;
String
insuranceId
;
for
(
EkpInsuranceViewVo
viewVo
:
viewVoList
)
{
for
(
EkpInsuranceViewVo
viewVo
:
viewVoList
)
{
//获取所有的明细id
//获取所有的明细id
if
(
Common
.
isNotNull
(
viewVo
.
getId
()))
{
insuranceId
=
viewVo
.
getId
().
substring
(
0
,
19
);
insuranceId
=
viewVo
.
getId
().
substring
(
0
,
19
);
detail
=
insuranceDetailMapper
.
selectById
(
insuranceId
);
detail
=
insuranceDetailMapper
.
selectById
(
insuranceId
);
if
(
Common
.
isNotNull
(
detail
))
{
if
(
Common
.
isNotNull
(
detail
))
{
...
@@ -249,6 +250,7 @@ public class DoJointInsuranceTask {
...
@@ -249,6 +250,7 @@ public class DoJointInsuranceTask {
}
}
}
}
}
}
}
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
TUpdateStatusError
error
=
new
TUpdateStatusError
();
TUpdateStatusError
error
=
new
TUpdateStatusError
();
error
.
setSettleNo
(
vo
.
getSettleNo
());
error
.
setSettleNo
(
vo
.
getSettleNo
());
...
@@ -393,6 +395,7 @@ public class DoJointInsuranceTask {
...
@@ -393,6 +395,7 @@ public class DoJointInsuranceTask {
String
insuranceId
;
String
insuranceId
;
for
(
EkpInsuranceViewVo
viewVo
:
viewVoList
)
{
for
(
EkpInsuranceViewVo
viewVo
:
viewVoList
)
{
//获取所有的明细id
//获取所有的明细id
if
(
Common
.
isNotNull
(
viewVo
.
getId
()))
{
insuranceId
=
viewVo
.
getId
().
substring
(
0
,
19
);
insuranceId
=
viewVo
.
getId
().
substring
(
0
,
19
);
detail
=
insuranceDetailMapper
.
selectById
(
insuranceId
);
detail
=
insuranceDetailMapper
.
selectById
(
insuranceId
);
if
(
Common
.
isNotNull
(
detail
))
{
if
(
Common
.
isNotNull
(
detail
))
{
...
@@ -418,6 +421,7 @@ public class DoJointInsuranceTask {
...
@@ -418,6 +421,7 @@ public class DoJointInsuranceTask {
insuranceDetailMapper
.
updateById
(
detail
);
insuranceDetailMapper
.
updateById
(
detail
);
}
}
}
}
}
error
.
setStatus
(
CommonConstants
.
ONE_INT
);
error
.
setStatus
(
CommonConstants
.
ONE_INT
);
error
.
setTitle
(
InsurancesConstants
.
AGAIN_UPDATE_STATUS
);
error
.
setTitle
(
InsurancesConstants
.
AGAIN_UPDATE_STATUS
);
updateStatusErrorMapper
.
updateById
(
error
);
updateStatusErrorMapper
.
updateById
(
error
);
...
...
yifu-insurances/yifu-insurances-biz/src/main/resources/mapper/ekp/EkpSettleMapper.xml
View file @
a199dd3f
...
@@ -100,7 +100,7 @@
...
@@ -100,7 +100,7 @@
from
from
view_insurance_info b
view_insurance_info b
where
where
1 = 1
b.detailsId is not null
<if
test=
"payFlag != null and payFlag != '' and payFlag == 0"
>
<if
test=
"payFlag != null and payFlag != '' and payFlag == 0"
>
and b.earningNo = #{settleNo}
and b.earningNo = #{settleNo}
</if>
</if>
...
@@ -121,7 +121,7 @@
...
@@ -121,7 +121,7 @@
from
from
view_social_info a
view_social_info a
where
where
1 = 1
a.detailsId is not null
<if
test=
"payFlag != null and payFlag != '' and payFlag == 0"
>
<if
test=
"payFlag != null and payFlag != '' and payFlag == 0"
>
and a.earningNo = #{settleNo}
and a.earningNo = #{settleNo}
</if>
</if>
...
@@ -142,7 +142,7 @@
...
@@ -142,7 +142,7 @@
from
from
view_funds_info a
view_funds_info a
where
where
1 = 1
a.detailsId is not null
<if
test=
"payFlag != null and payFlag != '' and payFlag == 0"
>
<if
test=
"payFlag != null and payFlag != '' and payFlag == 0"
>
and a.earningNo = #{settleNo}
and a.earningNo = #{settleNo}
</if>
</if>
...
...
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