This commit is contained in:
bianyadong
2024-04-28 17:43:07 +08:00
parent 3e4bea75cc
commit b70b490637
4 changed files with 35 additions and 2 deletions

View File

@@ -3,11 +3,11 @@ package com.cool.store.controller.webb;
import com.cool.store.context.CurrentUserHolder;
import com.cool.store.request.OpenAcceptanceRequest;
import com.cool.store.request.ShopAcceptanceRequest;
import com.cool.store.request.ShopStageAcceptanceRequest;
import com.cool.store.response.ResponseResult;
import com.cool.store.service.OpenAcceptanceInfoService;
import com.cool.store.vo.OpenAcceptanceInfoListVO;
import com.cool.store.vo.ShopAcceptanceVO;
import com.cool.store.vo.ShopStageAcceptanceVO;
import com.github.pagehelper.PageInfo;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiImplicitParam;
@@ -16,7 +16,6 @@ import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.*;
import javax.annotation.Resource;
import java.util.List;
/**
* @Author byd
@@ -54,4 +53,11 @@ public class OpenAcceptanceInfoController {
return ResponseResult.success(Boolean.TRUE);
}
@ApiOperation("开业验收-单项")
@PostMapping(path = "/acceptanceOne")
public ResponseResult<Boolean> acceptanceOne(@RequestBody ShopStageAcceptanceRequest shopStageAcceptanceRequest) {
openAcceptanceInfoService.acceptanceOne(shopStageAcceptanceRequest);
return ResponseResult.success(Boolean.TRUE);
}
}