同步 master 分支代码
This commit is contained in:
parent
5913ee0706
commit
9cd36abf10
4
pom.xml
4
pom.xml
@ -19,8 +19,8 @@
|
|||||||
<!-- <module>yudao-module-bpm</module>-->
|
<!-- <module>yudao-module-bpm</module>-->
|
||||||
<!-- <module>yudao-module-report</module>-->
|
<!-- <module>yudao-module-report</module>-->
|
||||||
<!-- <module>yudao-module-mp</module>-->
|
<!-- <module>yudao-module-mp</module>-->
|
||||||
<!-- <module>yudao-module-pay</module>-->
|
<module>yudao-module-pay</module>
|
||||||
<!-- <module>yudao-module-mall</module>-->
|
<module>yudao-module-mall</module>
|
||||||
<!-- 示例项目 -->
|
<!-- 示例项目 -->
|
||||||
<module>yudao-example</module>
|
<module>yudao-example</module>
|
||||||
</modules>
|
</modules>
|
||||||
|
@ -14,13 +14,13 @@ import javax.annotation.Resource;
|
|||||||
* @author owen
|
* @author owen
|
||||||
*/
|
*/
|
||||||
@Component
|
@Component
|
||||||
@TenantJob
|
|
||||||
public class CouponExpireJob implements JobHandler {
|
public class CouponExpireJob implements JobHandler {
|
||||||
|
|
||||||
@Resource
|
@Resource
|
||||||
private CouponService couponService;
|
private CouponService couponService;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@TenantJob
|
||||||
public String execute(String param) {
|
public String execute(String param) {
|
||||||
int count = couponService.expireCoupon();
|
int count = couponService.expireCoupon();
|
||||||
return StrUtil.format("过期优惠券 {} 个", count);
|
return StrUtil.format("过期优惠券 {} 个", count);
|
||||||
|
@ -14,13 +14,13 @@ import javax.annotation.Resource;
|
|||||||
* @author owen
|
* @author owen
|
||||||
*/
|
*/
|
||||||
@Component
|
@Component
|
||||||
@TenantJob
|
|
||||||
public class BrokerageRecordUnfreezeJob implements JobHandler {
|
public class BrokerageRecordUnfreezeJob implements JobHandler {
|
||||||
|
|
||||||
@Resource
|
@Resource
|
||||||
private BrokerageRecordService brokerageRecordService;
|
private BrokerageRecordService brokerageRecordService;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@TenantJob
|
||||||
public String execute(String param) {
|
public String execute(String param) {
|
||||||
int count = brokerageRecordService.unfreezeRecord();
|
int count = brokerageRecordService.unfreezeRecord();
|
||||||
return StrUtil.format("解冻佣金 {} 个", count);
|
return StrUtil.format("解冻佣金 {} 个", count);
|
||||||
|
@ -13,13 +13,13 @@ import javax.annotation.Resource;
|
|||||||
* @author 芋道源码
|
* @author 芋道源码
|
||||||
*/
|
*/
|
||||||
@Component
|
@Component
|
||||||
@TenantJob
|
|
||||||
public class TradeOrderAutoCancelJob implements JobHandler {
|
public class TradeOrderAutoCancelJob implements JobHandler {
|
||||||
|
|
||||||
@Resource
|
@Resource
|
||||||
private TradeOrderUpdateService tradeOrderUpdateService;
|
private TradeOrderUpdateService tradeOrderUpdateService;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@TenantJob
|
||||||
public String execute(String param) {
|
public String execute(String param) {
|
||||||
int count = tradeOrderUpdateService.cancelOrderBySystem();
|
int count = tradeOrderUpdateService.cancelOrderBySystem();
|
||||||
return String.format("过期订单 %s 个", count);
|
return String.format("过期订单 %s 个", count);
|
||||||
|
@ -13,13 +13,13 @@ import javax.annotation.Resource;
|
|||||||
* @author 芋道源码
|
* @author 芋道源码
|
||||||
*/
|
*/
|
||||||
@Component
|
@Component
|
||||||
@TenantJob
|
|
||||||
public class TradeOrderAutoCommentJob implements JobHandler {
|
public class TradeOrderAutoCommentJob implements JobHandler {
|
||||||
|
|
||||||
@Resource
|
@Resource
|
||||||
private TradeOrderUpdateService tradeOrderUpdateService;
|
private TradeOrderUpdateService tradeOrderUpdateService;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@TenantJob
|
||||||
public String execute(String param) {
|
public String execute(String param) {
|
||||||
int count = tradeOrderUpdateService.createOrderItemCommentBySystem();
|
int count = tradeOrderUpdateService.createOrderItemCommentBySystem();
|
||||||
return String.format("评论订单 %s 个", count);
|
return String.format("评论订单 %s 个", count);
|
||||||
|
@ -13,13 +13,13 @@ import javax.annotation.Resource;
|
|||||||
* @author 芋道源码
|
* @author 芋道源码
|
||||||
*/
|
*/
|
||||||
@Component
|
@Component
|
||||||
@TenantJob
|
|
||||||
public class TradeOrderAutoReceiveJob implements JobHandler {
|
public class TradeOrderAutoReceiveJob implements JobHandler {
|
||||||
|
|
||||||
@Resource
|
@Resource
|
||||||
private TradeOrderUpdateService tradeOrderUpdateService;
|
private TradeOrderUpdateService tradeOrderUpdateService;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@TenantJob
|
||||||
public String execute(String param) {
|
public String execute(String param) {
|
||||||
int count = tradeOrderUpdateService.receiveOrderBySystem();
|
int count = tradeOrderUpdateService.receiveOrderBySystem();
|
||||||
return String.format("自动收货 %s 个", count);
|
return String.format("自动收货 %s 个", count);
|
||||||
|
@ -37,11 +37,11 @@
|
|||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<!-- 会员中心。默认注释,保证编译速度 -->
|
<!-- 会员中心。默认注释,保证编译速度 -->
|
||||||
<!-- <dependency>-->
|
<dependency>
|
||||||
<!-- <groupId>cn.iocoder.boot</groupId>-->
|
<groupId>cn.iocoder.boot</groupId>
|
||||||
<!-- <artifactId>yudao-module-member-biz</artifactId>-->
|
<artifactId>yudao-module-member-biz</artifactId>
|
||||||
<!-- <version>${revision}</version>-->
|
<version>${revision}</version>
|
||||||
<!-- </dependency>-->
|
</dependency>
|
||||||
|
|
||||||
<!-- 数据报表。默认注释,保证编译速度 -->
|
<!-- 数据报表。默认注释,保证编译速度 -->
|
||||||
<!-- <dependency>-->
|
<!-- <dependency>-->
|
||||||
@ -56,11 +56,11 @@
|
|||||||
<!-- <version>${revision}</version>-->
|
<!-- <version>${revision}</version>-->
|
||||||
<!-- </dependency>-->
|
<!-- </dependency>-->
|
||||||
<!-- 支付服务。默认注释,保证编译速度 -->
|
<!-- 支付服务。默认注释,保证编译速度 -->
|
||||||
<!-- <dependency>-->
|
<dependency>
|
||||||
<!-- <groupId>cn.iocoder.boot</groupId>-->
|
<groupId>cn.iocoder.boot</groupId>
|
||||||
<!-- <artifactId>yudao-module-pay-biz</artifactId>-->
|
<artifactId>yudao-module-pay-biz</artifactId>
|
||||||
<!-- <version>${revision}</version>-->
|
<version>${revision}</version>
|
||||||
<!-- </dependency>-->
|
</dependency>
|
||||||
|
|
||||||
<!-- 微信公众号模块。默认注释,保证编译速度 -->
|
<!-- 微信公众号模块。默认注释,保证编译速度 -->
|
||||||
<!-- <dependency>-->
|
<!-- <dependency>-->
|
||||||
@ -70,21 +70,21 @@
|
|||||||
<!-- </dependency>-->
|
<!-- </dependency>-->
|
||||||
|
|
||||||
<!-- 商城相关模块。默认注释,保证编译速度 -->
|
<!-- 商城相关模块。默认注释,保证编译速度 -->
|
||||||
<!-- <dependency>-->
|
<dependency>
|
||||||
<!-- <groupId>cn.iocoder.boot</groupId>-->
|
<groupId>cn.iocoder.boot</groupId>
|
||||||
<!-- <artifactId>yudao-module-promotion-biz</artifactId>-->
|
<artifactId>yudao-module-promotion-biz</artifactId>
|
||||||
<!-- <version>${revision}</version>-->
|
<version>${revision}</version>
|
||||||
<!-- </dependency>-->
|
</dependency>
|
||||||
<!-- <dependency>-->
|
<dependency>
|
||||||
<!-- <groupId>cn.iocoder.boot</groupId>-->
|
<groupId>cn.iocoder.boot</groupId>
|
||||||
<!-- <artifactId>yudao-module-product-biz</artifactId>-->
|
<artifactId>yudao-module-product-biz</artifactId>
|
||||||
<!-- <version>${revision}</version>-->
|
<version>${revision}</version>
|
||||||
<!-- </dependency>-->
|
</dependency>
|
||||||
<!-- <dependency>-->
|
<dependency>
|
||||||
<!-- <groupId>cn.iocoder.boot</groupId>-->
|
<groupId>cn.iocoder.boot</groupId>
|
||||||
<!-- <artifactId>yudao-module-trade-biz</artifactId>-->
|
<artifactId>yudao-module-trade-biz</artifactId>
|
||||||
<!-- <version>${revision}</version>-->
|
<version>${revision}</version>
|
||||||
<!-- </dependency>-->
|
</dependency>
|
||||||
|
|
||||||
<!-- spring boot 配置所需依赖 -->
|
<!-- spring boot 配置所需依赖 -->
|
||||||
<dependency>
|
<dependency>
|
||||||
|
Loading…
Reference in New Issue
Block a user