|  |  | 
 |  |  | package com.dy.pipIrrBase.block; | 
 |  |  |  | 
 |  |  | import com.dy.common.aop.SsoAop; | 
 |  |  | import com.dy.common.mybatis.envm.Deleted; | 
 |  |  | import com.dy.common.webUtil.BaseResponse; | 
 |  |  | import com.dy.common.webUtil.BaseResponseUtils; | 
 |  |  | import com.dy.common.webUtil.QueryResultVo; | 
 |  |  | 
 |  |  |                             schema = @Schema(implementation = BaBlock.class))} | 
 |  |  |             ) | 
 |  |  |     }) | 
 |  |  |     @GetMapping(path = "one", consumes = MediaType.TEXT_PLAIN_VALUE) | 
 |  |  |     //@GetMapping(path = "one", consumes = MediaType.TEXT_PLAIN_VALUE) | 
 |  |  |     @GetMapping(path = "one") | 
 |  |  |     @SsoAop() | 
 |  |  |     public BaseResponse<BaBlock> one(Long id){ | 
 |  |  |         return BaseResponseUtils.buildSuccess(this.sv.selectById(id)); | 
 |  |  | 
 |  |  |             return BaseResponseUtils.buildFail(Objects.requireNonNull(bindingResult.getFieldError()).getDefaultMessage()); | 
 |  |  |         } | 
 |  |  |         po.id = null ; | 
 |  |  |         po.deleted = Deleted.NO; | 
 |  |  |         int count; | 
 |  |  |         try { | 
 |  |  |             count = this.sv.save(po); | 
 |  |  | 
 |  |  |                             schema = @Schema(implementation = Boolean.class))} | 
 |  |  |             ) | 
 |  |  |     }) | 
 |  |  |     @GetMapping(path = "delete", consumes = MediaType.TEXT_PLAIN_VALUE) | 
 |  |  |     //@GetMapping(path = "delete", consumes = MediaType.TEXT_PLAIN_VALUE) | 
 |  |  |     @GetMapping(path = "delete") | 
 |  |  |     @SsoAop() | 
 |  |  |     public BaseResponse<Boolean> delete(Long id){ | 
 |  |  |         if(id == null){ |