Search in sources :

Example 1 with OpenBankInfoMapper

use of com.itrus.portal.db.OpenBankInfoMapper in project portal by ixinportal.

the class OpenBankInfoServiceImpl method updateByPrimaryKey.

public void updateByPrimaryKey(OpenBankInfo OpenBankInfo) throws Exception {
    OpenBankInfoMapper mapper = sqlSession.getMapper(OpenBankInfoMapper.class);
    mapper.updateByPrimaryKey(OpenBankInfo);
    sqlSession.flushStatements();
}
Also used : OpenBankInfoMapper(com.itrus.portal.db.OpenBankInfoMapper)

Example 2 with OpenBankInfoMapper

use of com.itrus.portal.db.OpenBankInfoMapper in project portal by ixinportal.

the class OpenBankInfoServiceImpl method selectByExample.

public List<OpenBankInfo> selectByExample(OpenBankInfoExample example) throws Exception {
    OpenBankInfoMapper mapper = sqlSession.getMapper(OpenBankInfoMapper.class);
    List<OpenBankInfo> list = mapper.selectByExample(example);
    return list;
}
Also used : OpenBankInfo(com.itrus.portal.db.OpenBankInfo) OpenBankInfoMapper(com.itrus.portal.db.OpenBankInfoMapper)

Example 3 with OpenBankInfoMapper

use of com.itrus.portal.db.OpenBankInfoMapper in project portal by ixinportal.

the class OpenBankInfoServiceImpl method deleteByPrimaryKey.

public void deleteByPrimaryKey(Long id) {
    OpenBankInfoMapper mapper = sqlSession.getMapper(OpenBankInfoMapper.class);
    mapper.deleteByPrimaryKey(id);
}
Also used : OpenBankInfoMapper(com.itrus.portal.db.OpenBankInfoMapper)

Example 4 with OpenBankInfoMapper

use of com.itrus.portal.db.OpenBankInfoMapper in project portal by ixinportal.

the class OpenBankInfoServiceImpl method insert.

public OpenBankInfo insert(OpenBankInfo OpenBankInfo) throws Exception {
    OpenBankInfoMapper mapper = sqlSession.getMapper(OpenBankInfoMapper.class);
    mapper.insert(OpenBankInfo);
    sqlSession.flushStatements();
    return OpenBankInfo;
}
Also used : OpenBankInfoMapper(com.itrus.portal.db.OpenBankInfoMapper)

Example 5 with OpenBankInfoMapper

use of com.itrus.portal.db.OpenBankInfoMapper in project portal by ixinportal.

the class OpenBankInfoServiceImpl method selectByPrimaryKey.

public OpenBankInfo selectByPrimaryKey(Long id) {
    OpenBankInfoMapper mapper = sqlSession.getMapper(OpenBankInfoMapper.class);
    OpenBankInfo OpenBankInfo = mapper.selectByPrimaryKey(id);
    return OpenBankInfo;
}
Also used : OpenBankInfo(com.itrus.portal.db.OpenBankInfo) OpenBankInfoMapper(com.itrus.portal.db.OpenBankInfoMapper)

Aggregations

OpenBankInfoMapper (com.itrus.portal.db.OpenBankInfoMapper)6 OpenBankInfo (com.itrus.portal.db.OpenBankInfo)2