|
|
@ -214,6 +214,12 @@ public class LpkGoodsService extends MybatisBaseService<LpkGoodsMapper, LpkGoods |
|
|
|
|
|
|
|
public ResultBean vegeCellarList(LpkGoodsQuery query) { |
|
|
|
ResultBean rb=new ResultBean().fail(); |
|
|
|
if(StringUtils.isBlank(query.getCustomerSid())){ |
|
|
|
return rb.setMsg("参数不全"); |
|
|
|
} |
|
|
|
if(StringUtils.isBlank(query.getAffiliation())){ |
|
|
|
return rb.setMsg("参数不全"); |
|
|
|
} |
|
|
|
List<MyGoodsVo> vo =baseMapper.getGoodsApplet(query); |
|
|
|
vo.forEach(s->{ |
|
|
|
double i=Double.valueOf(s.getGoodsNumber()); |
|
|
@ -224,6 +230,12 @@ public class LpkGoodsService extends MybatisBaseService<LpkGoodsMapper, LpkGoods |
|
|
|
} |
|
|
|
public ResultBean vegeCellarTypeList(LpkGoodsQuery query) { |
|
|
|
ResultBean rb=new ResultBean().fail(); |
|
|
|
if(StringUtils.isBlank(query.getCustomerSid())){ |
|
|
|
return rb.setMsg("参数不全"); |
|
|
|
} |
|
|
|
if(StringUtils.isBlank(query.getAffiliation())){ |
|
|
|
return rb.setMsg("参数不全"); |
|
|
|
} |
|
|
|
List<GoodsTypeVo> vo =new ArrayList<>(); |
|
|
|
List<BrandVo> list1= IPmsBrandService.getList().getData(); |
|
|
|
for (BrandVo brandVo : list1) { |
|
|
@ -259,6 +271,9 @@ public class LpkGoodsService extends MybatisBaseService<LpkGoodsMapper, LpkGoods |
|
|
|
|
|
|
|
public ResultBean getGoodsByTypeSid(LpkGiftCardQuery query) { |
|
|
|
ResultBean rb=new ResultBean().fail(); |
|
|
|
if(StringUtils.isBlank(query.getCustomerSid())){ |
|
|
|
return rb.setMsg("参数不全"); |
|
|
|
} |
|
|
|
List<GiftBagGoodss> giftBagGoodss=baseMapper.getAllGoodsApplets(query); |
|
|
|
ShoppingCartQuery query1=new ShoppingCartQuery(); |
|
|
|
query1.setBrandId(query.getBrandId()); |
|
|
|