Commit f3d0acc2 authored by huyuchen's avatar huyuchen

假勤管理修改

parent 21ccf6c1
...@@ -248,7 +248,6 @@ public class DoJointInsuranceTask { ...@@ -248,7 +248,6 @@ public class DoJointInsuranceTask {
} else { } else {
viewVo = ekpSettleService.selectFundViewBySettleNo(vo.getSettleNo(),vo.getPayFlag()); viewVo = ekpSettleService.selectFundViewBySettleNo(vo.getSettleNo(),vo.getPayFlag());
} }
log.info("获取信息条数:",viewVo.toString());
if (!viewVo.isEmpty()) { if (!viewVo.isEmpty()) {
viewVo.forEach(e -> e.setPayFlag(vo.getPayFlag())); viewVo.forEach(e -> e.setPayFlag(vo.getPayFlag()));
socialDaprUtils.updateSocialSettleStatus(viewVo); socialDaprUtils.updateSocialSettleStatus(viewVo);
......
...@@ -49,10 +49,10 @@ ...@@ -49,10 +49,10 @@
<select id="selectSettleStatusBySettleNo" resultMap="BaseResultStatusMap"> <select id="selectSettleStatusBySettleNo" resultMap="BaseResultStatusMap">
select select
b.detailsId, b.detailsId,
if(b.earningStatus = '已结算','0',if(b.earningStatus = '结算中','1',if(b.earningStatus = '无需结算','3','2'))), if(b.earningStatus = '已结算','0',if(b.earningStatus = '结算中','1',if(b.earningStatus = '无需结算','3','2'))) earningStatus,
if(b.receiptStatus = '已收','0',if(b.receiptStatus = '垫付','2','1')), if(b.receiptStatus = '已收','0',if(b.receiptStatus = '垫付','2','1')) receiptStatus,
if(b.zhichuEarningStatus = '已结算','0',if(b.zhichuEarningStatus = '结算中','1',if(b.zhichuEarningStatus = '无需结算','3','2'))), if(b.zhichuEarningStatus = '已结算','0',if(b.zhichuEarningStatus = '结算中','1',if(b.zhichuEarningStatus = '无需结算','3','2'))) zhichuEarningStatus,
if(b.payStatus = '已付','0','1'), if(b.payStatus = '已付','0','1') payStatus,
b.orderType b.orderType
from from
view_insurance_info b view_insurance_info b
...@@ -70,10 +70,10 @@ ...@@ -70,10 +70,10 @@
<select id="selectSocialViewStatusBySettleNo" resultMap="BaseResultSocialStatusMap"> <select id="selectSocialViewStatusBySettleNo" resultMap="BaseResultSocialStatusMap">
select select
a.detailsId, a.detailsId,
if(a.earningStatus = '已结算','0',if(a.earningStatus = '结算中','1',if(a.earningStatus = '已冻结','3','2'))), if(a.earningStatus = '已结算','0',if(a.earningStatus = '结算中','1',if(a.earningStatus = '已冻结','3','2'))) earningStatus,
if(a.receiptStatus = '已收','0',if(a.receiptStatus = '垫付','2','1')), if(a.receiptStatus = '已收','0',if(a.receiptStatus = '垫付','2','1')) receiptStatus,
if(a.zhichuEarningStatus = '已结算','0',if(a.zhichuEarningStatus = '结算中','1','2')), if(a.zhichuEarningStatus = '已结算','0',if(a.zhichuEarningStatus = '结算中','1','2')) zhichuEarningStatus,
if(a.payStatus = '已付','0','1'), if(a.payStatus = '已付','0','1') payStatus,
a.orderType a.orderType
from from
view_social_info a view_social_info a
...@@ -91,10 +91,10 @@ ...@@ -91,10 +91,10 @@
<select id="selectFundViewBySettleNo" resultMap="BaseResultSocialStatusMap"> <select id="selectFundViewBySettleNo" resultMap="BaseResultSocialStatusMap">
select select
a.detailsId, a.detailsId,
if(a.earningStatus = '已结算','0',if(a.earningStatus = '结算中','1',if(a.earningStatus = '已冻结','3','2'))), if(a.earningStatus = '已结算','0',if(a.earningStatus = '结算中','1',if(a.earningStatus = '已冻结','3','2'))) earningStatus,
if(a.receiptStatus = '已收','0',if(a.receiptStatus = '垫付','2','1')), if(a.receiptStatus = '已收','0',if(a.receiptStatus = '垫付','2','1')) receiptStatus,
if(a.zhichuEarningStatus = '已结算','0',if(a.zhichuEarningStatus = '结算中','1','2')), if(a.zhichuEarningStatus = '已结算','0',if(a.zhichuEarningStatus = '结算中','1','2')) zhichuEarningStatus,
if(a.payStatus = '已付','0','1') if(a.payStatus = '已付','0','1') payStatus
from from
view_funds_info a view_funds_info a
where where
...@@ -111,8 +111,8 @@ ...@@ -111,8 +111,8 @@
<select id="selectFIncomelViewBySettleNo" resultMap="BaseResultStatusMap"> <select id="selectFIncomelViewBySettleNo" resultMap="BaseResultStatusMap">
select select
a.detailsId, a.detailsId,
if(a.earningStatus = '已结算','0',if(a.earningStatus = '结算中','1',if(a.earningStatus = '已冻结','3','2'))), if(a.earningStatus = '已结算','0',if(a.earningStatus = '结算中','1',if(a.earningStatus = '已冻结','3','2'))) earningStatus,
if(a.receiptStatus = '已收','0',if(a.receiptStatus = '垫付','2','1')) if(a.receiptStatus = '已收','0',if(a.receiptStatus = '垫付','2','1')) receiptStatus
from from
view_riskfund_info a view_riskfund_info a
where where
...@@ -123,8 +123,8 @@ ...@@ -123,8 +123,8 @@
<select id="selectIncomeViewBySettleNo" resultMap="BaseResultStatusMap"> <select id="selectIncomeViewBySettleNo" resultMap="BaseResultStatusMap">
select select
a.detailsId, a.detailsId,
if(a.earningStatus = '已结算','0',if(a.earningStatus = '结算中','1',if(a.earningStatus = '已冻结','3','2'))), if(a.earningStatus = '已结算','0',if(a.earningStatus = '结算中','1',if(a.earningStatus = '已冻结','3','2'))) earningStatus,
if(a.receiptStatus = '已收','0',if(a.receiptStatus = '垫付','2','1')) if(a.receiptStatus = '已收','0',if(a.receiptStatus = '垫付','2','1')) receiptStatus
from from
view_management_info a view_management_info a
where where
...@@ -135,10 +135,10 @@ ...@@ -135,10 +135,10 @@
<select id="selectSalarylViewBySettleNo" resultMap="BaseResultSocialStatusMap"> <select id="selectSalarylViewBySettleNo" resultMap="BaseResultSocialStatusMap">
select select
a.detailsId, a.detailsId,
if(a.earningStatus = '已结算','0',if(a.earningStatus = '结算中','1',if(a.earningStatus = '已冻结','3','2'))), if(a.earningStatus = '已结算','0',if(a.earningStatus = '结算中','1',if(a.earningStatus = '已冻结','3','2'))) earningStatus,
if(a.receiptStatus = '已收','0',if(a.receiptStatus = '垫付','2','1')), if(a.receiptStatus = '已收','0',if(a.receiptStatus = '垫付','2','1')) receiptStatus,
if(a.zhichuEarningStatus = '已结算','0',if(a.zhichuEarningStatus = '结算中','1','2')), if(a.zhichuEarningStatus = '已结算','0',if(a.zhichuEarningStatus = '结算中','1','2')) zhichuEarningStatus,
if(a.payStatus = '已付','0','1') if(a.payStatus = '已付','0','1') payStatus
from from
view_salary_info a view_salary_info a
where where
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment