
package com.jeelowcode.core.framework.service.impl;

import com.baomidou.dynamic.datasource.annotation.DSTransactional;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.jeelowcode.core.framework.entity.GroupReportEntity;
import com.jeelowcode.core.framework.entity.GroupTabEntity;
import com.jeelowcode.core.framework.mapper.GroupReportMapper;
import com.jeelowcode.core.framework.mapper.GroupTabMapper;
import com.jeelowcode.core.framework.service.IGroupReportService;
import com.jeelowcode.core.framework.service.IGroupTabService;
import org.springframework.stereotype.Service;

import java.util.List;


/**
 * 模块组合分组
 */
@Service
public class GroupTabServiceImpl extends ServiceImpl<GroupTabMapper, GroupTabEntity> implements IGroupTabService {

    //批量删除
    @DSTransactional(rollbackFor = Exception.class)
    @Override
    public void removeByIds(List<Long> ids){
        for(Long id:ids){
            baseMapper.deleteById(id);
        }
    }
}
