From 45f0f9fa63360748cb904fd3a2c8e57e7f4fec33 Mon Sep 17 00:00:00 2001
From: PigBaoBei <2739175034@qq.com>
Date: Tue, 3 Dec 2024 11:22:47 +0800
Subject: [PATCH] =?UTF-8?q?=E5=B7=A5=E5=8D=95=E8=B6=85=E6=97=B6=E3=80=81?=
=?UTF-8?q?=E7=AD=BE=E6=94=B6BUG=E4=BF=AE=E5=A4=8D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../logpm/aftersales/config/XxlJobConfig.java | 4 ++--
.../jobhandler/AftersalesXxlJob.java | 2 ++
.../mapper/AftersalesOvertimeFineMapper.xml | 18 ++++++++++++++----
.../mapper/DistributionReservationMapper.xml | 5 ++++-
.../mapper/DistributionSignforMapper.xml | 3 +--
5 files changed, 23 insertions(+), 9 deletions(-)
diff --git a/blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/config/XxlJobConfig.java b/blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/config/XxlJobConfig.java
index 58c44733f..096826b56 100644
--- a/blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/config/XxlJobConfig.java
+++ b/blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/config/XxlJobConfig.java
@@ -12,7 +12,7 @@ import org.springframework.context.annotation.Configuration;
*
* @author xuxueli 2017-04-28
*/
-//@Configuration(proxyBeanMethods = false)
+@Configuration(proxyBeanMethods = false)
public class XxlJobConfig {
private final Logger logger = LoggerFactory.getLogger(XxlJobConfig.class);
@@ -38,7 +38,7 @@ public class XxlJobConfig {
private int logRetentionDays;
-// @Bean
+ @Bean
public XxlJobSpringExecutor xxlJobExecutor() {
logger.info(">>>>>>>>>>> xxl-job config init.");
XxlJobSpringExecutor xxlJobSpringExecutor = new XxlJobSpringExecutor();
diff --git a/blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/jobhandler/AftersalesXxlJob.java b/blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/jobhandler/AftersalesXxlJob.java
index e30c44e74..d4232abbb 100644
--- a/blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/jobhandler/AftersalesXxlJob.java
+++ b/blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/jobhandler/AftersalesXxlJob.java
@@ -17,6 +17,7 @@ import com.logpm.warehouse.feign.IWarehouseWaybillClient;
import com.xxl.job.core.biz.model.ReturnT;
import com.xxl.job.core.handler.annotation.XxlJob;
import lombok.AllArgsConstructor;
+import lombok.extern.slf4j.Slf4j;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springblade.core.secure.BladeUser;
@@ -37,6 +38,7 @@ import java.util.*;
*/
@AllArgsConstructor
@Component
+@Slf4j
public class AftersalesXxlJob {
private static final Logger logger = LoggerFactory.getLogger(AftersalesXxlJob.class);
diff --git a/blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/mapper/AftersalesOvertimeFineMapper.xml b/blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/mapper/AftersalesOvertimeFineMapper.xml
index c3ad2c1bc..bb30c5a8d 100644
--- a/blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/mapper/AftersalesOvertimeFineMapper.xml
+++ b/blade-service/logpm-aftersales/src/main/java/com/logpm/aftersales/mapper/AftersalesOvertimeFineMapper.xml
@@ -25,10 +25,20 @@