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

import net.northking.cctp.common.db.BasicDao;
import net.northking.cctp.common.saas.db.TenantPaginationService;
import net.northking.cctp.project.db.dao.CpProjectEnvSysDao;
import net.northking.cctp.project.db.entity.CpProjectEnvSys;
import net.northking.cctp.project.db.service.CpProjectEnvSysService;
import net.northking.cctp.project.dto.env.CpProjectEnvSysDeleteDto;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.stereotype.Service;


/**
 * 系统环境被测系统信息
 *
 * <p>文件内容由代码生成器产生，请不要手动修改！ <br>
 * createdate:  2023-10-06 16:08:57  <br>
 * @author:  maven-cctp-plugin  <br>
 * @since:  1.0 <br>
 */
@Service
@ConditionalOnMissingBean(name = "CpProjectEnvSysServiceImpl")
public class CpProjectEnvSysServiceImpl extends TenantPaginationService<CpProjectEnvSys> implements CpProjectEnvSysService
{
private static final Logger logger = LoggerFactory.getLogger(CpProjectEnvSysServiceImpl.class);

  private final CpProjectEnvSysDao cpProjectEnvSysDao;

  public CpProjectEnvSysServiceImpl(CpProjectEnvSysDao cpProjectEnvSysDao) {this.cpProjectEnvSysDao = cpProjectEnvSysDao;}

  public BasicDao<CpProjectEnvSys> getDao() {return cpProjectEnvSysDao;}

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

    @Override
    public int deleteByProjectIdNoInEnvIds(CpProjectEnvSysDeleteDto deleteDto) {
        return this.cpProjectEnvSysDao.deleteByProjectIdNoInEnvIds(deleteDto);
    }


// ----      The End by Generator     ----//




}

