update 后管订单页面改造

This commit is contained in:
2023-03-14 10:39:02 +08:00
parent dd91e4f817
commit 249c507bac
5 changed files with 26 additions and 3 deletions

View File

@@ -36,6 +36,9 @@ public class QueryOrderDTO extends BaseEntity {
*/
private String orderCode;
// 交易流水号
private String transactionCode;
/**
* 手机号
*/

View File

@@ -25,6 +25,11 @@ public class OrderListVO {
@Excel(name = "订单号")
private String orderCode;
/**
* 交易流水号
*/
private String transactionCode;
/**
* 订单状态
*/

View File

@@ -146,6 +146,7 @@
SELECT
t1.id as id,
t1.order_code as orderCode,
t1.transaction_code as transactionCode,
t1.order_status as orderStatus,
t1.member_id as memberId,
t2.nick_name as nickName,
@@ -185,6 +186,9 @@
<if test="orderCode != null and orderCode != ''">
and t1.order_code = #{orderCode,jdbcType=VARCHAR}
</if>
<if test="transactionCode != null and transactionCode != ''">
and t1.transaction_code = #{transactionCode,jdbcType=VARCHAR}
</if>
<if test="mobileNumber != null and mobileNumber != ''">
and t2.mobile_number = #{mobileNumber,jdbcType=VARCHAR}
</if>