package com.supplier.service.impl;

import com.supplier.mapper.SupplierReleaseMapper;
import com.supplier.model.SupplierRelease;
import com.supplier.service.SupplierReleasePlayService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
public class SupplierReleasePlayServiceImpl implements SupplierReleasePlayService {

    @Autowired
    private SupplierReleaseMapper supplierReleaseMapper;

    @Override
    @Transactional(rollbackFor = Exception.class)
    public void delSupplierReleasePlay(SupplierRelease supplierRelease) {
        supplierReleaseMapper.delSupplierReleasePlay(supplierRelease);
    }
}
