From 64bd2204be459b47e008b79073a143684140ff24 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期六, 04 七月 2020 18:20:45 +0800 Subject: [PATCH] mapper xml文件位置移动 --- fanli/src/main/java/com/yeshi/fanli/controller/client/v1/PushController.java | 10 +++++----- 1 files changed, 5 insertions(+), 5 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/controller/client/v1/PushController.java b/fanli/src/main/java/com/yeshi/fanli/controller/client/v1/PushController.java index e6ef213..afe7362 100644 --- a/fanli/src/main/java/com/yeshi/fanli/controller/client/v1/PushController.java +++ b/fanli/src/main/java/com/yeshi/fanli/controller/client/v1/PushController.java @@ -229,10 +229,10 @@ // 璁惧娉ㄥ唽鏃堕棿 Date createTime = deviceActive.getCreateTime(); - count = pushGoodsService.countHistoryByPushTime(uid, createTime); + count = pushGoodsService.countHistoryByPushTime(uid, createTime,acceptData.getSystem()); int pageSize = Constant.PAGE_SIZE; - List<PushGoods> list = pushGoodsService.listHistoryByPushTime((page - 1) * pageSize, pageSize, uid, createTime); + List<PushGoods> list = pushGoodsService.listHistoryByPushTime((page - 1) * pageSize, pageSize, uid, createTime,acceptData.getSystem()); if (list == null) list = new ArrayList<>(); @@ -288,7 +288,7 @@ jumpDetail = jumpDetailV2Service.getByTypeCache("goodsdetail",Constant.getPlatformCode(acceptData.getPlatform()), Integer.parseInt(acceptData.getVersion())); } else { - String url = configService.get(ConfigKeyEnum.pushGoodsDetails.getKey()); + String url = configService.getValue(ConfigKeyEnum.pushGoodsDetails.getKey(),acceptData.getSystem()); if (url == null) { url = ""; } @@ -321,7 +321,7 @@ } } - String url = configService.get(ConfigKeyEnum.pushActivityLink.getKey()); + String url = configService.getValue(ConfigKeyEnum.pushActivityLink.getKey(),acceptData.getSystem()); if (url == null) { url = ""; } @@ -452,7 +452,7 @@ scanResult = scanNum +""; } - String jumpLink = configService.get(ConfigKeyEnum.activityDetailLink.getKey()) + "?type=%s&id=%s"; + String jumpLink = configService.getValue(ConfigKeyEnum.activityDetailLink.getKey(),acceptData.getSystem()) + "?type=%s&id=%s"; jumpLink = String.format(jumpLink, "circle", goodsEvaluate.getId()); if (!StringUtil.isNullOrEmpty(goodsEvaluate.getJumpLink())) { goodsEvaluate.setJumpLink(jumpLink); -- Gitblit v1.8.0