Commit 880717c2 by 吕明尚

订单记录增加排序

parent 36d97a0a
...@@ -146,6 +146,7 @@ public class EquityMembersOrderServiceImpl extends ServiceImpl<EquityMembersOrde ...@@ -146,6 +146,7 @@ public class EquityMembersOrderServiceImpl extends ServiceImpl<EquityMembersOrde
} }
} }
EquityMembersOrder equityMembersOrder = generatEquityMembersOrder(request, user); EquityMembersOrder equityMembersOrder = generatEquityMembersOrder(request, user);
equityMembersOrder.setCreateTime(new Date());
save(equityMembersOrder); save(equityMembersOrder);
EquityMembersResultResponse response = orderPayService.saobeiEquityMembersOrderPayment(equityMembersOrder); EquityMembersResultResponse response = orderPayService.saobeiEquityMembersOrderPayment(equityMembersOrder);
return response; return response;
......
...@@ -138,6 +138,7 @@ public class RechargeServiceImpl extends ServiceImpl<RechargeMapper, Recharge> i ...@@ -138,6 +138,7 @@ public class RechargeServiceImpl extends ServiceImpl<RechargeMapper, Recharge> i
} }
} }
Recharge recharge = generatRecharge(request, user); Recharge recharge = generatRecharge(request, user);
recharge.setCreateTime(new Date());
save(recharge); save(recharge);
RechargePayResultResponse response = orderPayService.saobeiRechargePayment(recharge); RechargePayResultResponse response = orderPayService.saobeiRechargePayment(recharge);
return response; return response;
......
...@@ -83,6 +83,7 @@ ...@@ -83,6 +83,7 @@
<if test="payTime != null ">and o.pay_time = #{payTime}</if> <if test="payTime != null ">and o.pay_time = #{payTime}</if>
<if test="isDelete != null ">and o.is_delete = #{isDelete}</if> <if test="isDelete != null ">and o.is_delete = #{isDelete}</if>
</where> </where>
order by o.create_time desc
</select> </select>
<select id="selectEquityMembersOrderById" parameterType="Long" resultMap="EquityMembersOrderResult"> <select id="selectEquityMembersOrderById" parameterType="Long" resultMap="EquityMembersOrderResult">
......
...@@ -109,6 +109,7 @@ ...@@ -109,6 +109,7 @@
<if test="terminalTrace != null and terminalTrace != ''">and r.terminal_trace = #{terminalTrace}</if> <if test="terminalTrace != null and terminalTrace != ''">and r.terminal_trace = #{terminalTrace}</if>
<if test="payTime != null ">and r.pay_time = #{payTime}</if> <if test="payTime != null ">and r.pay_time = #{payTime}</if>
</where> </where>
order by r.create_time desc
</select> </select>
<select id="selectRechargeById" parameterType="Long" resultMap="RechargeResult"> <select id="selectRechargeById" parameterType="Long" resultMap="RechargeResult">
......
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