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