From 94345e6729dfaa4e6dc86a3755bd9740c8243014 Mon Sep 17 00:00:00 2001 From: erzhongxmu Date: Wed, 27 Dec 2023 20:00:58 +0800 Subject: [PATCH] 1 --- src/main/java/com/zzjee/wmutil/wmUtil.java | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/src/main/java/com/zzjee/wmutil/wmUtil.java b/src/main/java/com/zzjee/wmutil/wmUtil.java index 5a8948cc..d524af7b 100644 --- a/src/main/java/com/zzjee/wmutil/wmUtil.java +++ b/src/main/java/com/zzjee/wmutil/wmUtil.java @@ -270,10 +270,7 @@ public class wmUtil { for (TSRoleUser ru : rUsers) { TSRole role = ru.getTSRole(); roles += role.getRoleCode() + ","; - System.out.println("role.getRoleCode()========" + role.getRoleCode()); } - System.out.println("roles========" + roles); - System.out.println("cusrole========" + cusrole); if (StringUtil.strPos(roles, cusrole)) { cusCode = user.getUserName(); } @@ -313,13 +310,10 @@ public class wmUtil { try { String goods = null; if (!StringUtil.isEmpty(goodsid)) { - if (goodsid.endsWith("l")) { + if (goodsid.endsWith("l")) {//拆零商品,商品编码不需要l结尾 goods = goodsid.substring(0, goodsid.length() - 1); - System.out.print("11111111I" + goods); - } else { + } else { goods = goodsid; - System.out.print("22222" + goods); - } } SystemService systemService = ApplicationContextUtil.getContext().getBean(SystemService.class);