From 2c479a66e7cb1df74f50ed798a2c3e2a0bc15322 Mon Sep 17 00:00:00 2001 From: Administrator <Administrator@S0ZHK00LKCA6OYY> Date: 星期五, 30 十一月 2018 12:24:16 +0800 Subject: [PATCH] 修复提现验证问题 --- fanli/src/main/java/com/yeshi/fanli/service/impl/push/PushGoodsServiceImpl.java | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/service/impl/push/PushGoodsServiceImpl.java b/fanli/src/main/java/com/yeshi/fanli/service/impl/push/PushGoodsServiceImpl.java index 7fa0708..c7a4781 100644 --- a/fanli/src/main/java/com/yeshi/fanli/service/impl/push/PushGoodsServiceImpl.java +++ b/fanli/src/main/java/com/yeshi/fanli/service/impl/push/PushGoodsServiceImpl.java @@ -125,7 +125,7 @@ if (commonGoods != null) { commonGoodsService.addOrUpdateCommonGoods(commonGoods); Long cid = commonGoods.getId(); - if (cid == null) { + if (cid != null) { listCommonId.add(cid); } } @@ -171,8 +171,10 @@ pushGoodsGroup.setCommonGoods(new CommonGoods(cid)); listAdd.add(pushGoodsGroup); } + + pushGoodsGroupService.insertBatch(listAdd); } - + } @Override -- Gitblit v1.8.0