123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116 |
- package com.huimv.xt.dao;
- import com.huimv.xt.dataobject.XtWxh;
- import com.huimv.xt.dataobject.XtWxhExample;
- import java.util.List;
- import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport;
- public class XtWxhDAOImpl extends SqlMapClientDaoSupport implements XtWxhDAO {
- /**
- * This method was generated by Apache iBATIS ibator.
- * This method corresponds to the database table xt_wxh
- *
- * @ibatorgenerated Thu Apr 02 13:48:41 CST 2015
- */
- public XtWxhDAOImpl() {
- super();
- }
- /**
- * This method was generated by Apache iBATIS ibator.
- * This method corresponds to the database table xt_wxh
- *
- * @ibatorgenerated Thu Apr 02 13:48:41 CST 2015
- */
- public int countByExample(XtWxhExample example) {
- Integer count = (Integer) getSqlMapClientTemplate().queryForObject("xt_wxh.ibatorgenerated_countByExample", example);
- return count;
- }
- /**
- * This method was generated by Apache iBATIS ibator.
- * This method corresponds to the database table xt_wxh
- *
- * @ibatorgenerated Thu Apr 02 13:48:41 CST 2015
- */
- public int deleteByExample(XtWxhExample example) {
- int rows = getSqlMapClientTemplate().delete("xt_wxh.ibatorgenerated_deleteByExample", example);
- return rows;
- }
- /**
- * This method was generated by Apache iBATIS ibator.
- * This method corresponds to the database table xt_wxh
- *
- * @ibatorgenerated Thu Apr 02 13:48:41 CST 2015
- */
- public void insert(XtWxh record) {
- getSqlMapClientTemplate().insert("xt_wxh.ibatorgenerated_insert", record);
- }
- /**
- * This method was generated by Apache iBATIS ibator.
- * This method corresponds to the database table xt_wxh
- *
- * @ibatorgenerated Thu Apr 02 13:48:41 CST 2015
- */
- public void insertSelective(XtWxh record) {
- getSqlMapClientTemplate().insert("xt_wxh.ibatorgenerated_insertSelective", record);
- }
- /**
- * This method was generated by Apache iBATIS ibator.
- * This method corresponds to the database table xt_wxh
- *
- * @ibatorgenerated Thu Apr 02 13:48:41 CST 2015
- */
- @SuppressWarnings("unchecked")
- public List<XtWxh> selectByExample(XtWxhExample example) {
- List<XtWxh> list = getSqlMapClientTemplate().queryForList("xt_wxh.ibatorgenerated_selectByExample", example);
- return list;
- }
- /**
- * This method was generated by Apache iBATIS ibator.
- * This method corresponds to the database table xt_wxh
- *
- * @ibatorgenerated Thu Apr 02 13:48:41 CST 2015
- */
- public int updateByExampleSelective(XtWxh record, XtWxhExample example) {
- UpdateByExampleParms parms = new UpdateByExampleParms(record, example);
- int rows = getSqlMapClientTemplate().update("xt_wxh.ibatorgenerated_updateByExampleSelective", parms);
- return rows;
- }
- /**
- * This method was generated by Apache iBATIS ibator.
- * This method corresponds to the database table xt_wxh
- *
- * @ibatorgenerated Thu Apr 02 13:48:41 CST 2015
- */
- public int updateByExample(XtWxh record, XtWxhExample example) {
- UpdateByExampleParms parms = new UpdateByExampleParms(record, example);
- int rows = getSqlMapClientTemplate().update("xt_wxh.ibatorgenerated_updateByExample", parms);
- return rows;
- }
- /**
- * This class was generated by Apache iBATIS ibator.
- * This class corresponds to the database table xt_wxh
- *
- * @ibatorgenerated Thu Apr 02 13:48:41 CST 2015
- */
- private static class UpdateByExampleParms extends XtWxhExample {
- private Object record;
- public UpdateByExampleParms(Object record, XtWxhExample example) {
- super(example);
- this.record = record;
- }
- public Object getRecord() {
- return record;
- }
- }
- }
|