Sfoglia il codice sorgente

油站信息管理代码提交

XF--LRQYEJOKYDS\Administrator 4 anni fa
parent
commit
01d8410820
29 ha cambiato i file con 10075 aggiunte e 0 eliminazioni
  1. 60 0
      YijiaRestful/src/main/java/com/platform/yijia/controller/StationController.java
  2. 120 0
      YijiaRestful/src/main/java/com/platform/yijia/dao/StationInfoMapper.java
  3. 96 0
      YijiaRestful/src/main/java/com/platform/yijia/dao/StationNoticeManageMapper.java
  4. 96 0
      YijiaRestful/src/main/java/com/platform/yijia/dao/StationOfficialManageMapper.java
  5. 96 0
      YijiaRestful/src/main/java/com/platform/yijia/dao/StationOilAdjustPriceMapper.java
  6. 96 0
      YijiaRestful/src/main/java/com/platform/yijia/dao/StationOilGunMapper.java
  7. 96 0
      YijiaRestful/src/main/java/com/platform/yijia/dao/StationOilPriceMapper.java
  8. 120 0
      YijiaRestful/src/main/java/com/platform/yijia/dao/StationPayManageMapper.java
  9. 96 0
      YijiaRestful/src/main/java/com/platform/yijia/dao/StationPersonnelMapper.java
  10. 67 0
      YijiaRestful/src/main/java/com/platform/yijia/param/response/PayCloseResponseParameter.java
  11. 399 0
      YijiaRestful/src/main/java/com/platform/yijia/pojo/StationInfo.java
  12. 1042 0
      YijiaRestful/src/main/java/com/platform/yijia/pojo/StationInfoExample.java
  13. 269 0
      YijiaRestful/src/main/java/com/platform/yijia/pojo/StationNoticeManage.java
  14. 870 0
      YijiaRestful/src/main/java/com/platform/yijia/pojo/StationNoticeManageExample.java
  15. 201 0
      YijiaRestful/src/main/java/com/platform/yijia/pojo/StationOfficialManage.java
  16. 712 0
      YijiaRestful/src/main/java/com/platform/yijia/pojo/StationOfficialManageExample.java
  17. 302 0
      YijiaRestful/src/main/java/com/platform/yijia/pojo/StationOilAdjustPrice.java
  18. 903 0
      YijiaRestful/src/main/java/com/platform/yijia/pojo/StationOilAdjustPriceExample.java
  19. 203 0
      YijiaRestful/src/main/java/com/platform/yijia/pojo/StationOilGun.java
  20. 703 0
      YijiaRestful/src/main/java/com/platform/yijia/pojo/StationOilGunExample.java
  21. 203 0
      YijiaRestful/src/main/java/com/platform/yijia/pojo/StationOilPrice.java
  22. 703 0
      YijiaRestful/src/main/java/com/platform/yijia/pojo/StationOilPriceExample.java
  23. 399 0
      YijiaRestful/src/main/java/com/platform/yijia/pojo/StationPayManage.java
  24. 1052 0
      YijiaRestful/src/main/java/com/platform/yijia/pojo/StationPayManageExample.java
  25. 234 0
      YijiaRestful/src/main/java/com/platform/yijia/pojo/StationPersonnel.java
  26. 782 0
      YijiaRestful/src/main/java/com/platform/yijia/pojo/StationPersonnelExample.java
  27. 11 0
      YijiaRestful/src/main/java/com/platform/yijia/service/StationService.java
  28. 81 0
      YijiaRestful/src/main/java/com/platform/yijia/service/impl/StationServiceImpl.java
  29. 63 0
      YijiaRestful/src/main/java/com/platform/yijia/utils/MapHelper.java

+ 60 - 0
YijiaRestful/src/main/java/com/platform/yijia/controller/StationController.java

@@ -0,0 +1,60 @@
+package com.platform.yijia.controller;
+
+import com.alibaba.fastjson.JSONObject;
+import com.google.gson.Gson;
+import com.platform.yijia.pojo.StationInfo;
+import com.platform.yijia.pojo.StationInfoExample;
+import com.platform.yijia.service.StationService;
+import org.springframework.stereotype.Controller;
+import org.springframework.web.bind.annotation.RequestMapping;
+import org.springframework.web.bind.annotation.RequestMethod;
+import org.springframework.web.bind.annotation.ResponseBody;
+
+import javax.annotation.Resource;
+import javax.servlet.http.HttpServletRequest;
+import javax.servlet.http.HttpServletResponse;
+import java.util.List;
+
+@Controller
+@RequestMapping("/api")
+public class StationController {
+    @Resource
+    private StationService stationService;
+    /**
+     * 获取油站列表
+     */
+    @RequestMapping(value = "/getStationInfoList", method = RequestMethod.GET)
+    @ResponseBody
+    public void getStationInfoList(HttpServletRequest request, HttpServletResponse response){
+        JSONObject req = new JSONObject();
+        //获取当前用户坐标
+        String zuobiao=request.getParameter("zuobiao");
+        Gson gson =new Gson();
+        if(zuobiao!=null){
+            if(zuobiao==""){
+                StationInfo stationInfo=new StationInfo();
+
+                //调用接口 根据坐标筛选距离最近的加油站
+                List<StationInfo> stationInfoList = stationService.stationInfoList(stationInfo);
+                req.put("code","000");
+                req.put("msg","请求成功");
+                req.put("data","");
+            }else{
+                req.put("code","002");
+                req.put("msg","获取坐标失败");
+            }
+        }else{
+            req.put("code","001");
+            req.put("msg","坐标未传参数");
+        }
+        try {
+            response.setContentType("application/json; charset=UTF-8");
+            response.setCharacterEncoding("UTF-8");
+            response.getWriter().print(req);
+            response.getWriter().flush();
+            response.getWriter().close();
+        }catch (Exception e){
+            e.printStackTrace();
+        }
+    }
+}

+ 120 - 0
YijiaRestful/src/main/java/com/platform/yijia/dao/StationInfoMapper.java

@@ -0,0 +1,120 @@
+package com.platform.yijia.dao;
+
+import com.platform.yijia.pojo.StationInfo;
+import com.platform.yijia.pojo.StationInfoExample;
+import java.util.List;
+import org.apache.ibatis.annotations.Param;
+
+public interface StationInfoMapper {
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_info
+     *
+     * @mbg.generated
+     */
+    long countByExample(StationInfoExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_info
+     *
+     * @mbg.generated
+     */
+    int deleteByExample(StationInfoExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_info
+     *
+     * @mbg.generated
+     */
+    int deleteByPrimaryKey(Integer stationId);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_info
+     *
+     * @mbg.generated
+     */
+    int insert(StationInfo record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_info
+     *
+     * @mbg.generated
+     */
+    int insertSelective(StationInfo record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_info
+     *
+     * @mbg.generated
+     */
+    List<StationInfo> selectByExampleWithBLOBs(StationInfoExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_info
+     *
+     * @mbg.generated
+     */
+    List<StationInfo> selectByExample(StationInfoExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_info
+     *
+     * @mbg.generated
+     */
+    StationInfo selectByPrimaryKey(Integer stationId);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_info
+     *
+     * @mbg.generated
+     */
+    int updateByExampleSelective(@Param("record") StationInfo record, @Param("example") StationInfoExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_info
+     *
+     * @mbg.generated
+     */
+    int updateByExampleWithBLOBs(@Param("record") StationInfo record, @Param("example") StationInfoExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_info
+     *
+     * @mbg.generated
+     */
+    int updateByExample(@Param("record") StationInfo record, @Param("example") StationInfoExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_info
+     *
+     * @mbg.generated
+     */
+    int updateByPrimaryKeySelective(StationInfo record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_info
+     *
+     * @mbg.generated
+     */
+    int updateByPrimaryKeyWithBLOBs(StationInfo record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_info
+     *
+     * @mbg.generated
+     */
+    int updateByPrimaryKey(StationInfo record);
+}

+ 96 - 0
YijiaRestful/src/main/java/com/platform/yijia/dao/StationNoticeManageMapper.java

@@ -0,0 +1,96 @@
+package com.platform.yijia.dao;
+
+import com.platform.yijia.pojo.StationNoticeManage;
+import com.platform.yijia.pojo.StationNoticeManageExample;
+import java.util.List;
+import org.apache.ibatis.annotations.Param;
+
+public interface StationNoticeManageMapper {
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_notice_manage
+     *
+     * @mbg.generated
+     */
+    long countByExample(StationNoticeManageExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_notice_manage
+     *
+     * @mbg.generated
+     */
+    int deleteByExample(StationNoticeManageExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_notice_manage
+     *
+     * @mbg.generated
+     */
+    int deleteByPrimaryKey(Integer noticeId);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_notice_manage
+     *
+     * @mbg.generated
+     */
+    int insert(StationNoticeManage record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_notice_manage
+     *
+     * @mbg.generated
+     */
+    int insertSelective(StationNoticeManage record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_notice_manage
+     *
+     * @mbg.generated
+     */
+    List<StationNoticeManage> selectByExample(StationNoticeManageExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_notice_manage
+     *
+     * @mbg.generated
+     */
+    StationNoticeManage selectByPrimaryKey(Integer noticeId);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_notice_manage
+     *
+     * @mbg.generated
+     */
+    int updateByExampleSelective(@Param("record") StationNoticeManage record, @Param("example") StationNoticeManageExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_notice_manage
+     *
+     * @mbg.generated
+     */
+    int updateByExample(@Param("record") StationNoticeManage record, @Param("example") StationNoticeManageExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_notice_manage
+     *
+     * @mbg.generated
+     */
+    int updateByPrimaryKeySelective(StationNoticeManage record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_notice_manage
+     *
+     * @mbg.generated
+     */
+    int updateByPrimaryKey(StationNoticeManage record);
+}

+ 96 - 0
YijiaRestful/src/main/java/com/platform/yijia/dao/StationOfficialManageMapper.java

@@ -0,0 +1,96 @@
+package com.platform.yijia.dao;
+
+import com.platform.yijia.pojo.StationOfficialManage;
+import com.platform.yijia.pojo.StationOfficialManageExample;
+import java.util.List;
+import org.apache.ibatis.annotations.Param;
+
+public interface StationOfficialManageMapper {
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_official_manage
+     *
+     * @mbg.generated
+     */
+    long countByExample(StationOfficialManageExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_official_manage
+     *
+     * @mbg.generated
+     */
+    int deleteByExample(StationOfficialManageExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_official_manage
+     *
+     * @mbg.generated
+     */
+    int deleteByPrimaryKey(Integer officialId);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_official_manage
+     *
+     * @mbg.generated
+     */
+    int insert(StationOfficialManage record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_official_manage
+     *
+     * @mbg.generated
+     */
+    int insertSelective(StationOfficialManage record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_official_manage
+     *
+     * @mbg.generated
+     */
+    List<StationOfficialManage> selectByExample(StationOfficialManageExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_official_manage
+     *
+     * @mbg.generated
+     */
+    StationOfficialManage selectByPrimaryKey(Integer officialId);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_official_manage
+     *
+     * @mbg.generated
+     */
+    int updateByExampleSelective(@Param("record") StationOfficialManage record, @Param("example") StationOfficialManageExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_official_manage
+     *
+     * @mbg.generated
+     */
+    int updateByExample(@Param("record") StationOfficialManage record, @Param("example") StationOfficialManageExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_official_manage
+     *
+     * @mbg.generated
+     */
+    int updateByPrimaryKeySelective(StationOfficialManage record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_official_manage
+     *
+     * @mbg.generated
+     */
+    int updateByPrimaryKey(StationOfficialManage record);
+}

+ 96 - 0
YijiaRestful/src/main/java/com/platform/yijia/dao/StationOilAdjustPriceMapper.java

@@ -0,0 +1,96 @@
+package com.platform.yijia.dao;
+
+import com.platform.yijia.pojo.StationOilAdjustPrice;
+import com.platform.yijia.pojo.StationOilAdjustPriceExample;
+import java.util.List;
+import org.apache.ibatis.annotations.Param;
+
+public interface StationOilAdjustPriceMapper {
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_oil_adjust_price
+     *
+     * @mbg.generated
+     */
+    long countByExample(StationOilAdjustPriceExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_oil_adjust_price
+     *
+     * @mbg.generated
+     */
+    int deleteByExample(StationOilAdjustPriceExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_oil_adjust_price
+     *
+     * @mbg.generated
+     */
+    int deleteByPrimaryKey(Integer adjustPriceId);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_oil_adjust_price
+     *
+     * @mbg.generated
+     */
+    int insert(StationOilAdjustPrice record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_oil_adjust_price
+     *
+     * @mbg.generated
+     */
+    int insertSelective(StationOilAdjustPrice record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_oil_adjust_price
+     *
+     * @mbg.generated
+     */
+    List<StationOilAdjustPrice> selectByExample(StationOilAdjustPriceExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_oil_adjust_price
+     *
+     * @mbg.generated
+     */
+    StationOilAdjustPrice selectByPrimaryKey(Integer adjustPriceId);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_oil_adjust_price
+     *
+     * @mbg.generated
+     */
+    int updateByExampleSelective(@Param("record") StationOilAdjustPrice record, @Param("example") StationOilAdjustPriceExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_oil_adjust_price
+     *
+     * @mbg.generated
+     */
+    int updateByExample(@Param("record") StationOilAdjustPrice record, @Param("example") StationOilAdjustPriceExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_oil_adjust_price
+     *
+     * @mbg.generated
+     */
+    int updateByPrimaryKeySelective(StationOilAdjustPrice record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_oil_adjust_price
+     *
+     * @mbg.generated
+     */
+    int updateByPrimaryKey(StationOilAdjustPrice record);
+}

+ 96 - 0
YijiaRestful/src/main/java/com/platform/yijia/dao/StationOilGunMapper.java

@@ -0,0 +1,96 @@
+package com.platform.yijia.dao;
+
+import com.platform.yijia.pojo.StationOilGun;
+import com.platform.yijia.pojo.StationOilGunExample;
+import java.util.List;
+import org.apache.ibatis.annotations.Param;
+
+public interface StationOilGunMapper {
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_oil_gun
+     *
+     * @mbg.generated
+     */
+    long countByExample(StationOilGunExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_oil_gun
+     *
+     * @mbg.generated
+     */
+    int deleteByExample(StationOilGunExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_oil_gun
+     *
+     * @mbg.generated
+     */
+    int deleteByPrimaryKey(Integer oilGunId);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_oil_gun
+     *
+     * @mbg.generated
+     */
+    int insert(StationOilGun record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_oil_gun
+     *
+     * @mbg.generated
+     */
+    int insertSelective(StationOilGun record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_oil_gun
+     *
+     * @mbg.generated
+     */
+    List<StationOilGun> selectByExample(StationOilGunExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_oil_gun
+     *
+     * @mbg.generated
+     */
+    StationOilGun selectByPrimaryKey(Integer oilGunId);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_oil_gun
+     *
+     * @mbg.generated
+     */
+    int updateByExampleSelective(@Param("record") StationOilGun record, @Param("example") StationOilGunExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_oil_gun
+     *
+     * @mbg.generated
+     */
+    int updateByExample(@Param("record") StationOilGun record, @Param("example") StationOilGunExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_oil_gun
+     *
+     * @mbg.generated
+     */
+    int updateByPrimaryKeySelective(StationOilGun record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_oil_gun
+     *
+     * @mbg.generated
+     */
+    int updateByPrimaryKey(StationOilGun record);
+}

+ 96 - 0
YijiaRestful/src/main/java/com/platform/yijia/dao/StationOilPriceMapper.java

@@ -0,0 +1,96 @@
+package com.platform.yijia.dao;
+
+import com.platform.yijia.pojo.StationOilPrice;
+import com.platform.yijia.pojo.StationOilPriceExample;
+import java.util.List;
+import org.apache.ibatis.annotations.Param;
+
+public interface StationOilPriceMapper {
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_oil_price
+     *
+     * @mbg.generated
+     */
+    long countByExample(StationOilPriceExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_oil_price
+     *
+     * @mbg.generated
+     */
+    int deleteByExample(StationOilPriceExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_oil_price
+     *
+     * @mbg.generated
+     */
+    int deleteByPrimaryKey(Integer oilPriceId);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_oil_price
+     *
+     * @mbg.generated
+     */
+    int insert(StationOilPrice record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_oil_price
+     *
+     * @mbg.generated
+     */
+    int insertSelective(StationOilPrice record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_oil_price
+     *
+     * @mbg.generated
+     */
+    List<StationOilPrice> selectByExample(StationOilPriceExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_oil_price
+     *
+     * @mbg.generated
+     */
+    StationOilPrice selectByPrimaryKey(Integer oilPriceId);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_oil_price
+     *
+     * @mbg.generated
+     */
+    int updateByExampleSelective(@Param("record") StationOilPrice record, @Param("example") StationOilPriceExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_oil_price
+     *
+     * @mbg.generated
+     */
+    int updateByExample(@Param("record") StationOilPrice record, @Param("example") StationOilPriceExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_oil_price
+     *
+     * @mbg.generated
+     */
+    int updateByPrimaryKeySelective(StationOilPrice record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_oil_price
+     *
+     * @mbg.generated
+     */
+    int updateByPrimaryKey(StationOilPrice record);
+}

+ 120 - 0
YijiaRestful/src/main/java/com/platform/yijia/dao/StationPayManageMapper.java

@@ -0,0 +1,120 @@
+package com.platform.yijia.dao;
+
+import com.platform.yijia.pojo.StationPayManage;
+import com.platform.yijia.pojo.StationPayManageExample;
+import java.util.List;
+import org.apache.ibatis.annotations.Param;
+
+public interface StationPayManageMapper {
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_pay_manage
+     *
+     * @mbg.generated
+     */
+    long countByExample(StationPayManageExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_pay_manage
+     *
+     * @mbg.generated
+     */
+    int deleteByExample(StationPayManageExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_pay_manage
+     *
+     * @mbg.generated
+     */
+    int deleteByPrimaryKey(Integer payId);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_pay_manage
+     *
+     * @mbg.generated
+     */
+    int insert(StationPayManage record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_pay_manage
+     *
+     * @mbg.generated
+     */
+    int insertSelective(StationPayManage record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_pay_manage
+     *
+     * @mbg.generated
+     */
+    List<StationPayManage> selectByExampleWithBLOBs(StationPayManageExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_pay_manage
+     *
+     * @mbg.generated
+     */
+    List<StationPayManage> selectByExample(StationPayManageExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_pay_manage
+     *
+     * @mbg.generated
+     */
+    StationPayManage selectByPrimaryKey(Integer payId);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_pay_manage
+     *
+     * @mbg.generated
+     */
+    int updateByExampleSelective(@Param("record") StationPayManage record, @Param("example") StationPayManageExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_pay_manage
+     *
+     * @mbg.generated
+     */
+    int updateByExampleWithBLOBs(@Param("record") StationPayManage record, @Param("example") StationPayManageExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_pay_manage
+     *
+     * @mbg.generated
+     */
+    int updateByExample(@Param("record") StationPayManage record, @Param("example") StationPayManageExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_pay_manage
+     *
+     * @mbg.generated
+     */
+    int updateByPrimaryKeySelective(StationPayManage record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_pay_manage
+     *
+     * @mbg.generated
+     */
+    int updateByPrimaryKeyWithBLOBs(StationPayManage record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_pay_manage
+     *
+     * @mbg.generated
+     */
+    int updateByPrimaryKey(StationPayManage record);
+}

+ 96 - 0
YijiaRestful/src/main/java/com/platform/yijia/dao/StationPersonnelMapper.java

@@ -0,0 +1,96 @@
+package com.platform.yijia.dao;
+
+import com.platform.yijia.pojo.StationPersonnel;
+import com.platform.yijia.pojo.StationPersonnelExample;
+import java.util.List;
+import org.apache.ibatis.annotations.Param;
+
+public interface StationPersonnelMapper {
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_personnel
+     *
+     * @mbg.generated
+     */
+    long countByExample(StationPersonnelExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_personnel
+     *
+     * @mbg.generated
+     */
+    int deleteByExample(StationPersonnelExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_personnel
+     *
+     * @mbg.generated
+     */
+    int deleteByPrimaryKey(Integer personnelId);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_personnel
+     *
+     * @mbg.generated
+     */
+    int insert(StationPersonnel record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_personnel
+     *
+     * @mbg.generated
+     */
+    int insertSelective(StationPersonnel record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_personnel
+     *
+     * @mbg.generated
+     */
+    List<StationPersonnel> selectByExample(StationPersonnelExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_personnel
+     *
+     * @mbg.generated
+     */
+    StationPersonnel selectByPrimaryKey(Integer personnelId);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_personnel
+     *
+     * @mbg.generated
+     */
+    int updateByExampleSelective(@Param("record") StationPersonnel record, @Param("example") StationPersonnelExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_personnel
+     *
+     * @mbg.generated
+     */
+    int updateByExample(@Param("record") StationPersonnel record, @Param("example") StationPersonnelExample example);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_personnel
+     *
+     * @mbg.generated
+     */
+    int updateByPrimaryKeySelective(StationPersonnel record);
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_personnel
+     *
+     * @mbg.generated
+     */
+    int updateByPrimaryKey(StationPersonnel record);
+}

+ 67 - 0
YijiaRestful/src/main/java/com/platform/yijia/param/response/PayCloseResponseParameter.java

@@ -0,0 +1,67 @@
+package com.platform.yijia.param.response;
+
+public class PayCloseResponseParameter {
+    private String bizCode;//业务返回码
+    private String bizMsg;//业务返回信息
+    private String ordNo;//商户订单号
+    private String uuid;//科技公司订单号
+    private String subAppId;//微信 subAppId
+    private String subMchId;//微信支付分配的 子 商 户 号 适用于微信
+    private String tranSts;//交易状态: CLOSED 已关闭
+
+    public String getBizCode() {
+        return bizCode;
+    }
+
+    public void setBizCode(String bizCode) {
+        this.bizCode = bizCode;
+    }
+
+    public String getBizMsg() {
+        return bizMsg;
+    }
+
+    public void setBizMsg(String bizMsg) {
+        this.bizMsg = bizMsg;
+    }
+
+    public String getOrdNo() {
+        return ordNo;
+    }
+
+    public void setOrdNo(String ordNo) {
+        this.ordNo = ordNo;
+    }
+
+    public String getUuid() {
+        return uuid;
+    }
+
+    public void setUuid(String uuid) {
+        this.uuid = uuid;
+    }
+
+    public String getSubAppId() {
+        return subAppId;
+    }
+
+    public void setSubAppId(String subAppId) {
+        this.subAppId = subAppId;
+    }
+
+    public String getSubMchId() {
+        return subMchId;
+    }
+
+    public void setSubMchId(String subMchId) {
+        this.subMchId = subMchId;
+    }
+
+    public String getTranSts() {
+        return tranSts;
+    }
+
+    public void setTranSts(String tranSts) {
+        this.tranSts = tranSts;
+    }
+}

+ 399 - 0
YijiaRestful/src/main/java/com/platform/yijia/pojo/StationInfo.java

@@ -0,0 +1,399 @@
+package com.platform.yijia.pojo;
+
+public class StationInfo {
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column station_info.station_id
+     *
+     * @mbg.generated
+     */
+    private Integer stationId;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column station_info.station_name
+     *
+     * @mbg.generated
+     */
+    private String stationName;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column station_info.station_no
+     *
+     * @mbg.generated
+     */
+    private String stationNo;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column station_info.station_address
+     *
+     * @mbg.generated
+     */
+    private String stationAddress;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column station_info.oil_gun_num
+     *
+     * @mbg.generated
+     */
+    private Integer oilGunNum;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column station_info.contacts
+     *
+     * @mbg.generated
+     */
+    private String contacts;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column station_info.phone
+     *
+     * @mbg.generated
+     */
+    private String phone;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column station_info.station_group_id
+     *
+     * @mbg.generated
+     */
+    private Integer stationGroupId;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column station_info.station_group_name
+     *
+     * @mbg.generated
+     */
+    private String stationGroupName;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column station_info.station_longitude
+     *
+     * @mbg.generated
+     */
+    private String stationLongitude;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column station_info.station_latitude
+     *
+     * @mbg.generated
+     */
+    private String stationLatitude;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column station_info.station_pic
+     *
+     * @mbg.generated
+     */
+    private byte[] stationPic;
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column station_info.station_id
+     *
+     * @return the value of station_info.station_id
+     *
+     * @mbg.generated
+     */
+    public Integer getStationId() {
+        return stationId;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column station_info.station_id
+     *
+     * @param stationId the value for station_info.station_id
+     *
+     * @mbg.generated
+     */
+    public void setStationId(Integer stationId) {
+        this.stationId = stationId;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column station_info.station_name
+     *
+     * @return the value of station_info.station_name
+     *
+     * @mbg.generated
+     */
+    public String getStationName() {
+        return stationName;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column station_info.station_name
+     *
+     * @param stationName the value for station_info.station_name
+     *
+     * @mbg.generated
+     */
+    public void setStationName(String stationName) {
+        this.stationName = stationName == null ? null : stationName.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column station_info.station_no
+     *
+     * @return the value of station_info.station_no
+     *
+     * @mbg.generated
+     */
+    public String getStationNo() {
+        return stationNo;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column station_info.station_no
+     *
+     * @param stationNo the value for station_info.station_no
+     *
+     * @mbg.generated
+     */
+    public void setStationNo(String stationNo) {
+        this.stationNo = stationNo == null ? null : stationNo.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column station_info.station_address
+     *
+     * @return the value of station_info.station_address
+     *
+     * @mbg.generated
+     */
+    public String getStationAddress() {
+        return stationAddress;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column station_info.station_address
+     *
+     * @param stationAddress the value for station_info.station_address
+     *
+     * @mbg.generated
+     */
+    public void setStationAddress(String stationAddress) {
+        this.stationAddress = stationAddress == null ? null : stationAddress.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column station_info.oil_gun_num
+     *
+     * @return the value of station_info.oil_gun_num
+     *
+     * @mbg.generated
+     */
+    public Integer getOilGunNum() {
+        return oilGunNum;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column station_info.oil_gun_num
+     *
+     * @param oilGunNum the value for station_info.oil_gun_num
+     *
+     * @mbg.generated
+     */
+    public void setOilGunNum(Integer oilGunNum) {
+        this.oilGunNum = oilGunNum;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column station_info.contacts
+     *
+     * @return the value of station_info.contacts
+     *
+     * @mbg.generated
+     */
+    public String getContacts() {
+        return contacts;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column station_info.contacts
+     *
+     * @param contacts the value for station_info.contacts
+     *
+     * @mbg.generated
+     */
+    public void setContacts(String contacts) {
+        this.contacts = contacts == null ? null : contacts.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column station_info.phone
+     *
+     * @return the value of station_info.phone
+     *
+     * @mbg.generated
+     */
+    public String getPhone() {
+        return phone;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column station_info.phone
+     *
+     * @param phone the value for station_info.phone
+     *
+     * @mbg.generated
+     */
+    public void setPhone(String phone) {
+        this.phone = phone == null ? null : phone.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column station_info.station_group_id
+     *
+     * @return the value of station_info.station_group_id
+     *
+     * @mbg.generated
+     */
+    public Integer getStationGroupId() {
+        return stationGroupId;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column station_info.station_group_id
+     *
+     * @param stationGroupId the value for station_info.station_group_id
+     *
+     * @mbg.generated
+     */
+    public void setStationGroupId(Integer stationGroupId) {
+        this.stationGroupId = stationGroupId;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column station_info.station_group_name
+     *
+     * @return the value of station_info.station_group_name
+     *
+     * @mbg.generated
+     */
+    public String getStationGroupName() {
+        return stationGroupName;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column station_info.station_group_name
+     *
+     * @param stationGroupName the value for station_info.station_group_name
+     *
+     * @mbg.generated
+     */
+    public void setStationGroupName(String stationGroupName) {
+        this.stationGroupName = stationGroupName == null ? null : stationGroupName.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column station_info.station_longitude
+     *
+     * @return the value of station_info.station_longitude
+     *
+     * @mbg.generated
+     */
+    public String getStationLongitude() {
+        return stationLongitude;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column station_info.station_longitude
+     *
+     * @param stationLongitude the value for station_info.station_longitude
+     *
+     * @mbg.generated
+     */
+    public void setStationLongitude(String stationLongitude) {
+        this.stationLongitude = stationLongitude == null ? null : stationLongitude.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column station_info.station_latitude
+     *
+     * @return the value of station_info.station_latitude
+     *
+     * @mbg.generated
+     */
+    public String getStationLatitude() {
+        return stationLatitude;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column station_info.station_latitude
+     *
+     * @param stationLatitude the value for station_info.station_latitude
+     *
+     * @mbg.generated
+     */
+    public void setStationLatitude(String stationLatitude) {
+        this.stationLatitude = stationLatitude == null ? null : stationLatitude.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column station_info.station_pic
+     *
+     * @return the value of station_info.station_pic
+     *
+     * @mbg.generated
+     */
+    public byte[] getStationPic() {
+        return stationPic;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column station_info.station_pic
+     *
+     * @param stationPic the value for station_info.station_pic
+     *
+     * @mbg.generated
+     */
+    public void setStationPic(byte[] stationPic) {
+        this.stationPic = stationPic;
+    }
+}

+ 1042 - 0
YijiaRestful/src/main/java/com/platform/yijia/pojo/StationInfoExample.java

@@ -0,0 +1,1042 @@
+package com.platform.yijia.pojo;
+
+import java.util.ArrayList;
+import java.util.List;
+
+public class StationInfoExample {
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table station_info
+     *
+     * @mbg.generated
+     */
+    protected String orderByClause;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table station_info
+     *
+     * @mbg.generated
+     */
+    protected boolean distinct;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table station_info
+     *
+     * @mbg.generated
+     */
+    protected List<Criteria> oredCriteria;
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_info
+     *
+     * @mbg.generated
+     */
+    public StationInfoExample() {
+        oredCriteria = new ArrayList<Criteria>();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_info
+     *
+     * @mbg.generated
+     */
+    public void setOrderByClause(String orderByClause) {
+        this.orderByClause = orderByClause;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_info
+     *
+     * @mbg.generated
+     */
+    public String getOrderByClause() {
+        return orderByClause;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_info
+     *
+     * @mbg.generated
+     */
+    public void setDistinct(boolean distinct) {
+        this.distinct = distinct;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_info
+     *
+     * @mbg.generated
+     */
+    public boolean isDistinct() {
+        return distinct;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_info
+     *
+     * @mbg.generated
+     */
+    public List<Criteria> getOredCriteria() {
+        return oredCriteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_info
+     *
+     * @mbg.generated
+     */
+    public void or(Criteria criteria) {
+        oredCriteria.add(criteria);
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_info
+     *
+     * @mbg.generated
+     */
+    public Criteria or() {
+        Criteria criteria = createCriteriaInternal();
+        oredCriteria.add(criteria);
+        return criteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_info
+     *
+     * @mbg.generated
+     */
+    public Criteria createCriteria() {
+        Criteria criteria = createCriteriaInternal();
+        if (oredCriteria.size() == 0) {
+            oredCriteria.add(criteria);
+        }
+        return criteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_info
+     *
+     * @mbg.generated
+     */
+    protected Criteria createCriteriaInternal() {
+        Criteria criteria = new Criteria();
+        return criteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_info
+     *
+     * @mbg.generated
+     */
+    public void clear() {
+        oredCriteria.clear();
+        orderByClause = null;
+        distinct = false;
+    }
+
+    /**
+     * This class was generated by MyBatis Generator.
+     * This class corresponds to the database table station_info
+     *
+     * @mbg.generated
+     */
+    protected abstract static class GeneratedCriteria {
+        protected List<Criterion> criteria;
+
+        protected GeneratedCriteria() {
+            super();
+            criteria = new ArrayList<Criterion>();
+        }
+
+        public boolean isValid() {
+            return criteria.size() > 0;
+        }
+
+        public List<Criterion> getAllCriteria() {
+            return criteria;
+        }
+
+        public List<Criterion> getCriteria() {
+            return criteria;
+        }
+
+        protected void addCriterion(String condition) {
+            if (condition == null) {
+                throw new RuntimeException("Value for condition cannot be null");
+            }
+            criteria.add(new Criterion(condition));
+        }
+
+        protected void addCriterion(String condition, Object value, String property) {
+            if (value == null) {
+                throw new RuntimeException("Value for " + property + " cannot be null");
+            }
+            criteria.add(new Criterion(condition, value));
+        }
+
+        protected void addCriterion(String condition, Object value1, Object value2, String property) {
+            if (value1 == null || value2 == null) {
+                throw new RuntimeException("Between values for " + property + " cannot be null");
+            }
+            criteria.add(new Criterion(condition, value1, value2));
+        }
+
+        public Criteria andStationIdIsNull() {
+            addCriterion("station_id is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationIdIsNotNull() {
+            addCriterion("station_id is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationIdEqualTo(Integer value) {
+            addCriterion("station_id =", value, "stationId");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationIdNotEqualTo(Integer value) {
+            addCriterion("station_id <>", value, "stationId");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationIdGreaterThan(Integer value) {
+            addCriterion("station_id >", value, "stationId");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationIdGreaterThanOrEqualTo(Integer value) {
+            addCriterion("station_id >=", value, "stationId");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationIdLessThan(Integer value) {
+            addCriterion("station_id <", value, "stationId");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationIdLessThanOrEqualTo(Integer value) {
+            addCriterion("station_id <=", value, "stationId");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationIdIn(List<Integer> values) {
+            addCriterion("station_id in", values, "stationId");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationIdNotIn(List<Integer> values) {
+            addCriterion("station_id not in", values, "stationId");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationIdBetween(Integer value1, Integer value2) {
+            addCriterion("station_id between", value1, value2, "stationId");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationIdNotBetween(Integer value1, Integer value2) {
+            addCriterion("station_id not between", value1, value2, "stationId");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameIsNull() {
+            addCriterion("station_name is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameIsNotNull() {
+            addCriterion("station_name is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameEqualTo(String value) {
+            addCriterion("station_name =", value, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameNotEqualTo(String value) {
+            addCriterion("station_name <>", value, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameGreaterThan(String value) {
+            addCriterion("station_name >", value, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameGreaterThanOrEqualTo(String value) {
+            addCriterion("station_name >=", value, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameLessThan(String value) {
+            addCriterion("station_name <", value, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameLessThanOrEqualTo(String value) {
+            addCriterion("station_name <=", value, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameLike(String value) {
+            addCriterion("station_name like", value, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameNotLike(String value) {
+            addCriterion("station_name not like", value, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameIn(List<String> values) {
+            addCriterion("station_name in", values, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameNotIn(List<String> values) {
+            addCriterion("station_name not in", values, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameBetween(String value1, String value2) {
+            addCriterion("station_name between", value1, value2, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameNotBetween(String value1, String value2) {
+            addCriterion("station_name not between", value1, value2, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoIsNull() {
+            addCriterion("station_no is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoIsNotNull() {
+            addCriterion("station_no is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoEqualTo(String value) {
+            addCriterion("station_no =", value, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoNotEqualTo(String value) {
+            addCriterion("station_no <>", value, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoGreaterThan(String value) {
+            addCriterion("station_no >", value, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoGreaterThanOrEqualTo(String value) {
+            addCriterion("station_no >=", value, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoLessThan(String value) {
+            addCriterion("station_no <", value, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoLessThanOrEqualTo(String value) {
+            addCriterion("station_no <=", value, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoLike(String value) {
+            addCriterion("station_no like", value, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoNotLike(String value) {
+            addCriterion("station_no not like", value, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoIn(List<String> values) {
+            addCriterion("station_no in", values, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoNotIn(List<String> values) {
+            addCriterion("station_no not in", values, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoBetween(String value1, String value2) {
+            addCriterion("station_no between", value1, value2, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoNotBetween(String value1, String value2) {
+            addCriterion("station_no not between", value1, value2, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationAddressIsNull() {
+            addCriterion("station_address is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationAddressIsNotNull() {
+            addCriterion("station_address is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationAddressEqualTo(String value) {
+            addCriterion("station_address =", value, "stationAddress");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationAddressNotEqualTo(String value) {
+            addCriterion("station_address <>", value, "stationAddress");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationAddressGreaterThan(String value) {
+            addCriterion("station_address >", value, "stationAddress");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationAddressGreaterThanOrEqualTo(String value) {
+            addCriterion("station_address >=", value, "stationAddress");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationAddressLessThan(String value) {
+            addCriterion("station_address <", value, "stationAddress");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationAddressLessThanOrEqualTo(String value) {
+            addCriterion("station_address <=", value, "stationAddress");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationAddressLike(String value) {
+            addCriterion("station_address like", value, "stationAddress");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationAddressNotLike(String value) {
+            addCriterion("station_address not like", value, "stationAddress");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationAddressIn(List<String> values) {
+            addCriterion("station_address in", values, "stationAddress");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationAddressNotIn(List<String> values) {
+            addCriterion("station_address not in", values, "stationAddress");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationAddressBetween(String value1, String value2) {
+            addCriterion("station_address between", value1, value2, "stationAddress");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationAddressNotBetween(String value1, String value2) {
+            addCriterion("station_address not between", value1, value2, "stationAddress");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilGunNumIsNull() {
+            addCriterion("oil_gun_num is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilGunNumIsNotNull() {
+            addCriterion("oil_gun_num is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilGunNumEqualTo(Integer value) {
+            addCriterion("oil_gun_num =", value, "oilGunNum");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilGunNumNotEqualTo(Integer value) {
+            addCriterion("oil_gun_num <>", value, "oilGunNum");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilGunNumGreaterThan(Integer value) {
+            addCriterion("oil_gun_num >", value, "oilGunNum");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilGunNumGreaterThanOrEqualTo(Integer value) {
+            addCriterion("oil_gun_num >=", value, "oilGunNum");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilGunNumLessThan(Integer value) {
+            addCriterion("oil_gun_num <", value, "oilGunNum");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilGunNumLessThanOrEqualTo(Integer value) {
+            addCriterion("oil_gun_num <=", value, "oilGunNum");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilGunNumIn(List<Integer> values) {
+            addCriterion("oil_gun_num in", values, "oilGunNum");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilGunNumNotIn(List<Integer> values) {
+            addCriterion("oil_gun_num not in", values, "oilGunNum");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilGunNumBetween(Integer value1, Integer value2) {
+            addCriterion("oil_gun_num between", value1, value2, "oilGunNum");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilGunNumNotBetween(Integer value1, Integer value2) {
+            addCriterion("oil_gun_num not between", value1, value2, "oilGunNum");
+            return (Criteria) this;
+        }
+
+        public Criteria andContactsIsNull() {
+            addCriterion("contacts is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andContactsIsNotNull() {
+            addCriterion("contacts is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andContactsEqualTo(String value) {
+            addCriterion("contacts =", value, "contacts");
+            return (Criteria) this;
+        }
+
+        public Criteria andContactsNotEqualTo(String value) {
+            addCriterion("contacts <>", value, "contacts");
+            return (Criteria) this;
+        }
+
+        public Criteria andContactsGreaterThan(String value) {
+            addCriterion("contacts >", value, "contacts");
+            return (Criteria) this;
+        }
+
+        public Criteria andContactsGreaterThanOrEqualTo(String value) {
+            addCriterion("contacts >=", value, "contacts");
+            return (Criteria) this;
+        }
+
+        public Criteria andContactsLessThan(String value) {
+            addCriterion("contacts <", value, "contacts");
+            return (Criteria) this;
+        }
+
+        public Criteria andContactsLessThanOrEqualTo(String value) {
+            addCriterion("contacts <=", value, "contacts");
+            return (Criteria) this;
+        }
+
+        public Criteria andContactsLike(String value) {
+            addCriterion("contacts like", value, "contacts");
+            return (Criteria) this;
+        }
+
+        public Criteria andContactsNotLike(String value) {
+            addCriterion("contacts not like", value, "contacts");
+            return (Criteria) this;
+        }
+
+        public Criteria andContactsIn(List<String> values) {
+            addCriterion("contacts in", values, "contacts");
+            return (Criteria) this;
+        }
+
+        public Criteria andContactsNotIn(List<String> values) {
+            addCriterion("contacts not in", values, "contacts");
+            return (Criteria) this;
+        }
+
+        public Criteria andContactsBetween(String value1, String value2) {
+            addCriterion("contacts between", value1, value2, "contacts");
+            return (Criteria) this;
+        }
+
+        public Criteria andContactsNotBetween(String value1, String value2) {
+            addCriterion("contacts not between", value1, value2, "contacts");
+            return (Criteria) this;
+        }
+
+        public Criteria andPhoneIsNull() {
+            addCriterion("phone is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPhoneIsNotNull() {
+            addCriterion("phone is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPhoneEqualTo(String value) {
+            addCriterion("phone =", value, "phone");
+            return (Criteria) this;
+        }
+
+        public Criteria andPhoneNotEqualTo(String value) {
+            addCriterion("phone <>", value, "phone");
+            return (Criteria) this;
+        }
+
+        public Criteria andPhoneGreaterThan(String value) {
+            addCriterion("phone >", value, "phone");
+            return (Criteria) this;
+        }
+
+        public Criteria andPhoneGreaterThanOrEqualTo(String value) {
+            addCriterion("phone >=", value, "phone");
+            return (Criteria) this;
+        }
+
+        public Criteria andPhoneLessThan(String value) {
+            addCriterion("phone <", value, "phone");
+            return (Criteria) this;
+        }
+
+        public Criteria andPhoneLessThanOrEqualTo(String value) {
+            addCriterion("phone <=", value, "phone");
+            return (Criteria) this;
+        }
+
+        public Criteria andPhoneLike(String value) {
+            addCriterion("phone like", value, "phone");
+            return (Criteria) this;
+        }
+
+        public Criteria andPhoneNotLike(String value) {
+            addCriterion("phone not like", value, "phone");
+            return (Criteria) this;
+        }
+
+        public Criteria andPhoneIn(List<String> values) {
+            addCriterion("phone in", values, "phone");
+            return (Criteria) this;
+        }
+
+        public Criteria andPhoneNotIn(List<String> values) {
+            addCriterion("phone not in", values, "phone");
+            return (Criteria) this;
+        }
+
+        public Criteria andPhoneBetween(String value1, String value2) {
+            addCriterion("phone between", value1, value2, "phone");
+            return (Criteria) this;
+        }
+
+        public Criteria andPhoneNotBetween(String value1, String value2) {
+            addCriterion("phone not between", value1, value2, "phone");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationGroupIdIsNull() {
+            addCriterion("station_group_id is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationGroupIdIsNotNull() {
+            addCriterion("station_group_id is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationGroupIdEqualTo(Integer value) {
+            addCriterion("station_group_id =", value, "stationGroupId");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationGroupIdNotEqualTo(Integer value) {
+            addCriterion("station_group_id <>", value, "stationGroupId");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationGroupIdGreaterThan(Integer value) {
+            addCriterion("station_group_id >", value, "stationGroupId");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationGroupIdGreaterThanOrEqualTo(Integer value) {
+            addCriterion("station_group_id >=", value, "stationGroupId");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationGroupIdLessThan(Integer value) {
+            addCriterion("station_group_id <", value, "stationGroupId");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationGroupIdLessThanOrEqualTo(Integer value) {
+            addCriterion("station_group_id <=", value, "stationGroupId");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationGroupIdIn(List<Integer> values) {
+            addCriterion("station_group_id in", values, "stationGroupId");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationGroupIdNotIn(List<Integer> values) {
+            addCriterion("station_group_id not in", values, "stationGroupId");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationGroupIdBetween(Integer value1, Integer value2) {
+            addCriterion("station_group_id between", value1, value2, "stationGroupId");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationGroupIdNotBetween(Integer value1, Integer value2) {
+            addCriterion("station_group_id not between", value1, value2, "stationGroupId");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationGroupNameIsNull() {
+            addCriterion("station_group_name is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationGroupNameIsNotNull() {
+            addCriterion("station_group_name is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationGroupNameEqualTo(String value) {
+            addCriterion("station_group_name =", value, "stationGroupName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationGroupNameNotEqualTo(String value) {
+            addCriterion("station_group_name <>", value, "stationGroupName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationGroupNameGreaterThan(String value) {
+            addCriterion("station_group_name >", value, "stationGroupName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationGroupNameGreaterThanOrEqualTo(String value) {
+            addCriterion("station_group_name >=", value, "stationGroupName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationGroupNameLessThan(String value) {
+            addCriterion("station_group_name <", value, "stationGroupName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationGroupNameLessThanOrEqualTo(String value) {
+            addCriterion("station_group_name <=", value, "stationGroupName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationGroupNameLike(String value) {
+            addCriterion("station_group_name like", value, "stationGroupName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationGroupNameNotLike(String value) {
+            addCriterion("station_group_name not like", value, "stationGroupName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationGroupNameIn(List<String> values) {
+            addCriterion("station_group_name in", values, "stationGroupName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationGroupNameNotIn(List<String> values) {
+            addCriterion("station_group_name not in", values, "stationGroupName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationGroupNameBetween(String value1, String value2) {
+            addCriterion("station_group_name between", value1, value2, "stationGroupName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationGroupNameNotBetween(String value1, String value2) {
+            addCriterion("station_group_name not between", value1, value2, "stationGroupName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationLongitudeIsNull() {
+            addCriterion("station_longitude is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationLongitudeIsNotNull() {
+            addCriterion("station_longitude is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationLongitudeEqualTo(String value) {
+            addCriterion("station_longitude =", value, "stationLongitude");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationLongitudeNotEqualTo(String value) {
+            addCriterion("station_longitude <>", value, "stationLongitude");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationLongitudeGreaterThan(String value) {
+            addCriterion("station_longitude >", value, "stationLongitude");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationLongitudeGreaterThanOrEqualTo(String value) {
+            addCriterion("station_longitude >=", value, "stationLongitude");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationLongitudeLessThan(String value) {
+            addCriterion("station_longitude <", value, "stationLongitude");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationLongitudeLessThanOrEqualTo(String value) {
+            addCriterion("station_longitude <=", value, "stationLongitude");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationLongitudeLike(String value) {
+            addCriterion("station_longitude like", value, "stationLongitude");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationLongitudeNotLike(String value) {
+            addCriterion("station_longitude not like", value, "stationLongitude");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationLongitudeIn(List<String> values) {
+            addCriterion("station_longitude in", values, "stationLongitude");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationLongitudeNotIn(List<String> values) {
+            addCriterion("station_longitude not in", values, "stationLongitude");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationLongitudeBetween(String value1, String value2) {
+            addCriterion("station_longitude between", value1, value2, "stationLongitude");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationLongitudeNotBetween(String value1, String value2) {
+            addCriterion("station_longitude not between", value1, value2, "stationLongitude");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationLatitudeIsNull() {
+            addCriterion("station_latitude is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationLatitudeIsNotNull() {
+            addCriterion("station_latitude is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationLatitudeEqualTo(String value) {
+            addCriterion("station_latitude =", value, "stationLatitude");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationLatitudeNotEqualTo(String value) {
+            addCriterion("station_latitude <>", value, "stationLatitude");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationLatitudeGreaterThan(String value) {
+            addCriterion("station_latitude >", value, "stationLatitude");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationLatitudeGreaterThanOrEqualTo(String value) {
+            addCriterion("station_latitude >=", value, "stationLatitude");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationLatitudeLessThan(String value) {
+            addCriterion("station_latitude <", value, "stationLatitude");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationLatitudeLessThanOrEqualTo(String value) {
+            addCriterion("station_latitude <=", value, "stationLatitude");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationLatitudeLike(String value) {
+            addCriterion("station_latitude like", value, "stationLatitude");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationLatitudeNotLike(String value) {
+            addCriterion("station_latitude not like", value, "stationLatitude");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationLatitudeIn(List<String> values) {
+            addCriterion("station_latitude in", values, "stationLatitude");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationLatitudeNotIn(List<String> values) {
+            addCriterion("station_latitude not in", values, "stationLatitude");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationLatitudeBetween(String value1, String value2) {
+            addCriterion("station_latitude between", value1, value2, "stationLatitude");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationLatitudeNotBetween(String value1, String value2) {
+            addCriterion("station_latitude not between", value1, value2, "stationLatitude");
+            return (Criteria) this;
+        }
+    }
+
+    /**
+     * This class was generated by MyBatis Generator.
+     * This class corresponds to the database table station_info
+     *
+     * @mbg.generated do_not_delete_during_merge
+     */
+    public static class Criteria extends GeneratedCriteria {
+
+        protected Criteria() {
+            super();
+        }
+    }
+
+    /**
+     * This class was generated by MyBatis Generator.
+     * This class corresponds to the database table station_info
+     *
+     * @mbg.generated
+     */
+    public static class Criterion {
+        private String condition;
+
+        private Object value;
+
+        private Object secondValue;
+
+        private boolean noValue;
+
+        private boolean singleValue;
+
+        private boolean betweenValue;
+
+        private boolean listValue;
+
+        private String typeHandler;
+
+        public String getCondition() {
+            return condition;
+        }
+
+        public Object getValue() {
+            return value;
+        }
+
+        public Object getSecondValue() {
+            return secondValue;
+        }
+
+        public boolean isNoValue() {
+            return noValue;
+        }
+
+        public boolean isSingleValue() {
+            return singleValue;
+        }
+
+        public boolean isBetweenValue() {
+            return betweenValue;
+        }
+
+        public boolean isListValue() {
+            return listValue;
+        }
+
+        public String getTypeHandler() {
+            return typeHandler;
+        }
+
+        protected Criterion(String condition) {
+            super();
+            this.condition = condition;
+            this.typeHandler = null;
+            this.noValue = true;
+        }
+
+        protected Criterion(String condition, Object value, String typeHandler) {
+            super();
+            this.condition = condition;
+            this.value = value;
+            this.typeHandler = typeHandler;
+            if (value instanceof List<?>) {
+                this.listValue = true;
+            } else {
+                this.singleValue = true;
+            }
+        }
+
+        protected Criterion(String condition, Object value) {
+            this(condition, value, null);
+        }
+
+        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
+            super();
+            this.condition = condition;
+            this.value = value;
+            this.secondValue = secondValue;
+            this.typeHandler = typeHandler;
+            this.betweenValue = true;
+        }
+
+        protected Criterion(String condition, Object value, Object secondValue) {
+            this(condition, value, secondValue, null);
+        }
+    }
+}

+ 269 - 0
YijiaRestful/src/main/java/com/platform/yijia/pojo/StationNoticeManage.java

@@ -0,0 +1,269 @@
+package com.platform.yijia.pojo;
+
+import java.util.Date;
+
+public class StationNoticeManage {
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column station_notice_manage.notice_id
+     *
+     * @mbg.generated
+     */
+    private Integer noticeId;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column station_notice_manage.full_name
+     *
+     * @mbg.generated
+     */
+    private String fullName;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column station_notice_manage.phone
+     *
+     * @mbg.generated
+     */
+    private String phone;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column station_notice_manage.bind_date
+     *
+     * @mbg.generated
+     */
+    private Date bindDate;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column station_notice_manage.bind_status
+     *
+     * @mbg.generated
+     */
+    private String bindStatus;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column station_notice_manage.wx_full_name
+     *
+     * @mbg.generated
+     */
+    private String wxFullName;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column station_notice_manage.station_no
+     *
+     * @mbg.generated
+     */
+    private String stationNo;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column station_notice_manage.station_name
+     *
+     * @mbg.generated
+     */
+    private String stationName;
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column station_notice_manage.notice_id
+     *
+     * @return the value of station_notice_manage.notice_id
+     *
+     * @mbg.generated
+     */
+    public Integer getNoticeId() {
+        return noticeId;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column station_notice_manage.notice_id
+     *
+     * @param noticeId the value for station_notice_manage.notice_id
+     *
+     * @mbg.generated
+     */
+    public void setNoticeId(Integer noticeId) {
+        this.noticeId = noticeId;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column station_notice_manage.full_name
+     *
+     * @return the value of station_notice_manage.full_name
+     *
+     * @mbg.generated
+     */
+    public String getFullName() {
+        return fullName;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column station_notice_manage.full_name
+     *
+     * @param fullName the value for station_notice_manage.full_name
+     *
+     * @mbg.generated
+     */
+    public void setFullName(String fullName) {
+        this.fullName = fullName == null ? null : fullName.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column station_notice_manage.phone
+     *
+     * @return the value of station_notice_manage.phone
+     *
+     * @mbg.generated
+     */
+    public String getPhone() {
+        return phone;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column station_notice_manage.phone
+     *
+     * @param phone the value for station_notice_manage.phone
+     *
+     * @mbg.generated
+     */
+    public void setPhone(String phone) {
+        this.phone = phone == null ? null : phone.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column station_notice_manage.bind_date
+     *
+     * @return the value of station_notice_manage.bind_date
+     *
+     * @mbg.generated
+     */
+    public Date getBindDate() {
+        return bindDate;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column station_notice_manage.bind_date
+     *
+     * @param bindDate the value for station_notice_manage.bind_date
+     *
+     * @mbg.generated
+     */
+    public void setBindDate(Date bindDate) {
+        this.bindDate = bindDate;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column station_notice_manage.bind_status
+     *
+     * @return the value of station_notice_manage.bind_status
+     *
+     * @mbg.generated
+     */
+    public String getBindStatus() {
+        return bindStatus;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column station_notice_manage.bind_status
+     *
+     * @param bindStatus the value for station_notice_manage.bind_status
+     *
+     * @mbg.generated
+     */
+    public void setBindStatus(String bindStatus) {
+        this.bindStatus = bindStatus == null ? null : bindStatus.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column station_notice_manage.wx_full_name
+     *
+     * @return the value of station_notice_manage.wx_full_name
+     *
+     * @mbg.generated
+     */
+    public String getWxFullName() {
+        return wxFullName;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column station_notice_manage.wx_full_name
+     *
+     * @param wxFullName the value for station_notice_manage.wx_full_name
+     *
+     * @mbg.generated
+     */
+    public void setWxFullName(String wxFullName) {
+        this.wxFullName = wxFullName == null ? null : wxFullName.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column station_notice_manage.station_no
+     *
+     * @return the value of station_notice_manage.station_no
+     *
+     * @mbg.generated
+     */
+    public String getStationNo() {
+        return stationNo;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column station_notice_manage.station_no
+     *
+     * @param stationNo the value for station_notice_manage.station_no
+     *
+     * @mbg.generated
+     */
+    public void setStationNo(String stationNo) {
+        this.stationNo = stationNo == null ? null : stationNo.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column station_notice_manage.station_name
+     *
+     * @return the value of station_notice_manage.station_name
+     *
+     * @mbg.generated
+     */
+    public String getStationName() {
+        return stationName;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column station_notice_manage.station_name
+     *
+     * @param stationName the value for station_notice_manage.station_name
+     *
+     * @mbg.generated
+     */
+    public void setStationName(String stationName) {
+        this.stationName = stationName == null ? null : stationName.trim();
+    }
+}

+ 870 - 0
YijiaRestful/src/main/java/com/platform/yijia/pojo/StationNoticeManageExample.java

@@ -0,0 +1,870 @@
+package com.platform.yijia.pojo;
+
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.Iterator;
+import java.util.List;
+
+public class StationNoticeManageExample {
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table station_notice_manage
+     *
+     * @mbg.generated
+     */
+    protected String orderByClause;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table station_notice_manage
+     *
+     * @mbg.generated
+     */
+    protected boolean distinct;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table station_notice_manage
+     *
+     * @mbg.generated
+     */
+    protected List<Criteria> oredCriteria;
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_notice_manage
+     *
+     * @mbg.generated
+     */
+    public StationNoticeManageExample() {
+        oredCriteria = new ArrayList<Criteria>();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_notice_manage
+     *
+     * @mbg.generated
+     */
+    public void setOrderByClause(String orderByClause) {
+        this.orderByClause = orderByClause;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_notice_manage
+     *
+     * @mbg.generated
+     */
+    public String getOrderByClause() {
+        return orderByClause;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_notice_manage
+     *
+     * @mbg.generated
+     */
+    public void setDistinct(boolean distinct) {
+        this.distinct = distinct;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_notice_manage
+     *
+     * @mbg.generated
+     */
+    public boolean isDistinct() {
+        return distinct;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_notice_manage
+     *
+     * @mbg.generated
+     */
+    public List<Criteria> getOredCriteria() {
+        return oredCriteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_notice_manage
+     *
+     * @mbg.generated
+     */
+    public void or(Criteria criteria) {
+        oredCriteria.add(criteria);
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_notice_manage
+     *
+     * @mbg.generated
+     */
+    public Criteria or() {
+        Criteria criteria = createCriteriaInternal();
+        oredCriteria.add(criteria);
+        return criteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_notice_manage
+     *
+     * @mbg.generated
+     */
+    public Criteria createCriteria() {
+        Criteria criteria = createCriteriaInternal();
+        if (oredCriteria.size() == 0) {
+            oredCriteria.add(criteria);
+        }
+        return criteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_notice_manage
+     *
+     * @mbg.generated
+     */
+    protected Criteria createCriteriaInternal() {
+        Criteria criteria = new Criteria();
+        return criteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_notice_manage
+     *
+     * @mbg.generated
+     */
+    public void clear() {
+        oredCriteria.clear();
+        orderByClause = null;
+        distinct = false;
+    }
+
+    /**
+     * This class was generated by MyBatis Generator.
+     * This class corresponds to the database table station_notice_manage
+     *
+     * @mbg.generated
+     */
+    protected abstract static class GeneratedCriteria {
+        protected List<Criterion> criteria;
+
+        protected GeneratedCriteria() {
+            super();
+            criteria = new ArrayList<Criterion>();
+        }
+
+        public boolean isValid() {
+            return criteria.size() > 0;
+        }
+
+        public List<Criterion> getAllCriteria() {
+            return criteria;
+        }
+
+        public List<Criterion> getCriteria() {
+            return criteria;
+        }
+
+        protected void addCriterion(String condition) {
+            if (condition == null) {
+                throw new RuntimeException("Value for condition cannot be null");
+            }
+            criteria.add(new Criterion(condition));
+        }
+
+        protected void addCriterion(String condition, Object value, String property) {
+            if (value == null) {
+                throw new RuntimeException("Value for " + property + " cannot be null");
+            }
+            criteria.add(new Criterion(condition, value));
+        }
+
+        protected void addCriterion(String condition, Object value1, Object value2, String property) {
+            if (value1 == null || value2 == null) {
+                throw new RuntimeException("Between values for " + property + " cannot be null");
+            }
+            criteria.add(new Criterion(condition, value1, value2));
+        }
+
+        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
+            if (value == null) {
+                throw new RuntimeException("Value for " + property + " cannot be null");
+            }
+            addCriterion(condition, new java.sql.Date(value.getTime()), property);
+        }
+
+        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
+            if (values == null || values.size() == 0) {
+                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
+            }
+            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
+            Iterator<Date> iter = values.iterator();
+            while (iter.hasNext()) {
+                dateList.add(new java.sql.Date(iter.next().getTime()));
+            }
+            addCriterion(condition, dateList, property);
+        }
+
+        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
+            if (value1 == null || value2 == null) {
+                throw new RuntimeException("Between values for " + property + " cannot be null");
+            }
+            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
+        }
+
+        public Criteria andNoticeIdIsNull() {
+            addCriterion("notice_id is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andNoticeIdIsNotNull() {
+            addCriterion("notice_id is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andNoticeIdEqualTo(Integer value) {
+            addCriterion("notice_id =", value, "noticeId");
+            return (Criteria) this;
+        }
+
+        public Criteria andNoticeIdNotEqualTo(Integer value) {
+            addCriterion("notice_id <>", value, "noticeId");
+            return (Criteria) this;
+        }
+
+        public Criteria andNoticeIdGreaterThan(Integer value) {
+            addCriterion("notice_id >", value, "noticeId");
+            return (Criteria) this;
+        }
+
+        public Criteria andNoticeIdGreaterThanOrEqualTo(Integer value) {
+            addCriterion("notice_id >=", value, "noticeId");
+            return (Criteria) this;
+        }
+
+        public Criteria andNoticeIdLessThan(Integer value) {
+            addCriterion("notice_id <", value, "noticeId");
+            return (Criteria) this;
+        }
+
+        public Criteria andNoticeIdLessThanOrEqualTo(Integer value) {
+            addCriterion("notice_id <=", value, "noticeId");
+            return (Criteria) this;
+        }
+
+        public Criteria andNoticeIdIn(List<Integer> values) {
+            addCriterion("notice_id in", values, "noticeId");
+            return (Criteria) this;
+        }
+
+        public Criteria andNoticeIdNotIn(List<Integer> values) {
+            addCriterion("notice_id not in", values, "noticeId");
+            return (Criteria) this;
+        }
+
+        public Criteria andNoticeIdBetween(Integer value1, Integer value2) {
+            addCriterion("notice_id between", value1, value2, "noticeId");
+            return (Criteria) this;
+        }
+
+        public Criteria andNoticeIdNotBetween(Integer value1, Integer value2) {
+            addCriterion("notice_id not between", value1, value2, "noticeId");
+            return (Criteria) this;
+        }
+
+        public Criteria andFullNameIsNull() {
+            addCriterion("full_name is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andFullNameIsNotNull() {
+            addCriterion("full_name is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andFullNameEqualTo(String value) {
+            addCriterion("full_name =", value, "fullName");
+            return (Criteria) this;
+        }
+
+        public Criteria andFullNameNotEqualTo(String value) {
+            addCriterion("full_name <>", value, "fullName");
+            return (Criteria) this;
+        }
+
+        public Criteria andFullNameGreaterThan(String value) {
+            addCriterion("full_name >", value, "fullName");
+            return (Criteria) this;
+        }
+
+        public Criteria andFullNameGreaterThanOrEqualTo(String value) {
+            addCriterion("full_name >=", value, "fullName");
+            return (Criteria) this;
+        }
+
+        public Criteria andFullNameLessThan(String value) {
+            addCriterion("full_name <", value, "fullName");
+            return (Criteria) this;
+        }
+
+        public Criteria andFullNameLessThanOrEqualTo(String value) {
+            addCriterion("full_name <=", value, "fullName");
+            return (Criteria) this;
+        }
+
+        public Criteria andFullNameLike(String value) {
+            addCriterion("full_name like", value, "fullName");
+            return (Criteria) this;
+        }
+
+        public Criteria andFullNameNotLike(String value) {
+            addCriterion("full_name not like", value, "fullName");
+            return (Criteria) this;
+        }
+
+        public Criteria andFullNameIn(List<String> values) {
+            addCriterion("full_name in", values, "fullName");
+            return (Criteria) this;
+        }
+
+        public Criteria andFullNameNotIn(List<String> values) {
+            addCriterion("full_name not in", values, "fullName");
+            return (Criteria) this;
+        }
+
+        public Criteria andFullNameBetween(String value1, String value2) {
+            addCriterion("full_name between", value1, value2, "fullName");
+            return (Criteria) this;
+        }
+
+        public Criteria andFullNameNotBetween(String value1, String value2) {
+            addCriterion("full_name not between", value1, value2, "fullName");
+            return (Criteria) this;
+        }
+
+        public Criteria andPhoneIsNull() {
+            addCriterion("phone is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPhoneIsNotNull() {
+            addCriterion("phone is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPhoneEqualTo(String value) {
+            addCriterion("phone =", value, "phone");
+            return (Criteria) this;
+        }
+
+        public Criteria andPhoneNotEqualTo(String value) {
+            addCriterion("phone <>", value, "phone");
+            return (Criteria) this;
+        }
+
+        public Criteria andPhoneGreaterThan(String value) {
+            addCriterion("phone >", value, "phone");
+            return (Criteria) this;
+        }
+
+        public Criteria andPhoneGreaterThanOrEqualTo(String value) {
+            addCriterion("phone >=", value, "phone");
+            return (Criteria) this;
+        }
+
+        public Criteria andPhoneLessThan(String value) {
+            addCriterion("phone <", value, "phone");
+            return (Criteria) this;
+        }
+
+        public Criteria andPhoneLessThanOrEqualTo(String value) {
+            addCriterion("phone <=", value, "phone");
+            return (Criteria) this;
+        }
+
+        public Criteria andPhoneLike(String value) {
+            addCriterion("phone like", value, "phone");
+            return (Criteria) this;
+        }
+
+        public Criteria andPhoneNotLike(String value) {
+            addCriterion("phone not like", value, "phone");
+            return (Criteria) this;
+        }
+
+        public Criteria andPhoneIn(List<String> values) {
+            addCriterion("phone in", values, "phone");
+            return (Criteria) this;
+        }
+
+        public Criteria andPhoneNotIn(List<String> values) {
+            addCriterion("phone not in", values, "phone");
+            return (Criteria) this;
+        }
+
+        public Criteria andPhoneBetween(String value1, String value2) {
+            addCriterion("phone between", value1, value2, "phone");
+            return (Criteria) this;
+        }
+
+        public Criteria andPhoneNotBetween(String value1, String value2) {
+            addCriterion("phone not between", value1, value2, "phone");
+            return (Criteria) this;
+        }
+
+        public Criteria andBindDateIsNull() {
+            addCriterion("bind_date is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andBindDateIsNotNull() {
+            addCriterion("bind_date is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andBindDateEqualTo(Date value) {
+            addCriterionForJDBCDate("bind_date =", value, "bindDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andBindDateNotEqualTo(Date value) {
+            addCriterionForJDBCDate("bind_date <>", value, "bindDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andBindDateGreaterThan(Date value) {
+            addCriterionForJDBCDate("bind_date >", value, "bindDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andBindDateGreaterThanOrEqualTo(Date value) {
+            addCriterionForJDBCDate("bind_date >=", value, "bindDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andBindDateLessThan(Date value) {
+            addCriterionForJDBCDate("bind_date <", value, "bindDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andBindDateLessThanOrEqualTo(Date value) {
+            addCriterionForJDBCDate("bind_date <=", value, "bindDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andBindDateIn(List<Date> values) {
+            addCriterionForJDBCDate("bind_date in", values, "bindDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andBindDateNotIn(List<Date> values) {
+            addCriterionForJDBCDate("bind_date not in", values, "bindDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andBindDateBetween(Date value1, Date value2) {
+            addCriterionForJDBCDate("bind_date between", value1, value2, "bindDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andBindDateNotBetween(Date value1, Date value2) {
+            addCriterionForJDBCDate("bind_date not between", value1, value2, "bindDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andBindStatusIsNull() {
+            addCriterion("bind_status is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andBindStatusIsNotNull() {
+            addCriterion("bind_status is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andBindStatusEqualTo(String value) {
+            addCriterion("bind_status =", value, "bindStatus");
+            return (Criteria) this;
+        }
+
+        public Criteria andBindStatusNotEqualTo(String value) {
+            addCriterion("bind_status <>", value, "bindStatus");
+            return (Criteria) this;
+        }
+
+        public Criteria andBindStatusGreaterThan(String value) {
+            addCriterion("bind_status >", value, "bindStatus");
+            return (Criteria) this;
+        }
+
+        public Criteria andBindStatusGreaterThanOrEqualTo(String value) {
+            addCriterion("bind_status >=", value, "bindStatus");
+            return (Criteria) this;
+        }
+
+        public Criteria andBindStatusLessThan(String value) {
+            addCriterion("bind_status <", value, "bindStatus");
+            return (Criteria) this;
+        }
+
+        public Criteria andBindStatusLessThanOrEqualTo(String value) {
+            addCriterion("bind_status <=", value, "bindStatus");
+            return (Criteria) this;
+        }
+
+        public Criteria andBindStatusLike(String value) {
+            addCriterion("bind_status like", value, "bindStatus");
+            return (Criteria) this;
+        }
+
+        public Criteria andBindStatusNotLike(String value) {
+            addCriterion("bind_status not like", value, "bindStatus");
+            return (Criteria) this;
+        }
+
+        public Criteria andBindStatusIn(List<String> values) {
+            addCriterion("bind_status in", values, "bindStatus");
+            return (Criteria) this;
+        }
+
+        public Criteria andBindStatusNotIn(List<String> values) {
+            addCriterion("bind_status not in", values, "bindStatus");
+            return (Criteria) this;
+        }
+
+        public Criteria andBindStatusBetween(String value1, String value2) {
+            addCriterion("bind_status between", value1, value2, "bindStatus");
+            return (Criteria) this;
+        }
+
+        public Criteria andBindStatusNotBetween(String value1, String value2) {
+            addCriterion("bind_status not between", value1, value2, "bindStatus");
+            return (Criteria) this;
+        }
+
+        public Criteria andWxFullNameIsNull() {
+            addCriterion("wx_full_name is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andWxFullNameIsNotNull() {
+            addCriterion("wx_full_name is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andWxFullNameEqualTo(String value) {
+            addCriterion("wx_full_name =", value, "wxFullName");
+            return (Criteria) this;
+        }
+
+        public Criteria andWxFullNameNotEqualTo(String value) {
+            addCriterion("wx_full_name <>", value, "wxFullName");
+            return (Criteria) this;
+        }
+
+        public Criteria andWxFullNameGreaterThan(String value) {
+            addCriterion("wx_full_name >", value, "wxFullName");
+            return (Criteria) this;
+        }
+
+        public Criteria andWxFullNameGreaterThanOrEqualTo(String value) {
+            addCriterion("wx_full_name >=", value, "wxFullName");
+            return (Criteria) this;
+        }
+
+        public Criteria andWxFullNameLessThan(String value) {
+            addCriterion("wx_full_name <", value, "wxFullName");
+            return (Criteria) this;
+        }
+
+        public Criteria andWxFullNameLessThanOrEqualTo(String value) {
+            addCriterion("wx_full_name <=", value, "wxFullName");
+            return (Criteria) this;
+        }
+
+        public Criteria andWxFullNameLike(String value) {
+            addCriterion("wx_full_name like", value, "wxFullName");
+            return (Criteria) this;
+        }
+
+        public Criteria andWxFullNameNotLike(String value) {
+            addCriterion("wx_full_name not like", value, "wxFullName");
+            return (Criteria) this;
+        }
+
+        public Criteria andWxFullNameIn(List<String> values) {
+            addCriterion("wx_full_name in", values, "wxFullName");
+            return (Criteria) this;
+        }
+
+        public Criteria andWxFullNameNotIn(List<String> values) {
+            addCriterion("wx_full_name not in", values, "wxFullName");
+            return (Criteria) this;
+        }
+
+        public Criteria andWxFullNameBetween(String value1, String value2) {
+            addCriterion("wx_full_name between", value1, value2, "wxFullName");
+            return (Criteria) this;
+        }
+
+        public Criteria andWxFullNameNotBetween(String value1, String value2) {
+            addCriterion("wx_full_name not between", value1, value2, "wxFullName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoIsNull() {
+            addCriterion("station_no is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoIsNotNull() {
+            addCriterion("station_no is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoEqualTo(String value) {
+            addCriterion("station_no =", value, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoNotEqualTo(String value) {
+            addCriterion("station_no <>", value, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoGreaterThan(String value) {
+            addCriterion("station_no >", value, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoGreaterThanOrEqualTo(String value) {
+            addCriterion("station_no >=", value, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoLessThan(String value) {
+            addCriterion("station_no <", value, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoLessThanOrEqualTo(String value) {
+            addCriterion("station_no <=", value, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoLike(String value) {
+            addCriterion("station_no like", value, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoNotLike(String value) {
+            addCriterion("station_no not like", value, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoIn(List<String> values) {
+            addCriterion("station_no in", values, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoNotIn(List<String> values) {
+            addCriterion("station_no not in", values, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoBetween(String value1, String value2) {
+            addCriterion("station_no between", value1, value2, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoNotBetween(String value1, String value2) {
+            addCriterion("station_no not between", value1, value2, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameIsNull() {
+            addCriterion("station_name is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameIsNotNull() {
+            addCriterion("station_name is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameEqualTo(String value) {
+            addCriterion("station_name =", value, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameNotEqualTo(String value) {
+            addCriterion("station_name <>", value, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameGreaterThan(String value) {
+            addCriterion("station_name >", value, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameGreaterThanOrEqualTo(String value) {
+            addCriterion("station_name >=", value, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameLessThan(String value) {
+            addCriterion("station_name <", value, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameLessThanOrEqualTo(String value) {
+            addCriterion("station_name <=", value, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameLike(String value) {
+            addCriterion("station_name like", value, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameNotLike(String value) {
+            addCriterion("station_name not like", value, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameIn(List<String> values) {
+            addCriterion("station_name in", values, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameNotIn(List<String> values) {
+            addCriterion("station_name not in", values, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameBetween(String value1, String value2) {
+            addCriterion("station_name between", value1, value2, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameNotBetween(String value1, String value2) {
+            addCriterion("station_name not between", value1, value2, "stationName");
+            return (Criteria) this;
+        }
+    }
+
+    /**
+     * This class was generated by MyBatis Generator.
+     * This class corresponds to the database table station_notice_manage
+     *
+     * @mbg.generated do_not_delete_during_merge
+     */
+    public static class Criteria extends GeneratedCriteria {
+
+        protected Criteria() {
+            super();
+        }
+    }
+
+    /**
+     * This class was generated by MyBatis Generator.
+     * This class corresponds to the database table station_notice_manage
+     *
+     * @mbg.generated
+     */
+    public static class Criterion {
+        private String condition;
+
+        private Object value;
+
+        private Object secondValue;
+
+        private boolean noValue;
+
+        private boolean singleValue;
+
+        private boolean betweenValue;
+
+        private boolean listValue;
+
+        private String typeHandler;
+
+        public String getCondition() {
+            return condition;
+        }
+
+        public Object getValue() {
+            return value;
+        }
+
+        public Object getSecondValue() {
+            return secondValue;
+        }
+
+        public boolean isNoValue() {
+            return noValue;
+        }
+
+        public boolean isSingleValue() {
+            return singleValue;
+        }
+
+        public boolean isBetweenValue() {
+            return betweenValue;
+        }
+
+        public boolean isListValue() {
+            return listValue;
+        }
+
+        public String getTypeHandler() {
+            return typeHandler;
+        }
+
+        protected Criterion(String condition) {
+            super();
+            this.condition = condition;
+            this.typeHandler = null;
+            this.noValue = true;
+        }
+
+        protected Criterion(String condition, Object value, String typeHandler) {
+            super();
+            this.condition = condition;
+            this.value = value;
+            this.typeHandler = typeHandler;
+            if (value instanceof List<?>) {
+                this.listValue = true;
+            } else {
+                this.singleValue = true;
+            }
+        }
+
+        protected Criterion(String condition, Object value) {
+            this(condition, value, null);
+        }
+
+        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
+            super();
+            this.condition = condition;
+            this.value = value;
+            this.secondValue = secondValue;
+            this.typeHandler = typeHandler;
+            this.betweenValue = true;
+        }
+
+        protected Criterion(String condition, Object value, Object secondValue) {
+            this(condition, value, secondValue, null);
+        }
+    }
+}

+ 201 - 0
YijiaRestful/src/main/java/com/platform/yijia/pojo/StationOfficialManage.java

@@ -0,0 +1,201 @@
+package com.platform.yijia.pojo;
+
+public class StationOfficialManage {
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column station_official_manage.official_id
+     *
+     * @mbg.generated
+     */
+    private Integer officialId;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column station_official_manage.station_no
+     *
+     * @mbg.generated
+     */
+    private String stationNo;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column station_official_manage.station_name
+     *
+     * @mbg.generated
+     */
+    private String stationName;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column station_official_manage.wx_card_manage
+     *
+     * @mbg.generated
+     */
+    private String wxCardManage;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column station_official_manage.menu_manage
+     *
+     * @mbg.generated
+     */
+    private String menuManage;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column station_official_manage.mass_messaging
+     *
+     * @mbg.generated
+     */
+    private String massMessaging;
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column station_official_manage.official_id
+     *
+     * @return the value of station_official_manage.official_id
+     *
+     * @mbg.generated
+     */
+    public Integer getOfficialId() {
+        return officialId;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column station_official_manage.official_id
+     *
+     * @param officialId the value for station_official_manage.official_id
+     *
+     * @mbg.generated
+     */
+    public void setOfficialId(Integer officialId) {
+        this.officialId = officialId;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column station_official_manage.station_no
+     *
+     * @return the value of station_official_manage.station_no
+     *
+     * @mbg.generated
+     */
+    public String getStationNo() {
+        return stationNo;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column station_official_manage.station_no
+     *
+     * @param stationNo the value for station_official_manage.station_no
+     *
+     * @mbg.generated
+     */
+    public void setStationNo(String stationNo) {
+        this.stationNo = stationNo == null ? null : stationNo.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column station_official_manage.station_name
+     *
+     * @return the value of station_official_manage.station_name
+     *
+     * @mbg.generated
+     */
+    public String getStationName() {
+        return stationName;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column station_official_manage.station_name
+     *
+     * @param stationName the value for station_official_manage.station_name
+     *
+     * @mbg.generated
+     */
+    public void setStationName(String stationName) {
+        this.stationName = stationName == null ? null : stationName.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column station_official_manage.wx_card_manage
+     *
+     * @return the value of station_official_manage.wx_card_manage
+     *
+     * @mbg.generated
+     */
+    public String getWxCardManage() {
+        return wxCardManage;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column station_official_manage.wx_card_manage
+     *
+     * @param wxCardManage the value for station_official_manage.wx_card_manage
+     *
+     * @mbg.generated
+     */
+    public void setWxCardManage(String wxCardManage) {
+        this.wxCardManage = wxCardManage == null ? null : wxCardManage.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column station_official_manage.menu_manage
+     *
+     * @return the value of station_official_manage.menu_manage
+     *
+     * @mbg.generated
+     */
+    public String getMenuManage() {
+        return menuManage;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column station_official_manage.menu_manage
+     *
+     * @param menuManage the value for station_official_manage.menu_manage
+     *
+     * @mbg.generated
+     */
+    public void setMenuManage(String menuManage) {
+        this.menuManage = menuManage == null ? null : menuManage.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column station_official_manage.mass_messaging
+     *
+     * @return the value of station_official_manage.mass_messaging
+     *
+     * @mbg.generated
+     */
+    public String getMassMessaging() {
+        return massMessaging;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column station_official_manage.mass_messaging
+     *
+     * @param massMessaging the value for station_official_manage.mass_messaging
+     *
+     * @mbg.generated
+     */
+    public void setMassMessaging(String massMessaging) {
+        this.massMessaging = massMessaging == null ? null : massMessaging.trim();
+    }
+}

+ 712 - 0
YijiaRestful/src/main/java/com/platform/yijia/pojo/StationOfficialManageExample.java

@@ -0,0 +1,712 @@
+package com.platform.yijia.pojo;
+
+import java.util.ArrayList;
+import java.util.List;
+
+public class StationOfficialManageExample {
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table station_official_manage
+     *
+     * @mbg.generated
+     */
+    protected String orderByClause;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table station_official_manage
+     *
+     * @mbg.generated
+     */
+    protected boolean distinct;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table station_official_manage
+     *
+     * @mbg.generated
+     */
+    protected List<Criteria> oredCriteria;
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_official_manage
+     *
+     * @mbg.generated
+     */
+    public StationOfficialManageExample() {
+        oredCriteria = new ArrayList<Criteria>();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_official_manage
+     *
+     * @mbg.generated
+     */
+    public void setOrderByClause(String orderByClause) {
+        this.orderByClause = orderByClause;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_official_manage
+     *
+     * @mbg.generated
+     */
+    public String getOrderByClause() {
+        return orderByClause;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_official_manage
+     *
+     * @mbg.generated
+     */
+    public void setDistinct(boolean distinct) {
+        this.distinct = distinct;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_official_manage
+     *
+     * @mbg.generated
+     */
+    public boolean isDistinct() {
+        return distinct;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_official_manage
+     *
+     * @mbg.generated
+     */
+    public List<Criteria> getOredCriteria() {
+        return oredCriteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_official_manage
+     *
+     * @mbg.generated
+     */
+    public void or(Criteria criteria) {
+        oredCriteria.add(criteria);
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_official_manage
+     *
+     * @mbg.generated
+     */
+    public Criteria or() {
+        Criteria criteria = createCriteriaInternal();
+        oredCriteria.add(criteria);
+        return criteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_official_manage
+     *
+     * @mbg.generated
+     */
+    public Criteria createCriteria() {
+        Criteria criteria = createCriteriaInternal();
+        if (oredCriteria.size() == 0) {
+            oredCriteria.add(criteria);
+        }
+        return criteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_official_manage
+     *
+     * @mbg.generated
+     */
+    protected Criteria createCriteriaInternal() {
+        Criteria criteria = new Criteria();
+        return criteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_official_manage
+     *
+     * @mbg.generated
+     */
+    public void clear() {
+        oredCriteria.clear();
+        orderByClause = null;
+        distinct = false;
+    }
+
+    /**
+     * This class was generated by MyBatis Generator.
+     * This class corresponds to the database table station_official_manage
+     *
+     * @mbg.generated
+     */
+    protected abstract static class GeneratedCriteria {
+        protected List<Criterion> criteria;
+
+        protected GeneratedCriteria() {
+            super();
+            criteria = new ArrayList<Criterion>();
+        }
+
+        public boolean isValid() {
+            return criteria.size() > 0;
+        }
+
+        public List<Criterion> getAllCriteria() {
+            return criteria;
+        }
+
+        public List<Criterion> getCriteria() {
+            return criteria;
+        }
+
+        protected void addCriterion(String condition) {
+            if (condition == null) {
+                throw new RuntimeException("Value for condition cannot be null");
+            }
+            criteria.add(new Criterion(condition));
+        }
+
+        protected void addCriterion(String condition, Object value, String property) {
+            if (value == null) {
+                throw new RuntimeException("Value for " + property + " cannot be null");
+            }
+            criteria.add(new Criterion(condition, value));
+        }
+
+        protected void addCriterion(String condition, Object value1, Object value2, String property) {
+            if (value1 == null || value2 == null) {
+                throw new RuntimeException("Between values for " + property + " cannot be null");
+            }
+            criteria.add(new Criterion(condition, value1, value2));
+        }
+
+        public Criteria andOfficialIdIsNull() {
+            addCriterion("official_id is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andOfficialIdIsNotNull() {
+            addCriterion("official_id is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andOfficialIdEqualTo(Integer value) {
+            addCriterion("official_id =", value, "officialId");
+            return (Criteria) this;
+        }
+
+        public Criteria andOfficialIdNotEqualTo(Integer value) {
+            addCriterion("official_id <>", value, "officialId");
+            return (Criteria) this;
+        }
+
+        public Criteria andOfficialIdGreaterThan(Integer value) {
+            addCriterion("official_id >", value, "officialId");
+            return (Criteria) this;
+        }
+
+        public Criteria andOfficialIdGreaterThanOrEqualTo(Integer value) {
+            addCriterion("official_id >=", value, "officialId");
+            return (Criteria) this;
+        }
+
+        public Criteria andOfficialIdLessThan(Integer value) {
+            addCriterion("official_id <", value, "officialId");
+            return (Criteria) this;
+        }
+
+        public Criteria andOfficialIdLessThanOrEqualTo(Integer value) {
+            addCriterion("official_id <=", value, "officialId");
+            return (Criteria) this;
+        }
+
+        public Criteria andOfficialIdIn(List<Integer> values) {
+            addCriterion("official_id in", values, "officialId");
+            return (Criteria) this;
+        }
+
+        public Criteria andOfficialIdNotIn(List<Integer> values) {
+            addCriterion("official_id not in", values, "officialId");
+            return (Criteria) this;
+        }
+
+        public Criteria andOfficialIdBetween(Integer value1, Integer value2) {
+            addCriterion("official_id between", value1, value2, "officialId");
+            return (Criteria) this;
+        }
+
+        public Criteria andOfficialIdNotBetween(Integer value1, Integer value2) {
+            addCriterion("official_id not between", value1, value2, "officialId");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoIsNull() {
+            addCriterion("station_no is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoIsNotNull() {
+            addCriterion("station_no is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoEqualTo(String value) {
+            addCriterion("station_no =", value, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoNotEqualTo(String value) {
+            addCriterion("station_no <>", value, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoGreaterThan(String value) {
+            addCriterion("station_no >", value, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoGreaterThanOrEqualTo(String value) {
+            addCriterion("station_no >=", value, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoLessThan(String value) {
+            addCriterion("station_no <", value, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoLessThanOrEqualTo(String value) {
+            addCriterion("station_no <=", value, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoLike(String value) {
+            addCriterion("station_no like", value, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoNotLike(String value) {
+            addCriterion("station_no not like", value, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoIn(List<String> values) {
+            addCriterion("station_no in", values, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoNotIn(List<String> values) {
+            addCriterion("station_no not in", values, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoBetween(String value1, String value2) {
+            addCriterion("station_no between", value1, value2, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoNotBetween(String value1, String value2) {
+            addCriterion("station_no not between", value1, value2, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameIsNull() {
+            addCriterion("station_name is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameIsNotNull() {
+            addCriterion("station_name is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameEqualTo(String value) {
+            addCriterion("station_name =", value, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameNotEqualTo(String value) {
+            addCriterion("station_name <>", value, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameGreaterThan(String value) {
+            addCriterion("station_name >", value, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameGreaterThanOrEqualTo(String value) {
+            addCriterion("station_name >=", value, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameLessThan(String value) {
+            addCriterion("station_name <", value, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameLessThanOrEqualTo(String value) {
+            addCriterion("station_name <=", value, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameLike(String value) {
+            addCriterion("station_name like", value, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameNotLike(String value) {
+            addCriterion("station_name not like", value, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameIn(List<String> values) {
+            addCriterion("station_name in", values, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameNotIn(List<String> values) {
+            addCriterion("station_name not in", values, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameBetween(String value1, String value2) {
+            addCriterion("station_name between", value1, value2, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameNotBetween(String value1, String value2) {
+            addCriterion("station_name not between", value1, value2, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andWxCardManageIsNull() {
+            addCriterion("wx_card_manage is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andWxCardManageIsNotNull() {
+            addCriterion("wx_card_manage is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andWxCardManageEqualTo(String value) {
+            addCriterion("wx_card_manage =", value, "wxCardManage");
+            return (Criteria) this;
+        }
+
+        public Criteria andWxCardManageNotEqualTo(String value) {
+            addCriterion("wx_card_manage <>", value, "wxCardManage");
+            return (Criteria) this;
+        }
+
+        public Criteria andWxCardManageGreaterThan(String value) {
+            addCriterion("wx_card_manage >", value, "wxCardManage");
+            return (Criteria) this;
+        }
+
+        public Criteria andWxCardManageGreaterThanOrEqualTo(String value) {
+            addCriterion("wx_card_manage >=", value, "wxCardManage");
+            return (Criteria) this;
+        }
+
+        public Criteria andWxCardManageLessThan(String value) {
+            addCriterion("wx_card_manage <", value, "wxCardManage");
+            return (Criteria) this;
+        }
+
+        public Criteria andWxCardManageLessThanOrEqualTo(String value) {
+            addCriterion("wx_card_manage <=", value, "wxCardManage");
+            return (Criteria) this;
+        }
+
+        public Criteria andWxCardManageLike(String value) {
+            addCriterion("wx_card_manage like", value, "wxCardManage");
+            return (Criteria) this;
+        }
+
+        public Criteria andWxCardManageNotLike(String value) {
+            addCriterion("wx_card_manage not like", value, "wxCardManage");
+            return (Criteria) this;
+        }
+
+        public Criteria andWxCardManageIn(List<String> values) {
+            addCriterion("wx_card_manage in", values, "wxCardManage");
+            return (Criteria) this;
+        }
+
+        public Criteria andWxCardManageNotIn(List<String> values) {
+            addCriterion("wx_card_manage not in", values, "wxCardManage");
+            return (Criteria) this;
+        }
+
+        public Criteria andWxCardManageBetween(String value1, String value2) {
+            addCriterion("wx_card_manage between", value1, value2, "wxCardManage");
+            return (Criteria) this;
+        }
+
+        public Criteria andWxCardManageNotBetween(String value1, String value2) {
+            addCriterion("wx_card_manage not between", value1, value2, "wxCardManage");
+            return (Criteria) this;
+        }
+
+        public Criteria andMenuManageIsNull() {
+            addCriterion("menu_manage is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andMenuManageIsNotNull() {
+            addCriterion("menu_manage is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andMenuManageEqualTo(String value) {
+            addCriterion("menu_manage =", value, "menuManage");
+            return (Criteria) this;
+        }
+
+        public Criteria andMenuManageNotEqualTo(String value) {
+            addCriterion("menu_manage <>", value, "menuManage");
+            return (Criteria) this;
+        }
+
+        public Criteria andMenuManageGreaterThan(String value) {
+            addCriterion("menu_manage >", value, "menuManage");
+            return (Criteria) this;
+        }
+
+        public Criteria andMenuManageGreaterThanOrEqualTo(String value) {
+            addCriterion("menu_manage >=", value, "menuManage");
+            return (Criteria) this;
+        }
+
+        public Criteria andMenuManageLessThan(String value) {
+            addCriterion("menu_manage <", value, "menuManage");
+            return (Criteria) this;
+        }
+
+        public Criteria andMenuManageLessThanOrEqualTo(String value) {
+            addCriterion("menu_manage <=", value, "menuManage");
+            return (Criteria) this;
+        }
+
+        public Criteria andMenuManageLike(String value) {
+            addCriterion("menu_manage like", value, "menuManage");
+            return (Criteria) this;
+        }
+
+        public Criteria andMenuManageNotLike(String value) {
+            addCriterion("menu_manage not like", value, "menuManage");
+            return (Criteria) this;
+        }
+
+        public Criteria andMenuManageIn(List<String> values) {
+            addCriterion("menu_manage in", values, "menuManage");
+            return (Criteria) this;
+        }
+
+        public Criteria andMenuManageNotIn(List<String> values) {
+            addCriterion("menu_manage not in", values, "menuManage");
+            return (Criteria) this;
+        }
+
+        public Criteria andMenuManageBetween(String value1, String value2) {
+            addCriterion("menu_manage between", value1, value2, "menuManage");
+            return (Criteria) this;
+        }
+
+        public Criteria andMenuManageNotBetween(String value1, String value2) {
+            addCriterion("menu_manage not between", value1, value2, "menuManage");
+            return (Criteria) this;
+        }
+
+        public Criteria andMassMessagingIsNull() {
+            addCriterion("mass_messaging is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andMassMessagingIsNotNull() {
+            addCriterion("mass_messaging is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andMassMessagingEqualTo(String value) {
+            addCriterion("mass_messaging =", value, "massMessaging");
+            return (Criteria) this;
+        }
+
+        public Criteria andMassMessagingNotEqualTo(String value) {
+            addCriterion("mass_messaging <>", value, "massMessaging");
+            return (Criteria) this;
+        }
+
+        public Criteria andMassMessagingGreaterThan(String value) {
+            addCriterion("mass_messaging >", value, "massMessaging");
+            return (Criteria) this;
+        }
+
+        public Criteria andMassMessagingGreaterThanOrEqualTo(String value) {
+            addCriterion("mass_messaging >=", value, "massMessaging");
+            return (Criteria) this;
+        }
+
+        public Criteria andMassMessagingLessThan(String value) {
+            addCriterion("mass_messaging <", value, "massMessaging");
+            return (Criteria) this;
+        }
+
+        public Criteria andMassMessagingLessThanOrEqualTo(String value) {
+            addCriterion("mass_messaging <=", value, "massMessaging");
+            return (Criteria) this;
+        }
+
+        public Criteria andMassMessagingLike(String value) {
+            addCriterion("mass_messaging like", value, "massMessaging");
+            return (Criteria) this;
+        }
+
+        public Criteria andMassMessagingNotLike(String value) {
+            addCriterion("mass_messaging not like", value, "massMessaging");
+            return (Criteria) this;
+        }
+
+        public Criteria andMassMessagingIn(List<String> values) {
+            addCriterion("mass_messaging in", values, "massMessaging");
+            return (Criteria) this;
+        }
+
+        public Criteria andMassMessagingNotIn(List<String> values) {
+            addCriterion("mass_messaging not in", values, "massMessaging");
+            return (Criteria) this;
+        }
+
+        public Criteria andMassMessagingBetween(String value1, String value2) {
+            addCriterion("mass_messaging between", value1, value2, "massMessaging");
+            return (Criteria) this;
+        }
+
+        public Criteria andMassMessagingNotBetween(String value1, String value2) {
+            addCriterion("mass_messaging not between", value1, value2, "massMessaging");
+            return (Criteria) this;
+        }
+    }
+
+    /**
+     * This class was generated by MyBatis Generator.
+     * This class corresponds to the database table station_official_manage
+     *
+     * @mbg.generated do_not_delete_during_merge
+     */
+    public static class Criteria extends GeneratedCriteria {
+
+        protected Criteria() {
+            super();
+        }
+    }
+
+    /**
+     * This class was generated by MyBatis Generator.
+     * This class corresponds to the database table station_official_manage
+     *
+     * @mbg.generated
+     */
+    public static class Criterion {
+        private String condition;
+
+        private Object value;
+
+        private Object secondValue;
+
+        private boolean noValue;
+
+        private boolean singleValue;
+
+        private boolean betweenValue;
+
+        private boolean listValue;
+
+        private String typeHandler;
+
+        public String getCondition() {
+            return condition;
+        }
+
+        public Object getValue() {
+            return value;
+        }
+
+        public Object getSecondValue() {
+            return secondValue;
+        }
+
+        public boolean isNoValue() {
+            return noValue;
+        }
+
+        public boolean isSingleValue() {
+            return singleValue;
+        }
+
+        public boolean isBetweenValue() {
+            return betweenValue;
+        }
+
+        public boolean isListValue() {
+            return listValue;
+        }
+
+        public String getTypeHandler() {
+            return typeHandler;
+        }
+
+        protected Criterion(String condition) {
+            super();
+            this.condition = condition;
+            this.typeHandler = null;
+            this.noValue = true;
+        }
+
+        protected Criterion(String condition, Object value, String typeHandler) {
+            super();
+            this.condition = condition;
+            this.value = value;
+            this.typeHandler = typeHandler;
+            if (value instanceof List<?>) {
+                this.listValue = true;
+            } else {
+                this.singleValue = true;
+            }
+        }
+
+        protected Criterion(String condition, Object value) {
+            this(condition, value, null);
+        }
+
+        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
+            super();
+            this.condition = condition;
+            this.value = value;
+            this.secondValue = secondValue;
+            this.typeHandler = typeHandler;
+            this.betweenValue = true;
+        }
+
+        protected Criterion(String condition, Object value, Object secondValue) {
+            this(condition, value, secondValue, null);
+        }
+    }
+}

+ 302 - 0
YijiaRestful/src/main/java/com/platform/yijia/pojo/StationOilAdjustPrice.java

@@ -0,0 +1,302 @@
+package com.platform.yijia.pojo;
+
+import java.util.Date;
+
+public class StationOilAdjustPrice {
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column station_oil_adjust_price.adjust_price_id
+     *
+     * @mbg.generated
+     */
+    private Integer adjustPriceId;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column station_oil_adjust_price.oil_name
+     *
+     * @mbg.generated
+     */
+    private String oilName;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column station_oil_adjust_price.oil_adjust_price
+     *
+     * @mbg.generated
+     */
+    private String oilAdjustPrice;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column station_oil_adjust_price.take_effect_status
+     *
+     * @mbg.generated
+     */
+    private String takeEffectStatus;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column station_oil_adjust_price.take_effect_date
+     *
+     * @mbg.generated
+     */
+    private Date takeEffectDate;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column station_oil_adjust_price.adjust_date
+     *
+     * @mbg.generated
+     */
+    private Date adjustDate;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column station_oil_adjust_price.station_no
+     *
+     * @mbg.generated
+     */
+    private String stationNo;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column station_oil_adjust_price.station_name
+     *
+     * @mbg.generated
+     */
+    private String stationName;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column station_oil_adjust_price.operator
+     *
+     * @mbg.generated
+     */
+    private String operator;
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column station_oil_adjust_price.adjust_price_id
+     *
+     * @return the value of station_oil_adjust_price.adjust_price_id
+     *
+     * @mbg.generated
+     */
+    public Integer getAdjustPriceId() {
+        return adjustPriceId;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column station_oil_adjust_price.adjust_price_id
+     *
+     * @param adjustPriceId the value for station_oil_adjust_price.adjust_price_id
+     *
+     * @mbg.generated
+     */
+    public void setAdjustPriceId(Integer adjustPriceId) {
+        this.adjustPriceId = adjustPriceId;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column station_oil_adjust_price.oil_name
+     *
+     * @return the value of station_oil_adjust_price.oil_name
+     *
+     * @mbg.generated
+     */
+    public String getOilName() {
+        return oilName;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column station_oil_adjust_price.oil_name
+     *
+     * @param oilName the value for station_oil_adjust_price.oil_name
+     *
+     * @mbg.generated
+     */
+    public void setOilName(String oilName) {
+        this.oilName = oilName == null ? null : oilName.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column station_oil_adjust_price.oil_adjust_price
+     *
+     * @return the value of station_oil_adjust_price.oil_adjust_price
+     *
+     * @mbg.generated
+     */
+    public String getOilAdjustPrice() {
+        return oilAdjustPrice;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column station_oil_adjust_price.oil_adjust_price
+     *
+     * @param oilAdjustPrice the value for station_oil_adjust_price.oil_adjust_price
+     *
+     * @mbg.generated
+     */
+    public void setOilAdjustPrice(String oilAdjustPrice) {
+        this.oilAdjustPrice = oilAdjustPrice == null ? null : oilAdjustPrice.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column station_oil_adjust_price.take_effect_status
+     *
+     * @return the value of station_oil_adjust_price.take_effect_status
+     *
+     * @mbg.generated
+     */
+    public String getTakeEffectStatus() {
+        return takeEffectStatus;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column station_oil_adjust_price.take_effect_status
+     *
+     * @param takeEffectStatus the value for station_oil_adjust_price.take_effect_status
+     *
+     * @mbg.generated
+     */
+    public void setTakeEffectStatus(String takeEffectStatus) {
+        this.takeEffectStatus = takeEffectStatus == null ? null : takeEffectStatus.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column station_oil_adjust_price.take_effect_date
+     *
+     * @return the value of station_oil_adjust_price.take_effect_date
+     *
+     * @mbg.generated
+     */
+    public Date getTakeEffectDate() {
+        return takeEffectDate;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column station_oil_adjust_price.take_effect_date
+     *
+     * @param takeEffectDate the value for station_oil_adjust_price.take_effect_date
+     *
+     * @mbg.generated
+     */
+    public void setTakeEffectDate(Date takeEffectDate) {
+        this.takeEffectDate = takeEffectDate;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column station_oil_adjust_price.adjust_date
+     *
+     * @return the value of station_oil_adjust_price.adjust_date
+     *
+     * @mbg.generated
+     */
+    public Date getAdjustDate() {
+        return adjustDate;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column station_oil_adjust_price.adjust_date
+     *
+     * @param adjustDate the value for station_oil_adjust_price.adjust_date
+     *
+     * @mbg.generated
+     */
+    public void setAdjustDate(Date adjustDate) {
+        this.adjustDate = adjustDate;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column station_oil_adjust_price.station_no
+     *
+     * @return the value of station_oil_adjust_price.station_no
+     *
+     * @mbg.generated
+     */
+    public String getStationNo() {
+        return stationNo;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column station_oil_adjust_price.station_no
+     *
+     * @param stationNo the value for station_oil_adjust_price.station_no
+     *
+     * @mbg.generated
+     */
+    public void setStationNo(String stationNo) {
+        this.stationNo = stationNo == null ? null : stationNo.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column station_oil_adjust_price.station_name
+     *
+     * @return the value of station_oil_adjust_price.station_name
+     *
+     * @mbg.generated
+     */
+    public String getStationName() {
+        return stationName;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column station_oil_adjust_price.station_name
+     *
+     * @param stationName the value for station_oil_adjust_price.station_name
+     *
+     * @mbg.generated
+     */
+    public void setStationName(String stationName) {
+        this.stationName = stationName == null ? null : stationName.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column station_oil_adjust_price.operator
+     *
+     * @return the value of station_oil_adjust_price.operator
+     *
+     * @mbg.generated
+     */
+    public String getOperator() {
+        return operator;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column station_oil_adjust_price.operator
+     *
+     * @param operator the value for station_oil_adjust_price.operator
+     *
+     * @mbg.generated
+     */
+    public void setOperator(String operator) {
+        this.operator = operator == null ? null : operator.trim();
+    }
+}

+ 903 - 0
YijiaRestful/src/main/java/com/platform/yijia/pojo/StationOilAdjustPriceExample.java

@@ -0,0 +1,903 @@
+package com.platform.yijia.pojo;
+
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.List;
+
+public class StationOilAdjustPriceExample {
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table station_oil_adjust_price
+     *
+     * @mbg.generated
+     */
+    protected String orderByClause;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table station_oil_adjust_price
+     *
+     * @mbg.generated
+     */
+    protected boolean distinct;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table station_oil_adjust_price
+     *
+     * @mbg.generated
+     */
+    protected List<Criteria> oredCriteria;
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_oil_adjust_price
+     *
+     * @mbg.generated
+     */
+    public StationOilAdjustPriceExample() {
+        oredCriteria = new ArrayList<Criteria>();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_oil_adjust_price
+     *
+     * @mbg.generated
+     */
+    public void setOrderByClause(String orderByClause) {
+        this.orderByClause = orderByClause;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_oil_adjust_price
+     *
+     * @mbg.generated
+     */
+    public String getOrderByClause() {
+        return orderByClause;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_oil_adjust_price
+     *
+     * @mbg.generated
+     */
+    public void setDistinct(boolean distinct) {
+        this.distinct = distinct;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_oil_adjust_price
+     *
+     * @mbg.generated
+     */
+    public boolean isDistinct() {
+        return distinct;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_oil_adjust_price
+     *
+     * @mbg.generated
+     */
+    public List<Criteria> getOredCriteria() {
+        return oredCriteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_oil_adjust_price
+     *
+     * @mbg.generated
+     */
+    public void or(Criteria criteria) {
+        oredCriteria.add(criteria);
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_oil_adjust_price
+     *
+     * @mbg.generated
+     */
+    public Criteria or() {
+        Criteria criteria = createCriteriaInternal();
+        oredCriteria.add(criteria);
+        return criteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_oil_adjust_price
+     *
+     * @mbg.generated
+     */
+    public Criteria createCriteria() {
+        Criteria criteria = createCriteriaInternal();
+        if (oredCriteria.size() == 0) {
+            oredCriteria.add(criteria);
+        }
+        return criteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_oil_adjust_price
+     *
+     * @mbg.generated
+     */
+    protected Criteria createCriteriaInternal() {
+        Criteria criteria = new Criteria();
+        return criteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_oil_adjust_price
+     *
+     * @mbg.generated
+     */
+    public void clear() {
+        oredCriteria.clear();
+        orderByClause = null;
+        distinct = false;
+    }
+
+    /**
+     * This class was generated by MyBatis Generator.
+     * This class corresponds to the database table station_oil_adjust_price
+     *
+     * @mbg.generated
+     */
+    protected abstract static class GeneratedCriteria {
+        protected List<Criterion> criteria;
+
+        protected GeneratedCriteria() {
+            super();
+            criteria = new ArrayList<Criterion>();
+        }
+
+        public boolean isValid() {
+            return criteria.size() > 0;
+        }
+
+        public List<Criterion> getAllCriteria() {
+            return criteria;
+        }
+
+        public List<Criterion> getCriteria() {
+            return criteria;
+        }
+
+        protected void addCriterion(String condition) {
+            if (condition == null) {
+                throw new RuntimeException("Value for condition cannot be null");
+            }
+            criteria.add(new Criterion(condition));
+        }
+
+        protected void addCriterion(String condition, Object value, String property) {
+            if (value == null) {
+                throw new RuntimeException("Value for " + property + " cannot be null");
+            }
+            criteria.add(new Criterion(condition, value));
+        }
+
+        protected void addCriterion(String condition, Object value1, Object value2, String property) {
+            if (value1 == null || value2 == null) {
+                throw new RuntimeException("Between values for " + property + " cannot be null");
+            }
+            criteria.add(new Criterion(condition, value1, value2));
+        }
+
+        public Criteria andAdjustPriceIdIsNull() {
+            addCriterion("adjust_price_id is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andAdjustPriceIdIsNotNull() {
+            addCriterion("adjust_price_id is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andAdjustPriceIdEqualTo(Integer value) {
+            addCriterion("adjust_price_id =", value, "adjustPriceId");
+            return (Criteria) this;
+        }
+
+        public Criteria andAdjustPriceIdNotEqualTo(Integer value) {
+            addCriterion("adjust_price_id <>", value, "adjustPriceId");
+            return (Criteria) this;
+        }
+
+        public Criteria andAdjustPriceIdGreaterThan(Integer value) {
+            addCriterion("adjust_price_id >", value, "adjustPriceId");
+            return (Criteria) this;
+        }
+
+        public Criteria andAdjustPriceIdGreaterThanOrEqualTo(Integer value) {
+            addCriterion("adjust_price_id >=", value, "adjustPriceId");
+            return (Criteria) this;
+        }
+
+        public Criteria andAdjustPriceIdLessThan(Integer value) {
+            addCriterion("adjust_price_id <", value, "adjustPriceId");
+            return (Criteria) this;
+        }
+
+        public Criteria andAdjustPriceIdLessThanOrEqualTo(Integer value) {
+            addCriterion("adjust_price_id <=", value, "adjustPriceId");
+            return (Criteria) this;
+        }
+
+        public Criteria andAdjustPriceIdIn(List<Integer> values) {
+            addCriterion("adjust_price_id in", values, "adjustPriceId");
+            return (Criteria) this;
+        }
+
+        public Criteria andAdjustPriceIdNotIn(List<Integer> values) {
+            addCriterion("adjust_price_id not in", values, "adjustPriceId");
+            return (Criteria) this;
+        }
+
+        public Criteria andAdjustPriceIdBetween(Integer value1, Integer value2) {
+            addCriterion("adjust_price_id between", value1, value2, "adjustPriceId");
+            return (Criteria) this;
+        }
+
+        public Criteria andAdjustPriceIdNotBetween(Integer value1, Integer value2) {
+            addCriterion("adjust_price_id not between", value1, value2, "adjustPriceId");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilNameIsNull() {
+            addCriterion("oil_name is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilNameIsNotNull() {
+            addCriterion("oil_name is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilNameEqualTo(String value) {
+            addCriterion("oil_name =", value, "oilName");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilNameNotEqualTo(String value) {
+            addCriterion("oil_name <>", value, "oilName");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilNameGreaterThan(String value) {
+            addCriterion("oil_name >", value, "oilName");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilNameGreaterThanOrEqualTo(String value) {
+            addCriterion("oil_name >=", value, "oilName");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilNameLessThan(String value) {
+            addCriterion("oil_name <", value, "oilName");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilNameLessThanOrEqualTo(String value) {
+            addCriterion("oil_name <=", value, "oilName");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilNameLike(String value) {
+            addCriterion("oil_name like", value, "oilName");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilNameNotLike(String value) {
+            addCriterion("oil_name not like", value, "oilName");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilNameIn(List<String> values) {
+            addCriterion("oil_name in", values, "oilName");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilNameNotIn(List<String> values) {
+            addCriterion("oil_name not in", values, "oilName");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilNameBetween(String value1, String value2) {
+            addCriterion("oil_name between", value1, value2, "oilName");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilNameNotBetween(String value1, String value2) {
+            addCriterion("oil_name not between", value1, value2, "oilName");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilAdjustPriceIsNull() {
+            addCriterion("oil_adjust_price is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilAdjustPriceIsNotNull() {
+            addCriterion("oil_adjust_price is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilAdjustPriceEqualTo(String value) {
+            addCriterion("oil_adjust_price =", value, "oilAdjustPrice");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilAdjustPriceNotEqualTo(String value) {
+            addCriterion("oil_adjust_price <>", value, "oilAdjustPrice");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilAdjustPriceGreaterThan(String value) {
+            addCriterion("oil_adjust_price >", value, "oilAdjustPrice");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilAdjustPriceGreaterThanOrEqualTo(String value) {
+            addCriterion("oil_adjust_price >=", value, "oilAdjustPrice");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilAdjustPriceLessThan(String value) {
+            addCriterion("oil_adjust_price <", value, "oilAdjustPrice");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilAdjustPriceLessThanOrEqualTo(String value) {
+            addCriterion("oil_adjust_price <=", value, "oilAdjustPrice");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilAdjustPriceLike(String value) {
+            addCriterion("oil_adjust_price like", value, "oilAdjustPrice");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilAdjustPriceNotLike(String value) {
+            addCriterion("oil_adjust_price not like", value, "oilAdjustPrice");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilAdjustPriceIn(List<String> values) {
+            addCriterion("oil_adjust_price in", values, "oilAdjustPrice");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilAdjustPriceNotIn(List<String> values) {
+            addCriterion("oil_adjust_price not in", values, "oilAdjustPrice");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilAdjustPriceBetween(String value1, String value2) {
+            addCriterion("oil_adjust_price between", value1, value2, "oilAdjustPrice");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilAdjustPriceNotBetween(String value1, String value2) {
+            addCriterion("oil_adjust_price not between", value1, value2, "oilAdjustPrice");
+            return (Criteria) this;
+        }
+
+        public Criteria andTakeEffectStatusIsNull() {
+            addCriterion("take_effect_status is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andTakeEffectStatusIsNotNull() {
+            addCriterion("take_effect_status is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andTakeEffectStatusEqualTo(String value) {
+            addCriterion("take_effect_status =", value, "takeEffectStatus");
+            return (Criteria) this;
+        }
+
+        public Criteria andTakeEffectStatusNotEqualTo(String value) {
+            addCriterion("take_effect_status <>", value, "takeEffectStatus");
+            return (Criteria) this;
+        }
+
+        public Criteria andTakeEffectStatusGreaterThan(String value) {
+            addCriterion("take_effect_status >", value, "takeEffectStatus");
+            return (Criteria) this;
+        }
+
+        public Criteria andTakeEffectStatusGreaterThanOrEqualTo(String value) {
+            addCriterion("take_effect_status >=", value, "takeEffectStatus");
+            return (Criteria) this;
+        }
+
+        public Criteria andTakeEffectStatusLessThan(String value) {
+            addCriterion("take_effect_status <", value, "takeEffectStatus");
+            return (Criteria) this;
+        }
+
+        public Criteria andTakeEffectStatusLessThanOrEqualTo(String value) {
+            addCriterion("take_effect_status <=", value, "takeEffectStatus");
+            return (Criteria) this;
+        }
+
+        public Criteria andTakeEffectStatusLike(String value) {
+            addCriterion("take_effect_status like", value, "takeEffectStatus");
+            return (Criteria) this;
+        }
+
+        public Criteria andTakeEffectStatusNotLike(String value) {
+            addCriterion("take_effect_status not like", value, "takeEffectStatus");
+            return (Criteria) this;
+        }
+
+        public Criteria andTakeEffectStatusIn(List<String> values) {
+            addCriterion("take_effect_status in", values, "takeEffectStatus");
+            return (Criteria) this;
+        }
+
+        public Criteria andTakeEffectStatusNotIn(List<String> values) {
+            addCriterion("take_effect_status not in", values, "takeEffectStatus");
+            return (Criteria) this;
+        }
+
+        public Criteria andTakeEffectStatusBetween(String value1, String value2) {
+            addCriterion("take_effect_status between", value1, value2, "takeEffectStatus");
+            return (Criteria) this;
+        }
+
+        public Criteria andTakeEffectStatusNotBetween(String value1, String value2) {
+            addCriterion("take_effect_status not between", value1, value2, "takeEffectStatus");
+            return (Criteria) this;
+        }
+
+        public Criteria andTakeEffectDateIsNull() {
+            addCriterion("take_effect_date is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andTakeEffectDateIsNotNull() {
+            addCriterion("take_effect_date is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andTakeEffectDateEqualTo(Date value) {
+            addCriterion("take_effect_date =", value, "takeEffectDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andTakeEffectDateNotEqualTo(Date value) {
+            addCriterion("take_effect_date <>", value, "takeEffectDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andTakeEffectDateGreaterThan(Date value) {
+            addCriterion("take_effect_date >", value, "takeEffectDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andTakeEffectDateGreaterThanOrEqualTo(Date value) {
+            addCriterion("take_effect_date >=", value, "takeEffectDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andTakeEffectDateLessThan(Date value) {
+            addCriterion("take_effect_date <", value, "takeEffectDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andTakeEffectDateLessThanOrEqualTo(Date value) {
+            addCriterion("take_effect_date <=", value, "takeEffectDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andTakeEffectDateIn(List<Date> values) {
+            addCriterion("take_effect_date in", values, "takeEffectDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andTakeEffectDateNotIn(List<Date> values) {
+            addCriterion("take_effect_date not in", values, "takeEffectDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andTakeEffectDateBetween(Date value1, Date value2) {
+            addCriterion("take_effect_date between", value1, value2, "takeEffectDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andTakeEffectDateNotBetween(Date value1, Date value2) {
+            addCriterion("take_effect_date not between", value1, value2, "takeEffectDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andAdjustDateIsNull() {
+            addCriterion("adjust_date is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andAdjustDateIsNotNull() {
+            addCriterion("adjust_date is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andAdjustDateEqualTo(Date value) {
+            addCriterion("adjust_date =", value, "adjustDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andAdjustDateNotEqualTo(Date value) {
+            addCriterion("adjust_date <>", value, "adjustDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andAdjustDateGreaterThan(Date value) {
+            addCriterion("adjust_date >", value, "adjustDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andAdjustDateGreaterThanOrEqualTo(Date value) {
+            addCriterion("adjust_date >=", value, "adjustDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andAdjustDateLessThan(Date value) {
+            addCriterion("adjust_date <", value, "adjustDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andAdjustDateLessThanOrEqualTo(Date value) {
+            addCriterion("adjust_date <=", value, "adjustDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andAdjustDateIn(List<Date> values) {
+            addCriterion("adjust_date in", values, "adjustDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andAdjustDateNotIn(List<Date> values) {
+            addCriterion("adjust_date not in", values, "adjustDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andAdjustDateBetween(Date value1, Date value2) {
+            addCriterion("adjust_date between", value1, value2, "adjustDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andAdjustDateNotBetween(Date value1, Date value2) {
+            addCriterion("adjust_date not between", value1, value2, "adjustDate");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoIsNull() {
+            addCriterion("station_no is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoIsNotNull() {
+            addCriterion("station_no is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoEqualTo(String value) {
+            addCriterion("station_no =", value, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoNotEqualTo(String value) {
+            addCriterion("station_no <>", value, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoGreaterThan(String value) {
+            addCriterion("station_no >", value, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoGreaterThanOrEqualTo(String value) {
+            addCriterion("station_no >=", value, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoLessThan(String value) {
+            addCriterion("station_no <", value, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoLessThanOrEqualTo(String value) {
+            addCriterion("station_no <=", value, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoLike(String value) {
+            addCriterion("station_no like", value, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoNotLike(String value) {
+            addCriterion("station_no not like", value, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoIn(List<String> values) {
+            addCriterion("station_no in", values, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoNotIn(List<String> values) {
+            addCriterion("station_no not in", values, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoBetween(String value1, String value2) {
+            addCriterion("station_no between", value1, value2, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoNotBetween(String value1, String value2) {
+            addCriterion("station_no not between", value1, value2, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameIsNull() {
+            addCriterion("station_name is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameIsNotNull() {
+            addCriterion("station_name is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameEqualTo(String value) {
+            addCriterion("station_name =", value, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameNotEqualTo(String value) {
+            addCriterion("station_name <>", value, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameGreaterThan(String value) {
+            addCriterion("station_name >", value, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameGreaterThanOrEqualTo(String value) {
+            addCriterion("station_name >=", value, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameLessThan(String value) {
+            addCriterion("station_name <", value, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameLessThanOrEqualTo(String value) {
+            addCriterion("station_name <=", value, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameLike(String value) {
+            addCriterion("station_name like", value, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameNotLike(String value) {
+            addCriterion("station_name not like", value, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameIn(List<String> values) {
+            addCriterion("station_name in", values, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameNotIn(List<String> values) {
+            addCriterion("station_name not in", values, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameBetween(String value1, String value2) {
+            addCriterion("station_name between", value1, value2, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameNotBetween(String value1, String value2) {
+            addCriterion("station_name not between", value1, value2, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andOperatorIsNull() {
+            addCriterion("operator is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andOperatorIsNotNull() {
+            addCriterion("operator is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andOperatorEqualTo(String value) {
+            addCriterion("operator =", value, "operator");
+            return (Criteria) this;
+        }
+
+        public Criteria andOperatorNotEqualTo(String value) {
+            addCriterion("operator <>", value, "operator");
+            return (Criteria) this;
+        }
+
+        public Criteria andOperatorGreaterThan(String value) {
+            addCriterion("operator >", value, "operator");
+            return (Criteria) this;
+        }
+
+        public Criteria andOperatorGreaterThanOrEqualTo(String value) {
+            addCriterion("operator >=", value, "operator");
+            return (Criteria) this;
+        }
+
+        public Criteria andOperatorLessThan(String value) {
+            addCriterion("operator <", value, "operator");
+            return (Criteria) this;
+        }
+
+        public Criteria andOperatorLessThanOrEqualTo(String value) {
+            addCriterion("operator <=", value, "operator");
+            return (Criteria) this;
+        }
+
+        public Criteria andOperatorLike(String value) {
+            addCriterion("operator like", value, "operator");
+            return (Criteria) this;
+        }
+
+        public Criteria andOperatorNotLike(String value) {
+            addCriterion("operator not like", value, "operator");
+            return (Criteria) this;
+        }
+
+        public Criteria andOperatorIn(List<String> values) {
+            addCriterion("operator in", values, "operator");
+            return (Criteria) this;
+        }
+
+        public Criteria andOperatorNotIn(List<String> values) {
+            addCriterion("operator not in", values, "operator");
+            return (Criteria) this;
+        }
+
+        public Criteria andOperatorBetween(String value1, String value2) {
+            addCriterion("operator between", value1, value2, "operator");
+            return (Criteria) this;
+        }
+
+        public Criteria andOperatorNotBetween(String value1, String value2) {
+            addCriterion("operator not between", value1, value2, "operator");
+            return (Criteria) this;
+        }
+    }
+
+    /**
+     * This class was generated by MyBatis Generator.
+     * This class corresponds to the database table station_oil_adjust_price
+     *
+     * @mbg.generated do_not_delete_during_merge
+     */
+    public static class Criteria extends GeneratedCriteria {
+
+        protected Criteria() {
+            super();
+        }
+    }
+
+    /**
+     * This class was generated by MyBatis Generator.
+     * This class corresponds to the database table station_oil_adjust_price
+     *
+     * @mbg.generated
+     */
+    public static class Criterion {
+        private String condition;
+
+        private Object value;
+
+        private Object secondValue;
+
+        private boolean noValue;
+
+        private boolean singleValue;
+
+        private boolean betweenValue;
+
+        private boolean listValue;
+
+        private String typeHandler;
+
+        public String getCondition() {
+            return condition;
+        }
+
+        public Object getValue() {
+            return value;
+        }
+
+        public Object getSecondValue() {
+            return secondValue;
+        }
+
+        public boolean isNoValue() {
+            return noValue;
+        }
+
+        public boolean isSingleValue() {
+            return singleValue;
+        }
+
+        public boolean isBetweenValue() {
+            return betweenValue;
+        }
+
+        public boolean isListValue() {
+            return listValue;
+        }
+
+        public String getTypeHandler() {
+            return typeHandler;
+        }
+
+        protected Criterion(String condition) {
+            super();
+            this.condition = condition;
+            this.typeHandler = null;
+            this.noValue = true;
+        }
+
+        protected Criterion(String condition, Object value, String typeHandler) {
+            super();
+            this.condition = condition;
+            this.value = value;
+            this.typeHandler = typeHandler;
+            if (value instanceof List<?>) {
+                this.listValue = true;
+            } else {
+                this.singleValue = true;
+            }
+        }
+
+        protected Criterion(String condition, Object value) {
+            this(condition, value, null);
+        }
+
+        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
+            super();
+            this.condition = condition;
+            this.value = value;
+            this.secondValue = secondValue;
+            this.typeHandler = typeHandler;
+            this.betweenValue = true;
+        }
+
+        protected Criterion(String condition, Object value, Object secondValue) {
+            this(condition, value, secondValue, null);
+        }
+    }
+}

+ 203 - 0
YijiaRestful/src/main/java/com/platform/yijia/pojo/StationOilGun.java

@@ -0,0 +1,203 @@
+package com.platform.yijia.pojo;
+
+import java.util.Date;
+
+public class StationOilGun {
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column station_oil_gun.oil_gun_id
+     *
+     * @mbg.generated
+     */
+    private Integer oilGunId;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column station_oil_gun.oil_gun_no
+     *
+     * @mbg.generated
+     */
+    private String oilGunNo;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column station_oil_gun.oil_name
+     *
+     * @mbg.generated
+     */
+    private String oilName;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column station_oil_gun.station_no
+     *
+     * @mbg.generated
+     */
+    private String stationNo;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column station_oil_gun.station_name
+     *
+     * @mbg.generated
+     */
+    private String stationName;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column station_oil_gun.date
+     *
+     * @mbg.generated
+     */
+    private Date date;
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column station_oil_gun.oil_gun_id
+     *
+     * @return the value of station_oil_gun.oil_gun_id
+     *
+     * @mbg.generated
+     */
+    public Integer getOilGunId() {
+        return oilGunId;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column station_oil_gun.oil_gun_id
+     *
+     * @param oilGunId the value for station_oil_gun.oil_gun_id
+     *
+     * @mbg.generated
+     */
+    public void setOilGunId(Integer oilGunId) {
+        this.oilGunId = oilGunId;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column station_oil_gun.oil_gun_no
+     *
+     * @return the value of station_oil_gun.oil_gun_no
+     *
+     * @mbg.generated
+     */
+    public String getOilGunNo() {
+        return oilGunNo;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column station_oil_gun.oil_gun_no
+     *
+     * @param oilGunNo the value for station_oil_gun.oil_gun_no
+     *
+     * @mbg.generated
+     */
+    public void setOilGunNo(String oilGunNo) {
+        this.oilGunNo = oilGunNo == null ? null : oilGunNo.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column station_oil_gun.oil_name
+     *
+     * @return the value of station_oil_gun.oil_name
+     *
+     * @mbg.generated
+     */
+    public String getOilName() {
+        return oilName;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column station_oil_gun.oil_name
+     *
+     * @param oilName the value for station_oil_gun.oil_name
+     *
+     * @mbg.generated
+     */
+    public void setOilName(String oilName) {
+        this.oilName = oilName == null ? null : oilName.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column station_oil_gun.station_no
+     *
+     * @return the value of station_oil_gun.station_no
+     *
+     * @mbg.generated
+     */
+    public String getStationNo() {
+        return stationNo;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column station_oil_gun.station_no
+     *
+     * @param stationNo the value for station_oil_gun.station_no
+     *
+     * @mbg.generated
+     */
+    public void setStationNo(String stationNo) {
+        this.stationNo = stationNo == null ? null : stationNo.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column station_oil_gun.station_name
+     *
+     * @return the value of station_oil_gun.station_name
+     *
+     * @mbg.generated
+     */
+    public String getStationName() {
+        return stationName;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column station_oil_gun.station_name
+     *
+     * @param stationName the value for station_oil_gun.station_name
+     *
+     * @mbg.generated
+     */
+    public void setStationName(String stationName) {
+        this.stationName = stationName == null ? null : stationName.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column station_oil_gun.date
+     *
+     * @return the value of station_oil_gun.date
+     *
+     * @mbg.generated
+     */
+    public Date getDate() {
+        return date;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column station_oil_gun.date
+     *
+     * @param date the value for station_oil_gun.date
+     *
+     * @mbg.generated
+     */
+    public void setDate(Date date) {
+        this.date = date;
+    }
+}

+ 703 - 0
YijiaRestful/src/main/java/com/platform/yijia/pojo/StationOilGunExample.java

@@ -0,0 +1,703 @@
+package com.platform.yijia.pojo;
+
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.List;
+
+public class StationOilGunExample {
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table station_oil_gun
+     *
+     * @mbg.generated
+     */
+    protected String orderByClause;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table station_oil_gun
+     *
+     * @mbg.generated
+     */
+    protected boolean distinct;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table station_oil_gun
+     *
+     * @mbg.generated
+     */
+    protected List<Criteria> oredCriteria;
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_oil_gun
+     *
+     * @mbg.generated
+     */
+    public StationOilGunExample() {
+        oredCriteria = new ArrayList<Criteria>();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_oil_gun
+     *
+     * @mbg.generated
+     */
+    public void setOrderByClause(String orderByClause) {
+        this.orderByClause = orderByClause;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_oil_gun
+     *
+     * @mbg.generated
+     */
+    public String getOrderByClause() {
+        return orderByClause;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_oil_gun
+     *
+     * @mbg.generated
+     */
+    public void setDistinct(boolean distinct) {
+        this.distinct = distinct;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_oil_gun
+     *
+     * @mbg.generated
+     */
+    public boolean isDistinct() {
+        return distinct;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_oil_gun
+     *
+     * @mbg.generated
+     */
+    public List<Criteria> getOredCriteria() {
+        return oredCriteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_oil_gun
+     *
+     * @mbg.generated
+     */
+    public void or(Criteria criteria) {
+        oredCriteria.add(criteria);
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_oil_gun
+     *
+     * @mbg.generated
+     */
+    public Criteria or() {
+        Criteria criteria = createCriteriaInternal();
+        oredCriteria.add(criteria);
+        return criteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_oil_gun
+     *
+     * @mbg.generated
+     */
+    public Criteria createCriteria() {
+        Criteria criteria = createCriteriaInternal();
+        if (oredCriteria.size() == 0) {
+            oredCriteria.add(criteria);
+        }
+        return criteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_oil_gun
+     *
+     * @mbg.generated
+     */
+    protected Criteria createCriteriaInternal() {
+        Criteria criteria = new Criteria();
+        return criteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_oil_gun
+     *
+     * @mbg.generated
+     */
+    public void clear() {
+        oredCriteria.clear();
+        orderByClause = null;
+        distinct = false;
+    }
+
+    /**
+     * This class was generated by MyBatis Generator.
+     * This class corresponds to the database table station_oil_gun
+     *
+     * @mbg.generated
+     */
+    protected abstract static class GeneratedCriteria {
+        protected List<Criterion> criteria;
+
+        protected GeneratedCriteria() {
+            super();
+            criteria = new ArrayList<Criterion>();
+        }
+
+        public boolean isValid() {
+            return criteria.size() > 0;
+        }
+
+        public List<Criterion> getAllCriteria() {
+            return criteria;
+        }
+
+        public List<Criterion> getCriteria() {
+            return criteria;
+        }
+
+        protected void addCriterion(String condition) {
+            if (condition == null) {
+                throw new RuntimeException("Value for condition cannot be null");
+            }
+            criteria.add(new Criterion(condition));
+        }
+
+        protected void addCriterion(String condition, Object value, String property) {
+            if (value == null) {
+                throw new RuntimeException("Value for " + property + " cannot be null");
+            }
+            criteria.add(new Criterion(condition, value));
+        }
+
+        protected void addCriterion(String condition, Object value1, Object value2, String property) {
+            if (value1 == null || value2 == null) {
+                throw new RuntimeException("Between values for " + property + " cannot be null");
+            }
+            criteria.add(new Criterion(condition, value1, value2));
+        }
+
+        public Criteria andOilGunIdIsNull() {
+            addCriterion("oil_gun_id is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilGunIdIsNotNull() {
+            addCriterion("oil_gun_id is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilGunIdEqualTo(Integer value) {
+            addCriterion("oil_gun_id =", value, "oilGunId");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilGunIdNotEqualTo(Integer value) {
+            addCriterion("oil_gun_id <>", value, "oilGunId");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilGunIdGreaterThan(Integer value) {
+            addCriterion("oil_gun_id >", value, "oilGunId");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilGunIdGreaterThanOrEqualTo(Integer value) {
+            addCriterion("oil_gun_id >=", value, "oilGunId");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilGunIdLessThan(Integer value) {
+            addCriterion("oil_gun_id <", value, "oilGunId");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilGunIdLessThanOrEqualTo(Integer value) {
+            addCriterion("oil_gun_id <=", value, "oilGunId");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilGunIdIn(List<Integer> values) {
+            addCriterion("oil_gun_id in", values, "oilGunId");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilGunIdNotIn(List<Integer> values) {
+            addCriterion("oil_gun_id not in", values, "oilGunId");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilGunIdBetween(Integer value1, Integer value2) {
+            addCriterion("oil_gun_id between", value1, value2, "oilGunId");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilGunIdNotBetween(Integer value1, Integer value2) {
+            addCriterion("oil_gun_id not between", value1, value2, "oilGunId");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilGunNoIsNull() {
+            addCriterion("oil_gun_no is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilGunNoIsNotNull() {
+            addCriterion("oil_gun_no is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilGunNoEqualTo(String value) {
+            addCriterion("oil_gun_no =", value, "oilGunNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilGunNoNotEqualTo(String value) {
+            addCriterion("oil_gun_no <>", value, "oilGunNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilGunNoGreaterThan(String value) {
+            addCriterion("oil_gun_no >", value, "oilGunNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilGunNoGreaterThanOrEqualTo(String value) {
+            addCriterion("oil_gun_no >=", value, "oilGunNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilGunNoLessThan(String value) {
+            addCriterion("oil_gun_no <", value, "oilGunNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilGunNoLessThanOrEqualTo(String value) {
+            addCriterion("oil_gun_no <=", value, "oilGunNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilGunNoLike(String value) {
+            addCriterion("oil_gun_no like", value, "oilGunNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilGunNoNotLike(String value) {
+            addCriterion("oil_gun_no not like", value, "oilGunNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilGunNoIn(List<String> values) {
+            addCriterion("oil_gun_no in", values, "oilGunNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilGunNoNotIn(List<String> values) {
+            addCriterion("oil_gun_no not in", values, "oilGunNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilGunNoBetween(String value1, String value2) {
+            addCriterion("oil_gun_no between", value1, value2, "oilGunNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilGunNoNotBetween(String value1, String value2) {
+            addCriterion("oil_gun_no not between", value1, value2, "oilGunNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilNameIsNull() {
+            addCriterion("oil_name is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilNameIsNotNull() {
+            addCriterion("oil_name is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilNameEqualTo(String value) {
+            addCriterion("oil_name =", value, "oilName");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilNameNotEqualTo(String value) {
+            addCriterion("oil_name <>", value, "oilName");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilNameGreaterThan(String value) {
+            addCriterion("oil_name >", value, "oilName");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilNameGreaterThanOrEqualTo(String value) {
+            addCriterion("oil_name >=", value, "oilName");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilNameLessThan(String value) {
+            addCriterion("oil_name <", value, "oilName");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilNameLessThanOrEqualTo(String value) {
+            addCriterion("oil_name <=", value, "oilName");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilNameLike(String value) {
+            addCriterion("oil_name like", value, "oilName");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilNameNotLike(String value) {
+            addCriterion("oil_name not like", value, "oilName");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilNameIn(List<String> values) {
+            addCriterion("oil_name in", values, "oilName");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilNameNotIn(List<String> values) {
+            addCriterion("oil_name not in", values, "oilName");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilNameBetween(String value1, String value2) {
+            addCriterion("oil_name between", value1, value2, "oilName");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilNameNotBetween(String value1, String value2) {
+            addCriterion("oil_name not between", value1, value2, "oilName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoIsNull() {
+            addCriterion("station_no is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoIsNotNull() {
+            addCriterion("station_no is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoEqualTo(String value) {
+            addCriterion("station_no =", value, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoNotEqualTo(String value) {
+            addCriterion("station_no <>", value, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoGreaterThan(String value) {
+            addCriterion("station_no >", value, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoGreaterThanOrEqualTo(String value) {
+            addCriterion("station_no >=", value, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoLessThan(String value) {
+            addCriterion("station_no <", value, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoLessThanOrEqualTo(String value) {
+            addCriterion("station_no <=", value, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoLike(String value) {
+            addCriterion("station_no like", value, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoNotLike(String value) {
+            addCriterion("station_no not like", value, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoIn(List<String> values) {
+            addCriterion("station_no in", values, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoNotIn(List<String> values) {
+            addCriterion("station_no not in", values, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoBetween(String value1, String value2) {
+            addCriterion("station_no between", value1, value2, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoNotBetween(String value1, String value2) {
+            addCriterion("station_no not between", value1, value2, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameIsNull() {
+            addCriterion("station_name is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameIsNotNull() {
+            addCriterion("station_name is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameEqualTo(String value) {
+            addCriterion("station_name =", value, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameNotEqualTo(String value) {
+            addCriterion("station_name <>", value, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameGreaterThan(String value) {
+            addCriterion("station_name >", value, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameGreaterThanOrEqualTo(String value) {
+            addCriterion("station_name >=", value, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameLessThan(String value) {
+            addCriterion("station_name <", value, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameLessThanOrEqualTo(String value) {
+            addCriterion("station_name <=", value, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameLike(String value) {
+            addCriterion("station_name like", value, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameNotLike(String value) {
+            addCriterion("station_name not like", value, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameIn(List<String> values) {
+            addCriterion("station_name in", values, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameNotIn(List<String> values) {
+            addCriterion("station_name not in", values, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameBetween(String value1, String value2) {
+            addCriterion("station_name between", value1, value2, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameNotBetween(String value1, String value2) {
+            addCriterion("station_name not between", value1, value2, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andDateIsNull() {
+            addCriterion("date is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andDateIsNotNull() {
+            addCriterion("date is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andDateEqualTo(Date value) {
+            addCriterion("date =", value, "date");
+            return (Criteria) this;
+        }
+
+        public Criteria andDateNotEqualTo(Date value) {
+            addCriterion("date <>", value, "date");
+            return (Criteria) this;
+        }
+
+        public Criteria andDateGreaterThan(Date value) {
+            addCriterion("date >", value, "date");
+            return (Criteria) this;
+        }
+
+        public Criteria andDateGreaterThanOrEqualTo(Date value) {
+            addCriterion("date >=", value, "date");
+            return (Criteria) this;
+        }
+
+        public Criteria andDateLessThan(Date value) {
+            addCriterion("date <", value, "date");
+            return (Criteria) this;
+        }
+
+        public Criteria andDateLessThanOrEqualTo(Date value) {
+            addCriterion("date <=", value, "date");
+            return (Criteria) this;
+        }
+
+        public Criteria andDateIn(List<Date> values) {
+            addCriterion("date in", values, "date");
+            return (Criteria) this;
+        }
+
+        public Criteria andDateNotIn(List<Date> values) {
+            addCriterion("date not in", values, "date");
+            return (Criteria) this;
+        }
+
+        public Criteria andDateBetween(Date value1, Date value2) {
+            addCriterion("date between", value1, value2, "date");
+            return (Criteria) this;
+        }
+
+        public Criteria andDateNotBetween(Date value1, Date value2) {
+            addCriterion("date not between", value1, value2, "date");
+            return (Criteria) this;
+        }
+    }
+
+    /**
+     * This class was generated by MyBatis Generator.
+     * This class corresponds to the database table station_oil_gun
+     *
+     * @mbg.generated do_not_delete_during_merge
+     */
+    public static class Criteria extends GeneratedCriteria {
+
+        protected Criteria() {
+            super();
+        }
+    }
+
+    /**
+     * This class was generated by MyBatis Generator.
+     * This class corresponds to the database table station_oil_gun
+     *
+     * @mbg.generated
+     */
+    public static class Criterion {
+        private String condition;
+
+        private Object value;
+
+        private Object secondValue;
+
+        private boolean noValue;
+
+        private boolean singleValue;
+
+        private boolean betweenValue;
+
+        private boolean listValue;
+
+        private String typeHandler;
+
+        public String getCondition() {
+            return condition;
+        }
+
+        public Object getValue() {
+            return value;
+        }
+
+        public Object getSecondValue() {
+            return secondValue;
+        }
+
+        public boolean isNoValue() {
+            return noValue;
+        }
+
+        public boolean isSingleValue() {
+            return singleValue;
+        }
+
+        public boolean isBetweenValue() {
+            return betweenValue;
+        }
+
+        public boolean isListValue() {
+            return listValue;
+        }
+
+        public String getTypeHandler() {
+            return typeHandler;
+        }
+
+        protected Criterion(String condition) {
+            super();
+            this.condition = condition;
+            this.typeHandler = null;
+            this.noValue = true;
+        }
+
+        protected Criterion(String condition, Object value, String typeHandler) {
+            super();
+            this.condition = condition;
+            this.value = value;
+            this.typeHandler = typeHandler;
+            if (value instanceof List<?>) {
+                this.listValue = true;
+            } else {
+                this.singleValue = true;
+            }
+        }
+
+        protected Criterion(String condition, Object value) {
+            this(condition, value, null);
+        }
+
+        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
+            super();
+            this.condition = condition;
+            this.value = value;
+            this.secondValue = secondValue;
+            this.typeHandler = typeHandler;
+            this.betweenValue = true;
+        }
+
+        protected Criterion(String condition, Object value, Object secondValue) {
+            this(condition, value, secondValue, null);
+        }
+    }
+}

+ 203 - 0
YijiaRestful/src/main/java/com/platform/yijia/pojo/StationOilPrice.java

@@ -0,0 +1,203 @@
+package com.platform.yijia.pojo;
+
+import java.util.Date;
+
+public class StationOilPrice {
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column station_oil_price.oil_price_id
+     *
+     * @mbg.generated
+     */
+    private Integer oilPriceId;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column station_oil_price.oil_name
+     *
+     * @mbg.generated
+     */
+    private String oilName;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column station_oil_price.oil_price
+     *
+     * @mbg.generated
+     */
+    private String oilPrice;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column station_oil_price.station_no
+     *
+     * @mbg.generated
+     */
+    private String stationNo;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column station_oil_price.station_nanme
+     *
+     * @mbg.generated
+     */
+    private String stationNanme;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column station_oil_price.date
+     *
+     * @mbg.generated
+     */
+    private Date date;
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column station_oil_price.oil_price_id
+     *
+     * @return the value of station_oil_price.oil_price_id
+     *
+     * @mbg.generated
+     */
+    public Integer getOilPriceId() {
+        return oilPriceId;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column station_oil_price.oil_price_id
+     *
+     * @param oilPriceId the value for station_oil_price.oil_price_id
+     *
+     * @mbg.generated
+     */
+    public void setOilPriceId(Integer oilPriceId) {
+        this.oilPriceId = oilPriceId;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column station_oil_price.oil_name
+     *
+     * @return the value of station_oil_price.oil_name
+     *
+     * @mbg.generated
+     */
+    public String getOilName() {
+        return oilName;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column station_oil_price.oil_name
+     *
+     * @param oilName the value for station_oil_price.oil_name
+     *
+     * @mbg.generated
+     */
+    public void setOilName(String oilName) {
+        this.oilName = oilName == null ? null : oilName.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column station_oil_price.oil_price
+     *
+     * @return the value of station_oil_price.oil_price
+     *
+     * @mbg.generated
+     */
+    public String getOilPrice() {
+        return oilPrice;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column station_oil_price.oil_price
+     *
+     * @param oilPrice the value for station_oil_price.oil_price
+     *
+     * @mbg.generated
+     */
+    public void setOilPrice(String oilPrice) {
+        this.oilPrice = oilPrice == null ? null : oilPrice.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column station_oil_price.station_no
+     *
+     * @return the value of station_oil_price.station_no
+     *
+     * @mbg.generated
+     */
+    public String getStationNo() {
+        return stationNo;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column station_oil_price.station_no
+     *
+     * @param stationNo the value for station_oil_price.station_no
+     *
+     * @mbg.generated
+     */
+    public void setStationNo(String stationNo) {
+        this.stationNo = stationNo == null ? null : stationNo.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column station_oil_price.station_nanme
+     *
+     * @return the value of station_oil_price.station_nanme
+     *
+     * @mbg.generated
+     */
+    public String getStationNanme() {
+        return stationNanme;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column station_oil_price.station_nanme
+     *
+     * @param stationNanme the value for station_oil_price.station_nanme
+     *
+     * @mbg.generated
+     */
+    public void setStationNanme(String stationNanme) {
+        this.stationNanme = stationNanme == null ? null : stationNanme.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column station_oil_price.date
+     *
+     * @return the value of station_oil_price.date
+     *
+     * @mbg.generated
+     */
+    public Date getDate() {
+        return date;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column station_oil_price.date
+     *
+     * @param date the value for station_oil_price.date
+     *
+     * @mbg.generated
+     */
+    public void setDate(Date date) {
+        this.date = date;
+    }
+}

+ 703 - 0
YijiaRestful/src/main/java/com/platform/yijia/pojo/StationOilPriceExample.java

@@ -0,0 +1,703 @@
+package com.platform.yijia.pojo;
+
+import java.util.ArrayList;
+import java.util.Date;
+import java.util.List;
+
+public class StationOilPriceExample {
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table station_oil_price
+     *
+     * @mbg.generated
+     */
+    protected String orderByClause;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table station_oil_price
+     *
+     * @mbg.generated
+     */
+    protected boolean distinct;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table station_oil_price
+     *
+     * @mbg.generated
+     */
+    protected List<Criteria> oredCriteria;
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_oil_price
+     *
+     * @mbg.generated
+     */
+    public StationOilPriceExample() {
+        oredCriteria = new ArrayList<Criteria>();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_oil_price
+     *
+     * @mbg.generated
+     */
+    public void setOrderByClause(String orderByClause) {
+        this.orderByClause = orderByClause;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_oil_price
+     *
+     * @mbg.generated
+     */
+    public String getOrderByClause() {
+        return orderByClause;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_oil_price
+     *
+     * @mbg.generated
+     */
+    public void setDistinct(boolean distinct) {
+        this.distinct = distinct;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_oil_price
+     *
+     * @mbg.generated
+     */
+    public boolean isDistinct() {
+        return distinct;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_oil_price
+     *
+     * @mbg.generated
+     */
+    public List<Criteria> getOredCriteria() {
+        return oredCriteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_oil_price
+     *
+     * @mbg.generated
+     */
+    public void or(Criteria criteria) {
+        oredCriteria.add(criteria);
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_oil_price
+     *
+     * @mbg.generated
+     */
+    public Criteria or() {
+        Criteria criteria = createCriteriaInternal();
+        oredCriteria.add(criteria);
+        return criteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_oil_price
+     *
+     * @mbg.generated
+     */
+    public Criteria createCriteria() {
+        Criteria criteria = createCriteriaInternal();
+        if (oredCriteria.size() == 0) {
+            oredCriteria.add(criteria);
+        }
+        return criteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_oil_price
+     *
+     * @mbg.generated
+     */
+    protected Criteria createCriteriaInternal() {
+        Criteria criteria = new Criteria();
+        return criteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_oil_price
+     *
+     * @mbg.generated
+     */
+    public void clear() {
+        oredCriteria.clear();
+        orderByClause = null;
+        distinct = false;
+    }
+
+    /**
+     * This class was generated by MyBatis Generator.
+     * This class corresponds to the database table station_oil_price
+     *
+     * @mbg.generated
+     */
+    protected abstract static class GeneratedCriteria {
+        protected List<Criterion> criteria;
+
+        protected GeneratedCriteria() {
+            super();
+            criteria = new ArrayList<Criterion>();
+        }
+
+        public boolean isValid() {
+            return criteria.size() > 0;
+        }
+
+        public List<Criterion> getAllCriteria() {
+            return criteria;
+        }
+
+        public List<Criterion> getCriteria() {
+            return criteria;
+        }
+
+        protected void addCriterion(String condition) {
+            if (condition == null) {
+                throw new RuntimeException("Value for condition cannot be null");
+            }
+            criteria.add(new Criterion(condition));
+        }
+
+        protected void addCriterion(String condition, Object value, String property) {
+            if (value == null) {
+                throw new RuntimeException("Value for " + property + " cannot be null");
+            }
+            criteria.add(new Criterion(condition, value));
+        }
+
+        protected void addCriterion(String condition, Object value1, Object value2, String property) {
+            if (value1 == null || value2 == null) {
+                throw new RuntimeException("Between values for " + property + " cannot be null");
+            }
+            criteria.add(new Criterion(condition, value1, value2));
+        }
+
+        public Criteria andOilPriceIdIsNull() {
+            addCriterion("oil_price_id is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilPriceIdIsNotNull() {
+            addCriterion("oil_price_id is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilPriceIdEqualTo(Integer value) {
+            addCriterion("oil_price_id =", value, "oilPriceId");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilPriceIdNotEqualTo(Integer value) {
+            addCriterion("oil_price_id <>", value, "oilPriceId");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilPriceIdGreaterThan(Integer value) {
+            addCriterion("oil_price_id >", value, "oilPriceId");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilPriceIdGreaterThanOrEqualTo(Integer value) {
+            addCriterion("oil_price_id >=", value, "oilPriceId");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilPriceIdLessThan(Integer value) {
+            addCriterion("oil_price_id <", value, "oilPriceId");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilPriceIdLessThanOrEqualTo(Integer value) {
+            addCriterion("oil_price_id <=", value, "oilPriceId");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilPriceIdIn(List<Integer> values) {
+            addCriterion("oil_price_id in", values, "oilPriceId");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilPriceIdNotIn(List<Integer> values) {
+            addCriterion("oil_price_id not in", values, "oilPriceId");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilPriceIdBetween(Integer value1, Integer value2) {
+            addCriterion("oil_price_id between", value1, value2, "oilPriceId");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilPriceIdNotBetween(Integer value1, Integer value2) {
+            addCriterion("oil_price_id not between", value1, value2, "oilPriceId");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilNameIsNull() {
+            addCriterion("oil_name is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilNameIsNotNull() {
+            addCriterion("oil_name is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilNameEqualTo(String value) {
+            addCriterion("oil_name =", value, "oilName");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilNameNotEqualTo(String value) {
+            addCriterion("oil_name <>", value, "oilName");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilNameGreaterThan(String value) {
+            addCriterion("oil_name >", value, "oilName");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilNameGreaterThanOrEqualTo(String value) {
+            addCriterion("oil_name >=", value, "oilName");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilNameLessThan(String value) {
+            addCriterion("oil_name <", value, "oilName");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilNameLessThanOrEqualTo(String value) {
+            addCriterion("oil_name <=", value, "oilName");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilNameLike(String value) {
+            addCriterion("oil_name like", value, "oilName");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilNameNotLike(String value) {
+            addCriterion("oil_name not like", value, "oilName");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilNameIn(List<String> values) {
+            addCriterion("oil_name in", values, "oilName");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilNameNotIn(List<String> values) {
+            addCriterion("oil_name not in", values, "oilName");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilNameBetween(String value1, String value2) {
+            addCriterion("oil_name between", value1, value2, "oilName");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilNameNotBetween(String value1, String value2) {
+            addCriterion("oil_name not between", value1, value2, "oilName");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilPriceIsNull() {
+            addCriterion("oil_price is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilPriceIsNotNull() {
+            addCriterion("oil_price is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilPriceEqualTo(String value) {
+            addCriterion("oil_price =", value, "oilPrice");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilPriceNotEqualTo(String value) {
+            addCriterion("oil_price <>", value, "oilPrice");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilPriceGreaterThan(String value) {
+            addCriterion("oil_price >", value, "oilPrice");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilPriceGreaterThanOrEqualTo(String value) {
+            addCriterion("oil_price >=", value, "oilPrice");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilPriceLessThan(String value) {
+            addCriterion("oil_price <", value, "oilPrice");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilPriceLessThanOrEqualTo(String value) {
+            addCriterion("oil_price <=", value, "oilPrice");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilPriceLike(String value) {
+            addCriterion("oil_price like", value, "oilPrice");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilPriceNotLike(String value) {
+            addCriterion("oil_price not like", value, "oilPrice");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilPriceIn(List<String> values) {
+            addCriterion("oil_price in", values, "oilPrice");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilPriceNotIn(List<String> values) {
+            addCriterion("oil_price not in", values, "oilPrice");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilPriceBetween(String value1, String value2) {
+            addCriterion("oil_price between", value1, value2, "oilPrice");
+            return (Criteria) this;
+        }
+
+        public Criteria andOilPriceNotBetween(String value1, String value2) {
+            addCriterion("oil_price not between", value1, value2, "oilPrice");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoIsNull() {
+            addCriterion("station_no is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoIsNotNull() {
+            addCriterion("station_no is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoEqualTo(String value) {
+            addCriterion("station_no =", value, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoNotEqualTo(String value) {
+            addCriterion("station_no <>", value, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoGreaterThan(String value) {
+            addCriterion("station_no >", value, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoGreaterThanOrEqualTo(String value) {
+            addCriterion("station_no >=", value, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoLessThan(String value) {
+            addCriterion("station_no <", value, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoLessThanOrEqualTo(String value) {
+            addCriterion("station_no <=", value, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoLike(String value) {
+            addCriterion("station_no like", value, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoNotLike(String value) {
+            addCriterion("station_no not like", value, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoIn(List<String> values) {
+            addCriterion("station_no in", values, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoNotIn(List<String> values) {
+            addCriterion("station_no not in", values, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoBetween(String value1, String value2) {
+            addCriterion("station_no between", value1, value2, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoNotBetween(String value1, String value2) {
+            addCriterion("station_no not between", value1, value2, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNanmeIsNull() {
+            addCriterion("station_nanme is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNanmeIsNotNull() {
+            addCriterion("station_nanme is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNanmeEqualTo(String value) {
+            addCriterion("station_nanme =", value, "stationNanme");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNanmeNotEqualTo(String value) {
+            addCriterion("station_nanme <>", value, "stationNanme");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNanmeGreaterThan(String value) {
+            addCriterion("station_nanme >", value, "stationNanme");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNanmeGreaterThanOrEqualTo(String value) {
+            addCriterion("station_nanme >=", value, "stationNanme");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNanmeLessThan(String value) {
+            addCriterion("station_nanme <", value, "stationNanme");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNanmeLessThanOrEqualTo(String value) {
+            addCriterion("station_nanme <=", value, "stationNanme");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNanmeLike(String value) {
+            addCriterion("station_nanme like", value, "stationNanme");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNanmeNotLike(String value) {
+            addCriterion("station_nanme not like", value, "stationNanme");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNanmeIn(List<String> values) {
+            addCriterion("station_nanme in", values, "stationNanme");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNanmeNotIn(List<String> values) {
+            addCriterion("station_nanme not in", values, "stationNanme");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNanmeBetween(String value1, String value2) {
+            addCriterion("station_nanme between", value1, value2, "stationNanme");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNanmeNotBetween(String value1, String value2) {
+            addCriterion("station_nanme not between", value1, value2, "stationNanme");
+            return (Criteria) this;
+        }
+
+        public Criteria andDateIsNull() {
+            addCriterion("date is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andDateIsNotNull() {
+            addCriterion("date is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andDateEqualTo(Date value) {
+            addCriterion("date =", value, "date");
+            return (Criteria) this;
+        }
+
+        public Criteria andDateNotEqualTo(Date value) {
+            addCriterion("date <>", value, "date");
+            return (Criteria) this;
+        }
+
+        public Criteria andDateGreaterThan(Date value) {
+            addCriterion("date >", value, "date");
+            return (Criteria) this;
+        }
+
+        public Criteria andDateGreaterThanOrEqualTo(Date value) {
+            addCriterion("date >=", value, "date");
+            return (Criteria) this;
+        }
+
+        public Criteria andDateLessThan(Date value) {
+            addCriterion("date <", value, "date");
+            return (Criteria) this;
+        }
+
+        public Criteria andDateLessThanOrEqualTo(Date value) {
+            addCriterion("date <=", value, "date");
+            return (Criteria) this;
+        }
+
+        public Criteria andDateIn(List<Date> values) {
+            addCriterion("date in", values, "date");
+            return (Criteria) this;
+        }
+
+        public Criteria andDateNotIn(List<Date> values) {
+            addCriterion("date not in", values, "date");
+            return (Criteria) this;
+        }
+
+        public Criteria andDateBetween(Date value1, Date value2) {
+            addCriterion("date between", value1, value2, "date");
+            return (Criteria) this;
+        }
+
+        public Criteria andDateNotBetween(Date value1, Date value2) {
+            addCriterion("date not between", value1, value2, "date");
+            return (Criteria) this;
+        }
+    }
+
+    /**
+     * This class was generated by MyBatis Generator.
+     * This class corresponds to the database table station_oil_price
+     *
+     * @mbg.generated do_not_delete_during_merge
+     */
+    public static class Criteria extends GeneratedCriteria {
+
+        protected Criteria() {
+            super();
+        }
+    }
+
+    /**
+     * This class was generated by MyBatis Generator.
+     * This class corresponds to the database table station_oil_price
+     *
+     * @mbg.generated
+     */
+    public static class Criterion {
+        private String condition;
+
+        private Object value;
+
+        private Object secondValue;
+
+        private boolean noValue;
+
+        private boolean singleValue;
+
+        private boolean betweenValue;
+
+        private boolean listValue;
+
+        private String typeHandler;
+
+        public String getCondition() {
+            return condition;
+        }
+
+        public Object getValue() {
+            return value;
+        }
+
+        public Object getSecondValue() {
+            return secondValue;
+        }
+
+        public boolean isNoValue() {
+            return noValue;
+        }
+
+        public boolean isSingleValue() {
+            return singleValue;
+        }
+
+        public boolean isBetweenValue() {
+            return betweenValue;
+        }
+
+        public boolean isListValue() {
+            return listValue;
+        }
+
+        public String getTypeHandler() {
+            return typeHandler;
+        }
+
+        protected Criterion(String condition) {
+            super();
+            this.condition = condition;
+            this.typeHandler = null;
+            this.noValue = true;
+        }
+
+        protected Criterion(String condition, Object value, String typeHandler) {
+            super();
+            this.condition = condition;
+            this.value = value;
+            this.typeHandler = typeHandler;
+            if (value instanceof List<?>) {
+                this.listValue = true;
+            } else {
+                this.singleValue = true;
+            }
+        }
+
+        protected Criterion(String condition, Object value) {
+            this(condition, value, null);
+        }
+
+        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
+            super();
+            this.condition = condition;
+            this.value = value;
+            this.secondValue = secondValue;
+            this.typeHandler = typeHandler;
+            this.betweenValue = true;
+        }
+
+        protected Criterion(String condition, Object value, Object secondValue) {
+            this(condition, value, secondValue, null);
+        }
+    }
+}

+ 399 - 0
YijiaRestful/src/main/java/com/platform/yijia/pojo/StationPayManage.java

@@ -0,0 +1,399 @@
+package com.platform.yijia.pojo;
+
+public class StationPayManage {
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column station_pay_manage.pay_id
+     *
+     * @mbg.generated
+     */
+    private Integer payId;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column station_pay_manage.pay_mode
+     *
+     * @mbg.generated
+     */
+    private String payMode;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column station_pay_manage.image_photos_flag
+     *
+     * @mbg.generated
+     */
+    private String imagePhotosFlag;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column station_pay_manage.card_enabled_flag
+     *
+     * @mbg.generated
+     */
+    private String cardEnabledFlag;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column station_pay_manage.preferential_way_share_flag
+     *
+     * @mbg.generated
+     */
+    private String preferentialWayShareFlag;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column station_pay_manage.other_preferential_way
+     *
+     * @mbg.generated
+     */
+    private String otherPreferentialWay;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column station_pay_manage.pay_print_num
+     *
+     * @mbg.generated
+     */
+    private Integer payPrintNum;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column station_pay_manage.pay_callback_page
+     *
+     * @mbg.generated
+     */
+    private String payCallbackPage;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column station_pay_manage.ws_print_flag
+     *
+     * @mbg.generated
+     */
+    private String wsPrintFlag;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column station_pay_manage.station_no
+     *
+     * @mbg.generated
+     */
+    private String stationNo;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column station_pay_manage.station_name
+     *
+     * @mbg.generated
+     */
+    private String stationName;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column station_pay_manage.activity_pic
+     *
+     * @mbg.generated
+     */
+    private byte[] activityPic;
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column station_pay_manage.pay_id
+     *
+     * @return the value of station_pay_manage.pay_id
+     *
+     * @mbg.generated
+     */
+    public Integer getPayId() {
+        return payId;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column station_pay_manage.pay_id
+     *
+     * @param payId the value for station_pay_manage.pay_id
+     *
+     * @mbg.generated
+     */
+    public void setPayId(Integer payId) {
+        this.payId = payId;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column station_pay_manage.pay_mode
+     *
+     * @return the value of station_pay_manage.pay_mode
+     *
+     * @mbg.generated
+     */
+    public String getPayMode() {
+        return payMode;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column station_pay_manage.pay_mode
+     *
+     * @param payMode the value for station_pay_manage.pay_mode
+     *
+     * @mbg.generated
+     */
+    public void setPayMode(String payMode) {
+        this.payMode = payMode == null ? null : payMode.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column station_pay_manage.image_photos_flag
+     *
+     * @return the value of station_pay_manage.image_photos_flag
+     *
+     * @mbg.generated
+     */
+    public String getImagePhotosFlag() {
+        return imagePhotosFlag;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column station_pay_manage.image_photos_flag
+     *
+     * @param imagePhotosFlag the value for station_pay_manage.image_photos_flag
+     *
+     * @mbg.generated
+     */
+    public void setImagePhotosFlag(String imagePhotosFlag) {
+        this.imagePhotosFlag = imagePhotosFlag == null ? null : imagePhotosFlag.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column station_pay_manage.card_enabled_flag
+     *
+     * @return the value of station_pay_manage.card_enabled_flag
+     *
+     * @mbg.generated
+     */
+    public String getCardEnabledFlag() {
+        return cardEnabledFlag;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column station_pay_manage.card_enabled_flag
+     *
+     * @param cardEnabledFlag the value for station_pay_manage.card_enabled_flag
+     *
+     * @mbg.generated
+     */
+    public void setCardEnabledFlag(String cardEnabledFlag) {
+        this.cardEnabledFlag = cardEnabledFlag == null ? null : cardEnabledFlag.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column station_pay_manage.preferential_way_share_flag
+     *
+     * @return the value of station_pay_manage.preferential_way_share_flag
+     *
+     * @mbg.generated
+     */
+    public String getPreferentialWayShareFlag() {
+        return preferentialWayShareFlag;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column station_pay_manage.preferential_way_share_flag
+     *
+     * @param preferentialWayShareFlag the value for station_pay_manage.preferential_way_share_flag
+     *
+     * @mbg.generated
+     */
+    public void setPreferentialWayShareFlag(String preferentialWayShareFlag) {
+        this.preferentialWayShareFlag = preferentialWayShareFlag == null ? null : preferentialWayShareFlag.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column station_pay_manage.other_preferential_way
+     *
+     * @return the value of station_pay_manage.other_preferential_way
+     *
+     * @mbg.generated
+     */
+    public String getOtherPreferentialWay() {
+        return otherPreferentialWay;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column station_pay_manage.other_preferential_way
+     *
+     * @param otherPreferentialWay the value for station_pay_manage.other_preferential_way
+     *
+     * @mbg.generated
+     */
+    public void setOtherPreferentialWay(String otherPreferentialWay) {
+        this.otherPreferentialWay = otherPreferentialWay == null ? null : otherPreferentialWay.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column station_pay_manage.pay_print_num
+     *
+     * @return the value of station_pay_manage.pay_print_num
+     *
+     * @mbg.generated
+     */
+    public Integer getPayPrintNum() {
+        return payPrintNum;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column station_pay_manage.pay_print_num
+     *
+     * @param payPrintNum the value for station_pay_manage.pay_print_num
+     *
+     * @mbg.generated
+     */
+    public void setPayPrintNum(Integer payPrintNum) {
+        this.payPrintNum = payPrintNum;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column station_pay_manage.pay_callback_page
+     *
+     * @return the value of station_pay_manage.pay_callback_page
+     *
+     * @mbg.generated
+     */
+    public String getPayCallbackPage() {
+        return payCallbackPage;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column station_pay_manage.pay_callback_page
+     *
+     * @param payCallbackPage the value for station_pay_manage.pay_callback_page
+     *
+     * @mbg.generated
+     */
+    public void setPayCallbackPage(String payCallbackPage) {
+        this.payCallbackPage = payCallbackPage == null ? null : payCallbackPage.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column station_pay_manage.ws_print_flag
+     *
+     * @return the value of station_pay_manage.ws_print_flag
+     *
+     * @mbg.generated
+     */
+    public String getWsPrintFlag() {
+        return wsPrintFlag;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column station_pay_manage.ws_print_flag
+     *
+     * @param wsPrintFlag the value for station_pay_manage.ws_print_flag
+     *
+     * @mbg.generated
+     */
+    public void setWsPrintFlag(String wsPrintFlag) {
+        this.wsPrintFlag = wsPrintFlag == null ? null : wsPrintFlag.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column station_pay_manage.station_no
+     *
+     * @return the value of station_pay_manage.station_no
+     *
+     * @mbg.generated
+     */
+    public String getStationNo() {
+        return stationNo;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column station_pay_manage.station_no
+     *
+     * @param stationNo the value for station_pay_manage.station_no
+     *
+     * @mbg.generated
+     */
+    public void setStationNo(String stationNo) {
+        this.stationNo = stationNo == null ? null : stationNo.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column station_pay_manage.station_name
+     *
+     * @return the value of station_pay_manage.station_name
+     *
+     * @mbg.generated
+     */
+    public String getStationName() {
+        return stationName;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column station_pay_manage.station_name
+     *
+     * @param stationName the value for station_pay_manage.station_name
+     *
+     * @mbg.generated
+     */
+    public void setStationName(String stationName) {
+        this.stationName = stationName == null ? null : stationName.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column station_pay_manage.activity_pic
+     *
+     * @return the value of station_pay_manage.activity_pic
+     *
+     * @mbg.generated
+     */
+    public byte[] getActivityPic() {
+        return activityPic;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column station_pay_manage.activity_pic
+     *
+     * @param activityPic the value for station_pay_manage.activity_pic
+     *
+     * @mbg.generated
+     */
+    public void setActivityPic(byte[] activityPic) {
+        this.activityPic = activityPic;
+    }
+}

+ 1052 - 0
YijiaRestful/src/main/java/com/platform/yijia/pojo/StationPayManageExample.java

@@ -0,0 +1,1052 @@
+package com.platform.yijia.pojo;
+
+import java.util.ArrayList;
+import java.util.List;
+
+public class StationPayManageExample {
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table station_pay_manage
+     *
+     * @mbg.generated
+     */
+    protected String orderByClause;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table station_pay_manage
+     *
+     * @mbg.generated
+     */
+    protected boolean distinct;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table station_pay_manage
+     *
+     * @mbg.generated
+     */
+    protected List<Criteria> oredCriteria;
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_pay_manage
+     *
+     * @mbg.generated
+     */
+    public StationPayManageExample() {
+        oredCriteria = new ArrayList<Criteria>();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_pay_manage
+     *
+     * @mbg.generated
+     */
+    public void setOrderByClause(String orderByClause) {
+        this.orderByClause = orderByClause;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_pay_manage
+     *
+     * @mbg.generated
+     */
+    public String getOrderByClause() {
+        return orderByClause;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_pay_manage
+     *
+     * @mbg.generated
+     */
+    public void setDistinct(boolean distinct) {
+        this.distinct = distinct;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_pay_manage
+     *
+     * @mbg.generated
+     */
+    public boolean isDistinct() {
+        return distinct;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_pay_manage
+     *
+     * @mbg.generated
+     */
+    public List<Criteria> getOredCriteria() {
+        return oredCriteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_pay_manage
+     *
+     * @mbg.generated
+     */
+    public void or(Criteria criteria) {
+        oredCriteria.add(criteria);
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_pay_manage
+     *
+     * @mbg.generated
+     */
+    public Criteria or() {
+        Criteria criteria = createCriteriaInternal();
+        oredCriteria.add(criteria);
+        return criteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_pay_manage
+     *
+     * @mbg.generated
+     */
+    public Criteria createCriteria() {
+        Criteria criteria = createCriteriaInternal();
+        if (oredCriteria.size() == 0) {
+            oredCriteria.add(criteria);
+        }
+        return criteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_pay_manage
+     *
+     * @mbg.generated
+     */
+    protected Criteria createCriteriaInternal() {
+        Criteria criteria = new Criteria();
+        return criteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_pay_manage
+     *
+     * @mbg.generated
+     */
+    public void clear() {
+        oredCriteria.clear();
+        orderByClause = null;
+        distinct = false;
+    }
+
+    /**
+     * This class was generated by MyBatis Generator.
+     * This class corresponds to the database table station_pay_manage
+     *
+     * @mbg.generated
+     */
+    protected abstract static class GeneratedCriteria {
+        protected List<Criterion> criteria;
+
+        protected GeneratedCriteria() {
+            super();
+            criteria = new ArrayList<Criterion>();
+        }
+
+        public boolean isValid() {
+            return criteria.size() > 0;
+        }
+
+        public List<Criterion> getAllCriteria() {
+            return criteria;
+        }
+
+        public List<Criterion> getCriteria() {
+            return criteria;
+        }
+
+        protected void addCriterion(String condition) {
+            if (condition == null) {
+                throw new RuntimeException("Value for condition cannot be null");
+            }
+            criteria.add(new Criterion(condition));
+        }
+
+        protected void addCriterion(String condition, Object value, String property) {
+            if (value == null) {
+                throw new RuntimeException("Value for " + property + " cannot be null");
+            }
+            criteria.add(new Criterion(condition, value));
+        }
+
+        protected void addCriterion(String condition, Object value1, Object value2, String property) {
+            if (value1 == null || value2 == null) {
+                throw new RuntimeException("Between values for " + property + " cannot be null");
+            }
+            criteria.add(new Criterion(condition, value1, value2));
+        }
+
+        public Criteria andPayIdIsNull() {
+            addCriterion("pay_id is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPayIdIsNotNull() {
+            addCriterion("pay_id is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPayIdEqualTo(Integer value) {
+            addCriterion("pay_id =", value, "payId");
+            return (Criteria) this;
+        }
+
+        public Criteria andPayIdNotEqualTo(Integer value) {
+            addCriterion("pay_id <>", value, "payId");
+            return (Criteria) this;
+        }
+
+        public Criteria andPayIdGreaterThan(Integer value) {
+            addCriterion("pay_id >", value, "payId");
+            return (Criteria) this;
+        }
+
+        public Criteria andPayIdGreaterThanOrEqualTo(Integer value) {
+            addCriterion("pay_id >=", value, "payId");
+            return (Criteria) this;
+        }
+
+        public Criteria andPayIdLessThan(Integer value) {
+            addCriterion("pay_id <", value, "payId");
+            return (Criteria) this;
+        }
+
+        public Criteria andPayIdLessThanOrEqualTo(Integer value) {
+            addCriterion("pay_id <=", value, "payId");
+            return (Criteria) this;
+        }
+
+        public Criteria andPayIdIn(List<Integer> values) {
+            addCriterion("pay_id in", values, "payId");
+            return (Criteria) this;
+        }
+
+        public Criteria andPayIdNotIn(List<Integer> values) {
+            addCriterion("pay_id not in", values, "payId");
+            return (Criteria) this;
+        }
+
+        public Criteria andPayIdBetween(Integer value1, Integer value2) {
+            addCriterion("pay_id between", value1, value2, "payId");
+            return (Criteria) this;
+        }
+
+        public Criteria andPayIdNotBetween(Integer value1, Integer value2) {
+            addCriterion("pay_id not between", value1, value2, "payId");
+            return (Criteria) this;
+        }
+
+        public Criteria andPayModeIsNull() {
+            addCriterion("pay_mode is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPayModeIsNotNull() {
+            addCriterion("pay_mode is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPayModeEqualTo(String value) {
+            addCriterion("pay_mode =", value, "payMode");
+            return (Criteria) this;
+        }
+
+        public Criteria andPayModeNotEqualTo(String value) {
+            addCriterion("pay_mode <>", value, "payMode");
+            return (Criteria) this;
+        }
+
+        public Criteria andPayModeGreaterThan(String value) {
+            addCriterion("pay_mode >", value, "payMode");
+            return (Criteria) this;
+        }
+
+        public Criteria andPayModeGreaterThanOrEqualTo(String value) {
+            addCriterion("pay_mode >=", value, "payMode");
+            return (Criteria) this;
+        }
+
+        public Criteria andPayModeLessThan(String value) {
+            addCriterion("pay_mode <", value, "payMode");
+            return (Criteria) this;
+        }
+
+        public Criteria andPayModeLessThanOrEqualTo(String value) {
+            addCriterion("pay_mode <=", value, "payMode");
+            return (Criteria) this;
+        }
+
+        public Criteria andPayModeLike(String value) {
+            addCriterion("pay_mode like", value, "payMode");
+            return (Criteria) this;
+        }
+
+        public Criteria andPayModeNotLike(String value) {
+            addCriterion("pay_mode not like", value, "payMode");
+            return (Criteria) this;
+        }
+
+        public Criteria andPayModeIn(List<String> values) {
+            addCriterion("pay_mode in", values, "payMode");
+            return (Criteria) this;
+        }
+
+        public Criteria andPayModeNotIn(List<String> values) {
+            addCriterion("pay_mode not in", values, "payMode");
+            return (Criteria) this;
+        }
+
+        public Criteria andPayModeBetween(String value1, String value2) {
+            addCriterion("pay_mode between", value1, value2, "payMode");
+            return (Criteria) this;
+        }
+
+        public Criteria andPayModeNotBetween(String value1, String value2) {
+            addCriterion("pay_mode not between", value1, value2, "payMode");
+            return (Criteria) this;
+        }
+
+        public Criteria andImagePhotosFlagIsNull() {
+            addCriterion("image_photos_flag is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andImagePhotosFlagIsNotNull() {
+            addCriterion("image_photos_flag is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andImagePhotosFlagEqualTo(String value) {
+            addCriterion("image_photos_flag =", value, "imagePhotosFlag");
+            return (Criteria) this;
+        }
+
+        public Criteria andImagePhotosFlagNotEqualTo(String value) {
+            addCriterion("image_photos_flag <>", value, "imagePhotosFlag");
+            return (Criteria) this;
+        }
+
+        public Criteria andImagePhotosFlagGreaterThan(String value) {
+            addCriterion("image_photos_flag >", value, "imagePhotosFlag");
+            return (Criteria) this;
+        }
+
+        public Criteria andImagePhotosFlagGreaterThanOrEqualTo(String value) {
+            addCriterion("image_photos_flag >=", value, "imagePhotosFlag");
+            return (Criteria) this;
+        }
+
+        public Criteria andImagePhotosFlagLessThan(String value) {
+            addCriterion("image_photos_flag <", value, "imagePhotosFlag");
+            return (Criteria) this;
+        }
+
+        public Criteria andImagePhotosFlagLessThanOrEqualTo(String value) {
+            addCriterion("image_photos_flag <=", value, "imagePhotosFlag");
+            return (Criteria) this;
+        }
+
+        public Criteria andImagePhotosFlagLike(String value) {
+            addCriterion("image_photos_flag like", value, "imagePhotosFlag");
+            return (Criteria) this;
+        }
+
+        public Criteria andImagePhotosFlagNotLike(String value) {
+            addCriterion("image_photos_flag not like", value, "imagePhotosFlag");
+            return (Criteria) this;
+        }
+
+        public Criteria andImagePhotosFlagIn(List<String> values) {
+            addCriterion("image_photos_flag in", values, "imagePhotosFlag");
+            return (Criteria) this;
+        }
+
+        public Criteria andImagePhotosFlagNotIn(List<String> values) {
+            addCriterion("image_photos_flag not in", values, "imagePhotosFlag");
+            return (Criteria) this;
+        }
+
+        public Criteria andImagePhotosFlagBetween(String value1, String value2) {
+            addCriterion("image_photos_flag between", value1, value2, "imagePhotosFlag");
+            return (Criteria) this;
+        }
+
+        public Criteria andImagePhotosFlagNotBetween(String value1, String value2) {
+            addCriterion("image_photos_flag not between", value1, value2, "imagePhotosFlag");
+            return (Criteria) this;
+        }
+
+        public Criteria andCardEnabledFlagIsNull() {
+            addCriterion("card_enabled_flag is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andCardEnabledFlagIsNotNull() {
+            addCriterion("card_enabled_flag is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andCardEnabledFlagEqualTo(String value) {
+            addCriterion("card_enabled_flag =", value, "cardEnabledFlag");
+            return (Criteria) this;
+        }
+
+        public Criteria andCardEnabledFlagNotEqualTo(String value) {
+            addCriterion("card_enabled_flag <>", value, "cardEnabledFlag");
+            return (Criteria) this;
+        }
+
+        public Criteria andCardEnabledFlagGreaterThan(String value) {
+            addCriterion("card_enabled_flag >", value, "cardEnabledFlag");
+            return (Criteria) this;
+        }
+
+        public Criteria andCardEnabledFlagGreaterThanOrEqualTo(String value) {
+            addCriterion("card_enabled_flag >=", value, "cardEnabledFlag");
+            return (Criteria) this;
+        }
+
+        public Criteria andCardEnabledFlagLessThan(String value) {
+            addCriterion("card_enabled_flag <", value, "cardEnabledFlag");
+            return (Criteria) this;
+        }
+
+        public Criteria andCardEnabledFlagLessThanOrEqualTo(String value) {
+            addCriterion("card_enabled_flag <=", value, "cardEnabledFlag");
+            return (Criteria) this;
+        }
+
+        public Criteria andCardEnabledFlagLike(String value) {
+            addCriterion("card_enabled_flag like", value, "cardEnabledFlag");
+            return (Criteria) this;
+        }
+
+        public Criteria andCardEnabledFlagNotLike(String value) {
+            addCriterion("card_enabled_flag not like", value, "cardEnabledFlag");
+            return (Criteria) this;
+        }
+
+        public Criteria andCardEnabledFlagIn(List<String> values) {
+            addCriterion("card_enabled_flag in", values, "cardEnabledFlag");
+            return (Criteria) this;
+        }
+
+        public Criteria andCardEnabledFlagNotIn(List<String> values) {
+            addCriterion("card_enabled_flag not in", values, "cardEnabledFlag");
+            return (Criteria) this;
+        }
+
+        public Criteria andCardEnabledFlagBetween(String value1, String value2) {
+            addCriterion("card_enabled_flag between", value1, value2, "cardEnabledFlag");
+            return (Criteria) this;
+        }
+
+        public Criteria andCardEnabledFlagNotBetween(String value1, String value2) {
+            addCriterion("card_enabled_flag not between", value1, value2, "cardEnabledFlag");
+            return (Criteria) this;
+        }
+
+        public Criteria andPreferentialWayShareFlagIsNull() {
+            addCriterion("preferential_way_share_flag is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPreferentialWayShareFlagIsNotNull() {
+            addCriterion("preferential_way_share_flag is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPreferentialWayShareFlagEqualTo(String value) {
+            addCriterion("preferential_way_share_flag =", value, "preferentialWayShareFlag");
+            return (Criteria) this;
+        }
+
+        public Criteria andPreferentialWayShareFlagNotEqualTo(String value) {
+            addCriterion("preferential_way_share_flag <>", value, "preferentialWayShareFlag");
+            return (Criteria) this;
+        }
+
+        public Criteria andPreferentialWayShareFlagGreaterThan(String value) {
+            addCriterion("preferential_way_share_flag >", value, "preferentialWayShareFlag");
+            return (Criteria) this;
+        }
+
+        public Criteria andPreferentialWayShareFlagGreaterThanOrEqualTo(String value) {
+            addCriterion("preferential_way_share_flag >=", value, "preferentialWayShareFlag");
+            return (Criteria) this;
+        }
+
+        public Criteria andPreferentialWayShareFlagLessThan(String value) {
+            addCriterion("preferential_way_share_flag <", value, "preferentialWayShareFlag");
+            return (Criteria) this;
+        }
+
+        public Criteria andPreferentialWayShareFlagLessThanOrEqualTo(String value) {
+            addCriterion("preferential_way_share_flag <=", value, "preferentialWayShareFlag");
+            return (Criteria) this;
+        }
+
+        public Criteria andPreferentialWayShareFlagLike(String value) {
+            addCriterion("preferential_way_share_flag like", value, "preferentialWayShareFlag");
+            return (Criteria) this;
+        }
+
+        public Criteria andPreferentialWayShareFlagNotLike(String value) {
+            addCriterion("preferential_way_share_flag not like", value, "preferentialWayShareFlag");
+            return (Criteria) this;
+        }
+
+        public Criteria andPreferentialWayShareFlagIn(List<String> values) {
+            addCriterion("preferential_way_share_flag in", values, "preferentialWayShareFlag");
+            return (Criteria) this;
+        }
+
+        public Criteria andPreferentialWayShareFlagNotIn(List<String> values) {
+            addCriterion("preferential_way_share_flag not in", values, "preferentialWayShareFlag");
+            return (Criteria) this;
+        }
+
+        public Criteria andPreferentialWayShareFlagBetween(String value1, String value2) {
+            addCriterion("preferential_way_share_flag between", value1, value2, "preferentialWayShareFlag");
+            return (Criteria) this;
+        }
+
+        public Criteria andPreferentialWayShareFlagNotBetween(String value1, String value2) {
+            addCriterion("preferential_way_share_flag not between", value1, value2, "preferentialWayShareFlag");
+            return (Criteria) this;
+        }
+
+        public Criteria andOtherPreferentialWayIsNull() {
+            addCriterion("other_preferential_way is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andOtherPreferentialWayIsNotNull() {
+            addCriterion("other_preferential_way is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andOtherPreferentialWayEqualTo(String value) {
+            addCriterion("other_preferential_way =", value, "otherPreferentialWay");
+            return (Criteria) this;
+        }
+
+        public Criteria andOtherPreferentialWayNotEqualTo(String value) {
+            addCriterion("other_preferential_way <>", value, "otherPreferentialWay");
+            return (Criteria) this;
+        }
+
+        public Criteria andOtherPreferentialWayGreaterThan(String value) {
+            addCriterion("other_preferential_way >", value, "otherPreferentialWay");
+            return (Criteria) this;
+        }
+
+        public Criteria andOtherPreferentialWayGreaterThanOrEqualTo(String value) {
+            addCriterion("other_preferential_way >=", value, "otherPreferentialWay");
+            return (Criteria) this;
+        }
+
+        public Criteria andOtherPreferentialWayLessThan(String value) {
+            addCriterion("other_preferential_way <", value, "otherPreferentialWay");
+            return (Criteria) this;
+        }
+
+        public Criteria andOtherPreferentialWayLessThanOrEqualTo(String value) {
+            addCriterion("other_preferential_way <=", value, "otherPreferentialWay");
+            return (Criteria) this;
+        }
+
+        public Criteria andOtherPreferentialWayLike(String value) {
+            addCriterion("other_preferential_way like", value, "otherPreferentialWay");
+            return (Criteria) this;
+        }
+
+        public Criteria andOtherPreferentialWayNotLike(String value) {
+            addCriterion("other_preferential_way not like", value, "otherPreferentialWay");
+            return (Criteria) this;
+        }
+
+        public Criteria andOtherPreferentialWayIn(List<String> values) {
+            addCriterion("other_preferential_way in", values, "otherPreferentialWay");
+            return (Criteria) this;
+        }
+
+        public Criteria andOtherPreferentialWayNotIn(List<String> values) {
+            addCriterion("other_preferential_way not in", values, "otherPreferentialWay");
+            return (Criteria) this;
+        }
+
+        public Criteria andOtherPreferentialWayBetween(String value1, String value2) {
+            addCriterion("other_preferential_way between", value1, value2, "otherPreferentialWay");
+            return (Criteria) this;
+        }
+
+        public Criteria andOtherPreferentialWayNotBetween(String value1, String value2) {
+            addCriterion("other_preferential_way not between", value1, value2, "otherPreferentialWay");
+            return (Criteria) this;
+        }
+
+        public Criteria andPayPrintNumIsNull() {
+            addCriterion("pay_print_num is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPayPrintNumIsNotNull() {
+            addCriterion("pay_print_num is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPayPrintNumEqualTo(Integer value) {
+            addCriterion("pay_print_num =", value, "payPrintNum");
+            return (Criteria) this;
+        }
+
+        public Criteria andPayPrintNumNotEqualTo(Integer value) {
+            addCriterion("pay_print_num <>", value, "payPrintNum");
+            return (Criteria) this;
+        }
+
+        public Criteria andPayPrintNumGreaterThan(Integer value) {
+            addCriterion("pay_print_num >", value, "payPrintNum");
+            return (Criteria) this;
+        }
+
+        public Criteria andPayPrintNumGreaterThanOrEqualTo(Integer value) {
+            addCriterion("pay_print_num >=", value, "payPrintNum");
+            return (Criteria) this;
+        }
+
+        public Criteria andPayPrintNumLessThan(Integer value) {
+            addCriterion("pay_print_num <", value, "payPrintNum");
+            return (Criteria) this;
+        }
+
+        public Criteria andPayPrintNumLessThanOrEqualTo(Integer value) {
+            addCriterion("pay_print_num <=", value, "payPrintNum");
+            return (Criteria) this;
+        }
+
+        public Criteria andPayPrintNumIn(List<Integer> values) {
+            addCriterion("pay_print_num in", values, "payPrintNum");
+            return (Criteria) this;
+        }
+
+        public Criteria andPayPrintNumNotIn(List<Integer> values) {
+            addCriterion("pay_print_num not in", values, "payPrintNum");
+            return (Criteria) this;
+        }
+
+        public Criteria andPayPrintNumBetween(Integer value1, Integer value2) {
+            addCriterion("pay_print_num between", value1, value2, "payPrintNum");
+            return (Criteria) this;
+        }
+
+        public Criteria andPayPrintNumNotBetween(Integer value1, Integer value2) {
+            addCriterion("pay_print_num not between", value1, value2, "payPrintNum");
+            return (Criteria) this;
+        }
+
+        public Criteria andPayCallbackPageIsNull() {
+            addCriterion("pay_callback_page is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPayCallbackPageIsNotNull() {
+            addCriterion("pay_callback_page is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPayCallbackPageEqualTo(String value) {
+            addCriterion("pay_callback_page =", value, "payCallbackPage");
+            return (Criteria) this;
+        }
+
+        public Criteria andPayCallbackPageNotEqualTo(String value) {
+            addCriterion("pay_callback_page <>", value, "payCallbackPage");
+            return (Criteria) this;
+        }
+
+        public Criteria andPayCallbackPageGreaterThan(String value) {
+            addCriterion("pay_callback_page >", value, "payCallbackPage");
+            return (Criteria) this;
+        }
+
+        public Criteria andPayCallbackPageGreaterThanOrEqualTo(String value) {
+            addCriterion("pay_callback_page >=", value, "payCallbackPage");
+            return (Criteria) this;
+        }
+
+        public Criteria andPayCallbackPageLessThan(String value) {
+            addCriterion("pay_callback_page <", value, "payCallbackPage");
+            return (Criteria) this;
+        }
+
+        public Criteria andPayCallbackPageLessThanOrEqualTo(String value) {
+            addCriterion("pay_callback_page <=", value, "payCallbackPage");
+            return (Criteria) this;
+        }
+
+        public Criteria andPayCallbackPageLike(String value) {
+            addCriterion("pay_callback_page like", value, "payCallbackPage");
+            return (Criteria) this;
+        }
+
+        public Criteria andPayCallbackPageNotLike(String value) {
+            addCriterion("pay_callback_page not like", value, "payCallbackPage");
+            return (Criteria) this;
+        }
+
+        public Criteria andPayCallbackPageIn(List<String> values) {
+            addCriterion("pay_callback_page in", values, "payCallbackPage");
+            return (Criteria) this;
+        }
+
+        public Criteria andPayCallbackPageNotIn(List<String> values) {
+            addCriterion("pay_callback_page not in", values, "payCallbackPage");
+            return (Criteria) this;
+        }
+
+        public Criteria andPayCallbackPageBetween(String value1, String value2) {
+            addCriterion("pay_callback_page between", value1, value2, "payCallbackPage");
+            return (Criteria) this;
+        }
+
+        public Criteria andPayCallbackPageNotBetween(String value1, String value2) {
+            addCriterion("pay_callback_page not between", value1, value2, "payCallbackPage");
+            return (Criteria) this;
+        }
+
+        public Criteria andWsPrintFlagIsNull() {
+            addCriterion("ws_print_flag is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andWsPrintFlagIsNotNull() {
+            addCriterion("ws_print_flag is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andWsPrintFlagEqualTo(String value) {
+            addCriterion("ws_print_flag =", value, "wsPrintFlag");
+            return (Criteria) this;
+        }
+
+        public Criteria andWsPrintFlagNotEqualTo(String value) {
+            addCriterion("ws_print_flag <>", value, "wsPrintFlag");
+            return (Criteria) this;
+        }
+
+        public Criteria andWsPrintFlagGreaterThan(String value) {
+            addCriterion("ws_print_flag >", value, "wsPrintFlag");
+            return (Criteria) this;
+        }
+
+        public Criteria andWsPrintFlagGreaterThanOrEqualTo(String value) {
+            addCriterion("ws_print_flag >=", value, "wsPrintFlag");
+            return (Criteria) this;
+        }
+
+        public Criteria andWsPrintFlagLessThan(String value) {
+            addCriterion("ws_print_flag <", value, "wsPrintFlag");
+            return (Criteria) this;
+        }
+
+        public Criteria andWsPrintFlagLessThanOrEqualTo(String value) {
+            addCriterion("ws_print_flag <=", value, "wsPrintFlag");
+            return (Criteria) this;
+        }
+
+        public Criteria andWsPrintFlagLike(String value) {
+            addCriterion("ws_print_flag like", value, "wsPrintFlag");
+            return (Criteria) this;
+        }
+
+        public Criteria andWsPrintFlagNotLike(String value) {
+            addCriterion("ws_print_flag not like", value, "wsPrintFlag");
+            return (Criteria) this;
+        }
+
+        public Criteria andWsPrintFlagIn(List<String> values) {
+            addCriterion("ws_print_flag in", values, "wsPrintFlag");
+            return (Criteria) this;
+        }
+
+        public Criteria andWsPrintFlagNotIn(List<String> values) {
+            addCriterion("ws_print_flag not in", values, "wsPrintFlag");
+            return (Criteria) this;
+        }
+
+        public Criteria andWsPrintFlagBetween(String value1, String value2) {
+            addCriterion("ws_print_flag between", value1, value2, "wsPrintFlag");
+            return (Criteria) this;
+        }
+
+        public Criteria andWsPrintFlagNotBetween(String value1, String value2) {
+            addCriterion("ws_print_flag not between", value1, value2, "wsPrintFlag");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoIsNull() {
+            addCriterion("station_no is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoIsNotNull() {
+            addCriterion("station_no is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoEqualTo(String value) {
+            addCriterion("station_no =", value, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoNotEqualTo(String value) {
+            addCriterion("station_no <>", value, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoGreaterThan(String value) {
+            addCriterion("station_no >", value, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoGreaterThanOrEqualTo(String value) {
+            addCriterion("station_no >=", value, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoLessThan(String value) {
+            addCriterion("station_no <", value, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoLessThanOrEqualTo(String value) {
+            addCriterion("station_no <=", value, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoLike(String value) {
+            addCriterion("station_no like", value, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoNotLike(String value) {
+            addCriterion("station_no not like", value, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoIn(List<String> values) {
+            addCriterion("station_no in", values, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoNotIn(List<String> values) {
+            addCriterion("station_no not in", values, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoBetween(String value1, String value2) {
+            addCriterion("station_no between", value1, value2, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoNotBetween(String value1, String value2) {
+            addCriterion("station_no not between", value1, value2, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameIsNull() {
+            addCriterion("station_name is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameIsNotNull() {
+            addCriterion("station_name is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameEqualTo(String value) {
+            addCriterion("station_name =", value, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameNotEqualTo(String value) {
+            addCriterion("station_name <>", value, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameGreaterThan(String value) {
+            addCriterion("station_name >", value, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameGreaterThanOrEqualTo(String value) {
+            addCriterion("station_name >=", value, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameLessThan(String value) {
+            addCriterion("station_name <", value, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameLessThanOrEqualTo(String value) {
+            addCriterion("station_name <=", value, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameLike(String value) {
+            addCriterion("station_name like", value, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameNotLike(String value) {
+            addCriterion("station_name not like", value, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameIn(List<String> values) {
+            addCriterion("station_name in", values, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameNotIn(List<String> values) {
+            addCriterion("station_name not in", values, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameBetween(String value1, String value2) {
+            addCriterion("station_name between", value1, value2, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameNotBetween(String value1, String value2) {
+            addCriterion("station_name not between", value1, value2, "stationName");
+            return (Criteria) this;
+        }
+    }
+
+    /**
+     * This class was generated by MyBatis Generator.
+     * This class corresponds to the database table station_pay_manage
+     *
+     * @mbg.generated do_not_delete_during_merge
+     */
+    public static class Criteria extends GeneratedCriteria {
+
+        protected Criteria() {
+            super();
+        }
+    }
+
+    /**
+     * This class was generated by MyBatis Generator.
+     * This class corresponds to the database table station_pay_manage
+     *
+     * @mbg.generated
+     */
+    public static class Criterion {
+        private String condition;
+
+        private Object value;
+
+        private Object secondValue;
+
+        private boolean noValue;
+
+        private boolean singleValue;
+
+        private boolean betweenValue;
+
+        private boolean listValue;
+
+        private String typeHandler;
+
+        public String getCondition() {
+            return condition;
+        }
+
+        public Object getValue() {
+            return value;
+        }
+
+        public Object getSecondValue() {
+            return secondValue;
+        }
+
+        public boolean isNoValue() {
+            return noValue;
+        }
+
+        public boolean isSingleValue() {
+            return singleValue;
+        }
+
+        public boolean isBetweenValue() {
+            return betweenValue;
+        }
+
+        public boolean isListValue() {
+            return listValue;
+        }
+
+        public String getTypeHandler() {
+            return typeHandler;
+        }
+
+        protected Criterion(String condition) {
+            super();
+            this.condition = condition;
+            this.typeHandler = null;
+            this.noValue = true;
+        }
+
+        protected Criterion(String condition, Object value, String typeHandler) {
+            super();
+            this.condition = condition;
+            this.value = value;
+            this.typeHandler = typeHandler;
+            if (value instanceof List<?>) {
+                this.listValue = true;
+            } else {
+                this.singleValue = true;
+            }
+        }
+
+        protected Criterion(String condition, Object value) {
+            this(condition, value, null);
+        }
+
+        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
+            super();
+            this.condition = condition;
+            this.value = value;
+            this.secondValue = secondValue;
+            this.typeHandler = typeHandler;
+            this.betweenValue = true;
+        }
+
+        protected Criterion(String condition, Object value, Object secondValue) {
+            this(condition, value, secondValue, null);
+        }
+    }
+}

+ 234 - 0
YijiaRestful/src/main/java/com/platform/yijia/pojo/StationPersonnel.java

@@ -0,0 +1,234 @@
+package com.platform.yijia.pojo;
+
+public class StationPersonnel {
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column station_personnel.personnel_id
+     *
+     * @mbg.generated
+     */
+    private Integer personnelId;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column station_personnel.personnel_name
+     *
+     * @mbg.generated
+     */
+    private String personnelName;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column station_personnel.gun_no
+     *
+     * @mbg.generated
+     */
+    private String gunNo;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column station_personnel.station_no
+     *
+     * @mbg.generated
+     */
+    private String stationNo;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column station_personnel.station_name
+     *
+     * @mbg.generated
+     */
+    private String stationName;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column station_personnel.qr_code
+     *
+     * @mbg.generated
+     */
+    private String qrCode;
+
+    /**
+     *
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database column station_personnel.personnel_phone
+     *
+     * @mbg.generated
+     */
+    private String personnelPhone;
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column station_personnel.personnel_id
+     *
+     * @return the value of station_personnel.personnel_id
+     *
+     * @mbg.generated
+     */
+    public Integer getPersonnelId() {
+        return personnelId;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column station_personnel.personnel_id
+     *
+     * @param personnelId the value for station_personnel.personnel_id
+     *
+     * @mbg.generated
+     */
+    public void setPersonnelId(Integer personnelId) {
+        this.personnelId = personnelId;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column station_personnel.personnel_name
+     *
+     * @return the value of station_personnel.personnel_name
+     *
+     * @mbg.generated
+     */
+    public String getPersonnelName() {
+        return personnelName;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column station_personnel.personnel_name
+     *
+     * @param personnelName the value for station_personnel.personnel_name
+     *
+     * @mbg.generated
+     */
+    public void setPersonnelName(String personnelName) {
+        this.personnelName = personnelName == null ? null : personnelName.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column station_personnel.gun_no
+     *
+     * @return the value of station_personnel.gun_no
+     *
+     * @mbg.generated
+     */
+    public String getGunNo() {
+        return gunNo;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column station_personnel.gun_no
+     *
+     * @param gunNo the value for station_personnel.gun_no
+     *
+     * @mbg.generated
+     */
+    public void setGunNo(String gunNo) {
+        this.gunNo = gunNo == null ? null : gunNo.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column station_personnel.station_no
+     *
+     * @return the value of station_personnel.station_no
+     *
+     * @mbg.generated
+     */
+    public String getStationNo() {
+        return stationNo;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column station_personnel.station_no
+     *
+     * @param stationNo the value for station_personnel.station_no
+     *
+     * @mbg.generated
+     */
+    public void setStationNo(String stationNo) {
+        this.stationNo = stationNo == null ? null : stationNo.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column station_personnel.station_name
+     *
+     * @return the value of station_personnel.station_name
+     *
+     * @mbg.generated
+     */
+    public String getStationName() {
+        return stationName;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column station_personnel.station_name
+     *
+     * @param stationName the value for station_personnel.station_name
+     *
+     * @mbg.generated
+     */
+    public void setStationName(String stationName) {
+        this.stationName = stationName == null ? null : stationName.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column station_personnel.qr_code
+     *
+     * @return the value of station_personnel.qr_code
+     *
+     * @mbg.generated
+     */
+    public String getQrCode() {
+        return qrCode;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column station_personnel.qr_code
+     *
+     * @param qrCode the value for station_personnel.qr_code
+     *
+     * @mbg.generated
+     */
+    public void setQrCode(String qrCode) {
+        this.qrCode = qrCode == null ? null : qrCode.trim();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method returns the value of the database column station_personnel.personnel_phone
+     *
+     * @return the value of station_personnel.personnel_phone
+     *
+     * @mbg.generated
+     */
+    public String getPersonnelPhone() {
+        return personnelPhone;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method sets the value of the database column station_personnel.personnel_phone
+     *
+     * @param personnelPhone the value for station_personnel.personnel_phone
+     *
+     * @mbg.generated
+     */
+    public void setPersonnelPhone(String personnelPhone) {
+        this.personnelPhone = personnelPhone == null ? null : personnelPhone.trim();
+    }
+}

+ 782 - 0
YijiaRestful/src/main/java/com/platform/yijia/pojo/StationPersonnelExample.java

@@ -0,0 +1,782 @@
+package com.platform.yijia.pojo;
+
+import java.util.ArrayList;
+import java.util.List;
+
+public class StationPersonnelExample {
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table station_personnel
+     *
+     * @mbg.generated
+     */
+    protected String orderByClause;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table station_personnel
+     *
+     * @mbg.generated
+     */
+    protected boolean distinct;
+
+    /**
+     * This field was generated by MyBatis Generator.
+     * This field corresponds to the database table station_personnel
+     *
+     * @mbg.generated
+     */
+    protected List<Criteria> oredCriteria;
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_personnel
+     *
+     * @mbg.generated
+     */
+    public StationPersonnelExample() {
+        oredCriteria = new ArrayList<Criteria>();
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_personnel
+     *
+     * @mbg.generated
+     */
+    public void setOrderByClause(String orderByClause) {
+        this.orderByClause = orderByClause;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_personnel
+     *
+     * @mbg.generated
+     */
+    public String getOrderByClause() {
+        return orderByClause;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_personnel
+     *
+     * @mbg.generated
+     */
+    public void setDistinct(boolean distinct) {
+        this.distinct = distinct;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_personnel
+     *
+     * @mbg.generated
+     */
+    public boolean isDistinct() {
+        return distinct;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_personnel
+     *
+     * @mbg.generated
+     */
+    public List<Criteria> getOredCriteria() {
+        return oredCriteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_personnel
+     *
+     * @mbg.generated
+     */
+    public void or(Criteria criteria) {
+        oredCriteria.add(criteria);
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_personnel
+     *
+     * @mbg.generated
+     */
+    public Criteria or() {
+        Criteria criteria = createCriteriaInternal();
+        oredCriteria.add(criteria);
+        return criteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_personnel
+     *
+     * @mbg.generated
+     */
+    public Criteria createCriteria() {
+        Criteria criteria = createCriteriaInternal();
+        if (oredCriteria.size() == 0) {
+            oredCriteria.add(criteria);
+        }
+        return criteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_personnel
+     *
+     * @mbg.generated
+     */
+    protected Criteria createCriteriaInternal() {
+        Criteria criteria = new Criteria();
+        return criteria;
+    }
+
+    /**
+     * This method was generated by MyBatis Generator.
+     * This method corresponds to the database table station_personnel
+     *
+     * @mbg.generated
+     */
+    public void clear() {
+        oredCriteria.clear();
+        orderByClause = null;
+        distinct = false;
+    }
+
+    /**
+     * This class was generated by MyBatis Generator.
+     * This class corresponds to the database table station_personnel
+     *
+     * @mbg.generated
+     */
+    protected abstract static class GeneratedCriteria {
+        protected List<Criterion> criteria;
+
+        protected GeneratedCriteria() {
+            super();
+            criteria = new ArrayList<Criterion>();
+        }
+
+        public boolean isValid() {
+            return criteria.size() > 0;
+        }
+
+        public List<Criterion> getAllCriteria() {
+            return criteria;
+        }
+
+        public List<Criterion> getCriteria() {
+            return criteria;
+        }
+
+        protected void addCriterion(String condition) {
+            if (condition == null) {
+                throw new RuntimeException("Value for condition cannot be null");
+            }
+            criteria.add(new Criterion(condition));
+        }
+
+        protected void addCriterion(String condition, Object value, String property) {
+            if (value == null) {
+                throw new RuntimeException("Value for " + property + " cannot be null");
+            }
+            criteria.add(new Criterion(condition, value));
+        }
+
+        protected void addCriterion(String condition, Object value1, Object value2, String property) {
+            if (value1 == null || value2 == null) {
+                throw new RuntimeException("Between values for " + property + " cannot be null");
+            }
+            criteria.add(new Criterion(condition, value1, value2));
+        }
+
+        public Criteria andPersonnelIdIsNull() {
+            addCriterion("personnel_id is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPersonnelIdIsNotNull() {
+            addCriterion("personnel_id is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPersonnelIdEqualTo(Integer value) {
+            addCriterion("personnel_id =", value, "personnelId");
+            return (Criteria) this;
+        }
+
+        public Criteria andPersonnelIdNotEqualTo(Integer value) {
+            addCriterion("personnel_id <>", value, "personnelId");
+            return (Criteria) this;
+        }
+
+        public Criteria andPersonnelIdGreaterThan(Integer value) {
+            addCriterion("personnel_id >", value, "personnelId");
+            return (Criteria) this;
+        }
+
+        public Criteria andPersonnelIdGreaterThanOrEqualTo(Integer value) {
+            addCriterion("personnel_id >=", value, "personnelId");
+            return (Criteria) this;
+        }
+
+        public Criteria andPersonnelIdLessThan(Integer value) {
+            addCriterion("personnel_id <", value, "personnelId");
+            return (Criteria) this;
+        }
+
+        public Criteria andPersonnelIdLessThanOrEqualTo(Integer value) {
+            addCriterion("personnel_id <=", value, "personnelId");
+            return (Criteria) this;
+        }
+
+        public Criteria andPersonnelIdIn(List<Integer> values) {
+            addCriterion("personnel_id in", values, "personnelId");
+            return (Criteria) this;
+        }
+
+        public Criteria andPersonnelIdNotIn(List<Integer> values) {
+            addCriterion("personnel_id not in", values, "personnelId");
+            return (Criteria) this;
+        }
+
+        public Criteria andPersonnelIdBetween(Integer value1, Integer value2) {
+            addCriterion("personnel_id between", value1, value2, "personnelId");
+            return (Criteria) this;
+        }
+
+        public Criteria andPersonnelIdNotBetween(Integer value1, Integer value2) {
+            addCriterion("personnel_id not between", value1, value2, "personnelId");
+            return (Criteria) this;
+        }
+
+        public Criteria andPersonnelNameIsNull() {
+            addCriterion("personnel_name is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPersonnelNameIsNotNull() {
+            addCriterion("personnel_name is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPersonnelNameEqualTo(String value) {
+            addCriterion("personnel_name =", value, "personnelName");
+            return (Criteria) this;
+        }
+
+        public Criteria andPersonnelNameNotEqualTo(String value) {
+            addCriterion("personnel_name <>", value, "personnelName");
+            return (Criteria) this;
+        }
+
+        public Criteria andPersonnelNameGreaterThan(String value) {
+            addCriterion("personnel_name >", value, "personnelName");
+            return (Criteria) this;
+        }
+
+        public Criteria andPersonnelNameGreaterThanOrEqualTo(String value) {
+            addCriterion("personnel_name >=", value, "personnelName");
+            return (Criteria) this;
+        }
+
+        public Criteria andPersonnelNameLessThan(String value) {
+            addCriterion("personnel_name <", value, "personnelName");
+            return (Criteria) this;
+        }
+
+        public Criteria andPersonnelNameLessThanOrEqualTo(String value) {
+            addCriterion("personnel_name <=", value, "personnelName");
+            return (Criteria) this;
+        }
+
+        public Criteria andPersonnelNameLike(String value) {
+            addCriterion("personnel_name like", value, "personnelName");
+            return (Criteria) this;
+        }
+
+        public Criteria andPersonnelNameNotLike(String value) {
+            addCriterion("personnel_name not like", value, "personnelName");
+            return (Criteria) this;
+        }
+
+        public Criteria andPersonnelNameIn(List<String> values) {
+            addCriterion("personnel_name in", values, "personnelName");
+            return (Criteria) this;
+        }
+
+        public Criteria andPersonnelNameNotIn(List<String> values) {
+            addCriterion("personnel_name not in", values, "personnelName");
+            return (Criteria) this;
+        }
+
+        public Criteria andPersonnelNameBetween(String value1, String value2) {
+            addCriterion("personnel_name between", value1, value2, "personnelName");
+            return (Criteria) this;
+        }
+
+        public Criteria andPersonnelNameNotBetween(String value1, String value2) {
+            addCriterion("personnel_name not between", value1, value2, "personnelName");
+            return (Criteria) this;
+        }
+
+        public Criteria andGunNoIsNull() {
+            addCriterion("gun_no is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andGunNoIsNotNull() {
+            addCriterion("gun_no is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andGunNoEqualTo(String value) {
+            addCriterion("gun_no =", value, "gunNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andGunNoNotEqualTo(String value) {
+            addCriterion("gun_no <>", value, "gunNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andGunNoGreaterThan(String value) {
+            addCriterion("gun_no >", value, "gunNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andGunNoGreaterThanOrEqualTo(String value) {
+            addCriterion("gun_no >=", value, "gunNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andGunNoLessThan(String value) {
+            addCriterion("gun_no <", value, "gunNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andGunNoLessThanOrEqualTo(String value) {
+            addCriterion("gun_no <=", value, "gunNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andGunNoLike(String value) {
+            addCriterion("gun_no like", value, "gunNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andGunNoNotLike(String value) {
+            addCriterion("gun_no not like", value, "gunNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andGunNoIn(List<String> values) {
+            addCriterion("gun_no in", values, "gunNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andGunNoNotIn(List<String> values) {
+            addCriterion("gun_no not in", values, "gunNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andGunNoBetween(String value1, String value2) {
+            addCriterion("gun_no between", value1, value2, "gunNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andGunNoNotBetween(String value1, String value2) {
+            addCriterion("gun_no not between", value1, value2, "gunNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoIsNull() {
+            addCriterion("station_no is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoIsNotNull() {
+            addCriterion("station_no is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoEqualTo(String value) {
+            addCriterion("station_no =", value, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoNotEqualTo(String value) {
+            addCriterion("station_no <>", value, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoGreaterThan(String value) {
+            addCriterion("station_no >", value, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoGreaterThanOrEqualTo(String value) {
+            addCriterion("station_no >=", value, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoLessThan(String value) {
+            addCriterion("station_no <", value, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoLessThanOrEqualTo(String value) {
+            addCriterion("station_no <=", value, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoLike(String value) {
+            addCriterion("station_no like", value, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoNotLike(String value) {
+            addCriterion("station_no not like", value, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoIn(List<String> values) {
+            addCriterion("station_no in", values, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoNotIn(List<String> values) {
+            addCriterion("station_no not in", values, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoBetween(String value1, String value2) {
+            addCriterion("station_no between", value1, value2, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNoNotBetween(String value1, String value2) {
+            addCriterion("station_no not between", value1, value2, "stationNo");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameIsNull() {
+            addCriterion("station_name is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameIsNotNull() {
+            addCriterion("station_name is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameEqualTo(String value) {
+            addCriterion("station_name =", value, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameNotEqualTo(String value) {
+            addCriterion("station_name <>", value, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameGreaterThan(String value) {
+            addCriterion("station_name >", value, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameGreaterThanOrEqualTo(String value) {
+            addCriterion("station_name >=", value, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameLessThan(String value) {
+            addCriterion("station_name <", value, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameLessThanOrEqualTo(String value) {
+            addCriterion("station_name <=", value, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameLike(String value) {
+            addCriterion("station_name like", value, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameNotLike(String value) {
+            addCriterion("station_name not like", value, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameIn(List<String> values) {
+            addCriterion("station_name in", values, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameNotIn(List<String> values) {
+            addCriterion("station_name not in", values, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameBetween(String value1, String value2) {
+            addCriterion("station_name between", value1, value2, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andStationNameNotBetween(String value1, String value2) {
+            addCriterion("station_name not between", value1, value2, "stationName");
+            return (Criteria) this;
+        }
+
+        public Criteria andQrCodeIsNull() {
+            addCriterion("qr_code is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andQrCodeIsNotNull() {
+            addCriterion("qr_code is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andQrCodeEqualTo(String value) {
+            addCriterion("qr_code =", value, "qrCode");
+            return (Criteria) this;
+        }
+
+        public Criteria andQrCodeNotEqualTo(String value) {
+            addCriterion("qr_code <>", value, "qrCode");
+            return (Criteria) this;
+        }
+
+        public Criteria andQrCodeGreaterThan(String value) {
+            addCriterion("qr_code >", value, "qrCode");
+            return (Criteria) this;
+        }
+
+        public Criteria andQrCodeGreaterThanOrEqualTo(String value) {
+            addCriterion("qr_code >=", value, "qrCode");
+            return (Criteria) this;
+        }
+
+        public Criteria andQrCodeLessThan(String value) {
+            addCriterion("qr_code <", value, "qrCode");
+            return (Criteria) this;
+        }
+
+        public Criteria andQrCodeLessThanOrEqualTo(String value) {
+            addCriterion("qr_code <=", value, "qrCode");
+            return (Criteria) this;
+        }
+
+        public Criteria andQrCodeLike(String value) {
+            addCriterion("qr_code like", value, "qrCode");
+            return (Criteria) this;
+        }
+
+        public Criteria andQrCodeNotLike(String value) {
+            addCriterion("qr_code not like", value, "qrCode");
+            return (Criteria) this;
+        }
+
+        public Criteria andQrCodeIn(List<String> values) {
+            addCriterion("qr_code in", values, "qrCode");
+            return (Criteria) this;
+        }
+
+        public Criteria andQrCodeNotIn(List<String> values) {
+            addCriterion("qr_code not in", values, "qrCode");
+            return (Criteria) this;
+        }
+
+        public Criteria andQrCodeBetween(String value1, String value2) {
+            addCriterion("qr_code between", value1, value2, "qrCode");
+            return (Criteria) this;
+        }
+
+        public Criteria andQrCodeNotBetween(String value1, String value2) {
+            addCriterion("qr_code not between", value1, value2, "qrCode");
+            return (Criteria) this;
+        }
+
+        public Criteria andPersonnelPhoneIsNull() {
+            addCriterion("personnel_phone is null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPersonnelPhoneIsNotNull() {
+            addCriterion("personnel_phone is not null");
+            return (Criteria) this;
+        }
+
+        public Criteria andPersonnelPhoneEqualTo(String value) {
+            addCriterion("personnel_phone =", value, "personnelPhone");
+            return (Criteria) this;
+        }
+
+        public Criteria andPersonnelPhoneNotEqualTo(String value) {
+            addCriterion("personnel_phone <>", value, "personnelPhone");
+            return (Criteria) this;
+        }
+
+        public Criteria andPersonnelPhoneGreaterThan(String value) {
+            addCriterion("personnel_phone >", value, "personnelPhone");
+            return (Criteria) this;
+        }
+
+        public Criteria andPersonnelPhoneGreaterThanOrEqualTo(String value) {
+            addCriterion("personnel_phone >=", value, "personnelPhone");
+            return (Criteria) this;
+        }
+
+        public Criteria andPersonnelPhoneLessThan(String value) {
+            addCriterion("personnel_phone <", value, "personnelPhone");
+            return (Criteria) this;
+        }
+
+        public Criteria andPersonnelPhoneLessThanOrEqualTo(String value) {
+            addCriterion("personnel_phone <=", value, "personnelPhone");
+            return (Criteria) this;
+        }
+
+        public Criteria andPersonnelPhoneLike(String value) {
+            addCriterion("personnel_phone like", value, "personnelPhone");
+            return (Criteria) this;
+        }
+
+        public Criteria andPersonnelPhoneNotLike(String value) {
+            addCriterion("personnel_phone not like", value, "personnelPhone");
+            return (Criteria) this;
+        }
+
+        public Criteria andPersonnelPhoneIn(List<String> values) {
+            addCriterion("personnel_phone in", values, "personnelPhone");
+            return (Criteria) this;
+        }
+
+        public Criteria andPersonnelPhoneNotIn(List<String> values) {
+            addCriterion("personnel_phone not in", values, "personnelPhone");
+            return (Criteria) this;
+        }
+
+        public Criteria andPersonnelPhoneBetween(String value1, String value2) {
+            addCriterion("personnel_phone between", value1, value2, "personnelPhone");
+            return (Criteria) this;
+        }
+
+        public Criteria andPersonnelPhoneNotBetween(String value1, String value2) {
+            addCriterion("personnel_phone not between", value1, value2, "personnelPhone");
+            return (Criteria) this;
+        }
+    }
+
+    /**
+     * This class was generated by MyBatis Generator.
+     * This class corresponds to the database table station_personnel
+     *
+     * @mbg.generated do_not_delete_during_merge
+     */
+    public static class Criteria extends GeneratedCriteria {
+
+        protected Criteria() {
+            super();
+        }
+    }
+
+    /**
+     * This class was generated by MyBatis Generator.
+     * This class corresponds to the database table station_personnel
+     *
+     * @mbg.generated
+     */
+    public static class Criterion {
+        private String condition;
+
+        private Object value;
+
+        private Object secondValue;
+
+        private boolean noValue;
+
+        private boolean singleValue;
+
+        private boolean betweenValue;
+
+        private boolean listValue;
+
+        private String typeHandler;
+
+        public String getCondition() {
+            return condition;
+        }
+
+        public Object getValue() {
+            return value;
+        }
+
+        public Object getSecondValue() {
+            return secondValue;
+        }
+
+        public boolean isNoValue() {
+            return noValue;
+        }
+
+        public boolean isSingleValue() {
+            return singleValue;
+        }
+
+        public boolean isBetweenValue() {
+            return betweenValue;
+        }
+
+        public boolean isListValue() {
+            return listValue;
+        }
+
+        public String getTypeHandler() {
+            return typeHandler;
+        }
+
+        protected Criterion(String condition) {
+            super();
+            this.condition = condition;
+            this.typeHandler = null;
+            this.noValue = true;
+        }
+
+        protected Criterion(String condition, Object value, String typeHandler) {
+            super();
+            this.condition = condition;
+            this.value = value;
+            this.typeHandler = typeHandler;
+            if (value instanceof List<?>) {
+                this.listValue = true;
+            } else {
+                this.singleValue = true;
+            }
+        }
+
+        protected Criterion(String condition, Object value) {
+            this(condition, value, null);
+        }
+
+        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
+            super();
+            this.condition = condition;
+            this.value = value;
+            this.secondValue = secondValue;
+            this.typeHandler = typeHandler;
+            this.betweenValue = true;
+        }
+
+        protected Criterion(String condition, Object value, Object secondValue) {
+            this(condition, value, secondValue, null);
+        }
+    }
+}

+ 11 - 0
YijiaRestful/src/main/java/com/platform/yijia/service/StationService.java

@@ -0,0 +1,11 @@
+package com.platform.yijia.service;
+
+import com.platform.yijia.pojo.StationInfo;
+
+import java.util.List;
+
+public interface StationService {
+
+    //查询油站列表
+    List<StationInfo> stationInfoList(StationInfo stationInfo);
+}

+ 81 - 0
YijiaRestful/src/main/java/com/platform/yijia/service/impl/StationServiceImpl.java

@@ -0,0 +1,81 @@
+package com.platform.yijia.service.impl;
+import com.platform.yijia.dao.StationInfoMapper;
+import com.platform.yijia.pojo.StationInfo;
+import com.platform.yijia.pojo.StationInfoExample;
+import com.platform.yijia.service.StationService;
+import com.platform.yijia.utils.MapHelper;
+import org.apache.commons.lang3.StringUtils;
+import org.springframework.stereotype.Service;
+
+import javax.annotation.Resource;
+import java.util.ArrayList;
+import java.util.List;
+
+@Service("stationService")
+public class StationServiceImpl implements StationService {
+
+    @Resource
+    private StationInfoMapper stationInfoMapper;
+    @Override
+    public List<StationInfo> stationInfoList(StationInfo stationInfo) {
+        //根据传过来的坐标查询数据
+        List<StationInfo> distanceAndResidueSeat = new ArrayList<>();
+        StationInfoExample example=new StationInfoExample();
+        // 数据库查询门店数据
+        List<StationInfo> stationInfolist = stationInfoMapper.selectByExample(example);
+        // 入参坐标拼接
+        String coordinate = stationInfo.getStationLatitude()+","+stationInfo.getStationLongitude();
+        if(StringUtils.isNotBlank(stationInfo.getStationLatitude()) && StringUtils.isNotBlank(stationInfo.getStationLongitude())){
+            //根据地址坐标计算距离
+            List<StationInfo> stationInfos = computeDistance(coordinate, stationInfolist);
+            //根据距离排序
+            distanceAndResidueSeat = getDistanceAndResidueSeat(stationInfos);
+        }
+        return distanceAndResidueSeat;
+    }
+    /**
+     * 根据地址坐标计算距离
+     * @return
+     */
+    public List<StationInfo> computeDistance(String coordinate, List<StationInfo> stationInfos){
+        List<StationInfo> stationInfoList = new ArrayList<>();
+        if(stationInfos!=null && stationInfos.size() > 0){
+            for (StationInfo stationInfo : stationInfos) {
+                String longitude = stationInfo.getStationLongitude();
+                String latitude = stationInfo.getStationLatitude();
+                if(StringUtils.isNotBlank(longitude) && StringUtils.isNotBlank(latitude) && StringUtils.isNotBlank(coordinate)){
+                    String distanceData = latitude+","+longitude;
+                    double distance = MapHelper.GetPointDistance(coordinate, distanceData);
+                    Double format = Double.parseDouble(String.format("%.1f", distance));
+                    //计算距离
+                   // stationInfo.setDistance(format);
+                    stationInfoList.add(stationInfo);
+                }
+            }
+        }
+        return stationInfoList;
+    }
+
+    /**
+     * 根据距离排序
+     * @return
+     */
+    public static List<StationInfo> getDistanceAndResidueSeat(List<StationInfo> list) {
+        StationInfo stationInfo = null;
+        boolean exchange = false;
+        for (int i = 0; i < list.size(); i++) {
+            for (int j = list.size() - 2; j >= i; j--) {
+                //循环根据距离进行排序
+//                if (list.get(j + 1).getDistance() < list.get(j).getDistance()) {
+//                    tDept = list.get(j + 1);
+//                    list.set(j + 1, list.get(j));
+//                    list.set(j, tDept);
+//                    exchange = true;
+//                }
+            }
+            if (!exchange)
+                break;
+        }
+        return list;
+    }
+}

+ 63 - 0
YijiaRestful/src/main/java/com/platform/yijia/utils/MapHelper.java

@@ -0,0 +1,63 @@
+package com.platform.yijia.utils;
+
+/**
+ * 根据坐标算地图上的距离
+ */
+
+public class MapHelper {
+    /**
+     * 地球半径
+     */
+    private static double EarthRadius = 6378.137;
+
+    /**
+     * 经纬度转化成弧度
+     *
+     * @param d 经度/纬度
+     * @return
+     */
+    private static double rad(double d) {
+        return d * Math.PI / 180.0;
+    }
+
+    /**
+     * 计算两个坐标点之间的距离
+     *
+     * @param firstLatitude   第一个坐标的纬度
+     * @param firstLongitude  第一个坐标的经度
+     * @param secondLatitude  第二个坐标的纬度
+     * @param secondLongitude 第二个坐标的经度
+     * @return 返回两点之间的距离,单位:公里/千米
+     */
+    public static double getDistance(double firstLatitude, double firstLongitude,
+                                     double secondLatitude, double secondLongitude) {
+        double firstRadLat = rad(firstLatitude);
+        double firstRadLng = rad(firstLongitude);
+        double secondRadLat = rad(secondLatitude);
+        double secondRadLng = rad(secondLongitude);
+
+        double a = firstRadLat - secondRadLat;
+        double b = firstRadLng - secondRadLng;
+        double cal = 2 * Math.asin(Math.sqrt(Math.pow(Math.sin(a / 2), 2) + Math.cos(firstRadLat)
+                * Math.cos(secondRadLat) * Math.pow(Math.sin(b / 2), 2))) * EarthRadius;
+        double result = Math.round(cal * 10000d) / 10000d;
+        return result;
+    }
+
+    /**
+     * 计算两个坐标点之间的距离
+     *
+     * @param firstPoint  第一个坐标点的(纬度,经度) 例如:"31.2553210000,121.4620020000"
+     * @param secondPoint 第二个坐标点的(纬度,经度) 例如:"31.2005470000,121.3269970000"
+     * @return 返回两点之间的距离,单位:公里/千米
+     */
+    public static double GetPointDistance(String firstPoint, String secondPoint) {
+        String[] firstArray = firstPoint.split(",");
+        String[] secondArray = secondPoint.split(",");
+        double firstLatitude = Double.valueOf(firstArray[0].trim());
+        double firstLongitude = Double.valueOf(firstArray[1].trim());
+        double secondLatitude = Double.valueOf(secondArray[0].trim());
+        double secondLongitude = Double.valueOf(secondArray[1].trim());
+        return getDistance(firstLatitude, firstLongitude, secondLatitude, secondLongitude);
+    }
+}