package com.yeejoin.amos.boot.module.ccs.biz.service.impl;

import com.yeejoin.amos.boot.module.ccs.api.entity.FireFightingSystem;
import com.yeejoin.amos.boot.module.ccs.api.mapper.FireFightingSystemMapper;
import com.yeejoin.amos.boot.module.ccs.api.service.IFireFightingSystemService;
import com.yeejoin.amos.boot.module.ccs.api.dto.FireFightingSystemDto;
import org.typroject.tyboot.core.rdbms.annotation.Condition;
import org.typroject.tyboot.core.rdbms.annotation.Operator;
import org.typroject.tyboot.core.rdbms.service.BaseService;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;

import javax.ws.rs.OPTIONS;
import java.util.List;

/**
 * 消防系统信息服务实现类
 *
 * @author system_generator
 * @date 2021-11-09
 */
@Service
public class FireFightingSystemServiceImpl extends BaseService<FireFightingSystemDto,FireFightingSystem,FireFightingSystemMapper> implements IFireFightingSystemService {
    /**
     * 分页查询
     */
    public Page<FireFightingSystemDto> queryForFireFightingSystemPage(Page<FireFightingSystemDto> page)   {
        return this.queryForPage(page, null, false);
    }

    /**
     * 列表查询 示例
     */
    public List<FireFightingSystemDto> queryForFireFightingSystemList(@Condition(Operator.like) String bizOrgCode)   {
        return this.queryForList("" , false,bizOrgCode);
    }
}