package com.huimv.wscl.dao; import com.huimv.wscl.dataobject.WsclAgps; import com.huimv.wscl.dataobject.WsclAgpsExample; import java.util.List; import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport; public class WsclAgpsDAOImpl extends SqlMapClientDaoSupport implements WsclAgpsDAO { /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table wscl_agps * * @ibatorgenerated Mon Jul 29 16:26:24 CST 2019 */ public WsclAgpsDAOImpl() { super(); } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table wscl_agps * * @ibatorgenerated Mon Jul 29 16:26:24 CST 2019 */ public int countByExample(WsclAgpsExample example) { Integer count = (Integer) getSqlMapClientTemplate().queryForObject("wscl_agps.ibatorgenerated_countByExample", example); return count; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table wscl_agps * * @ibatorgenerated Mon Jul 29 16:26:24 CST 2019 */ public int deleteByExample(WsclAgpsExample example) { int rows = getSqlMapClientTemplate().delete("wscl_agps.ibatorgenerated_deleteByExample", example); return rows; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table wscl_agps * * @ibatorgenerated Mon Jul 29 16:26:24 CST 2019 */ public int deleteByPrimaryKey(Integer id) { WsclAgps key = new WsclAgps(); key.setId(id); int rows = getSqlMapClientTemplate().delete("wscl_agps.ibatorgenerated_deleteByPrimaryKey", key); return rows; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table wscl_agps * * @ibatorgenerated Mon Jul 29 16:26:24 CST 2019 */ public void insert(WsclAgps record) { getSqlMapClientTemplate().insert("wscl_agps.ibatorgenerated_insert", record); } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table wscl_agps * * @ibatorgenerated Mon Jul 29 16:26:24 CST 2019 */ public void insertSelective(WsclAgps record) { getSqlMapClientTemplate().insert("wscl_agps.ibatorgenerated_insertSelective", record); } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table wscl_agps * * @ibatorgenerated Mon Jul 29 16:26:24 CST 2019 */ @SuppressWarnings("unchecked") public List selectByExample(WsclAgpsExample example) { List list = getSqlMapClientTemplate().queryForList("wscl_agps.ibatorgenerated_selectByExample", example); return list; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table wscl_agps * * @ibatorgenerated Mon Jul 29 16:26:24 CST 2019 */ public WsclAgps selectByPrimaryKey(Integer id) { WsclAgps key = new WsclAgps(); key.setId(id); WsclAgps record = (WsclAgps) getSqlMapClientTemplate().queryForObject("wscl_agps.ibatorgenerated_selectByPrimaryKey", key); return record; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table wscl_agps * * @ibatorgenerated Mon Jul 29 16:26:24 CST 2019 */ public int updateByExampleSelective(WsclAgps record, WsclAgpsExample example) { UpdateByExampleParms parms = new UpdateByExampleParms(record, example); int rows = getSqlMapClientTemplate().update("wscl_agps.ibatorgenerated_updateByExampleSelective", parms); return rows; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table wscl_agps * * @ibatorgenerated Mon Jul 29 16:26:24 CST 2019 */ public int updateByExample(WsclAgps record, WsclAgpsExample example) { UpdateByExampleParms parms = new UpdateByExampleParms(record, example); int rows = getSqlMapClientTemplate().update("wscl_agps.ibatorgenerated_updateByExample", parms); return rows; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table wscl_agps * * @ibatorgenerated Mon Jul 29 16:26:24 CST 2019 */ public int updateByPrimaryKeySelective(WsclAgps record) { int rows = getSqlMapClientTemplate().update("wscl_agps.ibatorgenerated_updateByPrimaryKeySelective", record); return rows; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table wscl_agps * * @ibatorgenerated Mon Jul 29 16:26:24 CST 2019 */ public int updateByPrimaryKey(WsclAgps record) { int rows = getSqlMapClientTemplate().update("wscl_agps.ibatorgenerated_updateByPrimaryKey", record); return rows; } /** * This class was generated by Apache iBATIS ibator. * This class corresponds to the database table wscl_agps * * @ibatorgenerated Mon Jul 29 16:26:24 CST 2019 */ private static class UpdateByExampleParms extends WsclAgpsExample { private Object record; public UpdateByExampleParms(Object record, WsclAgpsExample example) { super(example); this.record = record; } public Object getRecord() { return record; } } }