Commit 6ef2afc4 by 春觉晓

添加查询预警信息接口

1 parent 60008d4a
...@@ -56,6 +56,26 @@ public class MerchantAnalysisController { ...@@ -56,6 +56,26 @@ public class MerchantAnalysisController {
} }
} }
@ApiOperation("查询门店预警信息列表")
@ServiceMethod(method = "dj.api.strategy.merchant.list.warningInfo")
public RopResponse<List<String>> listMerchantWarningInfo(SceneMerchantBaseRequest request) {
try {
SceneBaseReq req = CommonUtil.convertRequest(SceneBaseReq.class);
RpcResponse<List<String>> response = businessSceneAnalysisRemote.listMerchantWarningInfo(req);
if (response.hasError()) {
log.error(response.getMessage());
return RopResponse.error(response.getError(), response.getMessage());
}
return RopResponse.success(response.getResult());
} catch (RpcServiceException e) {
log.error("=====dj.api.strategy.merchant.list.warningInfo rpcServiceException:{}", e.getMessage());
return RopResponse.error(e);
} catch (Exception e) {
log.error("=====dj.api.strategy.merchant.list.warningInfo exception:{}", e.getMessage(), e);
return RopResponse.error(e.getMessage());
}
}
@ApiOperation("查询驻店员工时长信息") @ApiOperation("查询驻店员工时长信息")
@ServiceMethod(method = "dj.api.strategy.staff.summary.duration") @ServiceMethod(method = "dj.api.strategy.staff.summary.duration")
public RopResponse<StaffSummaryDTO> summaryStaffDuration(SceneMerchantBaseRequest request) { public RopResponse<StaffSummaryDTO> summaryStaffDuration(SceneMerchantBaseRequest request) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!