From c51a042cfb8453265acf2b764b82bd17019b9b1b Mon Sep 17 00:00:00 2001
From: yangys <y_ys79@sina.com>
Date: 星期一, 04 三月 2024 21:40:42 +0800
Subject: [PATCH] 增加厂商和使用部门维护功能

---
 mdc-parent/mdc-showdb-mysql/src/main/resources/mapper/MachineAccountMapper.xml |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/mdc-parent/mdc-showdb-mysql/src/main/resources/mapper/MachineAccountMapper.xml b/mdc-parent/mdc-showdb-mysql/src/main/resources/mapper/MachineAccountMapper.xml
index 49dd0db..2cce409 100644
--- a/mdc-parent/mdc-showdb-mysql/src/main/resources/mapper/MachineAccountMapper.xml
+++ b/mdc-parent/mdc-showdb-mysql/src/main/resources/mapper/MachineAccountMapper.xml
@@ -71,6 +71,14 @@
             and a.specification like #{specification}
          </if>
          
+         <if test="dto.productionDateBegin != null">
+            and a.a.production_date &gt;= #{dto.productionDateBegin}
+         </if>
+         <if test="dto.productionDateEnd != null">
+            and a.a.production_date &lt;= #{dto.productionDateEnd}
+         </if>
+         
+         
          <if test="dto.manufacturer != null and dto.manufacturer != ''">
          	<bind name="manufacturer" value="'%' + dto.manufacturer + '%'" />
             and a.manufacturer like #{manufacturer}

--
Gitblit v1.9.3