From 1af20c9696ba73b10e9065d0441c786ae9a28c9f Mon Sep 17 00:00:00 2001
From: luxiaotao1123 <t1341870251@63.com>
Date: 星期二, 22 二月 2022 09:03:04 +0800
Subject: [PATCH] #

---
 src/main/resources/mapper/OrderMapper.xml |   20 +++++++-------------
 1 files changed, 7 insertions(+), 13 deletions(-)

diff --git a/src/main/resources/mapper/OrderMapper.xml b/src/main/resources/mapper/OrderMapper.xml
index 1232177..322a922 100644
--- a/src/main/resources/mapper/OrderMapper.xml
+++ b/src/main/resources/mapper/OrderMapper.xml
@@ -81,23 +81,17 @@
         <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="doc_type!=null and doc_type!='' ">
+            and mo.doc_type like '%' + #{doc_type} + '%'
         </if>
-        <if test="mat_name!=null and mat_name!='' ">
-            and a.mat_name like '%' + #{mat_name} + '%'
-        </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