From 981634fa893b787f2991d99ebf60276eee8d28c7 Mon Sep 17 00:00:00 2001
From: liyj <1003249715@qq.com>
Date: Sat, 24 Aug 2024 19:01:44 +0800
Subject: [PATCH] 1、新增disp、mediate、sys服务 2、集成工作流流程设计器

---
 dyh-service/dyh-cust/src/main/java/cn/huge/module/ctrole/controller/web/CtRoledataWebController.java |   24 ++++++++++--------------
 1 files changed, 10 insertions(+), 14 deletions(-)

diff --git a/dyh-service/dyh-cust/src/main/java/cn/huge/module/ctrole/controller/web/CtRoledataWebController.java b/dyh-service/dyh-cust/src/main/java/cn/huge/module/ctrole/controller/web/CtRoledataWebController.java
index 3fd3cbb..ee2ee41 100644
--- a/dyh-service/dyh-cust/src/main/java/cn/huge/module/ctrole/controller/web/CtRoledataWebController.java
+++ b/dyh-service/dyh-cust/src/main/java/cn/huge/module/ctrole/controller/web/CtRoledataWebController.java
@@ -1,4 +1,4 @@
-package cn.huge.module.ctrole.controller;
+package cn.huge.module.ctrole.controller.web;
 
 import cn.huge.base.common.utils.ReturnFailUtils;
 import cn.huge.base.common.utils.ReturnSucUtils;
@@ -19,11 +19,11 @@
 import java.util.stream.Stream;
 
 /**
- * @title: 客户角色数据权限表接口api
- * @description: 客户角色数据权限表接口api
+ * @title: 客户角色数据权限表接口api-web端
+ * @description: 客户角色数据权限表接口api-web端
  * @company: hugeinfo
  * @author: liyj
- * @time: 2024-08-17 15:33:41
+ * @time: 2024-08-19 20:04:19
  * @version: 1.0.0
  */
 @Slf4j
@@ -141,19 +141,15 @@
     }
 
     /**
-    * 根据主键单个/批量删除
-    * @url {ctx}/api/web/ctRoledata/deleteByIds
-    * @param ids 主键编号
+    * 根据主键单个
+    * @url {ctx}/api/web/ctRoledata/deleteById
+    * @param id 主键编号
     * @return Object
     */
-    @GetMapping("/deleteByIds")
-    public Object deleteByIds(@RequestParam(value = "ids") String ids) {
+    @GetMapping("/deleteById")
+    public Object deleteById(@RequestParam(value = "id") String id) {
         try {
-            if (ids.indexOf(",") != -1) {
-                service.removeByIds(Stream.of(ids.split(",")).collect(Collectors.toList()));
-            }else{
-                service.removeById(ids);
-            }
+            service.removeById(id);
             return ReturnSucUtils.getRepInfo();
         } catch (Exception e) {
             return ReturnFailUtils.getRepInfo();

--
Gitblit v1.8.0