package com.keyware.shandan.dynacmicform.core.basic.services.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.keyware.shandan.dynacmicform.core.basic.entity.FormInfoPo;
import com.keyware.shandan.dynacmicform.core.basic.mapper.FormInfoMapper;
import com.keyware.shandan.dynacmicform.core.basic.services.FormInfoService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

import java.io.Serializable;

@Service
public class FormInfoServiceImpl extends ServiceImpl<FormInfoMapper, FormInfoPo> implements FormInfoService {

    @Override
    public boolean removeById(Serializable id) {
        return super.removeById(id);
    }

    /*@Override
    @Transactional(rollbackFor = Exception.class, propagation = Propagation.SUPPORTS)
    public boolean saveOrUpdate(FormInfoPo entity) {
        return super.saveOrUpdate(entity);
    }*/
}
