package com.yeejoin.amos.boot.module.ymt.flc.api.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.yeejoin.amos.boot.module.ymt.flc.api.entity.CylinderFillingCheck;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

/**
 * 液化气体气瓶充装信息-充装后复查 Mapper 接口
 *
 * @author system_generator
 * @date 2022-03-04
 */
public interface CylinderFillingCheckMapper extends BaseMapper<CylinderFillingCheck> {

    Double queryIntegirtyByAppId(String appId);

    Integer getFillingCountByMonth(@Param("appId") String appId, @Param("time") Date time);

    Integer getFillingPassedCountByMonth(@Param("appId") String appId, @Param("time") Date time);
}
