TempDlztDAOImpl.java 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  1. package com.huimv.temp.dao;
  2. import com.huimv.temp.dataobject.TempDlzt;
  3. import com.huimv.temp.dataobject.TempDlztExample;
  4. import java.util.List;
  5. import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport;
  6. public class TempDlztDAOImpl extends SqlMapClientDaoSupport implements TempDlztDAO {
  7. /**
  8. * This method was generated by Apache iBATIS ibator.
  9. * This method corresponds to the database table temp_dlzt
  10. *
  11. * @ibatorgenerated Wed Jul 27 19:08:11 CST 2016
  12. */
  13. public TempDlztDAOImpl() {
  14. super();
  15. }
  16. /**
  17. * This method was generated by Apache iBATIS ibator.
  18. * This method corresponds to the database table temp_dlzt
  19. *
  20. * @ibatorgenerated Wed Jul 27 19:08:11 CST 2016
  21. */
  22. public int countByExample(TempDlztExample example) {
  23. Integer count = (Integer) getSqlMapClientTemplate().queryForObject("temp_dlzt.ibatorgenerated_countByExample", example);
  24. return count;
  25. }
  26. /**
  27. * This method was generated by Apache iBATIS ibator.
  28. * This method corresponds to the database table temp_dlzt
  29. *
  30. * @ibatorgenerated Wed Jul 27 19:08:11 CST 2016
  31. */
  32. public int deleteByExample(TempDlztExample example) {
  33. int rows = getSqlMapClientTemplate().delete("temp_dlzt.ibatorgenerated_deleteByExample", example);
  34. return rows;
  35. }
  36. /**
  37. * This method was generated by Apache iBATIS ibator.
  38. * This method corresponds to the database table temp_dlzt
  39. *
  40. * @ibatorgenerated Wed Jul 27 19:08:11 CST 2016
  41. */
  42. public int deleteByPrimaryKey(Integer id) {
  43. TempDlzt key = new TempDlzt();
  44. key.setId(id);
  45. int rows = getSqlMapClientTemplate().delete("temp_dlzt.ibatorgenerated_deleteByPrimaryKey", key);
  46. return rows;
  47. }
  48. /**
  49. * This method was generated by Apache iBATIS ibator.
  50. * This method corresponds to the database table temp_dlzt
  51. *
  52. * @ibatorgenerated Wed Jul 27 19:08:11 CST 2016
  53. */
  54. public void insert(TempDlzt record) {
  55. getSqlMapClientTemplate().insert("temp_dlzt.ibatorgenerated_insert", record);
  56. }
  57. /**
  58. * This method was generated by Apache iBATIS ibator.
  59. * This method corresponds to the database table temp_dlzt
  60. *
  61. * @ibatorgenerated Wed Jul 27 19:08:11 CST 2016
  62. */
  63. public void insertSelective(TempDlzt record) {
  64. getSqlMapClientTemplate().insert("temp_dlzt.ibatorgenerated_insertSelective", record);
  65. }
  66. /**
  67. * This method was generated by Apache iBATIS ibator.
  68. * This method corresponds to the database table temp_dlzt
  69. *
  70. * @ibatorgenerated Wed Jul 27 19:08:11 CST 2016
  71. */
  72. @SuppressWarnings("unchecked")
  73. public List<TempDlzt> selectByExample(TempDlztExample example) {
  74. List<TempDlzt> list = getSqlMapClientTemplate().queryForList("temp_dlzt.ibatorgenerated_selectByExample", example);
  75. return list;
  76. }
  77. /**
  78. * This method was generated by Apache iBATIS ibator.
  79. * This method corresponds to the database table temp_dlzt
  80. *
  81. * @ibatorgenerated Wed Jul 27 19:08:11 CST 2016
  82. */
  83. public TempDlzt selectByPrimaryKey(Integer id) {
  84. TempDlzt key = new TempDlzt();
  85. key.setId(id);
  86. TempDlzt record = (TempDlzt) getSqlMapClientTemplate().queryForObject("temp_dlzt.ibatorgenerated_selectByPrimaryKey", key);
  87. return record;
  88. }
  89. /**
  90. * This method was generated by Apache iBATIS ibator.
  91. * This method corresponds to the database table temp_dlzt
  92. *
  93. * @ibatorgenerated Wed Jul 27 19:08:11 CST 2016
  94. */
  95. public int updateByExampleSelective(TempDlzt record, TempDlztExample example) {
  96. UpdateByExampleParms parms = new UpdateByExampleParms(record, example);
  97. int rows = getSqlMapClientTemplate().update("temp_dlzt.ibatorgenerated_updateByExampleSelective", parms);
  98. return rows;
  99. }
  100. /**
  101. * This method was generated by Apache iBATIS ibator.
  102. * This method corresponds to the database table temp_dlzt
  103. *
  104. * @ibatorgenerated Wed Jul 27 19:08:11 CST 2016
  105. */
  106. public int updateByExample(TempDlzt record, TempDlztExample example) {
  107. UpdateByExampleParms parms = new UpdateByExampleParms(record, example);
  108. int rows = getSqlMapClientTemplate().update("temp_dlzt.ibatorgenerated_updateByExample", parms);
  109. return rows;
  110. }
  111. /**
  112. * This method was generated by Apache iBATIS ibator.
  113. * This method corresponds to the database table temp_dlzt
  114. *
  115. * @ibatorgenerated Wed Jul 27 19:08:11 CST 2016
  116. */
  117. public int updateByPrimaryKeySelective(TempDlzt record) {
  118. int rows = getSqlMapClientTemplate().update("temp_dlzt.ibatorgenerated_updateByPrimaryKeySelective", record);
  119. return rows;
  120. }
  121. /**
  122. * This method was generated by Apache iBATIS ibator.
  123. * This method corresponds to the database table temp_dlzt
  124. *
  125. * @ibatorgenerated Wed Jul 27 19:08:11 CST 2016
  126. */
  127. public int updateByPrimaryKey(TempDlzt record) {
  128. int rows = getSqlMapClientTemplate().update("temp_dlzt.ibatorgenerated_updateByPrimaryKey", record);
  129. return rows;
  130. }
  131. /**
  132. * This class was generated by Apache iBATIS ibator.
  133. * This class corresponds to the database table temp_dlzt
  134. *
  135. * @ibatorgenerated Wed Jul 27 19:08:11 CST 2016
  136. */
  137. private static class UpdateByExampleParms extends TempDlztExample {
  138. private Object record;
  139. public UpdateByExampleParms(Object record, TempDlztExample example) {
  140. super(example);
  141. this.record = record;
  142. }
  143. public Object getRecord() {
  144. return record;
  145. }
  146. }
  147. }