Commit 84d322f6 by 陈浩建

单宽支付覆盖

parent 89267374
...@@ -445,17 +445,16 @@ public class DankuanController { ...@@ -445,17 +445,16 @@ public class DankuanController {
* @author ljh * @author ljh
* @Description:支付请求 * @Description:支付请求
*/ */
public String JsoupMethodZhifu(String orderId, String ipay, String userId, public String JsoupMethodZhifu(String orderSeq, String ipay, String userId,
HttpServletRequest request, HttpServletResponse response) throws Exception { HttpServletRequest request, HttpServletResponse response) throws Exception {
log.info("----------首先发送支付请求接口----------"); log.info("----------首先发送支付请求接口----------");
//查询订单信息 //查询订单信息
Order order = orderMapper.selectById(orderId);
OrderView orderView = orderViewMapper.selectById(order.getKdOrderId());
String uuid = UUID.randomUUID().toString(); String uuid = UUID.randomUUID().toString();
String id = uuid.split("-")[0] + uuid.split("-")[1]; String id = uuid.split("-")[0] + uuid.split("-")[1];
//修改支付方式 //修改支付方式
Wrapper<OrderView> wrapper = new EntityWrapper<>(); Wrapper<OrderView> wrapper = new EntityWrapper<>();
wrapper.eq("order_id", orderId); wrapper.eq("orderSeq", orderSeq);
OrderView orderView = orderViewMapper.selectList(wrapper).get(0);
Map<String, Object> dataMapping = new HashMap<>(); Map<String, Object> dataMapping = new HashMap<>();
dataMapping.put("ipay", ipay); dataMapping.put("ipay", ipay);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment