StationInfoMapper.java 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141
  1. package com.platform.yijia.dao;
  2. import com.platform.yijia.pojo.StationInfo;
  3. import com.platform.yijia.pojo.StationInfoExample;
  4. import java.util.List;
  5. import java.util.Map;
  6. import com.platform.yijia.pojo.StationPic;
  7. import org.apache.ibatis.annotations.Param;
  8. public interface StationInfoMapper {
  9. //获取油站信息
  10. StationInfo selectStationInfo(StationInfo stationInfo);
  11. //获取油站的打印机
  12. List<Map<String, Object>> getStationPrinterList(Integer stationId);
  13. //获取油站轮播图片
  14. List<StationPic> getStationPicList (StationPic stationPic);
  15. //获取油站公告
  16. Map<String, Object> getStationNoticeInfo(Integer stationId);
  17. //获取该油站的优惠方式
  18. String getStationDiscountWay(String stationId);
  19. //获取小程序APPID和APPSECRET
  20. Map<String, String> getStationAppIdAndAppSecret(Integer stationId);
  21. /**
  22. * This method was generated by MyBatis Generator.
  23. * This method corresponds to the database table station_info
  24. *
  25. * @mbg.generated
  26. */
  27. long countByExample(StationInfoExample example);
  28. /**
  29. * This method was generated by MyBatis Generator.
  30. * This method corresponds to the database table station_info
  31. *
  32. * @mbg.generated
  33. */
  34. int deleteByExample(StationInfoExample example);
  35. /**
  36. * This method was generated by MyBatis Generator.
  37. * This method corresponds to the database table station_info
  38. *
  39. * @mbg.generated
  40. */
  41. int deleteByPrimaryKey(Integer stationId);
  42. /**
  43. * This method was generated by MyBatis Generator.
  44. * This method corresponds to the database table station_info
  45. *
  46. * @mbg.generated
  47. */
  48. int insert(StationInfo record);
  49. /**
  50. * This method was generated by MyBatis Generator.
  51. * This method corresponds to the database table station_info
  52. *
  53. * @mbg.generated
  54. */
  55. int insertSelective(StationInfo record);
  56. /**
  57. * This method was generated by MyBatis Generator.
  58. * This method corresponds to the database table station_info
  59. *
  60. * @mbg.generated
  61. */
  62. List<StationInfo> selectByExampleWithBLOBs(StationInfoExample example);
  63. /**
  64. * This method was generated by MyBatis Generator.
  65. * This method corresponds to the database table station_info
  66. *
  67. * @mbg.generated
  68. */
  69. List<StationInfo> selectByExample(StationInfoExample example);
  70. /**
  71. * This method was generated by MyBatis Generator.
  72. * This method corresponds to the database table station_info
  73. *
  74. * @mbg.generated
  75. */
  76. StationInfo selectByPrimaryKey(Integer stationId);
  77. /**
  78. * This method was generated by MyBatis Generator.
  79. * This method corresponds to the database table station_info
  80. *
  81. * @mbg.generated
  82. */
  83. int updateByExampleSelective(@Param("record") StationInfo record, @Param("example") StationInfoExample example);
  84. /**
  85. * This method was generated by MyBatis Generator.
  86. * This method corresponds to the database table station_info
  87. *
  88. * @mbg.generated
  89. */
  90. int updateByExampleWithBLOBs(@Param("record") StationInfo record, @Param("example") StationInfoExample example);
  91. /**
  92. * This method was generated by MyBatis Generator.
  93. * This method corresponds to the database table station_info
  94. *
  95. * @mbg.generated
  96. */
  97. int updateByExample(@Param("record") StationInfo record, @Param("example") StationInfoExample example);
  98. /**
  99. * This method was generated by MyBatis Generator.
  100. * This method corresponds to the database table station_info
  101. *
  102. * @mbg.generated
  103. */
  104. int updateByPrimaryKeySelective(StationInfo record);
  105. /**
  106. * This method was generated by MyBatis Generator.
  107. * This method corresponds to the database table station_info
  108. *
  109. * @mbg.generated
  110. */
  111. int updateByPrimaryKeyWithBLOBs(StationInfo record);
  112. /**
  113. * This method was generated by MyBatis Generator.
  114. * This method corresponds to the database table station_info
  115. *
  116. * @mbg.generated
  117. */
  118. int updateByPrimaryKey(StationInfo record);
  119. }