| | |
| | | * @param req |
| | | * @return |
| | | */ |
| | | @AutoLog(value = "备件请购单-分页列表查询") |
| | | @ApiOperation(value = "备件请购单-分页列表查询", notes = "备件请购单-分页列表查询") |
| | | @GetMapping(value = "/list") |
| | | public Result<?> queryPageList(EamSparePartRequisition eamSparePartRequisition, |
| | |
| | | * @param eamSparePartRequisition |
| | | * @return |
| | | */ |
| | | @AutoLog(value = "备件请购单-添加") |
| | | @ApiOperation(value = "备件请购单-添加", notes = "备件请购单-添加") |
| | | @PostMapping(value = "/add") |
| | | public Result<?> add(@RequestBody EamSparePartRequisition eamSparePartRequisition) { |
| | |
| | | * @param eamSparePartRequisition |
| | | * @return |
| | | */ |
| | | @AutoLog(value = "备件请购单-编辑") |
| | | @ApiOperation(value = "备件请购单-编辑", notes = "备件请购单-编辑") |
| | | @RequestMapping(value = "/edit", method = {RequestMethod.PUT, RequestMethod.POST}) |
| | | public Result<?> edit(@RequestBody EamSparePartRequisition eamSparePartRequisition) { |
| | |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @AutoLog(value = "备件请购单-通过id删除") |
| | | @ApiOperation(value = "备件请购单-通过id删除", notes = "备件请购单-通过id删除") |
| | | @DeleteMapping(value = "/delete") |
| | | public Result<?> delete(@RequestParam(name = "id", required = true) String id) { |
| | |
| | | * @param ids |
| | | * @return |
| | | */ |
| | | @AutoLog(value = "备件请购单-批量删除") |
| | | @ApiOperation(value = "备件请购单-批量删除", notes = "备件请购单-批量删除") |
| | | @DeleteMapping(value = "/deleteBatch") |
| | | public Result<?> deleteBatch(@RequestParam(name = "ids", required = true) String ids) { |
| | |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @AutoLog(value = "备件请购单-通过id查询") |
| | | @ApiOperation(value = "备件请购单-通过id查询", notes = "备件请购单-通过id查询") |
| | | @GetMapping(value = "/queryById") |
| | | public Result<?> queryById(@RequestParam(name = "id", required = true) String id) { |