|  |  | 
 |  |  | package com.dy.pipIrrTerminal.client; | 
 |  |  |  | 
 |  |  | import com.alibaba.fastjson2.JSONObject; | 
 |  |  | import com.dy.common.webUtil.QueryResultVo; | 
 |  |  | import com.dy.pipIrrGlobal.daoPr.PrWaterPriceMapper; | 
 |  |  | import com.dy.pipIrrGlobal.daoSe.SeClientMapper; | 
 |  |  | import com.dy.pipIrrGlobal.voSe.VoClient; | 
 |  |  | import com.dy.pipIrrGlobal.voSe.VoTermClient; | 
 |  |  | 
 |  |  |     @Autowired | 
 |  |  |     private SeClientMapper seClientMapper; | 
 |  |  |  | 
 |  |  |     @Autowired | 
 |  |  |     private PrWaterPriceMapper prWaterPriceMapper; | 
 |  |  |     /** | 
 |  |  |      * 根据指定条件获取农户数据_充值机 | 
 |  |  |      * @param queryVo | 
 |  |  | 
 |  |  |     public VoTermClient getTermOneClient(Long clientId) { | 
 |  |  |         return seClientMapper.getTermOneClient(clientId); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 获取水价 | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     public JSONObject getWaterPrice() { | 
 |  |  |         Double price = prWaterPriceMapper.getPrice(); | 
 |  |  |         JSONObject rs = new JSONObject(); | 
 |  |  |         rs.put("price", price); | 
 |  |  |         return rs; | 
 |  |  |     } | 
 |  |  | } |