| | |
| | | |
| | | 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.PushService13; |
| | | import com.fzzy.push.impl.ComPushService13; |
| | | import com.fzzy.push.impl.ComPushService99; |
| | | import lombok.extern.slf4j.Slf4j; |
| | | import org.springframework.beans.factory.annotation.Autowired; |
| | | import org.springframework.stereotype.Component; |
| | |
| | | */ |
| | | @Slf4j |
| | | @Component |
| | | public class SH2023PushService13 implements PushService11 { |
| | | public class SH2023PushService13 implements PushService13 { |
| | | |
| | | |
| | | @Autowired |
| | | private ComPushService11 pushService; |
| | | private SH2023ApiRemoteService apiRemoteService; |
| | | @Autowired |
| | | private ComPushService13 pushService13; |
| | | @Autowired |
| | | private ComPushService99 pushService99; |
| | | |
| | | |
| | | @Override |
| | | public String getProtocol() { |
| | |
| | | |
| | | @Override |
| | | public void pushData(ApiParam param) { |
| | | log.info("------->>>>基础信息 接口模块上报开始"); |
| | | log.info("------->>>>粮库管理 接口模块上报开始"); |
| | | |
| | | //推送单位信息 |
| | | pushService13.pushData1301(apiRemoteService, param); |
| | | //粮情 |
| | | pushService13.pushData1302(apiRemoteService, param); |
| | | |
| | | //气体 |
| | | pushService13.pushData1304(apiRemoteService, param); |
| | | |
| | | log.info("------->>>>基础信息 接口模块上报结束"); |
| | | //虫害 |
| | | pushService13.pushData1303(apiRemoteService, param); |
| | | |
| | | //通风 |
| | | pushService13.pushData1305(apiRemoteService, param); |
| | | |
| | | //熏蒸 |
| | | pushService13.pushData1306(apiRemoteService, param); |
| | | //熏蒸 |
| | | pushService13.pushData1307(apiRemoteService, param); |
| | | |
| | | pushService13.pushData1308(apiRemoteService, param); |
| | | |
| | | pushService13.pushData1309(apiRemoteService, param); |
| | | |
| | | //质检 |
| | | pushService13.pushData1310(apiRemoteService, param); |
| | | |
| | | pushService99.pushData1311(apiRemoteService, param); |
| | | pushService99.pushData2103(apiRemoteService, param); |
| | | |
| | | log.info("------->>>>粮库管理 接口模块上报结束"); |
| | | } |
| | | |
| | | } |