From bd59c19c6fccfc8d0bf3804c0d0c712454bd7d42 Mon Sep 17 00:00:00 2001
From: java110 <928255095@qq.com>
Date: 星期三, 16 六月 2021 17:24:47 +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
index 7cc9a72..d8dfd0a 100755
--- 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