remove 移除无用代码
This commit is contained in:
parent
079f90766f
commit
e8f8b41f8b
@ -19,9 +19,9 @@ import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* 串行加签
|
||||
* 附件上传
|
||||
*
|
||||
* @author 附件上传
|
||||
* @author may
|
||||
*/
|
||||
public class AttachmentCmd implements Command<Boolean> {
|
||||
|
||||
|
@ -107,9 +107,7 @@ public class ActModelServiceImpl implements IActModelService {
|
||||
model.setVersion(version);
|
||||
model.setCategory(categoryCode);
|
||||
model.setMetaInfo(description);
|
||||
if (TenantHelper.isEnable()) {
|
||||
model.setTenantId(TenantHelper.getTenantId());
|
||||
}
|
||||
model.setTenantId(TenantHelper.getTenantId());
|
||||
//保存初始化的模型基本信息数据
|
||||
repositoryService.saveModel(model);
|
||||
repositoryService.addModelEditorSource(model.getId(), StrUtil.utf8Bytes(xml));
|
||||
|
@ -77,9 +77,7 @@ public class WorkflowUtils {
|
||||
task.setTaskDefinitionKey(currentTask.getTaskDefinitionKey());
|
||||
task.setPriority(currentTask.getPriority());
|
||||
task.setCreateTime(new Date());
|
||||
if (TenantHelper.isEnable()) {
|
||||
task.setTenantId(TenantHelper.getTenantId());
|
||||
}
|
||||
task.setTenantId(TenantHelper.getTenantId());
|
||||
PROCESS_ENGINE.getTaskService().saveTask(task);
|
||||
}
|
||||
if (ObjectUtil.isNotNull(task)) {
|
||||
@ -119,9 +117,7 @@ public class WorkflowUtils {
|
||||
actHiTaskinst.setProcDefId(processDefinitionId);
|
||||
actHiTaskinst.setProcInstId(processInstanceId);
|
||||
actHiTaskinst.setScopeType(TaskStatusEnum.COPY.getStatus());
|
||||
if (TenantHelper.isEnable()) {
|
||||
actHiTaskinst.setTenantId(TenantHelper.getTenantId());
|
||||
}
|
||||
actHiTaskinst.setTenantId(TenantHelper.getTenantId());
|
||||
LambdaUpdateWrapper<ActHiTaskinst> updateWrapper = new LambdaUpdateWrapper<>();
|
||||
updateWrapper.in(ActHiTaskinst::getId, taskIds);
|
||||
ACT_HI_TASKINST_MAPPER.update(actHiTaskinst, updateWrapper);
|
||||
|
Loading…
x
Reference in New Issue
Block a user