|
@@ -300,7 +300,7 @@ public class MerchantServiceImpl extends ServiceImpl<MerchantMapper, Merchant> i
|
|
|
public Pagination<MerchantDTO> getUserMineCartPaging(OmsCartItemPagingParam param) {
|
|
|
Long userId = SessionContextHolder.getSession().getId();
|
|
|
List<Long> merchants = this.baseMapper.getMerchantIds(userId);
|
|
|
- if (merchants == null && merchants.size() > 0) {
|
|
|
+ if (merchants == null && merchants.size() < 1) {
|
|
|
return null;
|
|
|
}
|
|
|
Page<Merchant> page = this.lambdaQuery()
|