|
|
|
@ -375,7 +375,7 @@ public class OrderServiceImpl implements OrderService {
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//通过源单据查询所有关联的单据数据
|
|
|
|
|
public void getLinkedOrderId(String id, List<String> orderIds) {
|
|
|
|
|
public void getLinkedOrderId(String id, Set<String> orderIds) {
|
|
|
|
|
List<String> list = getOneOrderById(id);
|
|
|
|
|
if (!orderIds.containsAll(list)) {
|
|
|
|
|
//找出不包含在原有集合中的单据号,回调方法
|
|
|
|
@ -421,7 +421,7 @@ public class OrderServiceImpl implements OrderService {
|
|
|
|
|
*/
|
|
|
|
|
@Override
|
|
|
|
|
public List<OrderEntity> getAllOrder(OrderEntity orderEntity) {
|
|
|
|
|
List<String> orderIds = new ArrayList<>();
|
|
|
|
|
Set<String> orderIds = new HashSet<>();
|
|
|
|
|
orderIds.add(orderEntity.getId());
|
|
|
|
|
|
|
|
|
|
getLinkedOrderId(orderEntity.getId(), orderIds);
|
|
|
|
|