|
|
@ -462,7 +462,7 @@ public class DepositoryRecordController { |
|
|
departmentHeadId.append("78").append(","); |
|
|
departmentHeadId.append("78").append(","); |
|
|
departMentHeadQyWxName.append("PangFuZhen").append(","); |
|
|
departMentHeadQyWxName.append("PangFuZhen").append(","); |
|
|
if (Integer.compare(userToken.getMaindeparment(), 361) == 0) { |
|
|
if (Integer.compare(userToken.getMaindeparment(), 361) == 0) { |
|
|
departmentHeadId = new StringBuilder(userToken.getId()); |
|
|
departmentHeadId = new StringBuilder(userToken.getId().toString()); |
|
|
String workwechat = userToken.getWorkwechat(); |
|
|
String workwechat = userToken.getWorkwechat(); |
|
|
if(workwechat == null || "".equals(workwechat)){ |
|
|
if(workwechat == null || "".equals(workwechat)){ |
|
|
workwechat = userToken.getWechat(); |
|
|
workwechat = userToken.getWechat(); |
|
|
@ -999,7 +999,7 @@ public class DepositoryRecordController { |
|
|
departmentHeadId.append("78").append(","); |
|
|
departmentHeadId.append("78").append(","); |
|
|
departMentHeadQyWxName.append("PangFuZhen").append(","); |
|
|
departMentHeadQyWxName.append("PangFuZhen").append(","); |
|
|
if (Integer.compare(userToken.getMaindeparment(), 361) == 0) { |
|
|
if (Integer.compare(userToken.getMaindeparment(), 361) == 0) { |
|
|
departmentHeadId = new StringBuilder(userToken.getId()); |
|
|
departmentHeadId = new StringBuilder(userToken.getId().toString()); |
|
|
String workwechat = userToken.getWorkwechat(); |
|
|
String workwechat = userToken.getWorkwechat(); |
|
|
if(workwechat == null || "".equals(workwechat)){ |
|
|
if(workwechat == null || "".equals(workwechat)){ |
|
|
workwechat = userToken.getWechat(); |
|
|
workwechat = userToken.getWechat(); |
|
|
@ -1305,7 +1305,7 @@ public class DepositoryRecordController { |
|
|
departmentHeadId.append("78").append(","); |
|
|
departmentHeadId.append("78").append(","); |
|
|
departMentHeadQyWxName.append("PangFuZhen").append(","); |
|
|
departMentHeadQyWxName.append("PangFuZhen").append(","); |
|
|
if (Integer.compare(userToken.getMaindeparment(), 361) == 0) { |
|
|
if (Integer.compare(userToken.getMaindeparment(), 361) == 0) { |
|
|
departmentHeadId = new StringBuilder(userToken.getId()); |
|
|
departmentHeadId = new StringBuilder(userToken.getId().toString()); |
|
|
String workwechat = userToken.getWorkwechat(); |
|
|
String workwechat = userToken.getWorkwechat(); |
|
|
if(workwechat == null || "".equals(workwechat)){ |
|
|
if(workwechat == null || "".equals(workwechat)){ |
|
|
workwechat = userToken.getWechat(); |
|
|
workwechat = userToken.getWechat(); |
|
|
@ -1453,7 +1453,7 @@ public class DepositoryRecordController { |
|
|
departmentHeadId.append("78").append(","); |
|
|
departmentHeadId.append("78").append(","); |
|
|
departMentHeadQyWxName.append("PangFuZhen").append(","); |
|
|
departMentHeadQyWxName.append("PangFuZhen").append(","); |
|
|
if (Integer.compare(userToken.getMaindeparment(), 361) == 0) { |
|
|
if (Integer.compare(userToken.getMaindeparment(), 361) == 0) { |
|
|
departmentHeadId = new StringBuilder(userToken.getId()); |
|
|
departmentHeadId = new StringBuilder(userToken.getId().toString()); |
|
|
String workwechat = userToken.getWorkwechat(); |
|
|
String workwechat = userToken.getWorkwechat(); |
|
|
if(workwechat == null || "".equals(workwechat)){ |
|
|
if(workwechat == null || "".equals(workwechat)){ |
|
|
workwechat = userToken.getWechat(); |
|
|
workwechat = userToken.getWechat(); |
|
|
@ -1488,7 +1488,7 @@ public class DepositoryRecordController { |
|
|
// 获取当前仓库所有库位
|
|
|
// 获取当前仓库所有库位
|
|
|
List<Place> placeByDid = placeService.findPlaceByDid(depositoryId); |
|
|
List<Place> placeByDid = placeService.findPlaceByDid(depositoryId); |
|
|
// 遍历当前物料存储的库位
|
|
|
// 遍历当前物料存储的库位
|
|
|
for (int j = 1; j < s.length; j++) { |
|
|
for (int j = 0; j < s.length; j++) { |
|
|
// 获取当前库位
|
|
|
// 获取当前库位
|
|
|
for (Place place1 : placeByDid) { |
|
|
for (Place place1 : placeByDid) { |
|
|
if (s[j].equals(place1.getCode())) { |
|
|
if (s[j].equals(place1.getCode())) { |
|
|
|