package com.huimv.xt.dao; import com.huimv.xt.dataobject.XtClycsz; import com.huimv.xt.dataobject.XtClycszExample; import java.util.List; import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport; public class XtClycszDAOImpl extends SqlMapClientDaoSupport implements XtClycszDAO { /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_clycsz * * @ibatorgenerated Tue Aug 12 14:14:32 CST 2014 */ public XtClycszDAOImpl() { super(); } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_clycsz * * @ibatorgenerated Tue Aug 12 14:14:32 CST 2014 */ public int countByExample(XtClycszExample example) { Integer count = (Integer) getSqlMapClientTemplate().queryForObject("xt_clycsz.ibatorgenerated_countByExample", example); return count; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_clycsz * * @ibatorgenerated Tue Aug 12 14:14:32 CST 2014 */ public int deleteByExample(XtClycszExample example) { int rows = getSqlMapClientTemplate().delete("xt_clycsz.ibatorgenerated_deleteByExample", example); return rows; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_clycsz * * @ibatorgenerated Tue Aug 12 14:14:32 CST 2014 */ public int deleteByPrimaryKey(Integer lqid) { XtClycsz key = new XtClycsz(); key.setLqid(lqid); int rows = getSqlMapClientTemplate().delete("xt_clycsz.ibatorgenerated_deleteByPrimaryKey", key); return rows; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_clycsz * * @ibatorgenerated Tue Aug 12 14:14:32 CST 2014 */ public void insert(XtClycsz record) { getSqlMapClientTemplate().insert("xt_clycsz.ibatorgenerated_insert", record); } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_clycsz * * @ibatorgenerated Tue Aug 12 14:14:32 CST 2014 */ public void insertSelective(XtClycsz record) { getSqlMapClientTemplate().insert("xt_clycsz.ibatorgenerated_insertSelective", record); } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_clycsz * * @ibatorgenerated Tue Aug 12 14:14:32 CST 2014 */ @SuppressWarnings("unchecked") public List selectByExample(XtClycszExample example) { List list = getSqlMapClientTemplate().queryForList("xt_clycsz.ibatorgenerated_selectByExample", example); return list; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_clycsz * * @ibatorgenerated Tue Aug 12 14:14:32 CST 2014 */ public XtClycsz selectByPrimaryKey(Integer lqid) { XtClycsz key = new XtClycsz(); key.setLqid(lqid); XtClycsz record = (XtClycsz) getSqlMapClientTemplate().queryForObject("xt_clycsz.ibatorgenerated_selectByPrimaryKey", key); return record; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_clycsz * * @ibatorgenerated Tue Aug 12 14:14:32 CST 2014 */ public int updateByExampleSelective(XtClycsz record, XtClycszExample example) { UpdateByExampleParms parms = new UpdateByExampleParms(record, example); int rows = getSqlMapClientTemplate().update("xt_clycsz.ibatorgenerated_updateByExampleSelective", parms); return rows; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_clycsz * * @ibatorgenerated Tue Aug 12 14:14:32 CST 2014 */ public int updateByExample(XtClycsz record, XtClycszExample example) { UpdateByExampleParms parms = new UpdateByExampleParms(record, example); int rows = getSqlMapClientTemplate().update("xt_clycsz.ibatorgenerated_updateByExample", parms); return rows; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_clycsz * * @ibatorgenerated Tue Aug 12 14:14:32 CST 2014 */ public int updateByPrimaryKeySelective(XtClycsz record) { int rows = getSqlMapClientTemplate().update("xt_clycsz.ibatorgenerated_updateByPrimaryKeySelective", record); return rows; } /** * This method was generated by Apache iBATIS ibator. * This method corresponds to the database table xt_clycsz * * @ibatorgenerated Tue Aug 12 14:14:32 CST 2014 */ public int updateByPrimaryKey(XtClycsz record) { int rows = getSqlMapClientTemplate().update("xt_clycsz.ibatorgenerated_updateByPrimaryKey", record); return rows; } /** * This class was generated by Apache iBATIS ibator. * This class corresponds to the database table xt_clycsz * * @ibatorgenerated Tue Aug 12 14:14:32 CST 2014 */ private static class UpdateByExampleParms extends XtClycszExample { private Object record; public UpdateByExampleParms(Object record, XtClycszExample example) { super(example); this.record = record; } public Object getRecord() { return record; } } }