Commit 8dfa572f authored by alex yao's avatar alex yao

fix:【【POE】分享应用时数据统计更改】 --bug=1009877

parent b41564e7
......@@ -161,7 +161,7 @@ public class AgentApplicationApiServiceImpl implements AgentApplicationApiServic
memberEquityService.rollbackPoint(reduceSn);
}
//数据采集
dataAnalyzeReportService.dataReport(agentId, DataAnalyzeChannelEnum.api, profileEntity.getMemberId(), pointDeductionNum);
dataAnalyzeReportService.dataReport(agentId, DataAnalyzeChannelEnum.api, deducted, pointDeductionNum);
}
private void saveRecord(String conversationId, String query, String agentId, BizAgentApplicationApiProfileEntity profileEntity, Long inputTimestamp, BizAgentApplicationPublishEntity infoEntity, String output) throws Exception {
......
......@@ -193,7 +193,7 @@ public class AgentApplicationServiceImpl implements AgentApplicationService {
if (StringUtils.isBlank(channel)) {
channel = DataAnalyzeChannelEnum.link_share.getChannel();
}
dataAnalyzeReportService.dataReport(agentId, DataAnalyzeChannelEnum.valueOf(channel), userBaseEntity.getUserId(), pointDeductionNum);
dataAnalyzeReportService.dataReport(agentId, DataAnalyzeChannelEnum.valueOf(channel), deducted, pointDeductionNum);
} catch (Exception e) {
memberEquityService.rollbackPoint(reduceSn);
throw new BusinessException(e.getMessage());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment