@@ -511,7 +511,7 @@ public class UserPeriodServiceImpl extends ServiceImpl<UserPeriodMapper, UserPer
GoodsVo goodsVo = iGoodsService.selectDetail(bo.getGoodsId());
if(goodsVo.getBusinessId().longValue()!=business.getId().longValue()){
- if(Validator.isNotEmpty(business7)&&goodsVo.getBusinessId().longValue()!=business7.getId().longValue()){
+ if(Validator.isEmpty(business7)||(Validator.isNotEmpty(business7)&&goodsVo.getBusinessId().longValue()!=business7.getId().longValue())){
return null;
}