From 4d51ffeaf4ed8ac00697fc80a1437319110aab8e Mon Sep 17 00:00:00 2001
From: yujian <yujian>
Date: 星期三, 20 三月 2019 12:03:16 +0800
Subject: [PATCH] Merge branch 'div'

---
 fanli/src/main/java/com/yeshi/fanli/service/impl/user/UserExtraTaoBaoInfoServiceImpl.java |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/fanli/src/main/java/com/yeshi/fanli/service/impl/user/UserExtraTaoBaoInfoServiceImpl.java b/fanli/src/main/java/com/yeshi/fanli/service/impl/user/UserExtraTaoBaoInfoServiceImpl.java
index 621449b..99e97d3 100644
--- a/fanli/src/main/java/com/yeshi/fanli/service/impl/user/UserExtraTaoBaoInfoServiceImpl.java
+++ b/fanli/src/main/java/com/yeshi/fanli/service/impl/user/UserExtraTaoBaoInfoServiceImpl.java
@@ -102,11 +102,15 @@
 
 	@Override
 	public UserExtraTaoBaoInfo getByRelationId(String relationId) {
+		if (StringUtil.isNullOrEmpty(relationId))
+			return null;
 		return userExtraTaoBaoInfoMapper.selectByRelationIdWithUidNotNull(relationId);
 	}
 
 	@Override
 	public UserExtraTaoBaoInfo getBySpecialId(String specialId) {
+		if (StringUtil.isNullOrEmpty(specialId))
+			return null;
 		return userExtraTaoBaoInfoMapper.selectBySpecialIdWithUidNotNull(specialId);
 	}
 

--
Gitblit v1.8.0