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

import com.baomidou.dynamic.datasource.annotation.DSTransactional;
import com.lideeyunji.core.framework.entity.GroupDbFormEntity;
import com.lideeyunji.core.framework.mapper.GroupDbFormMapper;
import com.lideeyunji.core.framework.service.IGroupDbFormService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;


/**
 * 表单开发分组
 */
@Service
public class GroupDbFormServiceImpl extends ServiceImpl<GroupDbFormMapper, GroupDbFormEntity> implements IGroupDbFormService {

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