liurunyu
2025-08-06 720f20be809bde8275ddfe743cfbf484082fbb02
pipIrr-platform/pipIrr-web/pipIrr-web-model/src/main/java/com/dy/pipIrrModel/crops/CropsCtrl.java
@@ -55,7 +55,7 @@
                            schema = @Schema(implementation = VoCrops.class))}
            )
    })
    @GetMapping(path = "one", consumes = MediaType.TEXT_PLAIN_VALUE)
    @GetMapping(path = "one")
    @SsoAop()
    public BaseResponse<VoCrops> one(Long id){
        return BaseResponseUtils.buildSuccess(this.sv.selectById(id));
@@ -73,9 +73,9 @@
                            schema = @Schema(implementation = VoCrops.class))}
            )
    })
    @PostMapping(path = "some", consumes = MediaType.APPLICATION_JSON_VALUE)
    @GetMapping(path = "some")
    @SsoAop()
    public BaseResponse<QueryResultVo<List<VoCrops>>> some(@RequestBody CropsQo qo){
    public BaseResponse<QueryResultVo<List<VoCrops>>> some(CropsQo qo){
        try {
            QueryResultVo<List<VoCrops>> res = this.sv.selectSome(qo) ;
            return BaseResponseUtils.buildSuccess(res);
@@ -175,7 +175,7 @@
                            schema = @Schema(implementation = Boolean.class))}
            )
    })
    @GetMapping(path = "delete", consumes = MediaType.TEXT_PLAIN_VALUE)
    @GetMapping(path = "delete")
    @SsoAop()
    public BaseResponse<Boolean> delete(Long id){
        if(id == null){