package com.zhongdao.jlr.business.dao;

import com.dubh.common.dao.Dao;
import com.util.Vo;
import com.zhongdao.jlr.business.vo.UserOrderViewVO;
import org.json.JSONObject;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

public interface CaseDao extends Dao {

    /**
     * 救援工单信息
     *
     * @param
     * @return 用户信息
     */
    Vo casesListService(String state,HttpServletRequest request,  String caseCode, String frame_code, String
            rescueState,String createTime, String finishTime, String companyName,String plateNumber);

    /***
     * 获取进店救援案件信息
     * @param request
     * @param caseCode
     * @param frame_code
     * @param createTime
     * @param finishTime
     * @return
     */
    Vo caseEnterQuery(String state,HttpServletRequest request,String caseCode,String frame_code,String createTime,String finishTime);

    /***
     * 获取缺失维修信息进店救援案件信息
     * @return
     */
    Vo caseEnterQueryRepair(HttpServletRequest request);

    /***
     * 获取路修救援案件信息
     * @param request
     * @param caseCode
     * @param frame_code
     * @param createTime
     * @param finishTime
     * @return
     */
    Vo caseRepairQuery(String state,HttpServletRequest request,String caseCode,String frame_code,String createTime,String finishTime);


    /****
     * 获取进店案件详情信息
     * @return
     */
    Vo caseEnterInfo(HttpServletRequest request,String caseCode,String tid);

    /****
     * 获取路修案件详情信息
     * @return
     */
    Vo caseRepairInfo(HttpServletRequest request,String caseCode,String tid);

    /*
    * 故障三级信息
    */
    JSONObject getTroubleCode(HttpServletRequest request) throws Exception;

    /*
   * 详细页面保存
   */
    JSONObject caseDetailSave(HttpServletRequest request) throws Exception;
}
