From d82e3ef630a132309f9f7b435ae395df7b99bcf5 Mon Sep 17 00:00:00 2001
From: zhongrj <646384940@qq.com>
Date: Sat, 23 Dec 2023 11:36:36 +0800
Subject: [PATCH] 房屋,场所查询修改

---
 src/main/java/org/springblade/modules/house/mapper/HouseholdMapper.xml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/main/java/org/springblade/modules/house/mapper/HouseholdMapper.xml b/src/main/java/org/springblade/modules/house/mapper/HouseholdMapper.xml
index 94b9720..397b65f 100644
--- a/src/main/java/org/springblade/modules/house/mapper/HouseholdMapper.xml
+++ b/src/main/java/org/springblade/modules/house/mapper/HouseholdMapper.xml
@@ -282,7 +282,7 @@
         ( SELECT
         IF
         (
-        id_card IS NULL,
+        id_card IS NULL or id_card = '',
         '未知',
         IF
         (SUBSTRING( id_card, 17, 1 ) % 2 = 1, '男', '女' )) AS gender

--
Gitblit v1.9.3