package com.tofly.ghrq_route.module.rushrepair.controller;

import com.tofly.ghrq_route.module.buildManage.domain.BuildManagerBean;
import com.tofly.ghrq_route.module.rushrepair.domain.RushRepairBean;
import com.tofly.ghrq_route.module.rushrepair.domain.RushRepairBeanList;

import java.util.List;

public interface IRushRepairCallback {

    /**
     * 方法名： onUploadBuildHandle <br>
     * 功能：返回uploadBuildHandle的结果<br>
     * 参数： isSuccess,是否成功;errorCode 错误码  ;errMsg:错误提示语;
     * 返回值： void<br>
     * 异常：
     */
    public void onRushBack(boolean isSuccess, int errorCode, String errMsg);

    public void onAddBuildManage(boolean isSuccess, int errorCode, String errMsg);

    void onRepairList(boolean isSuccess, int errorCode, String errMsg, List<RushRepairBean> buildManageList, int total);

    public void onRepairDetail(boolean isSuccess, int errorCode, String errMsg, RushRepairBeanList buildManage, int total);

    /**
     * 获取工地负责人列表
     *
     * @param isSuccess
     * @param errCode
     * @param errMsg
     * @param dataList
     */
    void onRushrenList(boolean isSuccess, int errCode, String errMsg, List<BuildManagerBean> dataList);
}
