From bb05129db40db646a59ddc90cb097edf063140c1 Mon Sep 17 00:00:00 2001
From: xin <1099200748@qq.com>
Date: Thu, 28 Aug 2025 17:01:54 +0800
Subject: [PATCH] 订单-sql优化
---
oying-system/src/main/resources/mapper/sh/OrderOperationLogMapper.xml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/oying-system/src/main/resources/mapper/sh/OrderOperationLogMapper.xml b/oying-system/src/main/resources/mapper/sh/OrderOperationLogMapper.xml
index 0133cf3..21bb698 100644
--- a/oying-system/src/main/resources/mapper/sh/OrderOperationLogMapper.xml
+++ b/oying-system/src/main/resources/mapper/sh/OrderOperationLogMapper.xml
@@ -44,7 +44,7 @@
from sh_order_operation_log
where order_num = #{orderNum}
<if test="type!= null and type != ''">
- operation_type = #{type}
+ and operation_type = #{type}
</if>
order by log_id
</select>
--
Gitblit v1.9.3