1.修复第三方服务接口连通性测试失败未返回错误信息问题

zhairh
x_z 2 years ago
parent a889fb756b
commit 7f8ce8be8c

@ -133,6 +133,10 @@ public class ErpBasicClient {
String response = httpOkClient.uCloudPost(basicThirdSysEntity.getThridUrl() + "/udiwms/erp/testThirdSys", "{}"); String response = httpOkClient.uCloudPost(basicThirdSysEntity.getThridUrl() + "/udiwms/erp/testThirdSys", "{}");
log.info(response); log.info(response);
try { try {
if (StrUtil.isBlank(response)) {
log.info("测试第三方服务接口连通性失败");
return ResultVOUtils.error(500, "连接失败");
}
return JSONObject.parseObject(response, BaseResponse.class); return JSONObject.parseObject(response, BaseResponse.class);
} catch (Exception e) { } catch (Exception e) {
log.info("测试第三方服务接口连通性失败"); log.info("测试第三方服务接口连通性失败");

@ -93,6 +93,6 @@ VALUES
-- 盘点单据单号标签打印 -- 盘点单据单号标签打印
REPLACE INTO `udiwms`.`system_pdf_module` ( `id`, `name`, `param`, `fieldExplain`, `remark`, `templateId`, `create_time`, `update_time`, `templateDlUrl`, `templateType`, `remark1`, `remark2`, `remark3` ) REPLACE INTO system_pdf_module ( `id`, `name`, `param`, `fieldExplain`, `remark`, `templateId`, `create_time`, `update_time`, `templateDlUrl`, `templateType`, `remark1`, `remark2`, `remark3` )
VALUES VALUES
(6, '单据管理-盘点单据管理-标签打印', '', ' orderId 盘点单号', NULL, 16, '2021-08-10 15:22:24', '2022-06-27 15:26:46', 'D://1s/udiwms/pdftemplate/inv_code_demo.jrxml', 0, NULL, NULL, NULL ); (6, '单据管理-盘点单据管理-标签打印', '', ' orderId 盘点单号', NULL, 16, '2021-08-10 15:22:24', '2022-06-27 15:26:46', 'D://1s/udiwms/pdftemplate/inv_code_demo.jrxml', 0, NULL, NULL, NULL );
Loading…
Cancel
Save