package com.yeejoin.amos.boot.module.ymt.flc.biz.service.impl;

import java.util.List;

import org.springframework.stereotype.Service;
import org.typroject.tyboot.core.rdbms.service.BaseService;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.yeejoin.amos.boot.module.ymt.flc.api.dto.CylinderInspectionDto;
import com.yeejoin.amos.boot.module.ymt.flc.api.entity.CylinderInfo;
import com.yeejoin.amos.boot.module.ymt.flc.api.entity.CylinderInspection;
import com.yeejoin.amos.boot.module.ymt.flc.api.mapper.CylinderInspectionMapper;
import com.yeejoin.amos.boot.module.ymt.flc.api.service.ICylinderInspectionService;

/**
 * 气瓶检验信息服务实现类
 *
 * @author system_generator
 * @date 2022-03-04
 */
@Service
public class CylinderInspectionServiceImpl
		extends BaseService<CylinderInspectionDto, CylinderInspection, CylinderInspectionMapper>
		implements ICylinderInspectionService {
	/**
	 * 分页查询
	 */
	public Page<CylinderInspectionDto> queryForCylinderInspectionPage(Page<CylinderInspectionDto> page) {
		return this.queryForPage(page, null, false);
	}

	/**
	 * 列表查询 示例
	 */
	public List<CylinderInspectionDto> queryForCylinderInspectionList() {
		return this.queryForList("", false);
	}

	/**
	 * 列表查询 示例
	 */
	public Page<CylinderInfo> queryOutOfDateCylinder(Page<CylinderInfo> pageBean,String appId) {
		return this.baseMapper.queryOutOfDateCylinder(pageBean,appId);
	}
}