|
@@ -49,11 +49,11 @@ public class PromotionFactoryBase extends ServiceImpl<PromotionMapper, Promotion
|
|
//保存商品
|
|
//保存商品
|
|
if (!save.getIsAllGoods()) {
|
|
if (!save.getIsAllGoods()) {
|
|
//删除原来的商品
|
|
//删除原来的商品
|
|
- goodsService.saveBatchByActId(save.getId(), "promotion", param.getList("goodsList"));
|
|
|
|
|
|
+ goodsService.saveBatchByActId(save.getId(), "promotion", param.getListMap("goodsList"));
|
|
}
|
|
}
|
|
//保存设备
|
|
//保存设备
|
|
if (!save.getIsAllDevice()) {
|
|
if (!save.getIsAllDevice()) {
|
|
- deviceService.saveBatchByActId(save.getId(), "promotion", param.getList("deviceList"));
|
|
|
|
|
|
+ deviceService.saveBatchByActId(save.getId(), "promotion", param.getListMap("deviceList"));
|
|
}
|
|
}
|
|
|
|
|
|
return save.getId();
|
|
return save.getId();
|