Commit e57614e8 by lanmw

update

parent ccb63035
......@@ -14,8 +14,8 @@
</modules>
<properties>
<maven.compiler.source>11</maven.compiler.source>
<maven.compiler.target>11</maven.compiler.target>
<maven.compiler.source>8</maven.compiler.source>
<maven.compiler.target>8</maven.compiler.target>
<auth.version>3.0.12-release</auth.version>
<harvester.version>2.0.2-release</harvester.version>
......
......@@ -77,7 +77,6 @@
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>8.0.21</version>
</dependency>
<dependency>
......
......@@ -52,7 +52,7 @@ public class PortalApprovalProcessServiceImpl implements PortalApprovalProcessSe
String url = baseUrl + PublicConstant.APPROVAL_PROCESS_URL;
// 资产包唯一ID
String propertyReceiptsId = UUID.randomUUID().toString();
Result<ApprovalProcessVO> result = RestTemplateUtils.postJsonPO(url, param.toProcessPortal(propertyReceiptsId), poAuth, new ParameterizedTypeReference<>() {
Result<ApprovalProcessVO> result = RestTemplateUtils.postJsonPO(url, param.toProcessPortal(propertyReceiptsId), poAuth, new ParameterizedTypeReference< Result<ApprovalProcessVO>>() {
});
ApprovalProcessVO approvalProcessVO = result.getData();
......
......@@ -54,8 +54,10 @@ public class ProcessManageServiceImpl implements ProcessManageService {
// TODO 用户上下文获取用户ID
interruptPortalDTO.setFApproversUser("USER");
interruptPortalDTO.setFApproversDesc("数据资产平台发起废弃");
Result<Object> result = RestTemplateUtils.postJsonPO(url, interruptPortalDTO, poAuth, new ParameterizedTypeReference<>() {
Result<Object> result = RestTemplateUtils.postJsonPO(url, interruptPortalDTO, poAuth, new ParameterizedTypeReference<Result<Object>>() {
});
// Result<Object> result = RestTemplateUtils.postJsonPO(url, interruptPortalDTO, poAuth, new ParameterizedTypeReference<>() {
// });
// TODO 更新状态,区分流程中止回调的更新逻辑
Specification<ProcessPropertyAbstract> specification = Specifications.<ProcessPropertyAbstract>and()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment