From 40ce2548e631d4971e3fdf9f9c692857312c0b16 Mon Sep 17 00:00:00 2001
From: Fancy <Fancy.fx@outlook.com>
Date: 星期三, 21 八月 2024 10:46:25 +0800
Subject: [PATCH] add order_id in assembly

---
 pms-parent/pms-global/src/main/resources/mapper/PrOrderItemMapper.xml |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/pms-parent/pms-global/src/main/resources/mapper/PrOrderItemMapper.xml b/pms-parent/pms-global/src/main/resources/mapper/PrOrderItemMapper.xml
index 7d32d8b..972b95e 100644
--- a/pms-parent/pms-global/src/main/resources/mapper/PrOrderItemMapper.xml
+++ b/pms-parent/pms-global/src/main/resources/mapper/PrOrderItemMapper.xml
@@ -97,7 +97,7 @@
         where p.deleted!=1
         <trim prefix="and " suffixOverrides="and">
             <if test="orderId != null and orderId != ''">
-                p.orderId = #{orderId,jdbcType=BIGINT} and
+                p.order_id = #{orderId,jdbcType=BIGINT} and
             </if>
         </trim>
         order by id desc
@@ -114,7 +114,7 @@
         where p.deleted!=1
         <trim prefix="and " suffixOverrides="and">
             <if test="orderId != null and orderId != ''">
-                p.orderId = #{orderId,jdbcType=BIGINT} and
+                p.order_id = #{orderId,jdbcType=BIGINT} and
             </if>
         </trim>
     </select>

--
Gitblit v1.8.0