admin
2020-05-20 98b1a0affd69bbe63223c21fdd2c404e8bedfccb
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
26
27
28
29
30
31
32
33
34
35
package com.yeshi.fanli.service.impl.user;
 
import java.util.List;
 
import javax.annotation.Resource;
 
import org.springframework.stereotype.Service;
 
import com.yeshi.fanli.dao.mybatis.msg.SystemZnxMapper;
import com.yeshi.fanli.entity.system.SystemZnx;
import com.yeshi.fanli.service.inter.user.SystemZnxService;
@Service
public class SystemZnxServiceImpl implements SystemZnxService{
    
    @Resource
    private SystemZnxMapper systemZnxMapper;
    
    /**
     * 插入数据
     */
    @Override
    public void save(SystemZnx systemZnx) {
        systemZnxMapper.insertSelective(systemZnx);
    }
    
    @Override
    public List<SystemZnx> listbyCreateTime(long createTime){
        return systemZnxMapper.listbyCreateTime(createTime);
    }
    
    @Override
    public List<SystemZnx> listbyUidAndCreateTime(long uid, long createTime) {
        return systemZnxMapper.listbyUidAndCreateTime(uid, createTime);
    }
}