#
Junjie
2024-11-28 a19133219811f9286fa71a0fb8c1deb628cf74a3
zy-asrs-wms/src/main/java/com/zy/asrs/wms/asrs/service/impl/OrderDetlServiceImpl.java
@@ -10,6 +10,7 @@
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.Collections;
import java.util.List;
@Service("orderDetlService")
@@ -27,4 +28,13 @@
        }
        return orderDetls;
    }
    @Override
    public List<OrderDetl> parseDetl(List<OrderDetl> orderDetls) {
        for (OrderDetl orderDetl : orderDetls) {
            List<OrderDetlField> list = orderDetlFieldService.list(new LambdaQueryWrapper<OrderDetlField>().eq(OrderDetlField::getDetlId, orderDetl.getId()));
            orderDetl.syncField(list);
        }
        return orderDetls;
    }
}