|  |  |  | 
|---|
|  |  |  | List<Predicate> predicates = new ArrayList<>(); //所有的断言 | 
|---|
|  |  |  |  | 
|---|
|  |  |  | if (StringUtils.isNotBlank(param.getKqdm())) { | 
|---|
|  |  |  | Predicate predicate1 = cb.equal(root.get("kqdm"), param.getKqdm()); | 
|---|
|  |  |  | Predicate predicate1 = cb.equal(root.get("hwdm"), param.getKqdm()); | 
|---|
|  |  |  | predicates.add(predicate1); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | ApiRemoteService apiService = apiPushManager.getApiRemoteService(apiConf.getPushProtocol()); | 
|---|
|  |  |  | if (null == apiService) return "系统没有当前推送协议配置,执行失败"; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | if (PushProtocol.SB_SH_2023.getCode().equals(apiConf.getPushProtocol())) { | 
|---|
|  |  |  | return pushDataList(items, apiService, apiConf); | 
|---|
|  |  |  | } | 
|---|
|  |  |  | return pushDataSingle(items, apiService, apiConf); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|