Commit 8a5eed77 authored by suntao's avatar suntao

productId

parent e54f0634
...@@ -181,7 +181,7 @@ public class XYQBCenterServiceImpl implements XYQBCenterService { ...@@ -181,7 +181,7 @@ public class XYQBCenterServiceImpl implements XYQBCenterService {
@Override @Override
public QuotaProduct getXyqbProduct(String productId) { public QuotaProduct getXyqbProduct(String productId) {
if (StringUtils.isEmpty(productId)) { if (StringUtils.isEmpty(productId) || "null".equals(productId)) {
return null; return null;
} }
return quotaProductRepository.findOne(Long.valueOf(productId)); return quotaProductRepository.findOne(Long.valueOf(productId));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment