whyclxw
2025-05-28 e16302f9d475c7cc4dd18c5abf1a23cb5502e362
src/main/java/com/whyc/controller/FBOTestDataInfController.java
@@ -6,10 +6,7 @@
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.bind.annotation.*;
import java.util.List;
@@ -28,4 +25,11 @@
        return new Response<List<FBOTestDataInf>>().set(1,list);
    }
    @PostMapping("delete")
    @ApiOperation(value = "删除某次测试记录")
    public Response delete(@RequestParam Integer battGroupId,@RequestParam Integer testRecordCount){
        service.delete(battGroupId,testRecordCount);
        return new Response().set(1,"删除成功");
    }
}