package com.yeejoin.equipmanage.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yeejoin.equipmanage.common.entity.ExtinguishantOnCar;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 *  Mapper 接口
 *
 * @author wujiang
 * @date 2020-07-07
 */
public interface ExtinguishantOnCarMapper extends BaseMapper<ExtinguishantOnCar> {

	//获取损耗车辆列表
	 List<Map<String, Object>>  queryExtinguishantOnCarlist(@Param("list") List<String> list);
	//查询车辆装载
     List<Map<String,Object>> getCarExtinguishants(@Param("code") String code, @Param("carId") Long carId ,@Param("start") Long start,
				@Param("page") Long page,@Param("codedate") String codedate);
     int getCarExtinguishantscount(@Param("code") String code, @Param("carId") Long carId,@Param("codedate") String codedate );
}
