From 0055acf48618f0041468d1f35350c404f48b66eb Mon Sep 17 00:00:00 2001
From: liusheng <337615773@qq.com>
Date: 星期一, 05 二月 2024 14:22:47 +0800
Subject: [PATCH] 代码提交
---
ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceExternalpersonController.java | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceExternalpersonController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceExternalpersonController.java
index 8b3a747..ee96a20 100644
--- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceExternalpersonController.java
+++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/project/ServiceExternalpersonController.java
@@ -92,7 +92,8 @@
String formattedNumber = String.format("%05d", zj);
serviceExternalperson.setUserno(formattedNumber);
}
- return toAjax(serviceExternalpersonService.save(serviceExternalperson));
+ boolean save = serviceExternalpersonService.save(serviceExternalperson);
+ return AjaxResult.success(serviceExternalperson);
}
/**
--
Gitblit v1.9.3