package com.bohuikeji.delivery.backstage.service;


import com.alibaba.fastjson.JSONArray;
import com.alibaba.fastjson.JSONObject;
import com.bohuikeji.delivery.backstage.entity.rental.TRentalCarOrder;
import com.bohuikeji.frame.module.admin.base.ServiceBase;

import java.time.LocalDateTime;

public interface ITRentalCarOrderService extends ServiceBase<TRentalCarOrder> {

    /**
     * 租车计费
     * @return
     */
    TRentalCarOrder getCarOrderCharg(TRentalCarOrder rentalCarOrder);

    JSONArray getDateTimeArray(LocalDateTime takeCarTime, LocalDateTime stillCarTime);
}
