package com.muchinfo.mtp3century.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.muchinfo.mtp3century.service.IRolefuncmenuService;
import com.muchinfo.mtp3interface.mapper.IRolefuncmenuMapper;
import com.muchinfo.mtp3pojos.entity.Rolefuncmenu;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;


import java.util.List;

/**
 * <p>
 * 角色菜单表 服务实现类
 * </p>
 *
 * @author XKF
 * @since 2024-05-22
 */
@Service
public class RolefuncmenuServiceImpl extends ServiceImpl<IRolefuncmenuMapper, Rolefuncmenu> implements IRolefuncmenuService {

    @Transactional(rollbackFor = Exception.class)
    public boolean saveBatchYourEntities(List<Rolefuncmenu> entityList) {
        return this.saveBatch(entityList);
    }
}
