From 5ceb1fc9be10e20d1f6e59382b2d14c8034485cf Mon Sep 17 00:00:00 2001
From: zhang <zc857179121@qq.com>
Date: 星期三, 10 九月 2025 21:30:32 +0800
Subject: [PATCH] 1
---
src/main/java/com/zy/asrs/controller/WrkMastDetlLogController.java | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/src/main/java/com/zy/asrs/controller/WrkMastDetlLogController.java b/src/main/java/com/zy/asrs/controller/WrkMastDetlLogController.java
index 0a05f04..8aa94b3 100644
--- a/src/main/java/com/zy/asrs/controller/WrkMastDetlLogController.java
+++ b/src/main/java/com/zy/asrs/controller/WrkMastDetlLogController.java
@@ -43,7 +43,7 @@
EntityWrapper<WrkMastDetlLog> wrapper = new EntityWrapper<>();
excludeTrash(param);
convert(param, wrapper);
- allLike(WrkMastDetlLog.class, param.keySet(), wrapper, condition);
+ //allLike(WrkMastDetlLog.class, param.keySet(), wrapper, condition);
if (!Cools.isEmpty(orderByField)) {
wrapper.orderBy(humpToLine(orderByField), "asc".equals(orderByType));
}
@@ -59,7 +59,7 @@
ioType = "101.鍑哄簱";
}
String[] split = ioType.split("\\.");
- Double l = count.get(ioType);
+ Double l = count.get(split[1]);
if (l == null) {
count.put(split[1], record.getAnfme());
} else {
@@ -102,7 +102,7 @@
@ManagerAuth
public R update(WrkMastDetlLog wrkMastDetlLog) {
if (Cools.isEmpty(wrkMastDetlLog)) {
- return R.error();
+ return R.error("鍙傛暟缂哄け");
}
wrkMastDetlLogService.updateById(wrkMastDetlLog);
return R.ok();
@@ -118,8 +118,8 @@
}
@RequestMapping(value = "/wrkMastDetlLog/export/auth")
- @ManagerAuth
- public R export(@RequestBody JSONObject param) {
+ @ManagerAuth(memo = "宸ヤ綔鍘嗗彶妗f槑缁嗗鍑�")
+ public synchronized R export(@RequestBody JSONObject param) {
EntityWrapper<WrkMastDetlLog> wrapper = new EntityWrapper<>();
List<String> fields = JSONObject.parseArray(param.getJSONArray("fields").toJSONString(), String.class);
Map<String, Object> map = excludeTrash(param.getJSONObject("wrkMastDetlLog"));
--
Gitblit v1.9.1