Commit e0bff6d5 by 谢海旭

v5.6.0版本 策略中心:策略中心PC端-历史人员记录

1 parent e4e8d6fb
......@@ -240,12 +240,23 @@ public class MerchantAnalysisController {
@ApiOperation("策略中心-门店分析-历史人员记录")
@ServiceMethod(method = "dj.api.strategy.merchant.analysis.employee.history", needInSession = NeedInSessionType.YES)
public RopResponse<List<StaffHistoryRecordDTO>> merchantAnalysisEmployeeHistory(MerchantStaffHistoryRecordRequest request) {
return null;
try {
RpcResponse<List<StaffHistoryRecordDTO>> response = strategyInfoRemote.listMerchantAnalysisEmployeeHistory(request.getMerchantId(), request.getBizs());
if (response.isSuccess()) {
return RopResponse.success(response.getResult());
}
return RopResponse.error(response.getMessage());
} catch (RpcServiceException e) {
log.error("=====dj.api.strategy.merchant.analysis.employee.history rpcServiceException:{}", e.getMessage());
return RopResponse.error(e);
} catch (Exception e) {
log.error("=====dj.api.strategy.merchant.analysis.employee.history exception:{}", e.getMessage(), e);
return RopResponse.error(e.getMessage());
}
}
@ApiOperation("策略中心-门店分析-历史兜底指标")
// @ServiceMethod(method = "dj.api.strategy.merchant.analysis.index.history", needInSession = NeedInSessionType.YES)
@ServiceMethod(method = "dj.api.strategy.merchant.analysis.index.history", needInSession = NeedInSessionType.NO, ignoreSign = IgnoreSignType.YES)
@ServiceMethod(method = "dj.api.strategy.merchant.analysis.index.history", needInSession = NeedInSessionType.YES)
public RopResponse<List<EarlyWarningThresholdConfigHistoryDTO>> merchantAnalysisIndexHistory(MerchantStaffHistoryRecordRequest request) {
try {
RpcResponse<List<EarlyWarningThresholdConfigHistoryDTO>> response = earlyWarningMsgRemote.listMerchantAnalysisIndexHistory(request.getMerchantId().toString());
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!