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 @@