Commit 3f2cd0a3 by 吕明尚

修改支付回调

parent cfe5cf91
...@@ -554,6 +554,7 @@ public class CallbackServiceImpl implements CallbackService { ...@@ -554,6 +554,7 @@ public class CallbackServiceImpl implements CallbackService {
// 保存api日志 // 保存api日志
saobeiApiLog.setResponseParams(JSONUtil.toJsonStr(responseVo)); saobeiApiLog.setResponseParams(JSONUtil.toJsonStr(responseVo));
saobeiApiLog.setResult(responseVo.getReturn_code()); saobeiApiLog.setResult(responseVo.getReturn_code());
logger.error("支付回调异常 : " + e);
saobeiApiLog.setResultMsg(responseVo.getReturn_msg()); saobeiApiLog.setResultMsg(responseVo.getReturn_msg());
saobeiApiLog.setOutTradeNo(param.getOut_trade_no()); saobeiApiLog.setOutTradeNo(param.getOut_trade_no());
saobeiApiLogService.insertSaobeiApiLog(saobeiApiLog); saobeiApiLogService.insertSaobeiApiLog(saobeiApiLog);
......
...@@ -91,7 +91,7 @@ ...@@ -91,7 +91,7 @@
</select> </select>
<select id="getInfoByEntity" resultType="share.system.domain.EquityMembersOrder"> <select id="getInfoByEntity" resultType="share.system.domain.EquityMembersOrder">
<include refid="selectEquityMembersOrderVo"/> <include refid="selectEquityMembersOrderVo"/>
where terminal_trace=#{terminal_trace} and consumer_id=#{consumerId} where terminal_trace=#{terminalTrace} and consumer_id=#{consumerId}
</select> </select>
<insert id="insertEquityMembersOrder" parameterType="EquityMembersOrder" useGeneratedKeys="true" keyProperty="id"> <insert id="insertEquityMembersOrder" parameterType="EquityMembersOrder" useGeneratedKeys="true" keyProperty="id">
......
...@@ -82,7 +82,7 @@ ...@@ -82,7 +82,7 @@
</select> </select>
<select id="getInfoByEntity" resultType="share.system.domain.Recharge"> <select id="getInfoByEntity" resultType="share.system.domain.Recharge">
<include refid="selectRechargeVo"/> <include refid="selectRechargeVo"/>
where terminal_trace=#{terminal_trace} and consumer_id=#{consumerId} where terminal_trace=#{terminalTrace} and consumer_id=#{consumerId}
</select> </select>
<insert id="insertRecharge" parameterType="Recharge" useGeneratedKeys="true" keyProperty="id"> <insert id="insertRecharge" parameterType="Recharge" useGeneratedKeys="true" keyProperty="id">
......
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