Commit d21c6ec8 authored by fangxinjiang's avatar fangxinjiang

Merge remote-tracking branch 'origin/MVP1.4' into MVP1.4

parents 222cedde 1cb0e0cb
...@@ -6,6 +6,7 @@ import com.yifu.cloud.plus.v1.business.entity.system.TBusWarning; ...@@ -6,6 +6,7 @@ import com.yifu.cloud.plus.v1.business.entity.system.TBusWarning;
import com.yifu.cloud.plus.v1.business.service.system.TBusWarningService; import com.yifu.cloud.plus.v1.business.service.system.TBusWarningService;
import com.yifu.cloud.plus.v1.yifu.common.core.util.DateUtil; import com.yifu.cloud.plus.v1.yifu.common.core.util.DateUtil;
import com.yifu.cloud.plus.v1.yifu.common.core.util.R; import com.yifu.cloud.plus.v1.yifu.common.core.util.R;
import com.yifu.cloud.plus.v1.yifu.common.security.annotation.Inner;
import io.swagger.v3.oas.annotations.Operation; import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.tags.Tag; import io.swagger.v3.oas.annotations.tags.Tag;
import lombok.AllArgsConstructor; import lombok.AllArgsConstructor;
...@@ -60,6 +61,7 @@ public class TBusWarningController { ...@@ -60,6 +61,7 @@ public class TBusWarningController {
* @Date 2021-8-24 18:18:01 * @Date 2021-8-24 18:18:01
*/ */
@Operation(summary = "获取所有要自动发送的主表,以及人员信息进行定时任务发送", description = "获取所有要自动发送的主表,以及人员信息进行定时任务发送") @Operation(summary = "获取所有要自动发送的主表,以及人员信息进行定时任务发送", description = "获取所有要自动发送的主表,以及人员信息进行定时任务发送")
@Inner
@PostMapping("/inner/doBatchSendBusSms") @PostMapping("/inner/doBatchSendBusSms")
public void doBatchSendBusSms() { public void doBatchSendBusSms() {
tBusWarningService.doBatchSendBusSms(); tBusWarningService.doBatchSendBusSms();
...@@ -73,6 +75,7 @@ public class TBusWarningController { ...@@ -73,6 +75,7 @@ public class TBusWarningController {
* @Date 2021-8-24 18:18:06 * @Date 2021-8-24 18:18:06
*/ */
@Operation(summary = "更新当日所有发送的短信状态", description = "更新当日所有发送的短信状态") @Operation(summary = "更新当日所有发送的短信状态", description = "更新当日所有发送的短信状态")
@Inner
@PostMapping("/inner/doUpdateSendBusSmsStatus") @PostMapping("/inner/doUpdateSendBusSmsStatus")
public void doUpdateSendBusSmsStatus() { public void doUpdateSendBusSmsStatus() {
tBusWarningService.doUpdateSendBusSmsStatus(DateUtil.getCurrentDateString(DateUtil.ISO_DATE_FORMAT)); tBusWarningService.doUpdateSendBusSmsStatus(DateUtil.getCurrentDateString(DateUtil.ISO_DATE_FORMAT));
......
...@@ -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
......
...@@ -32,7 +32,7 @@ spring: ...@@ -32,7 +32,7 @@ spring:
type: CLASS_BASED type: CLASS_BASED
tables: tables:
t_payment_info: t_payment_info:
actual-data-nodes: ds0.t_payment_info_20$->{17..22} actual-data-nodes: ds0.t_payment_info_20$->{17..23}
key-generate-strategy: key-generate-strategy:
column: ID column: ID
key-generator-name: snowflake key-generator-name: snowflake
......
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