From 34c7c062ac015ed2d04694085e92f0129b2fafd0 Mon Sep 17 00:00:00 2001 From: dimengzhe Date: Fri, 3 Jan 2025 16:46:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=AC=A0=E6=AC=BE=E5=87=BA=E5=BA=93=E5=AE=A1?= =?UTF-8?q?=E6=89=B9=E9=80=9A=E8=BF=87=E5=90=8E=EF=BC=8C=E8=8B=A5=E4=B8=BA?= =?UTF-8?q?=E4=B8=89=E6=96=B9=E9=87=91=E8=9E=8D=E4=B8=9A=E5=8A=A1=E7=9A=84?= =?UTF-8?q?=EF=BC=8C=E9=9C=80=E8=A6=81=E6=8E=A8=E9=80=81=E5=8D=95=E8=BD=A6?= =?UTF-8?q?=E8=BF=94=E5=88=A9=E9=87=91=E8=9E=8D=E8=B4=B4=E6=81=AF=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../BusDeliveredApplyService.java | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/busdeliveredapply/BusDeliveredApplyService.java b/anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/busdeliveredapply/BusDeliveredApplyService.java index 83d72292e2..1d7e9cef66 100644 --- a/anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/busdeliveredapply/BusDeliveredApplyService.java +++ b/anrui-buscenter/anrui-buscenter-biz/src/main/java/com/yxt/anrui/buscenter/biz/busdeliveredapply/BusDeliveredApplyService.java @@ -1610,6 +1610,24 @@ public class BusDeliveredApplyService extends MybatisBaseService { pushHandoverPrepare(busDeliveredApply, detailsList, orderDetailsVoResultBean.getData(), userVoResultBean.getData()); }); + + //推送单车返利管理 + String concatNo = busDeliveredApply.getContractNo(); + BusSalesOrder busSalesOrder = busSalesOrderService.selectOrderByContractNo(concatNo).getData(); + if (busSalesOrder != null) { + String saleOrderSid = busSalesOrder.getSid(); + if (StringUtils.isNotBlank(saleOrderSid)) { + SolutionsDetailsVo solutionsDetailsVo = loanSolutionsFeign.selectDetailsss(saleOrderSid).getData(); + if (solutionsDetailsVo != null) { + //三方金融的,在出库时推送单车返利数据,金额为厂家贴息。 + if("2".equals(busSalesOrder.getFinancePlan())){ + Future future11 = pool.submit(() -> { + pushVehRebate(busDeliveredApply, detailsList, solutionsDetailsVo.getFactoryDiscount()); + }); + } + } + } + } //推送合格证管理员站内信提醒有待移交的合格证,同时自动更改出库车辆的合格证移交状态为“待移交”。 //ToDo:合格证管理员、随车资料管理员、发票管理员创建并查询该角色的用户推送消息有待移交的资料等等。 Future future6 = pool.submit(() -> {