| | |
| | | } |
| | | |
| | | @Override |
| | | public void save(LiJinProviderAccount t) { |
| | | if(t.getId() != null) { |
| | | t.setUpdateTime(new Date()); |
| | | liJinProviderAccountMapper.updateByPrimaryKeySelective(t); |
| | | } else { |
| | | t.setCreateTime(new Date()); |
| | | liJinProviderAccountMapper.insertSelective(t); |
| | | } |
| | | public void insertSelective(LiJinProviderAccount t){ |
| | | liJinProviderAccountMapper.insertSelective(t); |
| | | } |
| | | |
| | | @Override |
| | | public void updateByPrimaryKeySelective(LiJinProviderAccount t){ |
| | | liJinProviderAccountMapper.updateByPrimaryKeySelective(t); |
| | | } |
| | | |
| | | @Override |
| | | public void delete(Long id) { |
| | | liJinProviderAccountMapper.deleteByPrimaryKey(id); |
| | | } |
| | | |
| | | |
| | | } |