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

import net.northking.cctp.scriptcase.db.dao.HisUseComponentDao;
import net.northking.cctp.scriptcase.db.service.HisUseComponentService;
import net.northking.cctp.scriptcase.db.entity.HisUseComponent;

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

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


/**
 * 历史使用组件列表
 *
 * <p>文件内容由代码生成器产生，请不要手动修改！ <br>
 * createdate:  2022-11-02 16:13:19  <br>
 * @author:  maven-cctp-plugin  <br>
 * @since:  1.0 <br>
 */
@Service
@ConditionalOnMissingBean(name = "HisUseComponentServiceImpl")
public class HisUseComponentServiceImpl extends TenantEntityService<HisUseComponent> implements HisUseComponentService
{
private static final Logger logger = LoggerFactory.getLogger(HisUseComponentServiceImpl.class);

  private final HisUseComponentDao hisUseComponentDao;

  public HisUseComponentServiceImpl(HisUseComponentDao hisUseComponentDao) {this.hisUseComponentDao = hisUseComponentDao;}

  public BasicDao<HisUseComponent> getDao() {return hisUseComponentDao;}

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

  @Override
  public void reduceOrderSeqByUser(HisUseComponent huc) {
    hisUseComponentDao.reduceOrderSeqByUser(huc);
  }

  @Override
  public void addOrderSeqByUser(HisUseComponent huc) {
    hisUseComponentDao.addOrderSeqByUser(huc);
  }







}

