| | |
| | | import com.fzzy.api.data.PushProtocol; |
| | | import com.fzzy.api.service.PushService13; |
| | | import com.fzzy.push.impl.ComPushService13; |
| | | import com.fzzy.push.impl.ComPushService90; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Component; |
| | |
| | | private GD2022ApiRemoteService2022 apiRemoteService; |
| | | |
| | | @Autowired |
| | | private ComPushService13 pushService; |
| | | |
| | | private ComPushService13 pushService13; |
| | | @Autowired |
| | | private ComPushService90 pushService90; |
| | | |
| | | @Override |
| | | public String getProtocol() { |
| | |
| | | |
| | | @Override |
| | | public void pushData(ApiParam param) { |
| | | pushService.pushData1301(apiRemoteService, param); |
| | | pushService13.pushData1301(apiRemoteService, param); |
| | | //粮情 |
| | | pushService.pushData1302(apiRemoteService, param); |
| | | |
| | | pushService13.pushData1302(apiRemoteService, param); |
| | | //气体 |
| | | pushService.pushData1304(apiRemoteService, param); |
| | | |
| | | pushService13.pushData1304(apiRemoteService, param); |
| | | //虫害 |
| | | pushService.pushData1303(apiRemoteService, param); |
| | | |
| | | pushService13.pushData1303(apiRemoteService, param); |
| | | //通风 |
| | | pushService.pushData1305(apiRemoteService, param); |
| | | pushService13.pushData1305(apiRemoteService, param); |
| | | |
| | | //熏蒸 |
| | | pushService.pushData1306(apiRemoteService, param); |
| | | //熏蒸 |
| | | pushService.pushData1307(apiRemoteService, param); |
| | | pushService13.pushData1306(apiRemoteService, param); |
| | | |
| | | pushService.pushData1308(apiRemoteService, param); |
| | | pushService13.pushData1307(apiRemoteService, param); |
| | | |
| | | pushService.pushData1309(apiRemoteService, param); |
| | | pushService13.pushData1308(apiRemoteService, param); |
| | | |
| | | //质检 |
| | | pushService.pushData1310(apiRemoteService, param); |
| | | pushService13.pushData1309(apiRemoteService, param); |
| | | |
| | | pushService13.pushData1310(apiRemoteService, param); |
| | | |
| | | //熏蒸备案 |
| | | pushService90.pushData9201(apiRemoteService, param); |
| | | } |
| | | |
| | | } |