package com.hzya.frame.grpU8.nxproof.pubauditlog.dao.impl;


import com.baomidou.dynamic.datasource.annotation.DS;
import com.hzya.frame.basedao.dao.MybatisGenericDao;
import com.hzya.frame.grpU8.nxproof.pubauditlog.dao.IPubAuditLogDao;
import com.hzya.frame.grpU8.nxproof.pubauditlog.entity.PubAuditLogEntity;
import org.springframework.stereotype.Repository;

/**
 * @Author:hecan
 * @Description:
 * @params:
 * @return:
 * @Date: 2023/6/19 14:59
 */
@Repository(value = "pubAuditLogDao")
public class PubAuditLogDaoImpl extends MybatisGenericDao<PubAuditLogEntity,String> implements IPubAuditLogDao {
    @DS("#entity.dataSourceCode")
    @Override
    public Integer saveData(PubAuditLogEntity entity) {
        Integer o = super.insert(getSqlIdPrifx() + "PubAuditLogEntity_insert", entity);
        return o;
    }
}
