FncVoucherMapper.java 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121
  1. package com.ydtech.modules.fnc.dao;
  2. import com.ydtech.modules.fnc.model.FncVoucher;
  3. import com.ydtech.modules.fnc.model.FncVoucherExample;
  4. import com.ydtech.modules.fnc.model.FncVoucherKey;
  5. import com.ydtech.modules.fnc.vo.FncVoucherReq;
  6. import com.ydtech.modules.fnc.vo.FncVoucherVo;
  7. import org.apache.ibatis.annotations.Param;
  8. import org.springframework.stereotype.Repository;
  9. import java.util.List;
  10. @Repository
  11. public interface FncVoucherMapper {
  12. /**
  13. * description:countByExample
  14. *
  15. * @author: gws
  16. * @date: 2021-12-15
  17. * @since: 1.0
  18. */
  19. long countByExample(FncVoucherExample example);
  20. /**
  21. * description:deleteByExample
  22. *
  23. * @author: gws
  24. * @date: 2021-12-15
  25. * @since: 1.0
  26. */
  27. int deleteByExample(FncVoucherExample example);
  28. /**
  29. * description:deleteByPrimaryKey
  30. *
  31. * @author: gws
  32. * @date: 2021-12-15
  33. * @since: 1.0
  34. */
  35. int deleteByPrimaryKey(FncVoucherKey key);
  36. /**
  37. * description:insert
  38. *
  39. * @author: gws
  40. * @date: 2021-12-15
  41. * @since: 1.0
  42. */
  43. int insert(FncVoucher record);
  44. /**
  45. * description:insertSelective
  46. *
  47. * @author: gws
  48. * @date: 2021-12-15
  49. * @since: 1.0
  50. */
  51. int insertSelective(FncVoucher record);
  52. /**
  53. * description:selectByExample
  54. *
  55. * @author: gws
  56. * @date: 2021-12-15
  57. * @since: 1.0
  58. */
  59. List<FncVoucher> selectByExample(FncVoucherExample example);
  60. /**
  61. * description:selectByPrimaryKey
  62. *
  63. * @author: gws
  64. * @date: 2021-12-15
  65. * @since: 1.0
  66. */
  67. FncVoucher selectByPrimaryKey(FncVoucherKey key);
  68. /**
  69. * description:updateByExampleSelective
  70. *
  71. * @author: gws
  72. * @date: 2021-12-15
  73. * @since: 1.0
  74. */
  75. int updateByExampleSelective(@Param("record") FncVoucher record, @Param("example") FncVoucherExample example);
  76. /**
  77. * description:updateByExample
  78. *
  79. * @author: gws
  80. * @date: 2021-12-15
  81. * @since: 1.0
  82. */
  83. int updateByExample(@Param("record") FncVoucher record, @Param("example") FncVoucherExample example);
  84. /**
  85. * description:updateByPrimaryKeySelective
  86. *
  87. * @author: gws
  88. * @date: 2021-12-15
  89. * @since: 1.0
  90. */
  91. int updateByPrimaryKeySelective(FncVoucher record);
  92. /**
  93. * description:updateByPrimaryKey
  94. *
  95. * @author: gws
  96. * @date: 2021-12-15
  97. * @since: 1.0
  98. */
  99. int updateByPrimaryKey(FncVoucher record);
  100. List<FncVoucher> queryVoucherByCodition(FncVoucherReq codition);
  101. List<FncVoucherVo> exportVoucherByCodition(FncVoucherReq codition);
  102. List<FncVoucher> queryVoucher(FncVoucherReq codition);
  103. }