采用阿里代码规约,对代码进行优化

This commit is contained in:
lifenlong
2021-07-09 08:42:16 +08:00
parent 3e73257922
commit 18d2379a19
32 changed files with 262 additions and 116 deletions

View File

@@ -25,16 +25,24 @@ import org.springframework.stereotype.Component;
@Slf4j
@Component(TimeExecuteConstant.PROMOTION_EXECUTOR)
public class PromotionTimeTriggerExecutor implements TimeTriggerExecutor {
//促销
/**
* 促销
*/
@Autowired
private PromotionService promotionService;
//Rocketmq
/**
* RocketMQ
*/
@Autowired
private RocketmqCustomProperties rocketmqCustomProperties;
//延时任务
/**
* 延时任务
*/
@Autowired
private TimeTrigger timeTrigger;
//订单
/**
* 订单
*/
@Autowired
private OrderService orderService;