liusheng
2025-12-28 73f5b82df781d2b061ba24d29182f6898b5535d9
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));
    }
}