|  |  |  | 
|---|
|  |  |  | import com.bstek.dorado.annotation.DataResolver; | 
|---|
|  |  |  | import com.bstek.dorado.annotation.Expose; | 
|---|
|  |  |  | import com.fzzy.api.data.ApiParam; | 
|---|
|  |  |  | import com.fzzy.api.data.PushProtocol; | 
|---|
|  |  |  | import com.fzzy.api.entity.ApiConfs; | 
|---|
|  |  |  | import com.fzzy.api.service.ApiCommonService; | 
|---|
|  |  |  | import com.fzzy.api.service.ApiPushManager; | 
|---|
|  |  |  | import com.fzzy.api.service.ApiRemoteService; | 
|---|
|  |  |  | import com.fzzy.push.gb2022.GBApiRemoteService; | 
|---|
|  |  |  | import com.fzzy.api.Constant; | 
|---|
|  |  |  | import com.fzzy.api.dto.ResponseDto; | 
|---|
|  |  |  | import com.fzzy.api.entity.Api1503; | 
|---|
|  |  |  | import com.fzzy.api.entity.ApiParent; | 
|---|
|  |  |  | import com.fzzy.api.view.repository.Api1503Rep; | 
|---|
|  |  |  | import org.springframework.beans.BeanUtils; | 
|---|
|  |  |  | import org.springframework.beans.factory.annotation.Autowired; | 
|---|
|  |  |  | import org.springframework.stereotype.Component; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import java.util.List; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | 
|---|
|  |  |  | //获取实现接口 | 
|---|
|  |  |  | 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); | 
|---|
|  |  |  | } | 
|---|
|  |  |  |  | 
|---|