|
@@ -65,6 +65,19 @@ public class MigrationLogServiceImpl implements IMigrationLogService {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ @Override
|
|
|
+ public AdmResponse deleteMigrationLog(InstanceUrlParam context, AdmQueryCriteria request) {
|
|
|
+ QueryCriteria queryCriteria = AdmQueryCriteriaHelper.toDmpCriteria(request);
|
|
|
+ String groupCode = context.getGroupCode();
|
|
|
+ String projectId = context.getProjectId();
|
|
|
+ CommonResult result = DigitalMigrateLogFacade.deleteAllLog(groupCode, projectId, context.getAppId(), context.getUserId(),queryCriteria);
|
|
|
+ if(result.getMessage().equals(DmpResult.SUCCESS)){
|
|
|
+ return AdmResponse.success();
|
|
|
+ }else{
|
|
|
+ return AdmResponse.failure(result.getMessage());
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
|
|
|
/***
|
|
|
* Description: 查询所有关系类型
|