package com.heyu.api.data.service.vv;


import com.heyu.api.data.entity.vv.VvTradeOrderEntity;
import com.heyu.api.data.entity.vv.VvTradeOrderLineEntity;
import com.heyu.api.data.kuaidi100.AppPackageDTO;
import com.heyu.api.data.kuaidi100.VVOrderListResp;

import java.util.List;

public interface VvTradeOrderConvertService {
    List<VVOrderListResp> convertTradeOrderLineResp(List<VvTradeOrderEntity> vvTradeOrderEntities,
                                                    List<VvTradeOrderLineEntity> list, boolean isApp);


    public int addOrderLineStatusLogList(List<Long> tradeOrderLineId, Object status,
                                         Long changeUserId ,
                                         String changeStatusUser, String... reason);


    int addOrderLineStatusLog(Long tradeOrderLineId,
                              Object status,
                              Long changeStatusUserId,
                              String changeStatusUser,

                              String... reason

    );


    List<AppPackageDTO> buildAppPackageDTO(List<VVOrderListResp> vvOrderListResps);
}
