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 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); } }