liurunyu
2023-11-15 78937bdb9336ff2ddc89fa959aa7b814ded84b43
pipIrr-platform/pipIrr-web/pipIrr-web-base/src/main/java/com/dy/pipIrrBase/block/BlockCtrl.java
@@ -18,10 +18,7 @@
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.http.MediaType;
import org.springframework.validation.BindingResult;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.*;
import java.util.List;
import java.util.Objects;
@@ -53,8 +50,9 @@
                            schema = @Schema(implementation = BaBlock.class))}
            )
    })
    @PostMapping(path = "some")
    public BaseResponse<QueryResultVo<List<BaBlock>>> some(QueryVo vo){
    @PostMapping(path = "some", consumes = MediaType.MULTIPART_FORM_DATA_VALUE)
    @SsoAop("-1")
    public BaseResponse<QueryResultVo<List<BaBlock>>> some(@Parameter(description = "查询form表单数据", required = true) QueryVo vo){
        try {
            QueryResultVo<List<BaBlock>> res = this.sv.selectSome(vo) ;
            return BaseResponseUtils.buildSuccess(res);
@@ -78,6 +76,7 @@
            )
    })
    @GetMapping(path = "one")
    @SsoAop("-1")
    public BaseResponse<BaBlock> one(@Parameter(description = "实体id", required = true) Long id){
        return BaseResponseUtils.buildSuccess(this.sv.selectById(id));
    }