| | |
| | | */ |
| | | @Api(description = "供者转运登记") |
| | | @RestController |
| | | @RequestMapping("/system/transport") |
| | | @RequestMapping("/project/transport") |
| | | public class ServiceTransportController extends BaseController { |
| | | @Autowired |
| | | private IServiceTransportService serviceTransportService; |
| | |
| | | @ApiOperation("删除供者转运登记") |
| | | // @PreAuthorize("@ss.hasPermi('system:transport:remove')") |
| | | @Log(title = "供者转运登记", businessType = BusinessType.DELETE) |
| | | @GetMapping("/remove/{ids}") |
| | | public AjaxResult remove(@PathVariable Long[] ids) { |
| | | return toAjax(serviceTransportService.removeByIds(Arrays.asList(ids))); |
| | | @GetMapping("/remove/{id}") |
| | | public AjaxResult remove(@PathVariable Long id) { |
| | | ServiceTransport serviceTransport = new ServiceTransport(); |
| | | serviceTransport.setId(id); |
| | | serviceTransport.setDelFlag(1); |
| | | return toAjax(serviceTransportService.updateById(serviceTransport)); |
| | | } |
| | | } |