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 | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/java110-db/src/main/resources/mapper/common/MachineTranslateServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/common/MachineTranslateServiceDaoImplMapper.xml
index 89d073b..42c1fd3 100755
--- a/java110-db/src/main/resources/mapper/common/MachineTranslateServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/common/MachineTranslateServiceDaoImplMapper.xml
@@ -167,7 +167,7 @@
<if test="machineCmd !=null and machineCmd != ''">
and t.machine_cmd= #{machineCmd}
</if>
- <if test="isNow !=null and isNow == 'Y'">
+ <if test='isNow !=null and isNow == "Y"'>
and to_days(t.create_time) = to_days(now())
</if>
<if test="statusCd !=null and statusCd != ''">
@@ -261,7 +261,7 @@
<if test="machineCmd !=null and machineCmd != ''">
and t.machine_cmd= #{machineCmd}
</if>
- <if test="isNow !=null and isNow == 'Y'">
+ <if test='isNow !=null and isNow == "Y"'>
and to_days(t.create_time) = to_days(now())
</if>
--
Gitblit v1.8.0