|
|
|
@ -1985,6 +1985,7 @@ public class AftersalesWorkOrderServiceImpl extends BaseServiceImpl<AftersalesWo
|
|
|
|
|
List<AftersalesCustomerMallEntity> aftersalesCustomerMallList = aftersalesCustomerMallMapper.getByWarehouseCode(myCurrentWarehouse.getId().toString()); |
|
|
|
|
if (aftersalesCustomerMallList.isEmpty()){ |
|
|
|
|
log.info("没有客服信息!!!"); |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
AftersalesCustomerMallEntity finalChoice = null; //最终 确定的AftersalesCustomerMallEntity
|
|
|
|
|
for (AftersalesCustomerMallEntity aftersalesCustomerMallEntity : aftersalesCustomerMallList) { |
|
|
|
@ -1993,7 +1994,7 @@ public class AftersalesWorkOrderServiceImpl extends BaseServiceImpl<AftersalesWo
|
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
// 如果存在条件为1的项,则使用创建时间最早的作为选择
|
|
|
|
|
// 如果存在条件为1的项,则使用创建时 间最早的作为选择
|
|
|
|
|
|
|
|
|
|
if (finalChoice == null) { |
|
|
|
|
AftersalesCustomerMallEntity lastCustomerMall = aftersalesCustomerMallList.get(0); |
|
|
|
|