| | |
| | | import io.swagger.annotations.Api; |
| | | import io.swagger.annotations.ApiOperation; |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestMapping; |
| | | import org.springframework.web.bind.annotation.RestController; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.annotation.Resource; |
| | | |
| | |
| | | } |
| | | |
| | | @ApiOperation(value = "分页查询") |
| | | @PostMapping("/getPageSubstanceRecord") |
| | | public Result<IPage<SubstanceRecordVo>> getPageSubstanceRecord(Page page, @RequestBody SubstanceRecordVo vo) { |
| | | @GetMapping("/getPageSubstanceRecord") |
| | | public Result<IPage<SubstanceRecordVo>> getPageSubstanceRecord(Page page, SubstanceRecordVo vo) { |
| | | IPage<SubstanceRecordVo> ipage = feStandardSubstanceRecordService.getPage(page,vo); |
| | | return Result.success(ipage); |
| | | } |