package com.supplier.service.impl;

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

@Service
public class SupplierReleaseDayServiceImpl implements SupplierReleaseDayService {

    @Autowired
    private SupplierReleaseMapper supplierReleaseMapper;

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