This commit is contained in:
2026-01-13 18:08:21 +08:00
parent f6ee450b44
commit 82c890fd75

View File

@@ -25,6 +25,7 @@ public class U8CProjQueryService {
try { try {
Map<String,String> params = new HashMap<>(); Map<String,String> params = new HashMap<>();
params.put("jobcode", projCode); params.put("jobcode", projCode);
params.put("corp","10");
String url = zqcU8cConfigProvider.getBizConfigByKey(U8cConstants.u8cUrl) + "/u8cloud/api/uapbd/bdjobmngfil/query"; String url = zqcU8cConfigProvider.getBizConfigByKey(U8cConstants.u8cUrl) + "/u8cloud/api/uapbd/bdjobmngfil/query";
String paramStr = JsonUtils.toJSONString(params); String paramStr = JsonUtils.toJSONString(params);
log.info("查询项目信息的参数为: " + paramStr); log.info("查询项目信息的参数为: " + paramStr);
@@ -38,7 +39,7 @@ public class U8CProjQueryService {
Integer count = Integer.parseInt((String)dataMap.get("allcount")); Integer count = Integer.parseInt((String)dataMap.get("allcount"));
return count > 0; return count > 0;
}catch (Exception e) { }catch (Exception e) {
log.error(e.getMessage()); log.error(e.getMessage(),e);
return false; return false;
} }
} }