|
|
@ -462,9 +462,9 @@ public class StockTakingServiceImpl implements StockTakingService { |
|
|
public void run() { |
|
|
public void run() { |
|
|
// 获取盘点人员
|
|
|
// 获取盘点人员
|
|
|
UserByPort originator = LinkInterfaceUtil.FindUserById(mainRecord.getOriginator(), userToken); |
|
|
UserByPort originator = LinkInterfaceUtil.FindUserById(mainRecord.getOriginator(), userToken); |
|
|
String workwechat = originator.getWorkwechat(); |
|
|
// String workwechat = originator.getWorkwechat();
|
|
|
JSONObject jsonObject = qyWxOperationService.sendQyWxToStockTakingMessage("PangFuZhen,", mainId, normalMinId, userAgent); |
|
|
JSONObject jsonObject = qyWxOperationService.sendQyWxToStockTakingMessage("PangFuZhen,", mainId, normalMinId, userAgent); |
|
|
// JSONObject jsonObject = qyWxOperationService.sendQyWxToStockTakingMessage(workwechat, mainId,normalMinId);
|
|
|
// JSONObject jsonObject = qyWxOperationService.sendQyWxToStockTakingMessage(workwechat, mainId, normalMinId, userAgent);
|
|
|
// 将当前返回结果保存到redis中
|
|
|
// 将当前返回结果保存到redis中
|
|
|
if (jsonObject != null) { |
|
|
if (jsonObject != null) { |
|
|
Map<String, Object> QyWxMessageMap = new HashMap<>(); |
|
|
Map<String, Object> QyWxMessageMap = new HashMap<>(); |
|
|
@ -1312,9 +1312,9 @@ public class StockTakingServiceImpl implements StockTakingService { |
|
|
public void run() { |
|
|
public void run() { |
|
|
// 获取盘点人员
|
|
|
// 获取盘点人员
|
|
|
UserByPort originator = LinkInterfaceUtil.FindUserById(mainRecord.getOriginator(), null); |
|
|
UserByPort originator = LinkInterfaceUtil.FindUserById(mainRecord.getOriginator(), null); |
|
|
String workwechat = originator.getWorkwechat(); |
|
|
// String workwechat = originator.getWorkwechat();
|
|
|
JSONObject jsonObject = qyWxOperationService.sendQyWxToStockTakingMessage("PangFuZhen,", ObjectFormatUtil.toInteger(mainId), normalMinId, userAgent); |
|
|
JSONObject jsonObject = qyWxOperationService.sendQyWxToStockTakingMessage("PangFuZhen,", ObjectFormatUtil.toInteger(mainId), normalMinId, userAgent); |
|
|
// JSONObject jsonObject = qyWxOperationService.sendQyWxToStockTakingMessage(workwechat, mainId,normalMinId);
|
|
|
// JSONObject jsonObject = qyWxOperationService.sendQyWxToStockTakingMessage(workwechat, ObjectFormatUtil.toInteger(mainId), normalMinId, userAgent);
|
|
|
// 将当前返回结果保存到redis中
|
|
|
// 将当前返回结果保存到redis中
|
|
|
if (jsonObject != null) { |
|
|
if (jsonObject != null) { |
|
|
Map<String, Object> QyWxMessageMap = new HashMap<>(); |
|
|
Map<String, Object> QyWxMessageMap = new HashMap<>(); |
|
|
@ -1755,7 +1755,7 @@ public class StockTakingServiceImpl implements StockTakingService { |
|
|
UserByPort originator = LinkInterfaceUtil.FindUserById(mainRecord.getOriginator(), null); |
|
|
UserByPort originator = LinkInterfaceUtil.FindUserById(mainRecord.getOriginator(), null); |
|
|
// String workwechat = originator.getWorkwechat();
|
|
|
// String workwechat = originator.getWorkwechat();
|
|
|
JSONObject jsonObject = qyWxOperationService.sendQyWxToStockTakingMessage("PangFuZhen,", mainId, normalMinIds, userAgent); |
|
|
JSONObject jsonObject = qyWxOperationService.sendQyWxToStockTakingMessage("PangFuZhen,", mainId, normalMinIds, userAgent); |
|
|
// JSONObject jsonObject = qyWxOperationService.sendQyWxToStockTakingMessage(workwechat, mainId, normalMinIds);
|
|
|
// JSONObject jsonObject = qyWxOperationService.sendQyWxToStockTakingMessage(workwechat, mainId, normalMinIds, userAgent);
|
|
|
if (jsonObject != null) { |
|
|
if (jsonObject != null) { |
|
|
// 将当前返回结果保存到redis中
|
|
|
// 将当前返回结果保存到redis中
|
|
|
Map<String, Object> QyWxMessageMap = new HashMap<>(); |
|
|
Map<String, Object> QyWxMessageMap = new HashMap<>(); |
|
|
@ -1779,7 +1779,7 @@ public class StockTakingServiceImpl implements StockTakingService { |
|
|
UserByPort originator = LinkInterfaceUtil.FindUserById(mainRecord.getOriginator(), null); |
|
|
UserByPort originator = LinkInterfaceUtil.FindUserById(mainRecord.getOriginator(), null); |
|
|
// String workwechat = originator.getWorkwechat();
|
|
|
// String workwechat = originator.getWorkwechat();
|
|
|
qyWxOperationService.sendStockTakingErrMessageToHead("PangFuZhen,", errIds, mainRecord, null, userAgent); |
|
|
qyWxOperationService.sendStockTakingErrMessageToHead("PangFuZhen,", errIds, mainRecord, null, userAgent); |
|
|
// qyWxOperationService.sendStockTakingErrMessageToHead(workwechat, errIds, mainRecord,null);
|
|
|
// qyWxOperationService.sendStockTakingErrMessageToHead(workwechat, errIds, mainRecord, null, userAgent);
|
|
|
} |
|
|
} |
|
|
}).start(); |
|
|
}).start(); |
|
|
} |
|
|
} |
|
|
|