fix bug
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user