Browse Source

修改出库申请时开放仓库的问题

lwx_dev
erdanergou 3 years ago
parent
commit
b8fbe226b0
  1. 8
      src/main/java/com/dreamchaser/depository_manage/service/impl/StockTakingServiceImpl.java

8
src/main/java/com/dreamchaser/depository_manage/service/impl/StockTakingServiceImpl.java

@ -576,7 +576,7 @@ public class StockTakingServiceImpl implements StockTakingService {
// workwechat = originator.getWechat(); // workwechat = originator.getWechat();
// } // }
JSONObject jsonObject = qyWxOperationService.sendQyWxToStockTakingMessage("PangFuZhen,", mainId, normalMinId, userAgent,userKey,token); JSONObject jsonObject = qyWxOperationService.sendQyWxToStockTakingMessage("PangFuZhen,", mainId, normalMinId, userAgent,userKey,token);
// JSONObject jsonObject = qyWxOperationService.sendQyWxToStockTakingMessage(workwechat, mainId, normalMinId, userAgent); // JSONObject jsonObject = qyWxOperationService.sendQyWxToStockTakingMessage(workwechat, mainId, normalMinId, userAgent,userKey,token);
// 将当前返回结果保存到redis中 // 将当前返回结果保存到redis中
if (jsonObject != null) { if (jsonObject != null) {
Map<String, Object> QyWxMessageMap = new HashMap<>(); Map<String, Object> QyWxMessageMap = new HashMap<>();
@ -1861,7 +1861,7 @@ public class StockTakingServiceImpl implements StockTakingService {
// workwechat = originator.getWechat(); // workwechat = originator.getWechat();
// } // }
JSONObject jsonObject = qyWxOperationService.sendQyWxToStockTakingMessage("PangFuZhen,", ObjectFormatUtil.toInteger(mainId), normalMinId, userAgent,userKey,token); JSONObject jsonObject = qyWxOperationService.sendQyWxToStockTakingMessage("PangFuZhen,", ObjectFormatUtil.toInteger(mainId), normalMinId, userAgent,userKey,token);
// JSONObject jsonObject = qyWxOperationService.sendQyWxToStockTakingMessage(workwechat, ObjectFormatUtil.toInteger(mainId), normalMinId, userAgent); // JSONObject jsonObject = qyWxOperationService.sendQyWxToStockTakingMessage(workwechat, ObjectFormatUtil.toInteger(mainId), normalMinId,userAgent,userKey,token);
// 将当前返回结果保存到redis中 // 将当前返回结果保存到redis中
if (jsonObject != null) { if (jsonObject != null) {
Map<String, Object> QyWxMessageMap = new HashMap<>(); Map<String, Object> QyWxMessageMap = new HashMap<>();
@ -2922,7 +2922,7 @@ public class StockTakingServiceImpl implements StockTakingService {
// workwechat = originator.getWechat(); // workwechat = originator.getWechat();
// } // }
JSONObject jsonObject = qyWxOperationService.sendQyWxToStockTakingMessage("PangFuZhen,", mainId, normalMinIds, userAgent,userkey,token); JSONObject jsonObject = qyWxOperationService.sendQyWxToStockTakingMessage("PangFuZhen,", mainId, normalMinIds, userAgent,userkey,token);
// JSONObject jsonObject = qyWxOperationService.sendQyWxToStockTakingMessage(workwechat, mainId, normalMinIds, userAgent); // JSONObject jsonObject = qyWxOperationService.sendQyWxToStockTakingMessage(workwechat, mainId, normalMinIds, userAgent,userkey,token);
if (jsonObject != null) { if (jsonObject != null) {
// 将当前返回结果保存到redis中 // 将当前返回结果保存到redis中
Map<String, Object> QyWxMessageMap = new HashMap<>(); Map<String, Object> QyWxMessageMap = new HashMap<>();
@ -2946,7 +2946,7 @@ public class StockTakingServiceImpl implements StockTakingService {
// workwechat = originator.getWechat(); // workwechat = originator.getWechat();
// } // }
qyWxOperationService.sendStockTakingErrMessageToHead("PangFuZhen,", errIds, mainRecord, null, userAgent,userkey,token); qyWxOperationService.sendStockTakingErrMessageToHead("PangFuZhen,", errIds, mainRecord, null, userAgent,userkey,token);
// qyWxOperationService.sendStockTakingErrMessageToHead(workwechat, errIds, mainRecord, null, userAgent); // qyWxOperationService.sendStockTakingErrMessageToHead(workwechat, errIds, mainRecord, null, userAgent,userkey,token);
}); });
} }
} else { } else {

Loading…
Cancel
Save