From 84b085e7c1ae1f42d575258eb7edd022806eef20 Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期五, 09 七月 2021 12:36:50 +0800
Subject: [PATCH] 优化代码

---
 java110-db/src/main/resources/mapper/common/MachineTranslateServiceDaoImplMapper.xml |   13 +++++++++++++
 1 files changed, 13 insertions(+), 0 deletions(-)

diff --git a/java110-db/src/main/resources/mapper/common/MachineTranslateServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/common/MachineTranslateServiceDaoImplMapper.xml
old mode 100644
new mode 100755
index 4cb8b72..42c1fd3
--- a/java110-db/src/main/resources/mapper/common/MachineTranslateServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/common/MachineTranslateServiceDaoImplMapper.xml
@@ -164,6 +164,12 @@
         <if test="objId !=null and objId != ''">
             and t.obj_id= #{objId}
         </if>
+        <if test="machineCmd !=null and machineCmd != ''">
+            and t.machine_cmd= #{machineCmd}
+        </if>
+        <if test='isNow !=null and isNow == "Y"'>
+            and to_days(t.create_time) = to_days(now())
+        </if>
         <if test="statusCd !=null and statusCd != ''">
             and t.status_cd= #{statusCd}
         </if>
@@ -252,6 +258,13 @@
         <if test="objId !=null and objId != ''">
             and t.obj_id= #{objId}
         </if>
+        <if test="machineCmd !=null and machineCmd != ''">
+            and t.machine_cmd= #{machineCmd}
+        </if>
+        <if test='isNow !=null and isNow == "Y"'>
+            and to_days(t.create_time) = to_days(now())
+        </if>
+
         <if test="statusCd !=null and statusCd != ''">
             and t.status_cd= #{statusCd}
         </if>

--
Gitblit v1.8.0