/*
* Copyright (c) 京北方信息技术股份有限公司 Corporation 2021 . All rights reserved.
*
*/
package net.northking.cctp.testbug.db.impl;

import net.northking.cctp.testbug.db.dao.BugSearchDao;
import net.northking.cctp.testbug.db.service.BugSearchService;
import net.northking.cctp.testbug.db.entity.BugSearch;

import net.northking.cctp.common.db.BasicDao;
import net.northking.cctp.common.saas.db.TenantEntityService;

import net.northking.cctp.testbug.dto.BugSearchDetailDto;
import net.northking.cctp.testbug.dto.BugSearchQueryDto;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.stereotype.Service;

import java.util.List;


/**
 * 缺陷条件搜索表
 *
 * <p>文件内容由代码生成器产生，请不要手动修改！ <br>
 * createdate:  2021-10-15 09:58:12  <br>
 * @author:  maven-cctp-plugin  <br>
 * @since:  1.0 <br>
 */
@Service
@ConditionalOnMissingBean(name = "BugSearchServiceImpl")
public class BugSearchServiceImpl extends TenantEntityService<BugSearch> implements BugSearchService
{
private static final Logger logger = LoggerFactory.getLogger(BugSearchServiceImpl.class);

  private final BugSearchDao bugSearchDao;

  public BugSearchServiceImpl(BugSearchDao bugSearchDao) {this.bugSearchDao = bugSearchDao;}

  public BasicDao<BugSearch> getDao() {return bugSearchDao;}

  public BugSearch createEntity() { return new BugSearch();}

  @Override
  public List<BugSearchDetailDto> pagingQueryNew(BugSearchQueryDto queryByPage) {
    return bugSearchDao.pagingQuery(queryByPage);
  }







}

