From 273e3ebef2a30c931590f51257403eda566fafcf Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期一, 01 四月 2019 11:09:55 +0800
Subject: [PATCH] 订单统计BUG修复

---
 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