开业筹备阶段3.5
This commit is contained in:
@@ -6,18 +6,14 @@ import com.cool.store.dto.openPreparation.FirstOrderDTO;
|
||||
import com.cool.store.entity.FirstOrderDO;
|
||||
import com.cool.store.entity.ShopInfoDO;
|
||||
import com.cool.store.entity.ShopStageInfoDO;
|
||||
import com.cool.store.enums.AuditStatusEnum;
|
||||
import com.cool.store.enums.ErrorCodeEnum;
|
||||
import com.cool.store.enums.point.ShopSubStageEnum;
|
||||
import com.cool.store.enums.point.ShopSubStageStatusEnum;
|
||||
import com.cool.store.exception.ServiceException;
|
||||
import com.cool.store.request.FirstOrderRequest;
|
||||
import com.cool.store.request.OpeningOperationPlanAuditRequest;
|
||||
import com.cool.store.request.OpeningOperationPlanRequest;
|
||||
import com.cool.store.request.PlanListRequest;
|
||||
import com.cool.store.response.ResponseResult;
|
||||
import com.cool.store.service.*;
|
||||
import com.cool.store.vo.OpenPreparationFlushVO;
|
||||
import com.cool.store.vo.OpeningOperationPlanListVO;
|
||||
import com.cool.store.vo.OpeningOperationPlanVO;
|
||||
import io.swagger.annotations.Api;
|
||||
@@ -55,7 +51,7 @@ public class OpenPreparationController {
|
||||
@Resource
|
||||
private OpeningOperationPlanService openingOperationPlanService;
|
||||
@Resource
|
||||
private OpeningOperationPlanAuditService openingOperationPlanAuditService;
|
||||
private AuditOpeningOperationPlanService auditOpeningOperationPlanService;
|
||||
|
||||
@GetMapping("/flush")
|
||||
public ResponseResult<Boolean> flush(@RequestParam("shopId") Long shopId) {
|
||||
@@ -99,7 +95,7 @@ public class OpenPreparationController {
|
||||
@PostMapping("/openingOperationPlan/audit")
|
||||
@ApiOperation("审核运营方案")
|
||||
public ResponseResult auditPlan(@RequestBody OpeningOperationPlanAuditRequest request) {
|
||||
openingOperationPlanAuditService.auditPlan(request);
|
||||
auditOpeningOperationPlanService.auditPlan(request);
|
||||
return ResponseResult.success();
|
||||
}
|
||||
|
||||
|
||||
@@ -12,7 +12,6 @@ import com.cool.store.enums.point.ShopSubStageStatusEnum;
|
||||
import com.cool.store.exception.ServiceException;
|
||||
import com.cool.store.response.ResponseResult;
|
||||
import com.cool.store.service.*;
|
||||
import com.cool.store.vo.OpenPreparationFlushVO;
|
||||
import com.cool.store.vo.OpeningOperationPlanVO;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
@@ -23,7 +22,6 @@ import org.springframework.web.bind.annotation.RequestParam;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
import java.util.Objects;
|
||||
|
||||
/**
|
||||
* @Auther: WangShuo
|
||||
@@ -39,7 +37,7 @@ public class MiniOpenPreparationController {
|
||||
@Resource
|
||||
private OpeningOperationPlanService openingOperationPlanService;
|
||||
@Resource
|
||||
private OpeningOperationPlanAuditService openingOperationPlanAuditService;
|
||||
private AuditOpeningOperationPlanService auditOpeningOperationPlanService;
|
||||
@Resource
|
||||
private CoolStoreStartFlowService coolStoreStartFlowService;
|
||||
@Resource
|
||||
|
||||
@@ -51,8 +51,6 @@ public class XxlJobHandler {
|
||||
private ShopInfoDAO shopInfoDAO;
|
||||
@Resource
|
||||
private ShopStageInfoDAO shopStageInfoDAO;
|
||||
@Resource
|
||||
private OpeningOperationPlanAuditDAO openingOperationPlanAuditDAO;
|
||||
/**
|
||||
* 每天都将待体验门店信息变更到体验中
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user