| | |
| | | |
| | | import com.github.pagehelper.PageInfo; |
| | | import com.whyc.dto.Response; |
| | | import com.whyc.pojo.db_abe_testdata.AbeTestData; |
| | | import com.whyc.pojo.db_abe_testdata.AbeTestDataInf; |
| | | import com.whyc.service.AbeTestDataInfService; |
| | | import com.whyc.service.AbeTestDataService; |
| | | 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 java.util.List; |
| | | |
| | | @Api(tags = "活化测试单体记录") |
| | | @RestController |
| | |
| | | public class AbeTestDataController { |
| | | |
| | | @Autowired |
| | | private AbeTestDataInfService service; |
| | | private AbeTestDataService service; |
| | | |
| | | @ApiOperation("查询列表-根据单体id和testRecordCount") |
| | | @GetMapping("getList") |
| | | public Response<List<AbeTestData>> getList(@RequestParam int monId, @RequestParam int testRecordCount) { |
| | | List<AbeTestData> list = service.getList(monId, testRecordCount); |
| | | return new Response<List<AbeTestData>>().set(1, list); |
| | | } |
| | | |
| | | } |