Administrator
2018-12-22 0a0b63a12a901215967ea9cdd7a4850e394b486a
分享商品h5列表优化
1个文件已修改
16 ■■■■■ 已修改文件
fanli/src/main/java/com/yeshi/fanli/service/impl/user/UserShareGoodsRecordServiceImpl.java 16 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
fanli/src/main/java/com/yeshi/fanli/service/impl/user/UserShareGoodsRecordServiceImpl.java
@@ -572,8 +572,6 @@
    @Override
    public JSONObject getGoodsGroupDetail(Long recordId) throws UserShareGoodsRecordException {
        
        List<CommonGoods> listUpadteCommonGoods = new ArrayList<CommonGoods>();
        JSONArray array = new JSONArray();
        
        List<UserShareGoodsGroup> list = userShareGoodsGroupService.listByRecordId(recordId);
@@ -648,20 +646,6 @@
        data.put("title", title);
        data.put("count", list.size());
        data.put("result_list", array);
        if (listUpadteCommonGoods.size() > 0) {
            executor.execute(new Runnable() {
                @Override
                public void run() {
                    try {
                        // 更新简版信息
                        commonGoodsService.updateBatchCommonGoods(listUpadteCommonGoods);
                    } catch (Exception e) {
                        e.printStackTrace();
                    }
                }
            });
        }
        
        return data;
    }