package com.hzya.frame.sysnew.messageManageLogBack.dao.impl;

import com.hzya.frame.basedao.dao.MybatisGenericDao;
import com.hzya.frame.sysnew.messageManageLog.entity.SysMessageManageLogEntity;
import com.hzya.frame.sysnew.messageManageLogBack.dao.ISysMessageManageLogBackDao;
import com.hzya.frame.sysnew.messageManageLogBack.entity.SysMessageManageLogBackEntity;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository("SysMessageManageLogDaoBackImpl")
public class SysMessageManageLogDaoBackImpl extends MybatisGenericDao<SysMessageManageLogBackEntity, String> implements ISysMessageManageLogBackDao {
    /**
     *
     * @content 备份ESB消息日志
     * @Param
     * @Return
     * @Author hecan
     * @Date 2024/3/7 10:08
     * **/
    @Override
    public Integer entityInsertBatch(List<SysMessageManageLogEntity> list) {
        Integer insert = super.insert(getSqlIdPrifx() + "entityInsertBatch", list);
        return insert;
    }
}
