h5周菜谱
This commit is contained in:
parent
90016a24fa
commit
c2dea1ccb2
|
|
@ -1,26 +0,0 @@
|
||||||
package com.bonus.canteen.core.cook.task;
|
|
||||||
|
|
||||||
import com.bonus.canteen.core.cook.service.ICookH5Service;
|
|
||||||
import org.springframework.scheduling.annotation.Scheduled;
|
|
||||||
import org.springframework.stereotype.Component;
|
|
||||||
|
|
||||||
import javax.annotation.Resource;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @author xliu
|
|
||||||
* @date 2025/5/29 14:04
|
|
||||||
*/
|
|
||||||
@Component
|
|
||||||
public class CookRecipeTask {
|
|
||||||
|
|
||||||
@Resource
|
|
||||||
private ICookH5Service cookH5Service;
|
|
||||||
|
|
||||||
|
|
||||||
// @Scheduled(fixedDelay = 1000*60*60)
|
|
||||||
public void execute() {
|
|
||||||
// 执行定时任务
|
|
||||||
cookH5Service.scheduledTask();
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
@ -2,9 +2,6 @@ package com.bonus.canteen.core.order.module;
|
||||||
|
|
||||||
import cn.hutool.core.collection.CollUtil;
|
import cn.hutool.core.collection.CollUtil;
|
||||||
import com.bonus.canteen.core.cook.dto.AllocRecipeStallDTO;
|
import com.bonus.canteen.core.cook.dto.AllocRecipeStallDTO;
|
||||||
import com.bonus.canteen.core.cook.dto.CookH5ReserveRecipeDTO;
|
|
||||||
import com.bonus.canteen.core.cook.dto.CookRecipeDTO;
|
|
||||||
import com.bonus.canteen.core.cook.service.ICookH5Service;
|
|
||||||
import com.bonus.canteen.core.cook.service.ICookRecipeService;
|
import com.bonus.canteen.core.cook.service.ICookRecipeService;
|
||||||
import com.bonus.canteen.core.cook.vo.*;
|
import com.bonus.canteen.core.cook.vo.*;
|
||||||
import com.bonus.canteen.core.order.domain.CookDishCheckDTO;
|
import com.bonus.canteen.core.order.domain.CookDishCheckDTO;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue