修改@ApiOperation
This commit is contained in:
@@ -47,7 +47,7 @@ public class OpenPreparationController {
|
||||
private OpeningOperationPlanService openingOperationPlanService;
|
||||
@Resource
|
||||
private AuditOpeningOperationPlanService auditOpeningOperationPlanService;
|
||||
|
||||
@ApiOperation("刷新")
|
||||
@GetMapping("/flush")
|
||||
public ResponseResult<Boolean> flush(@RequestParam("shopId") Long shopId) {
|
||||
return ResponseResult.success(openingOperationPlanService.flush(shopId));
|
||||
|
||||
@@ -18,6 +18,7 @@ import com.cool.store.vo.DesignInfoVo;
|
||||
import com.cool.store.vo.PartnerUserInfoVO;
|
||||
import io.swagger.annotations.Api;
|
||||
import io.swagger.annotations.ApiModelProperty;
|
||||
import io.swagger.annotations.ApiOperation;
|
||||
import lombok.extern.slf4j.Slf4j;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
@@ -37,28 +38,29 @@ import java.util.List;
|
||||
public class PCDecorationController {
|
||||
@Resource
|
||||
private DecorationService decorationService;
|
||||
@ApiOperation("刷新")
|
||||
@GetMapping("/flush")
|
||||
public ResponseResult<Boolean> flush(@RequestParam("shopId") Long shopId) {
|
||||
return ResponseResult.success(decorationService.flush(shopId));
|
||||
}
|
||||
@ApiModelProperty("获取设计阶段信息")
|
||||
@ApiOperation("获取设计阶段信息")
|
||||
@GetMapping("/design")
|
||||
public ResponseResult<DesignInfoVo> get(@RequestParam Long shopId){
|
||||
return ResponseResult.success( decorationService.DesignInfo(shopId)) ;
|
||||
}
|
||||
|
||||
@ApiModelProperty("获取施工阶段信息")
|
||||
@ApiOperation("获取施工阶段信息")
|
||||
@GetMapping("/getConstruction")
|
||||
public ResponseResult<List<ConstructionScheduleDTO>> getConstruction(@RequestParam Long shopId){
|
||||
return ResponseResult.success(decorationService.getConstruction(shopId)) ;
|
||||
}
|
||||
@ApiModelProperty("获取装修款信息")
|
||||
@ApiOperation("获取装修款信息")
|
||||
@GetMapping("/getDecorationModelInfo")
|
||||
public ResponseResult<DecorationModelVO> getDecorationModelInfo(@RequestParam Long shopId){
|
||||
PartnerUserInfoVO user = null;
|
||||
return ResponseResult.success(decorationService.getDecorationModel(shopId,user));
|
||||
}
|
||||
@ApiModelProperty("查看三方验收")
|
||||
@ApiOperation("查看三方验收")
|
||||
@GetMapping("/getThreeAcceptance")
|
||||
public ResponseResult<ThreeAcceptanceResponse> getThreeAcceptance(@RequestParam Long shopId){
|
||||
return ResponseResult.success(decorationService.getThreeAcceptance(shopId));
|
||||
|
||||
@@ -41,34 +41,34 @@ public class MiniDecorationController {
|
||||
//TODO
|
||||
return ResponseResult.success(decorationService.submitDecorationModel(linePaySubmitRequest, user));
|
||||
}
|
||||
@ApiModelProperty("获取设计阶段信息")
|
||||
@ApiOperation("获取设计阶段信息")
|
||||
@GetMapping("/design")
|
||||
public ResponseResult<DesignInfoVo> get(@RequestParam Long shopId){
|
||||
return ResponseResult.success( decorationService.DesignInfo(shopId)) ;
|
||||
}
|
||||
@ApiModelProperty("获取施工阶段信息")
|
||||
@ApiOperation("获取施工阶段信息")
|
||||
@GetMapping("/getConstruction")
|
||||
public ResponseResult<List<ConstructionScheduleDTO>> getConstruction(@RequestParam Long shopId){
|
||||
return ResponseResult.success(decorationService.getConstruction(shopId)) ;
|
||||
}
|
||||
@ApiModelProperty("获取装修款信息,和二维码")
|
||||
@ApiOperation("获取装修款信息,和二维码")
|
||||
@GetMapping("/getDecorationModel")
|
||||
public ResponseResult<DecorationModelDTO> getDecorationModel(@RequestParam Long shopId){
|
||||
return ResponseResult.success(decorationService.DecorationModel(shopId)) ;
|
||||
}
|
||||
@ApiModelProperty("获取装修款信息")
|
||||
@ApiOperation("获取装修款信息")
|
||||
@GetMapping("/getDecorationModelInfo")
|
||||
public ResponseResult<DecorationModelVO> getDecorationModelInfo(@RequestParam Long shopId){
|
||||
PartnerUserInfoVO user = PartnerUserHolder.getUser();
|
||||
user.setPartnerId("61bf57dc65334885802a278835f499d0");
|
||||
return ResponseResult.success(decorationService.getDecorationModel(shopId,user));
|
||||
}
|
||||
@ApiModelProperty("提交三方验收")
|
||||
@ApiOperation("提交三方验收")
|
||||
@PostMapping("/submitThreeAcceptance")
|
||||
public ResponseResult<Integer> submitThreeAcceptance(@RequestParam ThreeAcceptanceRequest request){
|
||||
return ResponseResult.success(decorationService.submitAcceptance(request));
|
||||
}
|
||||
@ApiModelProperty("查看三方验收")
|
||||
@ApiOperation("查看三方验收")
|
||||
@GetMapping("/getThreeAcceptance")
|
||||
public ResponseResult<ThreeAcceptanceResponse> getThreeAcceptance(@RequestParam Long shopId){
|
||||
return ResponseResult.success(decorationService.getThreeAcceptance(shopId));
|
||||
|
||||
Reference in New Issue
Block a user