From 3ebbc15764ff0574f1024eb485e23d2df3e8730b Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期三, 17 四月 2019 11:58:40 +0800 Subject: [PATCH] 阿里云短信优化,分享信息优化 --- fanli/src/main/java/com/yeshi/fanli/service/impl/goods/TaoBaoGoodsBriefServiceImpl.java | 9 ++++----- 1 files changed, 4 insertions(+), 5 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/impl/goods/TaoBaoGoodsBriefServiceImpl.java b/fanli/src/main/java/com/yeshi/fanli/service/impl/goods/TaoBaoGoodsBriefServiceImpl.java index f740c54..5a59b32 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/impl/goods/TaoBaoGoodsBriefServiceImpl.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/impl/goods/TaoBaoGoodsBriefServiceImpl.java @@ -37,8 +37,6 @@ @Resource private TaoBaoUnionConfigService taoBaoUnionConfigService; - - @Override public String getGoodsUserHongBao(TaoBaoGoodsBrief goods) { BigDecimal rate = hongBaoManageService.getFanLiRate(); @@ -58,7 +56,10 @@ @Override public List<TaoBaoGoodsBrief> listQueryByAuctionId(List<Long> list) { - return taoBaoGoodsBriefMapper.queryGoodsByAuctionId(list); + if (list != null && list.size() > 0) + return taoBaoGoodsBriefMapper.queryGoodsByAuctionId(list); + else + return null; } @Override @@ -75,8 +76,6 @@ public TaoBaoGoodsBrief selectByPrimaryKey(Long id) { return taoBaoGoodsBriefMapper.selectByPrimaryKey(id); } - - @Override public void setGoodsBriefDefault(TaoBaoGoodsBrief goodsBrief) { -- Gitblit v1.8.0