package com.jeesharp.business.modules.setting.service.impl;

import com.jeesharp.business.modules.setting.entity.MarketingPosterTemplate;
import com.jeesharp.business.modules.setting.mapper.MarketingPosterTemplateMapper;
import com.jeesharp.business.modules.setting.service.MarketingPosterTemplateService;
import com.jeesharp.business.modules.setting.vo.MarketingPosterTemplateQueryVO;
import com.jeesharp.framework.mybatis.core.service.CrudService;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional(readOnly = true)
public class MarketingPosterTemplateServiceImpl extends CrudService<MarketingPosterTemplateMapper, MarketingPosterTemplate, MarketingPosterTemplateQueryVO>
        implements MarketingPosterTemplateService {

    @Override
    @Transactional(readOnly = false)
    public void createMarketingPosterTemplate(MarketingPosterTemplate entity) {
        save(entity);
    }

    @Override
    @Transactional(readOnly = false)
    public void updateMarketingPosterTemplate(MarketingPosterTemplate entity) {
        update(entity);
    }

}
