1
This commit is contained in:
@@ -1374,11 +1374,11 @@ public class InstructionServiceImpl implements IInstructionService {
|
||||
}
|
||||
}
|
||||
|
||||
// 判断新增/更新
|
||||
// 判断新增/更新:所有入口都优先根据订单号更新(用于刷新数据)
|
||||
JDOrder exists = null;
|
||||
|
||||
// 控制台入口:如果订单号不为空,优先根据订单号查找已存在的订单(用于刷新数据)
|
||||
if (isFromConsole && !isEmpty(order.getOrderId())) {
|
||||
// 如果订单号不为空,优先根据订单号查找已存在的订单(用于刷新数据)
|
||||
if (!isEmpty(order.getOrderId())) {
|
||||
exists = jdOrderService.selectJDOrderByOrderId(order.getOrderId());
|
||||
if (exists != null) {
|
||||
// 根据订单号找到已存在的订单,更新该订单(刷新数据)
|
||||
|
||||
Reference in New Issue
Block a user