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

import net.northking.cctp.scriptcase.db.dao.MqSynchronizeTaskDao;
import net.northking.cctp.scriptcase.db.service.MqSynchronizeTaskService;
import net.northking.cctp.scriptcase.db.entity.MqSynchronizeTask;

import net.northking.cctp.common.db.BasicDao;
import net.northking.cctp.common.db.PaginationService;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.stereotype.Service;

import java.util.List;


/**
 * dw同步表
 *
 * <p>文件内容由代码生成器产生，请不要手动修改！ <br>
 * createdate:  2022-11-24 12:13:20  <br>
 * @author:  maven-cctp-plugin  <br>
 * @since:  1.0 <br>
 */
@Service
@ConditionalOnMissingBean(name = "MqSynchronizeTaskServiceImpl")
public class MqSynchronizeTaskServiceImpl extends PaginationService<MqSynchronizeTask> implements MqSynchronizeTaskService
{
private static final Logger logger = LoggerFactory.getLogger(MqSynchronizeTaskServiceImpl.class);

  private final MqSynchronizeTaskDao mqSynchronizeTaskDao;

  public MqSynchronizeTaskServiceImpl(MqSynchronizeTaskDao mqSynchronizeTaskDao) {this.mqSynchronizeTaskDao = mqSynchronizeTaskDao;}

  public BasicDao<MqSynchronizeTask> getDao() {return mqSynchronizeTaskDao;}

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

  @Override
  protected void beforeInsert(MqSynchronizeTask mqSynchronizeTask) {

  }

  @Override
  protected void beforeUpdate(MqSynchronizeTask mqSynchronizeTask) {

  }

  @Override
  public List<MqSynchronizeTask> findByTypes(List<Integer> types) {
    return mqSynchronizeTaskDao.findByTypes(types);
  }







}

