| | |
| | | import org.springframework.transaction.annotation.Transactional; |
| | | import org.springframework.web.bind.annotation.*; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import jakarta.servlet.http.HttpServletResponse; |
| | | import java.io.IOException; |
| | | import java.util.List; |
| | | |
| | |
| | | @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)); |
| | | } |
| | | |
| | | } |