|
|
@@ -358,7 +358,7 @@ public class WorkflowServiceImpl implements WorkflowService { |
|
|
imageUrl = (String) image.get("showValue"); |
|
|
imageUrl = (String) image.get("showValue"); |
|
|
} |
|
|
} |
|
|
String[] imageSplit = imageUrl.split(":"); |
|
|
String[] imageSplit = imageUrl.split(":"); |
|
|
String tagName = imageSplit[1]; |
|
|
|
|
|
|
|
|
String tagName = imageSplit[imageSplit.length - 1]; |
|
|
ImageVersion imageVersion = imageVersionDao.queryByUrl(imageUrl); |
|
|
ImageVersion imageVersion = imageVersionDao.queryByUrl(imageUrl); |
|
|
insertAssetWorkFlow(workflowId, workflowName, Long.valueOf(imageVersion.getImageId()), tagName, Constant.Asset_Type_Image); |
|
|
insertAssetWorkFlow(workflowId, workflowName, Long.valueOf(imageVersion.getImageId()), tagName, Constant.Asset_Type_Image); |
|
|
} catch (Exception e) { |
|
|
} catch (Exception e) { |
|
|
|