Skip to content

Commit

Permalink
remove imported task suffix
Browse files Browse the repository at this point in the history
  • Loading branch information
zhuxt2015 committed Jul 26, 2022
1 parent b7aec0d commit 19c9e31
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1232,7 +1232,7 @@ protected boolean checkAndImport(User loginUser, long projectCode, Map<String, O
List<TaskDefinitionLog> taskDefinitionLogList = new ArrayList<>();
for (TaskDefinition taskDefinition : taskDefinitionList) {
TaskDefinitionLog taskDefinitionLog = new TaskDefinitionLog(taskDefinition);
taskDefinitionLog.setName(taskDefinitionLog.getName() + "_import_" + DateUtils.getCurrentTimeStamp());
taskDefinitionLog.setName(taskDefinitionLog.getName());
taskDefinitionLog.setProjectCode(projectCode);
taskDefinitionLog.setUserId(loginUser.getId());
taskDefinitionLog.setVersion(Constants.VERSION_FIRST);
Expand Down

0 comments on commit 19c9e31

Please sign in to comment.