package com.xxfc.platform.summit.biz;

import com.github.wxiaoqi.security.common.biz.BaseBiz;
import com.xxfc.platform.summit.entity.ActivityTemporary;
import com.xxfc.platform.summit.mapper.ActivityTemporaryMapper;
import org.springframework.stereotype.Service;

import java.util.Date;

/**
 * @author Administrator
 */
@Service
public class ActivityTemporaryBiz extends BaseBiz<ActivityTemporaryMapper, ActivityTemporary> {
    public void addModifyIfPresent(ActivityTemporary activityTemporary)throws Exception {
        activityTemporary.setCrtTime(new Date());
        mapper.addModifyIfPresent(activityTemporary);
    }
}
