From 1dfee1c05a942b29f005d9388d984d4969a020ef Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@63.com>
Date: 星期五, 11 三月 2022 09:48:22 +0800
Subject: [PATCH] #

---
 src/main/resources/mapper/OrderMapper.xml |   21 +++++++++------------
 1 files changed, 9 insertions(+), 12 deletions(-)

diff --git a/src/main/resources/mapper/OrderMapper.xml b/src/main/resources/mapper/OrderMapper.xml
index 1232177..641f144 100644
--- a/src/main/resources/mapper/OrderMapper.xml
+++ b/src/main/resources/mapper/OrderMapper.xml
@@ -81,23 +81,20 @@
         <if test="host_id!=null and host_id!='' ">
             and mo.host_id = #{host_id}
         </if>
-        <if test="bill_no!=null and bill_no!='' ">
-            and mo.bill_no like '%' + #{bill_no} + '%'
+        <if test="order_no!=null and order_no!='' ">
+            and mo.order_no like '%' + #{order_no} + '%'
         </if>
-        <if test="bill_type!=null and bill_type!='' ">
-            and bill_type like '%' + #{bill_type} + '%'
+        <if test="cstmr_name!=null and cstmr_name!='' ">
+            and mo.cstmr_name like '%' + #{cstmr_name} + '%'
         </if>
-        <if test="mat_name!=null and mat_name!='' ">
-            and a.mat_name like '%' + #{mat_name} + '%'
+        <if test="doc_type!=null and doc_type!='' ">
+            and mo.doc_type like '%' + #{doc_type} + '%'
         </if>
-        <if test="qty!=null and qty!='' ">
-            and a.qty = #{qty}
-        </if>
-        <if test="altme!=null and altme!='' ">
-            and a.unit like '%' + #{unit} + '%'
+        <if test="maktx!=null and maktx!='' ">
+            and mod.maktx like '%' + #{maktx} + '%'
         </if>
         <if test="startTime!=null and endTime!=null">
-            and appe_time between #{startTime} and #{endTime}
+            and mo.create_time between #{startTime} and #{endTime}
         </if>
     </sql>
 

--
Gitblit v1.9.1