开业筹备
This commit is contained in:
@@ -1,10 +1,19 @@
|
||||
package com.cool.store.controller.webc;
|
||||
|
||||
import com.cool.store.response.ResponseResult;
|
||||
import com.cool.store.service.OpeningOperationPlanAuditService;
|
||||
import com.cool.store.service.OpeningOperationPlanService;
|
||||
import com.cool.store.vo.OpeningOperationPlanVO;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.web.bind.annotation.GetMapping;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
import org.springframework.web.bind.annotation.RequestParam;
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
import javax.annotation.Resource;
|
||||
|
||||
/**
|
||||
* @Auther: WangShuo
|
||||
* @Date: 2024/04/24/下午7:32
|
||||
@@ -16,5 +25,15 @@ import org.springframework.web.bind.annotation.RestController;
|
||||
@Api(tags = "开业运营方案操作")
|
||||
@Slf4j
|
||||
public class MiniOpeningOperationPlanController {
|
||||
@Resource
|
||||
private OpeningOperationPlanService openingOperationPlanService;
|
||||
@Resource
|
||||
private OpeningOperationPlanAuditService openingOperationPlanAuditService;
|
||||
@GetMapping("/getPlan")
|
||||
@ApiOperation("查询开业运营方案")
|
||||
public ResponseResult<OpeningOperationPlanVO> getPlan(@RequestParam Long planId){
|
||||
|
||||
OpeningOperationPlanVO plan = openingOperationPlanService.getPlanById(planId);
|
||||
return ResponseResult.success(plan);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user