| | |
| | | |
| | | import com.fzzy.api.data.ApiParam; |
| | | import com.fzzy.api.data.PushProtocol; |
| | | import com.fzzy.api.service.PushService11; |
| | | import com.fzzy.push.impl.ComPushService11; |
| | | import com.fzzy.api.service.PushService14; |
| | | import com.fzzy.push.impl.ComPushService14; |
| | | import com.fzzy.push.impl.ComPushService90; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Component; |
| | |
| | | */ |
| | | @Slf4j |
| | | @Component |
| | | public class SH2023PushService14 implements PushService11 { |
| | | public class SH2023PushService14 implements PushService14 { |
| | | |
| | | |
| | | @Autowired |
| | | private ComPushService11 pushService; |
| | | private SH2023ApiRemoteService apiRemoteService; |
| | | @Autowired |
| | | private ComPushService14 pushService14; |
| | | @Autowired |
| | | private ComPushService90 pushService99; |
| | | |
| | | @Override |
| | | public String getProtocol() { |
| | |
| | | |
| | | @Override |
| | | public void pushData(ApiParam param) { |
| | | log.info("------->>>>基础信息 接口模块上报开始"); |
| | | log.info("------->>>>行政管理 接口模块上报开始"); |
| | | |
| | | //推送单位信息 |
| | | pushService14.pushData1401(apiRemoteService, param); |
| | | |
| | | pushService14.pushData1402(apiRemoteService, param); |
| | | //轮换计划 |
| | | pushService14.pushData1403(apiRemoteService, param); |
| | | //轮换计划明细 |
| | | pushService14.pushData1404(apiRemoteService, param); |
| | | |
| | | log.info("------->>>>基础信息 接口模块上报结束"); |
| | | pushService14.pushData1405(apiRemoteService, param); |
| | | |
| | | //其他接口 |
| | | pushService99.pushData9107(apiRemoteService, param); |
| | | pushService99.pushData9108(apiRemoteService, param); |
| | | |
| | | //上海对农接口 |
| | | pushService99.pushData9109(apiRemoteService, param); |
| | | pushService99.pushData9110(apiRemoteService, param); |
| | | pushService99.pushData9111(apiRemoteService, param); |
| | | pushService99.pushData9112(apiRemoteService, param); |
| | | pushService99.pushData9113(apiRemoteService, param); |
| | | pushService99.pushData9114(apiRemoteService, param); |
| | | pushService99.pushData9115(apiRemoteService, param); |
| | | pushService99.pushData9116(apiRemoteService, param); |
| | | |
| | | log.info("------->>>>行政管理 接口模块上报结束"); |
| | | } |
| | | |
| | | } |