|  |  |  | 
|---|
|  |  |  | predicates.add(predicate2); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | if (null != param.getStart()) { | 
|---|
|  |  |  | Predicate predicate3 = cb.greaterThan(root.<Date>get("qdrq"), ContextUtil.getCurZero(param.getStart())); | 
|---|
|  |  |  | Predicate predicate3 = cb.greaterThan(root.<Date>get("zhgxsj"), ContextUtil.getCurZero(param.getStart())); | 
|---|
|  |  |  | predicates.add(predicate3); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | if (null != param.getEnd()) { | 
|---|
|  |  |  | Predicate predicate4 = cb.lessThan(root.<Date>get("qdrq"), ContextUtil.getNextZero(param.getEnd())); | 
|---|
|  |  |  | Predicate predicate4 = cb.lessThan(root.<Date>get("zhgxsj"), ContextUtil.getNextZero(param.getEnd())); | 
|---|
|  |  |  | predicates.add(predicate4); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | return cb.and(predicates.toArray(new Predicate[0])); | 
|---|
|  |  |  | 
|---|
|  |  |  | ApiRemoteService apiRemoteService = apiPushManager.getApiRemoteService(apiConf.getPushProtocol()); | 
|---|
|  |  |  | if (null == apiRemoteService) return "系统没有当前推送协议配置,执行失败"; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | if (PushProtocol.SB_SH_2023.getCode().equals(apiConf.getPushProtocol())){ | 
|---|
|  |  |  | return pushDataList(items,apiRemoteService,apiConf); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | return pushDataSingle(items,apiRemoteService,apiConf); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|