From 0849670f03eaa4b5de71c11558e6baf6ac8d2586 Mon Sep 17 00:00:00 2001
From: 1098226878 <1098226878@qq.com>
Date: 星期二, 14 九月 2021 10:27:50 +0800
Subject: [PATCH] 优化代码
---
java110-db/src/main/resources/mapper/community/UnitServiceDaoImplMapper.xml | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/java110-db/src/main/resources/mapper/community/UnitServiceDaoImplMapper.xml b/java110-db/src/main/resources/mapper/community/UnitServiceDaoImplMapper.xml
old mode 100644
new mode 100755
index 7cc9a72..d8dfd0a
--- a/java110-db/src/main/resources/mapper/community/UnitServiceDaoImplMapper.xml
+++ b/java110-db/src/main/resources/mapper/community/UnitServiceDaoImplMapper.xml
@@ -230,7 +230,7 @@
<if test="unitId !=null and unitId != ''">
and t.unit_id= #{unitId}
</if>
- <if test="unitNum !=null and unitNum != ''">
+ <if test="unitNum !=null and unitNum != '' or unitNum == 0">
and t.unit_num= #{unitNum}
</if>
<if test="lift !=null and lift != ''">
--
Gitblit v1.8.0