| | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * 合同信息 |
| | | * 出入库记录 |
| | | * |
| | | * @Author:YAN |
| | | */ |
| | |
| | | */ |
| | | @DataProvider |
| | | public List<WhjlApi1212> listData() { |
| | | List<ApiInfoData> result = apiInfoDataRep.getDataByInteId(WhjlConstant.API_CODE_1214); |
| | | List<ApiInfoData> result = apiInfoDataRep.getDataByInteId(WhjlConstant.API_CODE_1212); |
| | | if (null == result || result.isEmpty()) { |
| | | return null; |
| | | } |
| | |
| | | infoData.setId(data.getBizId()); |
| | | infoData.setKqdm(data.getKqdm()); |
| | | infoData.setInteType(WhjlConstant.API_CATEGORY_12); |
| | | infoData.setInteId(WhjlConstant.API_CODE_1214); |
| | | infoData.setInteId(WhjlConstant.API_CODE_1212); |
| | | infoData.setUpdateTime(new Date()); |
| | | infoData.setDataId(data.getBizId()); |
| | | infoData.setData(JSON.toJSONString(data)); |
| | |
| | | } |
| | | |
| | | //封装参数 |
| | | ApiParam param = new ApiParam(apiConf, WhjlConstant.API_CATEGORY_12, WhjlConstant.API_CODE_1214); |
| | | ApiParam param = new ApiParam(apiConf, WhjlConstant.API_CATEGORY_12, WhjlConstant.API_CODE_1212); |
| | | |
| | | //获取实现接口 |
| | | ApiRemoteService apiService = apiPushManager.getApiRemoteService(param.getPushProtocol()); |
| | |
| | | infoData.setId(data.getBizId()); |
| | | infoData.setKqdm(data.getKqdm()); |
| | | infoData.setInteType(WhjlConstant.API_CATEGORY_12); |
| | | infoData.setInteId(WhjlConstant.API_CODE_1214); |
| | | infoData.setInteId(WhjlConstant.API_CODE_1212); |
| | | infoData.setUpdateTime(new Date()); |
| | | infoData.setDataId(data.getBizId()); |
| | | |