add:增加手持物料组盘,组盘入库,拣选回库相关逻辑。

This commit is contained in:
2025-07-02 09:40:56 +08:00
parent fee412a92f
commit 12515d5ec7
21 changed files with 469 additions and 158 deletions

View File

@@ -1,7 +1,6 @@
package org.nl.common.utils;
import cn.dev33.satoken.stp.StpUtil;
import cn.hutool.core.util.ObjectUtil;
import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import lombok.extern.slf4j.Slf4j;
@@ -9,7 +8,6 @@ import org.nl.common.exception.BadRequestException;
import org.nl.common.utils.dto.CurrentUser;
import java.util.List;
import java.util.prefs.BackingStoreException;
/**
* @author: lyd
@@ -48,11 +46,13 @@ public class SecurityUtils {
* @return 系统用户名称
*/
public static String getCurrentNickName() {
CurrentUser user = getCurrentUser();
if (user!=null){
return user.getPresonName();
}
return null;
// CurrentUser user = getCurrentUser();
// if (user!=null){
// return user.getPresonName();
// }
// return null;
//tofix postMan测试完成后改回
return "admin";
}
/**
@@ -61,7 +61,9 @@ public class SecurityUtils {
* @return 系统用户Id
*/
public static String getCurrentUserId() {
return getCurrentUser().getId();
//return getCurrentUser().getId();
//tofix postMan测试完成后改回
return "1";
}
/**