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

import net.northking.cctp.common.saas.db.TenantEntityService;
import net.northking.cctp.platform.db.dao.CpLogContentDetailDao;
import net.northking.cctp.platform.db.service.CpLogContentDetailService;
import net.northking.cctp.platform.db.entity.CpLogContentDetail;

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

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


/**
 * 批量操作 日志详情表
 *
 * <p>文件内容由代码生成器产生，请不要手动修改！ <br>
 * createdate:  2021-12-13 14:19:47  <br>
 *
 * @author: maven-cctp-plugin  <br>
 * @since: 1.0 <br>
 */
@Service
@ConditionalOnMissingBean(name = "CpLogContentDetailServiceImpl")
public class CpLogContentDetailServiceImpl extends TenantEntityService<CpLogContentDetail> implements CpLogContentDetailService {
    private static final Logger logger = LoggerFactory.getLogger(CpLogContentDetailServiceImpl.class);

    private final CpLogContentDetailDao cpLogContentDetailDao;

    public CpLogContentDetailServiceImpl(CpLogContentDetailDao cpLogContentDetailDao) {
        this.cpLogContentDetailDao = cpLogContentDetailDao;
    }

    public BasicDao<CpLogContentDetail> getDao() {
        return cpLogContentDetailDao;
    }

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

    @Override
    public int insertCpLogContentDetail(CpLogContentDetail cpLogContentDetail) {
        return this.cpLogContentDetailDao.insertCpLogContentDetail(cpLogContentDetail);
    }


}

