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