| | |
| | | */ |
| | | @RestController |
| | | @Api(tags = "计量器具台账记录") |
| | | @RequestMapping("/measuringInstrumentLedgerRecord") |
| | | @RequestMapping("Record") |
| | | public class MeasuringInstrumentLedgerRecordController extends BaseController { |
| | | |
| | | @Autowired |
| | |
| | | @PostMapping("/export") |
| | | public void export(HttpServletResponse response) { |
| | | measuringInstrumentLedgerRecordService.export( response); |
| | | } |
| | | |
| | | @GetMapping("/detail/{id}") |
| | | public AjaxResult getById(@PathVariable("id") Long id) { |
| | | return AjaxResult.success(measuringInstrumentLedgerRecordService.getById(id)); |
| | | } |
| | | |
| | | } |