From 6f5a7d21059486adac8ccde67ff181754f81e907 Mon Sep 17 00:00:00 2001
From: shijie <648688341@qq.com>
Date: Wed, 26 May 2021 14:32:13 +0800
Subject: [PATCH] =?UTF-8?q?=E5=A4=84=E7=90=86=E8=AF=BE=E7=A8=8B=E5=88=A0?=
=?UTF-8?q?=E9=99=A4=E4=BB=A5=E5=8F=8A=E8=AE=A2=E5=8D=95=E6=9F=A5=E8=AF=A2?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/main/java/com/yipin/liuwanr/mapper/CourseMapper.java | 2 +-
src/main/java/com/yipin/liuwanr/mapper/OrderMapper.java | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/main/java/com/yipin/liuwanr/mapper/CourseMapper.java b/src/main/java/com/yipin/liuwanr/mapper/CourseMapper.java
index 994d92c..cac1643 100644
--- a/src/main/java/com/yipin/liuwanr/mapper/CourseMapper.java
+++ b/src/main/java/com/yipin/liuwanr/mapper/CourseMapper.java
@@ -94,7 +94,7 @@ public interface CourseMapper {
//删除课程
@Update({" "})
diff --git a/src/main/java/com/yipin/liuwanr/mapper/OrderMapper.java b/src/main/java/com/yipin/liuwanr/mapper/OrderMapper.java
index 6df3a52..b71ef3a 100644
--- a/src/main/java/com/yipin/liuwanr/mapper/OrderMapper.java
+++ b/src/main/java/com/yipin/liuwanr/mapper/OrderMapper.java
@@ -54,7 +54,7 @@ public interface OrderMapper {
" and o.cityId = #{cityId} ",
" and o.orderType = #{orderType} ",
" and o.orderStatus = #{orderStatus} ",
- " and o.orderNumber like CONCAT('%',#{searchContent},'%') or c.customerName like CONCAT('%',#{searchContent},'%')",
+ " and (o.orderNumber like CONCAT('%',#{searchContent},'%') or c.customerName like CONCAT('%',#{searchContent},'%'))",
"order by o.orderDate desc",
" "})
List queryOrder(Order order);