123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177 |
- package com.huimv.sj.dao;
- import java.util.List;
- import java.util.Map;
- import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport;
- import com.huimv.busi.xt.constant.XtSqlMapConstant;
- import com.huimv.sj.dataobject.SjEbpjtz;
- import com.huimv.sj.dataobject.SjEbpjtzExample;
- public class SjEbpjtzDAOImpl extends SqlMapClientDaoSupport implements SjEbpjtzDAO {
- /**
- * This method was generated by Apache iBATIS ibator.
- * This method corresponds to the database table sj_ebpjtz
- *
- * @ibatorgenerated Tue Aug 25 14:15:34 CST 2015
- */
- public SjEbpjtzDAOImpl() {
- super();
- }
- /**
- * This method was generated by Apache iBATIS ibator.
- * This method corresponds to the database table sj_ebpjtz
- *
- * @ibatorgenerated Tue Aug 25 14:15:34 CST 2015
- */
- public int countByExample(SjEbpjtzExample example) {
- Integer count = (Integer) getSqlMapClientTemplate().queryForObject("sj_ebpjtz.ibatorgenerated_countByExample", example);
- return count;
- }
- /**
- * This method was generated by Apache iBATIS ibator.
- * This method corresponds to the database table sj_ebpjtz
- *
- * @ibatorgenerated Tue Aug 25 14:15:34 CST 2015
- */
- public int deleteByExample(SjEbpjtzExample example) {
- int rows = getSqlMapClientTemplate().delete("sj_ebpjtz.ibatorgenerated_deleteByExample", example);
- return rows;
- }
- /**
- * This method was generated by Apache iBATIS ibator.
- * This method corresponds to the database table sj_ebpjtz
- *
- * @ibatorgenerated Tue Aug 25 14:15:34 CST 2015
- */
- public int deleteByPrimaryKey(Integer id) {
- SjEbpjtz key = new SjEbpjtz();
- key.setId(id);
- int rows = getSqlMapClientTemplate().delete("sj_ebpjtz.ibatorgenerated_deleteByPrimaryKey", key);
- return rows;
- }
- /**
- * This method was generated by Apache iBATIS ibator.
- * This method corresponds to the database table sj_ebpjtz
- *
- * @ibatorgenerated Tue Aug 25 14:15:34 CST 2015
- */
- public void insert(SjEbpjtz record) {
- getSqlMapClientTemplate().insert("sj_ebpjtz.ibatorgenerated_insert", record);
- }
- /**
- * This method was generated by Apache iBATIS ibator.
- * This method corresponds to the database table sj_ebpjtz
- *
- * @ibatorgenerated Tue Aug 25 14:15:34 CST 2015
- */
- public void insertSelective(SjEbpjtz record) {
- getSqlMapClientTemplate().insert("sj_ebpjtz.ibatorgenerated_insertSelective", record);
- }
- /**
- * This method was generated by Apache iBATIS ibator.
- * This method corresponds to the database table sj_ebpjtz
- *
- * @ibatorgenerated Tue Aug 25 14:15:34 CST 2015
- */
- @SuppressWarnings("unchecked")
- public List<SjEbpjtz> selectByExample(SjEbpjtzExample example) {
- List<SjEbpjtz> list = getSqlMapClientTemplate().queryForList("sj_ebpjtz.ibatorgenerated_selectByExample", example);
- return list;
- }
- /**
- * This method was generated by Apache iBATIS ibator.
- * This method corresponds to the database table sj_ebpjtz
- *
- * @ibatorgenerated Tue Aug 25 14:15:34 CST 2015
- */
- public SjEbpjtz selectByPrimaryKey(Integer id) {
- SjEbpjtz key = new SjEbpjtz();
- key.setId(id);
- SjEbpjtz record = (SjEbpjtz) getSqlMapClientTemplate().queryForObject("sj_ebpjtz.ibatorgenerated_selectByPrimaryKey", key);
- return record;
- }
- /**
- * This method was generated by Apache iBATIS ibator.
- * This method corresponds to the database table sj_ebpjtz
- *
- * @ibatorgenerated Tue Aug 25 14:15:34 CST 2015
- */
- public int updateByExampleSelective(SjEbpjtz record, SjEbpjtzExample example) {
- UpdateByExampleParms parms = new UpdateByExampleParms(record, example);
- int rows = getSqlMapClientTemplate().update("sj_ebpjtz.ibatorgenerated_updateByExampleSelective", parms);
- return rows;
- }
- /**
- * This method was generated by Apache iBATIS ibator.
- * This method corresponds to the database table sj_ebpjtz
- *
- * @ibatorgenerated Tue Aug 25 14:15:34 CST 2015
- */
- public int updateByExample(SjEbpjtz record, SjEbpjtzExample example) {
- UpdateByExampleParms parms = new UpdateByExampleParms(record, example);
- int rows = getSqlMapClientTemplate().update("sj_ebpjtz.ibatorgenerated_updateByExample", parms);
- return rows;
- }
- /**
- * This method was generated by Apache iBATIS ibator.
- * This method corresponds to the database table sj_ebpjtz
- *
- * @ibatorgenerated Tue Aug 25 14:15:34 CST 2015
- */
- public int updateByPrimaryKeySelective(SjEbpjtz record) {
- int rows = getSqlMapClientTemplate().update("sj_ebpjtz.ibatorgenerated_updateByPrimaryKeySelective", record);
- return rows;
- }
- /**
- * This method was generated by Apache iBATIS ibator.
- * This method corresponds to the database table sj_ebpjtz
- *
- * @ibatorgenerated Tue Aug 25 14:15:34 CST 2015
- */
- public int updateByPrimaryKey(SjEbpjtz record) {
- int rows = getSqlMapClientTemplate().update("sj_ebpjtz.ibatorgenerated_updateByPrimaryKey", record);
- return rows;
- }
- /**
- * This class was generated by Apache iBATIS ibator.
- * This class corresponds to the database table sj_ebpjtz
- *
- * @ibatorgenerated Tue Aug 25 14:15:34 CST 2015
- */
- private static class UpdateByExampleParms extends SjEbpjtzExample {
- private Object record;
- public UpdateByExampleParms(Object record, SjEbpjtzExample example) {
- super(example);
- this.record = record;
- }
- public Object getRecord() {
- return record;
- }
- }
-
- /**
- * 获取耳标的最早一次访问
- */
- @SuppressWarnings("unchecked")
- public List<SjEbpjtz> selectEbfwjlStart(Map<String, Object> paramMap) {
- List<SjEbpjtz> list = (List<SjEbpjtz>) getSqlMapClientTemplate().queryForList(XtSqlMapConstant.SQLMAP_SELECT_EBFWJL_START, paramMap);
- return list;
- }
- }
|