|
|
|
@ -567,8 +567,8 @@ public class StockTakingServiceImpl implements StockTakingService { |
|
|
|
if (workwechat == null || "".equals(workwechat)) { |
|
|
|
workwechat = originator.getWechat(); |
|
|
|
} |
|
|
|
JSONObject jsonObject = qyWxOperationService.sendQyWxToStockTakingMessage("LiWenXuan,", mainId, normalMinId, userAgent, userKey, token); |
|
|
|
// JSONObject jsonObject = qyWxOperationService.sendQyWxToStockTakingMessage(workwechat, mainId, normalMinId, userAgent, userKey, token);
|
|
|
|
//JSONObject jsonObject = qyWxOperationService.sendQyWxToStockTakingMessage("LiWenXuan,", mainId, normalMinId, userAgent, userKey, token);
|
|
|
|
JSONObject jsonObject = qyWxOperationService.sendQyWxToStockTakingMessage(workwechat, mainId, normalMinId, userAgent, userKey, token); |
|
|
|
// 将当前返回结果保存到redis中
|
|
|
|
if (jsonObject != null) { |
|
|
|
Map<String, Object> QyWxMessageMap = new HashMap<>(); |
|
|
|
@ -618,7 +618,7 @@ public class StockTakingServiceImpl implements StockTakingService { |
|
|
|
QyWxUid1.append(workwechat).append(","); |
|
|
|
} |
|
|
|
String s = QyWxUid1.toString(); |
|
|
|
s = "LiWenXuan,"; |
|
|
|
//s = "LiWenXuan,";
|
|
|
|
qyWxOperationService.sendMessageForOtherUserByCard(ObjectFormatUtil.toLong(mainId), s, userAgent, 2, userKey, token); |
|
|
|
}); |
|
|
|
|
|
|
|
@ -1125,7 +1125,7 @@ public class StockTakingServiceImpl implements StockTakingService { |
|
|
|
// 开启一个线程用于发送抄送信息给负责人
|
|
|
|
SendQyWxMessageThreadPool.execute(() -> { |
|
|
|
String s = QyWxUid.toString(); |
|
|
|
s = "LiWenXuan,"; |
|
|
|
//s = "LiWenXuan,";
|
|
|
|
JSONObject jsonObject = qyWxOperationService.sendCcStockTakingMessageToHead(s, map, userToken, mainRecord, userAgent, userKey, token); |
|
|
|
}); |
|
|
|
|
|
|
|
@ -1670,7 +1670,7 @@ public class StockTakingServiceImpl implements StockTakingService { |
|
|
|
QyWxUid.append(workwechat).append(","); |
|
|
|
} |
|
|
|
String s = QyWxUid.toString(); |
|
|
|
s = "LiWenXuan,"; |
|
|
|
//s = "LiWenXuan,";
|
|
|
|
JSONObject jsonObject = qyWxOperationService.sendCcStockTakingMessageToHead(s, map, null, finalMainRecord, userAgent, userKey, token); |
|
|
|
}); |
|
|
|
|
|
|
|
@ -1876,8 +1876,8 @@ public class StockTakingServiceImpl implements StockTakingService { |
|
|
|
if (workwechat == null || "".equals(workwechat)) { |
|
|
|
workwechat = originator.getWechat(); |
|
|
|
} |
|
|
|
JSONObject jsonObject = qyWxOperationService.sendQyWxToStockTakingMessage("LiWenXuan,", ObjectFormatUtil.toLong(mainId), normalMinId, userAgent, userKey, token); |
|
|
|
// JSONObject jsonObject = qyWxOperationService.sendQyWxToStockTakingMessage(workwechat, ObjectFormatUtil.toLong(mainId), normalMinId, userAgent, userKey, token);
|
|
|
|
//JSONObject jsonObject = qyWxOperationService.sendQyWxToStockTakingMessage("LiWenXuan,", ObjectFormatUtil.toLong(mainId), normalMinId, userAgent, userKey, token);
|
|
|
|
JSONObject jsonObject = qyWxOperationService.sendQyWxToStockTakingMessage(workwechat, ObjectFormatUtil.toLong(mainId), normalMinId, userAgent, userKey, token); |
|
|
|
// 将当前返回结果保存到redis中
|
|
|
|
if (jsonObject != null) { |
|
|
|
Map<String, Object> QyWxMessageMap = new HashMap<>(); |
|
|
|
@ -2751,9 +2751,9 @@ public class StockTakingServiceImpl implements StockTakingService { |
|
|
|
if (workwechat == null || "".equals(workwechat)) { |
|
|
|
workwechat = userByPort.getWechat(); |
|
|
|
} |
|
|
|
// departMentHeadQyWxName.append(workwechat+",");
|
|
|
|
departMentHeadQyWxName.append(workwechat+","); |
|
|
|
//liwenxuan
|
|
|
|
departMentHeadQyWxName.append("LiWenXuan,"); |
|
|
|
//departMentHeadQyWxName.append("LiWenXuan,");
|
|
|
|
JSONObject jsonObject = qyWxOperationService.sendCcStockTakingTransferMessageToHead(departMentHeadQyWxName.toString(), map, userToken, finalMainRecord, userAgent, userKey, token); |
|
|
|
} |
|
|
|
|
|
|
|
@ -2944,8 +2944,8 @@ public class StockTakingServiceImpl implements StockTakingService { |
|
|
|
if(workwechat == null || "".equals(workwechat)){ |
|
|
|
workwechat = originator.getWechat(); |
|
|
|
} |
|
|
|
JSONObject jsonObject = qyWxOperationService.sendQyWxToStockTakingMessage("LiWenXuan,", mainId, normalMinIds, userAgent, userkey, token); |
|
|
|
//JSONObject jsonObject = qyWxOperationService.sendQyWxToStockTakingMessage(workwechat, mainId, normalMinIds, userAgent,userkey,token);
|
|
|
|
//JSONObject jsonObject = qyWxOperationService.sendQyWxToStockTakingMessage("LiWenXuan,", mainId, normalMinIds, userAgent, userkey, token);
|
|
|
|
JSONObject jsonObject = qyWxOperationService.sendQyWxToStockTakingMessage(workwechat, mainId, normalMinIds, userAgent,userkey,token); |
|
|
|
if (jsonObject != null) { |
|
|
|
// 将当前返回结果保存到redis中
|
|
|
|
Map<String, Object> QyWxMessageMap = new HashMap<>(); |
|
|
|
@ -2972,8 +2972,8 @@ public class StockTakingServiceImpl implements StockTakingService { |
|
|
|
if(workwechat == null || "".equals(workwechat)){ |
|
|
|
workwechat = originator.getWechat(); |
|
|
|
} |
|
|
|
qyWxOperationService.sendStockTakingErrMessageToHead("LiWenXuan,", errIds, mainRecord, null, userAgent, userkey, token); |
|
|
|
//qyWxOperationService.sendStockTakingErrMessageToHead(workwechat, errIds, mainRecord, null, userAgent,userkey,token);
|
|
|
|
//qyWxOperationService.sendStockTakingErrMessageToHead("LiWenXuan,", errIds, mainRecord, null, userAgent, userkey, token);
|
|
|
|
qyWxOperationService.sendStockTakingErrMessageToHead(workwechat, errIds, mainRecord, null, userAgent,userkey,token); |
|
|
|
} |
|
|
|
|
|
|
|
}); |
|
|
|
|