rzg
2020-10-22 d293563af43409590172f534a74c5a5cb72ecb04
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
package com.yckj.service;
 
import com.yckj.bean.TbBattdataRt;
import com.yckj.bean.User;
import com.yckj.dao.TbBattdataRtDao;
import com.yckj.dao.UserDao;
import org.springframework.stereotype.Service;
 
import javax.annotation.Resource;
import java.util.List;
import java.util.Map;
 
@Service
public class TbBattdataRtService {
    @Resource
    private TbBattdataRtDao bBattdataRtDao;
 
    public List<TbBattdataRt> queryAll() {
        return bBattdataRtDao.selectByExample(null);
    }
 
    public TbBattdataRt selectByPrimaryKey(Long num) {
        return bBattdataRtDao.selectByPrimaryKey(num);
    }
 
    public void updateByPrimaryKey(Long num) {
        TbBattdataRt tbBattdataRt = new TbBattdataRt();
        bBattdataRtDao.updateByPrimaryKey(tbBattdataRt);
 
    }
}