liusheng
2026-01-28 0bb9f6c3e894e56ff58d335110fbe4cfa87b64b2
ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceTransportController.java
@@ -28,7 +28,7 @@
 */
@Api(description = "供者转运登记")
@RestController
@RequestMapping("/system/transport")
@RequestMapping("/project/transport")
public class ServiceTransportController extends BaseController {
    @Autowired
    private IServiceTransportService serviceTransportService;
@@ -118,8 +118,11 @@
    @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));
    }
}