From 9cd36abf10aaf79006f4307a5abb8901c7c71668 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Thu, 28 Sep 2023 15:28:40 +0800 Subject: [PATCH] =?UTF-8?q?=E5=90=8C=E6=AD=A5=20master=20=E5=88=86?= =?UTF-8?q?=E6=94=AF=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pom.xml | 4 +- .../module/promotion/job/CouponExpireJob.java | 2 +- .../brokerage/BrokerageRecordUnfreezeJob.java | 2 +- .../job/order/TradeOrderAutoCancelJob.java | 2 +- .../job/order/TradeOrderAutoCommentJob.java | 2 +- .../job/order/TradeOrderAutoReceiveJob.java | 2 +- yudao-server/pom.xml | 50 +++++++++---------- 7 files changed, 32 insertions(+), 32 deletions(-) diff --git a/pom.xml b/pom.xml index c7ab9e3f0..88a3a34eb 100644 --- a/pom.xml +++ b/pom.xml @@ -19,8 +19,8 @@ - - + yudao-module-pay + yudao-module-mall yudao-example diff --git a/yudao-module-mall/yudao-module-promotion-biz/src/main/java/cn/iocoder/yudao/module/promotion/job/CouponExpireJob.java b/yudao-module-mall/yudao-module-promotion-biz/src/main/java/cn/iocoder/yudao/module/promotion/job/CouponExpireJob.java index 0526d1a72..8eaf9af1c 100644 --- a/yudao-module-mall/yudao-module-promotion-biz/src/main/java/cn/iocoder/yudao/module/promotion/job/CouponExpireJob.java +++ b/yudao-module-mall/yudao-module-promotion-biz/src/main/java/cn/iocoder/yudao/module/promotion/job/CouponExpireJob.java @@ -14,13 +14,13 @@ import javax.annotation.Resource; * @author owen */ @Component -@TenantJob public class CouponExpireJob implements JobHandler { @Resource private CouponService couponService; @Override + @TenantJob public String execute(String param) { int count = couponService.expireCoupon(); return StrUtil.format("过期优惠券 {} 个", count); diff --git a/yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/job/brokerage/BrokerageRecordUnfreezeJob.java b/yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/job/brokerage/BrokerageRecordUnfreezeJob.java index cd81e44ec..9e5bba125 100644 --- a/yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/job/brokerage/BrokerageRecordUnfreezeJob.java +++ b/yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/job/brokerage/BrokerageRecordUnfreezeJob.java @@ -14,13 +14,13 @@ import javax.annotation.Resource; * @author owen */ @Component -@TenantJob public class BrokerageRecordUnfreezeJob implements JobHandler { @Resource private BrokerageRecordService brokerageRecordService; @Override + @TenantJob public String execute(String param) { int count = brokerageRecordService.unfreezeRecord(); return StrUtil.format("解冻佣金 {} 个", count); diff --git a/yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/job/order/TradeOrderAutoCancelJob.java b/yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/job/order/TradeOrderAutoCancelJob.java index 2419987a6..9da98b7b6 100644 --- a/yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/job/order/TradeOrderAutoCancelJob.java +++ b/yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/job/order/TradeOrderAutoCancelJob.java @@ -13,13 +13,13 @@ import javax.annotation.Resource; * @author 芋道源码 */ @Component -@TenantJob public class TradeOrderAutoCancelJob implements JobHandler { @Resource private TradeOrderUpdateService tradeOrderUpdateService; @Override + @TenantJob public String execute(String param) { int count = tradeOrderUpdateService.cancelOrderBySystem(); return String.format("过期订单 %s 个", count); diff --git a/yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/job/order/TradeOrderAutoCommentJob.java b/yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/job/order/TradeOrderAutoCommentJob.java index c8f2c82c7..c2090ee77 100644 --- a/yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/job/order/TradeOrderAutoCommentJob.java +++ b/yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/job/order/TradeOrderAutoCommentJob.java @@ -13,13 +13,13 @@ import javax.annotation.Resource; * @author 芋道源码 */ @Component -@TenantJob public class TradeOrderAutoCommentJob implements JobHandler { @Resource private TradeOrderUpdateService tradeOrderUpdateService; @Override + @TenantJob public String execute(String param) { int count = tradeOrderUpdateService.createOrderItemCommentBySystem(); return String.format("评论订单 %s 个", count); diff --git a/yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/job/order/TradeOrderAutoReceiveJob.java b/yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/job/order/TradeOrderAutoReceiveJob.java index 06f3e9407..b378784c5 100644 --- a/yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/job/order/TradeOrderAutoReceiveJob.java +++ b/yudao-module-mall/yudao-module-trade-biz/src/main/java/cn/iocoder/yudao/module/trade/job/order/TradeOrderAutoReceiveJob.java @@ -13,13 +13,13 @@ import javax.annotation.Resource; * @author 芋道源码 */ @Component -@TenantJob public class TradeOrderAutoReceiveJob implements JobHandler { @Resource private TradeOrderUpdateService tradeOrderUpdateService; @Override + @TenantJob public String execute(String param) { int count = tradeOrderUpdateService.receiveOrderBySystem(); return String.format("自动收货 %s 个", count); diff --git a/yudao-server/pom.xml b/yudao-server/pom.xml index 520d9f927..655774bcf 100644 --- a/yudao-server/pom.xml +++ b/yudao-server/pom.xml @@ -37,11 +37,11 @@ - - - - - + + cn.iocoder.boot + yudao-module-member-biz + ${revision} + @@ -56,11 +56,11 @@ - - - - - + + cn.iocoder.boot + yudao-module-pay-biz + ${revision} + @@ -70,21 +70,21 @@ - - - - - - - - - - - - - - - + + cn.iocoder.boot + yudao-module-promotion-biz + ${revision} + + + cn.iocoder.boot + yudao-module-product-biz + ${revision} + + + cn.iocoder.boot + yudao-module-trade-biz + ${revision} +