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

import com.baomidou.dynamic.datasource.annotation.DSTransactional;
import com.jeelowcode.core.framework.entity.GroupDesFormEntity;
import com.jeelowcode.core.framework.mapper.GroupDesFormMapper;
import com.jeelowcode.core.framework.service.IGroupDesFormService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;


/**
 * 表单设计分组
 */
@Service
public class GroupDesFormServiceImpl extends ServiceImpl<GroupDesFormMapper, GroupDesFormEntity> implements IGroupDesFormService {

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