package com.zd.bottle.service;

import com.zd.bottle.domain.UsegasApply;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zd.bottle.vo.AirAmount;
import com.zd.bottle.vo.UsegasApplyTabVo;
import com.zd.bottle.vo.UsegasApplyVo;

import java.util.List;

/**
 * <p>
 * 用气申请表 服务类
 * </p>
 *
 * @author hanson
 * @since 2022-09-08
 */
public interface UsegasApplyService extends IService<UsegasApply> {

    /**
     * 查询申请用气列表
     * @param usegasApply 实体
     * @return List
     */
    List <UsegasApplyVo> selectUseagsApplyList(UsegasApply usegasApply);

    /**
     * 查询申请用气不同类型统计的数量
     * @param usegasApply 实体
     * @return UsegasApplyTabVo
     */
    UsegasApplyTabVo selectApplyTabCount(UsegasApply usegasApply);

    /**
     * 用气申请统计
     * @param airName 气体名称
     * @return List<AirAmount>
     */
    List<AirAmount> calcApply(String airName);

}
