|
@@ -385,11 +385,11 @@ public class FlwProcessServiceImpl extends ServiceImpl<FlwProcessMapper, FlwProc
|
|
|
@Transactional(rollbackFor = Exception.class)
|
|
|
@Override
|
|
|
public boolean cloneById(Long id) {
|
|
|
- String hhMmSs = "Copy" + System.currentTimeMillis();
|
|
|
+ String suffix = "Copy" + System.currentTimeMillis();
|
|
|
FlwProcessDTO dto = this.getDtoById(id);
|
|
|
dto.setProcessId(null);
|
|
|
- dto.setProcessName(dto.getProcessName() + hhMmSs);
|
|
|
- dto.setProcessKey(dto.getProcessKey() + hhMmSs);
|
|
|
+ dto.setProcessName(dto.getProcessName() + suffix);
|
|
|
+ dto.setProcessKey(dto.getProcessKey() + suffix);
|
|
|
dto.setProcessType(dto.getProcessType());
|
|
|
String modelContent = dto.getModelContent();
|
|
|
Map<String, Object> modelContentMap = JacksonUtils.readMap(modelContent);
|