Commit 2dd2854f by 谢海旭

新增按手机号去重查询驻店接口

1 parent dd5e479c
......@@ -131,6 +131,26 @@ public class StrategyInfoController {
}
}
@ApiOperation("查询驻店员工(已按手机号去重)")
@ServiceMethod(method = "dj.api.strategy.staff.page.distinct.phone")
public RopResponse<RpcPagination<StaffInfoDTO>> listStaffWithPageDistinctPhone(StaffInfoSearchRequest request) {
try {
RpcPagination<StaffInfoDTO> pagination = CommonUtil.getRpcPagination(StaffInfoDTO.class);
RpcResponse<RpcPagination<StaffInfoDTO>> response = staffInfoRemote.listStaffWithPageDistinctPhone(pagination);
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.staff.page.distinct.phone rpcServiceException:{}", e.getMessage());
return RopResponse.error(e);
} catch (Exception e) {
log.error("=====dj.api.strategy.staff.page.distinct.phone exception:{}", e.getMessage(), e);
return RopResponse.error(e.getMessage());
}
}
@ApiOperation("查询门店展业时间线")
@ServiceMethod(method = "dj.api.strategy.merchant.timeline")
public RopResponse<MerchantBusinessOverview> listStrategyMerchantTimeline(MerchantBusinessRequest request) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!