|
@@ -79,7 +79,8 @@ public class GoodsLogic {
|
|
|
CurrentCompanyWechat currentCompanyWechat = commonLogic.getCurrentCompanyWechat(request);
|
|
|
|
|
|
IPage<GoodsNewBean> page = goodsSpecDetailMapper.queryGoodsList(new Page(pageNum, pageSize),
|
|
|
- currentCompanyWechat.getUser().getUserId(), currentCompanyWechat.getUser().getType(), keyword, categoryId,sort,currentCompanyWechat.getCompanyWechatId());
|
|
|
+ currentCompanyWechat.getUser().getUserId(), currentCompanyWechat.getUser().getType(),
|
|
|
+ keyword, categoryId,sort,null);
|
|
|
|
|
|
this.supplyGoodsNewBean(page,currentCompanyWechat);
|
|
|
return page;
|
|
@@ -311,7 +312,8 @@ public class GoodsLogic {
|
|
|
}
|
|
|
CurrentCompanyWechat currentCompanyWechat = commonLogic.getCurrentCompanyWechat(request);
|
|
|
String companyWechatId = currentCompanyWechat.getCompanyWechatId();
|
|
|
- IPage<PromotionGoodsBean> promotionGoodsBeanIPage = goodsSpecDetailMapper.queryPromotionGoods(new Page(pageNum, pageSize), userId,goodsCategoryId, keyword,companyWechatId);
|
|
|
+ IPage<PromotionGoodsBean> promotionGoodsBeanIPage = goodsSpecDetailMapper.queryPromotionGoods(new Page(pageNum, pageSize),
|
|
|
+ userId,goodsCategoryId, keyword,null);
|
|
|
return promotionGoodsBeanIPage;
|
|
|
}
|
|
|
|
|
@@ -474,7 +476,8 @@ public class GoodsLogic {
|
|
|
public List<List<GoodsPackageBean>> choicePackage(String goodsId,HttpServletRequest request){
|
|
|
CurrentCompanyWechat currentCompanyWechat = commonLogic.getCurrentCompanyWechat(request);
|
|
|
String companyWechatId = currentCompanyWechat.getCompanyWechatId();
|
|
|
- List<GoodsPackageBean> goodsPackageBeans = goodsSpecDetailMapper.queryGoodsPackage(currentCompanyWechat.getUser().getUserId(),currentCompanyWechat.getUser().getType(),goodsId, companyWechatId);
|
|
|
+ List<GoodsPackageBean> goodsPackageBeans = goodsSpecDetailMapper.queryGoodsPackage(currentCompanyWechat.getUser().getUserId(),
|
|
|
+ currentCompanyWechat.getUser().getType(),goodsId, null);
|
|
|
if(CollectionUtils.isEmpty(goodsPackageBeans)){
|
|
|
return new ArrayList();
|
|
|
}
|