| | |
| | | String result = ""; |
| | | |
| | | //封装参数 |
| | | ApiParam param = new ApiParam(apiConf, Constant.API_CATEGORY_11, Constant.API_CODE_9109); |
| | | ApiParam param = new ApiParam(apiConf, Constant.API_CATEGORY_90, Constant.API_CODE_9109); |
| | | |
| | | Api9109 d; |
| | | for (Api9109 data : items) { |
| | |
| | | private String pushDataList(List<Api9109> items, ApiRemoteService apiRemoteService, ApiConfs apiConf) { |
| | | |
| | | //封装参数 |
| | | ApiParam param = new ApiParam(apiConf, Constant.API_CATEGORY_11, Constant.API_CODE_9109); |
| | | ApiParam param = new ApiParam(apiConf, Constant.API_CATEGORY_90, Constant.API_CODE_9109); |
| | | |
| | | |
| | | //推送,数据为集合形式 |
| | |
| | | String result = ""; |
| | | |
| | | //封装参数 |
| | | ApiParam param = new ApiParam(apiConf, Constant.API_CATEGORY_11, Constant.API_CODE_9110); |
| | | ApiParam param = new ApiParam(apiConf, Constant.API_CATEGORY_90, Constant.API_CODE_9110); |
| | | |
| | | Api9110 d; |
| | | for (Api9110 data : items) { |
| | |
| | | private String pushDataList(List<Api9110> items, ApiRemoteService apiRemoteService, ApiConfs apiConf) { |
| | | |
| | | //封装参数 |
| | | ApiParam param = new ApiParam(apiConf, Constant.API_CATEGORY_11, Constant.API_CODE_9110); |
| | | ApiParam param = new ApiParam(apiConf, Constant.API_CATEGORY_90, Constant.API_CODE_9110); |
| | | |
| | | |
| | | //推送,数据为集合形式 |
| | |
| | | String result = ""; |
| | | |
| | | //封装参数 |
| | | ApiParam param = new ApiParam(apiConf, Constant.API_CATEGORY_11, Constant.API_CODE_9111); |
| | | ApiParam param = new ApiParam(apiConf, Constant.API_CATEGORY_90, Constant.API_CODE_9111); |
| | | |
| | | Api9111 d; |
| | | for (Api9111 data : items) { |
| | |
| | | private String pushDataList(List<Api9111> items, ApiRemoteService apiRemoteService, ApiConfs apiConf) { |
| | | |
| | | //封装参数 |
| | | ApiParam param = new ApiParam(apiConf, Constant.API_CATEGORY_11, Constant.API_CODE_9111); |
| | | ApiParam param = new ApiParam(apiConf, Constant.API_CATEGORY_90, Constant.API_CODE_9111); |
| | | |
| | | |
| | | //推送,数据为集合形式 |
| | |
| | | String result = ""; |
| | | |
| | | //封装参数 |
| | | ApiParam param = new ApiParam(apiConf, Constant.API_CATEGORY_11, Constant.API_CODE_9112); |
| | | ApiParam param = new ApiParam(apiConf, Constant.API_CATEGORY_90, Constant.API_CODE_9112); |
| | | |
| | | Api9112 d; |
| | | for (Api9112 data : items) { |
| | |
| | | private String pushDataList(List<Api9112> items, ApiRemoteService apiRemoteService, ApiConfs apiConf) { |
| | | |
| | | //封装参数 |
| | | ApiParam param = new ApiParam(apiConf, Constant.API_CATEGORY_11, Constant.API_CODE_9112); |
| | | ApiParam param = new ApiParam(apiConf, Constant.API_CATEGORY_90, Constant.API_CODE_9112); |
| | | |
| | | |
| | | //推送,数据为集合形式 |
| | |
| | | String result = ""; |
| | | |
| | | //封装参数 |
| | | ApiParam param = new ApiParam(apiConf, Constant.API_CATEGORY_11, Constant.API_CODE_9113); |
| | | ApiParam param = new ApiParam(apiConf, Constant.API_CATEGORY_90, Constant.API_CODE_9113); |
| | | |
| | | Api9113 d; |
| | | for (Api9113 data : items) { |
| | |
| | | private String pushDataList(List<Api9113> items, ApiRemoteService apiRemoteService, ApiConfs apiConf) { |
| | | |
| | | //封装参数 |
| | | ApiParam param = new ApiParam(apiConf, Constant.API_CATEGORY_11, Constant.API_CODE_9113); |
| | | ApiParam param = new ApiParam(apiConf, Constant.API_CATEGORY_90, Constant.API_CODE_9113); |
| | | |
| | | |
| | | //推送,数据为集合形式 |
| | |
| | | String result = ""; |
| | | |
| | | //封装参数 |
| | | ApiParam param = new ApiParam(apiConf, Constant.API_CATEGORY_11, Constant.API_CODE_9114); |
| | | ApiParam param = new ApiParam(apiConf, Constant.API_CATEGORY_90, Constant.API_CODE_9114); |
| | | |
| | | Api9114 d; |
| | | for (Api9114 data : items) { |
| | |
| | | private String pushDataList(List<Api9114> items, ApiRemoteService apiRemoteService, ApiConfs apiConf) { |
| | | |
| | | //封装参数 |
| | | ApiParam param = new ApiParam(apiConf, Constant.API_CATEGORY_11, Constant.API_CODE_9114); |
| | | ApiParam param = new ApiParam(apiConf, Constant.API_CATEGORY_90, Constant.API_CODE_9114); |
| | | |
| | | |
| | | //推送,数据为集合形式 |
| | |
| | | String result = ""; |
| | | |
| | | //封装参数 |
| | | ApiParam param = new ApiParam(apiConf, Constant.API_CATEGORY_11, Constant.API_CODE_9115); |
| | | ApiParam param = new ApiParam(apiConf, Constant.API_CATEGORY_90, Constant.API_CODE_9115); |
| | | |
| | | Api9115 d; |
| | | for (Api9115 data : items) { |
| | |
| | | private String pushDataList(List<Api9115> items, ApiRemoteService apiRemoteService, ApiConfs apiConf) { |
| | | |
| | | //封装参数 |
| | | ApiParam param = new ApiParam(apiConf, Constant.API_CATEGORY_11, Constant.API_CODE_9115); |
| | | ApiParam param = new ApiParam(apiConf, Constant.API_CATEGORY_90, Constant.API_CODE_9115); |
| | | |
| | | |
| | | //推送,数据为集合形式 |
| | |
| | | String result = ""; |
| | | |
| | | //封装参数 |
| | | ApiParam param = new ApiParam(apiConf, Constant.API_CATEGORY_11, Constant.API_CODE_9116); |
| | | ApiParam param = new ApiParam(apiConf, Constant.API_CATEGORY_90, Constant.API_CODE_9116); |
| | | |
| | | Api9116 d; |
| | | for (Api9116 data : items) { |
| | |
| | | private String pushDataList(List<Api9116> items, ApiRemoteService apiRemoteService, ApiConfs apiConf) { |
| | | |
| | | //封装参数 |
| | | ApiParam param = new ApiParam(apiConf, Constant.API_CATEGORY_11, Constant.API_CODE_9116); |
| | | ApiParam param = new ApiParam(apiConf, Constant.API_CATEGORY_90, Constant.API_CODE_9116); |
| | | |
| | | |
| | | //推送,数据为集合形式 |
| | |
| | | if (Constant.API_CODE_9108.equals(inteId)) { |
| | | return SH2023Constant.SH_2023_API_CODE_2204; |
| | | } |
| | | //单位信息数据接口 |
| | | if (Constant.API_CODE_9109.equals(inteId)) { |
| | | return SH2023Constant.SH_2023_API_CODE_3101; |
| | | } |
| | | //收纳库信息数据接口 |
| | | if (Constant.API_CODE_9110.equals(inteId)) { |
| | | return SH2023Constant.SH_2023_API_CODE_3102; |
| | | } |
| | | //仓房信息数据接口 |
| | | if (Constant.API_CODE_9111.equals(inteId)) { |
| | | return SH2023Constant.SH_2023_API_CODE_3103; |
| | | } |
| | | //廒间信息数据接口 |
| | | if (Constant.API_CODE_9112.equals(inteId)) { |
| | | return SH2023Constant.SH_2023_API_CODE_3104; |
| | | } |
| | | //货位信息数据接口 |
| | | if (Constant.API_CODE_9113.equals(inteId)) { |
| | | return SH2023Constant.SH_2023_API_CODE_3105; |
| | | } |
| | | //粮食入库信息数据接口 |
| | | if (Constant.API_CODE_9114.equals(inteId)) { |
| | | return SH2023Constant.SH_2023_API_CODE_3106; |
| | | } |
| | | //来粮检验信息数据接口 |
| | | if (Constant.API_CODE_9115.equals(inteId)) { |
| | | return SH2023Constant.SH_2023_API_CODE_3107; |
| | | } |
| | | //粮食收购基础信息数据接口 |
| | | if (Constant.API_CODE_9116.equals(inteId)) { |
| | | return SH2023Constant.SH_2023_API_CODE_3108; |
| | | } |
| | | if (Constant.API_CODE_1501.equals(inteId)) { |
| | | return SH2023Constant.SH_2023_API_CODE_1114; |
| | | } |
| | |
| | | case "2204": |
| | | pushService90.pushData9108(apiRemoteService, param); |
| | | break; |
| | | case "3101": |
| | | pushService90.pushData9109(apiRemoteService, param); |
| | | break; |
| | | case "3102": |
| | | pushService90.pushData9110(apiRemoteService, param); |
| | | break; |
| | | case "3103": |
| | | pushService90.pushData9111(apiRemoteService, param); |
| | | break; |
| | | case "3104": |
| | | pushService90.pushData9112(apiRemoteService, param); |
| | | break; |
| | | case "3105": |
| | | pushService90.pushData9113(apiRemoteService, param); |
| | | break; |
| | | case "3106": |
| | | pushService90.pushData9114(apiRemoteService, param); |
| | | break; |
| | | case "3107": |
| | | pushService90.pushData9115(apiRemoteService, param); |
| | | break; |
| | | case "3108": |
| | | pushService90.pushData9116(apiRemoteService, param); |
| | | break; |
| | | default: |
| | | log.error("-----上海市平台:未匹配到接口编码,不推送-----"); |
| | | break; |
| | |
| | | <dd> |
| | | <a lay-href="com.fzzy.otherview.sh2023.ShApi2204.d">上海-定化水检验</a> |
| | | </dd> |
| | | <dd> |
| | | <a lay-href="com.fzzy.api.view.Api9109.d">上海对农-单位信息</a> |
| | | </dd> |
| | | <dd> |
| | | <a lay-href="com.fzzy.api.view.Api9110.d">上海对农-收纳库信息</a> |
| | | </dd> |
| | | <dd> |
| | | <a lay-href="com.fzzy.api.view.Api9111.d">上海对农-仓房信息</a> |
| | | </dd> |
| | | <dd> |
| | | <a lay-href="com.fzzy.api.view.Api9112.d">上海对农-廒间信息</a> |
| | | </dd> |
| | | <dd> |
| | | <a lay-href="com.fzzy.api.view.Api9113.d">上海对农-货位信息</a> |
| | | </dd> |
| | | <dd> |
| | | <a lay-href="com.fzzy.api.view.Api9114.d">上海对农-粮食入库信息</a> |
| | | </dd> |
| | | <dd> |
| | | <a lay-href="com.fzzy.api.view.Api9115.d">上海对农-来粮检验信息</a> |
| | | </dd> |
| | | <dd> |
| | | <a lay-href="com.fzzy.api.view.Api9116.d">上海对农-粮食收购基础信息</a> |
| | | </dd> |
| | | <dd> |
| | | <a lay-href="com.fzzy.test.ApiTest.d">测试</a> |
| | | </dd> |
| | | </dl> |
| | | </li> |
| | | |