yujian
2019-01-24 1b1f8fb628c08fc757139a34e2293db8d2529092
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
package com.yeshi.fanli.service.impl.taobao;
 
import java.util.Date;
 
import javax.annotation.Resource;
 
import org.springframework.stereotype.Service;
 
import com.yeshi.fanli.dao.mybatis.taobao.TaoBaoUnionAuthRecordMapper;
import com.yeshi.fanli.entity.taobao.TaoBaoUnionAuthRecord;
import com.yeshi.fanli.service.inter.taobao.TaoBaoUnionAuthRecordService;
 
@Service
public class TaoBaoUnionAuthRecordServiceImpl implements TaoBaoUnionAuthRecordService {
 
    @Resource
    private TaoBaoUnionAuthRecordMapper taoBaoUnionAuthRecordMapper;
 
    @Override
    public void addAuthRecord(TaoBaoUnionAuthRecord record) {
        record.setCreateTime(new Date());
        taoBaoUnionAuthRecordMapper.insertSelective(record);
    }
 
}