|  |  | 
 |  |  | import com.dy.pipIrrGlobal.daoSe.SeWechatpayMapper; | 
 |  |  | import com.dy.pipIrrGlobal.pojoSe.SeOpenId; | 
 |  |  | import com.dy.pipIrrGlobal.pojoSe.SeVcRecharge; | 
 |  |  | import com.dy.pipIrrGlobal.pojoSe.SeWechatpay; | 
 |  |  | import lombok.extern.slf4j.Slf4j; | 
 |  |  | import org.springframework.beans.factory.annotation.Autowired; | 
 |  |  | import org.springframework.stereotype.Service; | 
 |  |  | 
 |  |  |         return po.getId(); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 添加微信支付信息 | 
 |  |  |      * @param po | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     Long addWechatpay(SeWechatpay po) { | 
 |  |  |         seWechatpayMapper.insert(po); | 
 |  |  |         return po.getId(); | 
 |  |  |     } | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |      * 根据AppId获取微信支付对象 | 
 |  |  |      * @param appId | 
 |  |  |      * @return | 
 |  |  |      */ | 
 |  |  |     SeWechatpay getWechatpayByAppId(String appId) { | 
 |  |  |         return seWechatpayMapper.getWechatpayByAppId(appId); | 
 |  |  |     } | 
 |  |  | } |