| | |
| | | import com.fzzy.api.data.PushProtocol; |
| | | import com.fzzy.api.service.PushService11; |
| | | import com.fzzy.push.impl.ComPushService11; |
| | | import com.fzzy.push.impl.ComPushService15; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Component; |
| | |
| | | private GD2022ApiRemoteService2022 apiRemoteService; |
| | | |
| | | @Autowired |
| | | private ComPushService11 pushService; |
| | | private ComPushService11 pushService11; |
| | | @Autowired |
| | | private ComPushService15 pushService15; |
| | | |
| | | @Override |
| | | public String getProtocol() { |
| | |
| | | public void pushData(ApiParam param) { |
| | | |
| | | //单位信息 |
| | | pushService.pushData1101(apiRemoteService, param); |
| | | pushService11.pushData1101(apiRemoteService, param); |
| | | //库区信息 |
| | | pushService.pushData1102(apiRemoteService, param); |
| | | pushService11.pushData1102(apiRemoteService, param); |
| | | //仓房信息 |
| | | pushService.pushData1103(apiRemoteService, param); |
| | | pushService11.pushData1103(apiRemoteService, param); |
| | | //廒间信息 |
| | | pushService.pushData1104(apiRemoteService, param); |
| | | pushService11.pushData1104(apiRemoteService, param); |
| | | //货位信息 |
| | | pushService.pushData1105(apiRemoteService, param); |
| | | pushService11.pushData1105(apiRemoteService, param); |
| | | //油罐信息 |
| | | pushService.pushData1106(apiRemoteService, param); |
| | | pushService11.pushData1106(apiRemoteService, param); |
| | | //设备信息 |
| | | pushService.pushData1107(apiRemoteService, param); |
| | | pushService11.pushData1107(apiRemoteService, param); |
| | | //药剂信息 |
| | | pushService.pushData1108(apiRemoteService, param); |
| | | pushService11.pushData1108(apiRemoteService, param); |
| | | //库区图仓房点位信息 |
| | | pushService.pushData1110(apiRemoteService, param); |
| | | pushService11.pushData1110(apiRemoteService, param); |
| | | |
| | | //库区图视频监控设备点位数据 |
| | | pushService.pushData1111(apiRemoteService, param); |
| | | pushService11.pushData1111(apiRemoteService, param); |
| | | |
| | | //人员信息 |
| | | pushService.pushData1112(apiRemoteService, param); |
| | | pushService11.pushData1112(apiRemoteService, param); |
| | | //企业信用信息 |
| | | pushService.pushData1113(apiRemoteService, param); |
| | | |
| | | pushService11.pushData1113(apiRemoteService, param); |
| | | //文件信息推送,转移到12大类进行推送 |
| | | } |
| | | |
| | | //财务报表数据推送 |
| | | pushService15.pushData1500(apiRemoteService, param); |
| | | } |
| | | } |