From 5701eb6693c654d53f1bba460eb3a417d495b344 Mon Sep 17 00:00:00 2001
From: zhang <zc857179121@qq.com>
Date: 星期三, 11 六月 2025 17:31:53 +0800
Subject: [PATCH] bug修复;下发任务给rcs携带货架码
---
src/main/java/com/zy/system/controller/RoleController.java | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/main/java/com/zy/system/controller/RoleController.java b/src/main/java/com/zy/system/controller/RoleController.java
index 9125452..3a32c47 100644
--- a/src/main/java/com/zy/system/controller/RoleController.java
+++ b/src/main/java/com/zy/system/controller/RoleController.java
@@ -78,7 +78,7 @@
@ManagerAuth(memo = "瑙掕壊缂栬緫")
public R edit(Role role) {
if (Cools.isEmpty(role)){
- return R.error();
+ return R.error("鍙傛暟缂哄け");
}
if (null == role.getId()){
roleService.insert(role);
@@ -99,7 +99,7 @@
@ManagerAuth(memo = "瑙掕壊淇敼")
public R update(Role role){
if (Cools.isEmpty(role) || null==role.getId()){
- return R.error();
+ return R.error("鍙傛暟缂哄け");
}
roleService.updateById(role);
return R.ok();
@@ -109,7 +109,7 @@
@ManagerAuth(memo = "瑙掕壊鍒犻櫎")
public R delete(Integer[] ids){
if (Cools.isEmpty(ids)){
- return R.error();
+ return R.error("鍙傛暟缂哄け");
}
roleService.deleteBatchIds(Arrays.asList(ids));
return R.ok();
@@ -150,7 +150,7 @@
// }
}
- Page<Role> page = roleService.selectPage(new Page<>(0, 10), wrapper);
+ Page<Role> page = roleService.selectPage(new Page<>(0, 1000), wrapper);
List<Map<String, Object>> result = new ArrayList<>();
for (Role role : page.getRecords()){
Map<String, Object> map = new HashMap<>();
--
Gitblit v1.9.1