diff --git a/yudao-module-mall/yudao-module-shop-biz/src/main/resources/mapper/order/StoreOrderMapper.xml b/yudao-module-mall/yudao-module-shop-biz/src/main/resources/mapper/order/StoreOrderMapper.xml index dfb7aa5ac..2c43a9f54 100644 --- a/yudao-module-mall/yudao-module-shop-biz/src/main/resources/mapper/order/StoreOrderMapper.xml +++ b/yudao-module-mall/yudao-module-shop-biz/src/main/resources/mapper/order/StoreOrderMapper.xml @@ -77,7 +77,7 @@ `cy_recharge_order_info` info LEFT JOIN cy_recharge_order ord ON info.recharge_order_id = ord.id WHERE - ord.paid = 1 + ord.paid != 0 and info.create_time >= #{startTime} diff --git a/yudao-module-mall/yudao-module-shop-biz/src/main/resources/mapper/recharge/RechargeOrderMapper.xml b/yudao-module-mall/yudao-module-shop-biz/src/main/resources/mapper/recharge/RechargeOrderMapper.xml index 9b671cedf..5055e3743 100644 --- a/yudao-module-mall/yudao-module-shop-biz/src/main/resources/mapper/recharge/RechargeOrderMapper.xml +++ b/yudao-module-mall/yudao-module-shop-biz/src/main/resources/mapper/recharge/RechargeOrderMapper.xml @@ -252,7 +252,7 @@ and b.nickname like CONCAT('%',#{data.nickname},'%') - and x.real_name like CONCAT('%',#{data.realName},'%') + and x.nickname like CONCAT('%',#{data.realName},'%') and a.user_phone like CONCAT('%',#{data.userPhone},'%')