XtDmlbDAO.java 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. package com.huimv.xt.dao;
  2. import com.huimv.busi.base.dto.ResponseBean;
  3. import com.huimv.web.base.PageBean;
  4. import com.huimv.xt.dataobject.XtDmlb;
  5. import com.huimv.xt.dataobject.XtDmlbExample;
  6. import java.util.List;
  7. import java.util.Map;
  8. public interface XtDmlbDAO {
  9. /**
  10. * This method was generated by Apache iBATIS ibator.
  11. * This method corresponds to the database table xt_dmlb
  12. *
  13. * @ibatorgenerated Fri May 30 10:23:18 CST 2014
  14. */
  15. int countByExample(XtDmlbExample example);
  16. /**
  17. * This method was generated by Apache iBATIS ibator.
  18. * This method corresponds to the database table xt_dmlb
  19. *
  20. * @ibatorgenerated Fri May 30 10:23:18 CST 2014
  21. */
  22. int deleteByExample(XtDmlbExample example);
  23. /**
  24. * This method was generated by Apache iBATIS ibator.
  25. * This method corresponds to the database table xt_dmlb
  26. *
  27. * @ibatorgenerated Fri May 30 10:23:18 CST 2014
  28. */
  29. int deleteByPrimaryKey(Integer lbid);
  30. /**
  31. * This method was generated by Apache iBATIS ibator.
  32. * This method corresponds to the database table xt_dmlb
  33. *
  34. * @ibatorgenerated Fri May 30 10:23:18 CST 2014
  35. */
  36. void insert(XtDmlb record);
  37. /**
  38. * This method was generated by Apache iBATIS ibator.
  39. * This method corresponds to the database table xt_dmlb
  40. *
  41. * @ibatorgenerated Fri May 30 10:23:18 CST 2014
  42. */
  43. void insertSelective(XtDmlb record);
  44. /**
  45. * This method was generated by Apache iBATIS ibator.
  46. * This method corresponds to the database table xt_dmlb
  47. *
  48. * @ibatorgenerated Fri May 30 10:23:18 CST 2014
  49. */
  50. List<XtDmlb> selectByExample(XtDmlbExample example);
  51. /**
  52. * This method was generated by Apache iBATIS ibator.
  53. * This method corresponds to the database table xt_dmlb
  54. *
  55. * @ibatorgenerated Fri May 30 10:23:18 CST 2014
  56. */
  57. XtDmlb selectByPrimaryKey(Integer lbid);
  58. /**
  59. * This method was generated by Apache iBATIS ibator.
  60. * This method corresponds to the database table xt_dmlb
  61. *
  62. * @ibatorgenerated Fri May 30 10:23:18 CST 2014
  63. */
  64. int updateByExampleSelective(XtDmlb record, XtDmlbExample example);
  65. /**
  66. * This method was generated by Apache iBATIS ibator.
  67. * This method corresponds to the database table xt_dmlb
  68. *
  69. * @ibatorgenerated Fri May 30 10:23:18 CST 2014
  70. */
  71. int updateByExample(XtDmlb record, XtDmlbExample example);
  72. /**
  73. * This method was generated by Apache iBATIS ibator.
  74. * This method corresponds to the database table xt_dmlb
  75. *
  76. * @ibatorgenerated Fri May 30 10:23:18 CST 2014
  77. */
  78. int updateByPrimaryKeySelective(XtDmlb record);
  79. /**
  80. * This method was generated by Apache iBATIS ibator.
  81. * This method corresponds to the database table xt_dmlb
  82. *
  83. * @ibatorgenerated Fri May 30 10:23:18 CST 2014
  84. */
  85. int updateByPrimaryKey(XtDmlb record);
  86. /**
  87. * 按条件搜索XtDmlb
  88. */
  89. ResponseBean selectXtDmlbByParam(Map<String, Object> paramMap, PageBean pageBean) throws Exception;
  90. /**
  91. * 得到最大的顺序号
  92. */
  93. Integer selectMaxSxh();
  94. /**
  95. * 插入XtDmlb,同时更新对应XtDmlb的sxh字段
  96. * @param xtDmlb
  97. * 需要插入的XtDmlb
  98. */
  99. public void insertXtDmlb(final XtDmlb xtDmlb);
  100. /**
  101. * 更新XtDmlb,同时更新对应XtDmlb的sxh字段
  102. * @param yXtDmlb
  103. * 原XtDmlb
  104. * @param xXtDmlb
  105. * 新XtDmlb
  106. */
  107. void updateXtDmlb(final XtDmlb yXtDmlb, final XtDmlb xXtDmlb);
  108. /**
  109. * 置废XtDmlb,同时更新对应XtDmlb的sxh字段
  110. * @param xtDmlb
  111. * 需要置废的XtDmlb
  112. */
  113. void disableXtDmlb(final XtDmlb xtDmlb);
  114. }