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} +