|
|
|
@ -54,6 +54,7 @@ import org.springframework.stereotype.Service;
|
|
|
|
|
|
|
|
|
|
import javax.annotation.Resource;
|
|
|
|
|
import java.util.ArrayList;
|
|
|
|
|
import java.util.Collections;
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
@Service
|
|
|
|
@ -493,6 +494,7 @@ public class UpBasicService {
|
|
|
|
|
if (CollUtil.isNotEmpty(orderEntities)) {
|
|
|
|
|
for (OrderEntity orderEntity : orderEntities) {
|
|
|
|
|
List<WarehouseEntity> codes = codesService.findByReceiptId(orderEntity.getId());
|
|
|
|
|
Collections.reverse(codes);
|
|
|
|
|
if (CollUtil.isNotEmpty(codes)) {
|
|
|
|
|
warehouseEntityList.addAll(codes);
|
|
|
|
|
}
|
|
|
|
|