package cn.pluss.platform.dict.impl;

import cn.pluss.platform.dict.Bank4CacheService;
import cn.pluss.platform.entity.Bank4Cache;
import cn.pluss.platform.mapper.Bank4CacheMapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;

@Service
public class Bank4CacheImpl extends ServiceImpl<Bank4CacheMapper, Bank4Cache> implements Bank4CacheService {

    @Transactional(propagation = Propagation.REQUIRES_NEW, rollbackFor = Exception.class)
    @Override
    public boolean save(Bank4Cache entity) {
        return super.save(entity);
    }
}
