From 561aa63737f42136c69e87a8d907727da235b38c Mon Sep 17 00:00:00 2001 From: yxh <172933527@qq.com> Date: 星期五, 16 八月 2024 18:51:41 +0800 Subject: [PATCH] Merge branch 'master' of http://116.62.18.175:6699/r/~yxh/opo --- ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDistributedetailController.java | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDistributedetailController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDistributedetailController.java index 800cf68..bbaf6fb 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDistributedetailController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceDistributedetailController.java @@ -80,11 +80,13 @@ */ @ApiOperation("鏂板涓撳璐圭敤鍒嗗彂姹囨�绘槑缁�") @Log(title = "涓撳璐圭敤鍒嗗彂姹囨�绘槑缁�", businessType = BusinessType.INSERT) - @PostMapping + @PostMapping("/add") @RepeatSubmit public AjaxResult add(@RequestBody ServiceDistributedetail serviceDistributedetail) { log.info("鏂板涓撳璐圭敤鍒嗗彂姹囨�绘槑缁嗭細{}", serviceDistributedetail); - return toAjax(serviceDistributedetailService.save(serviceDistributedetail)); + boolean save = serviceDistributedetailService.save(serviceDistributedetail); + log.info("鏂板涓撳璐圭敤鍒嗗彂姹囨�绘槑缁唖erviceDistributedetail鐨刬d锛歿}", serviceDistributedetail.getId()); + return AjaxResult.success(serviceDistributedetail); } /** -- Gitblit v1.9.3