|
@@ -11,16 +11,19 @@ import com.platform.common.exception.BusinessException;
|
|
|
import com.platform.common.model.UserInfo;
|
|
|
import com.platform.common.util.IdGeneratorUtils;
|
|
|
import com.platform.common.util.JsonUtils;
|
|
|
+import com.platform.common.util.RedisUtils;
|
|
|
import com.platform.common.util.SecurityUtils;
|
|
|
import com.platform.dao.dto.activiti.SbAllocateFormActiviti;
|
|
|
import com.platform.dao.entity.activiti.ActivitiUserModel;
|
|
|
import com.platform.dao.entity.activiti.LocalAuditRecord;
|
|
|
import com.platform.dao.entity.customize.CustomFieldTemplateData;
|
|
|
+import com.platform.dao.entity.store.OutStoreForm;
|
|
|
import com.platform.dao.entity.upms.SysUser;
|
|
|
import com.platform.dao.enums.ActivitiFormStatusEnum;
|
|
|
import com.platform.dao.mapper.activiti.LocalAuditRecordMapper;
|
|
|
import com.platform.dao.mapper.customize.CustomFieldTemplateDataMapper;
|
|
|
import com.platform.dao.mapper.sb.SbInfoMapper;
|
|
|
+import com.platform.dao.mapper.store.OutStoreFormMapper;
|
|
|
import com.platform.service.activiti.ActivitiAssignStrategy;
|
|
|
import com.platform.service.activiti.ActivitiUserModelService;
|
|
|
import com.platform.service.upms.SysUserService;
|
|
@@ -58,6 +61,8 @@ public abstract class BaseFormCheckServiceAbstract implements BaseFormCheckServi
|
|
|
private LocalAuditRecordMapper localAuditRecordMapper;
|
|
|
@Autowired
|
|
|
private ActivitiUserModelService activitiUserModelService;
|
|
|
+ @Autowired
|
|
|
+ private OutStoreFormMapper outStoreFormMapper;
|
|
|
/**
|
|
|
* 通过spring获取所有策略类
|
|
|
*/
|
|
@@ -182,6 +187,12 @@ public abstract class BaseFormCheckServiceAbstract implements BaseFormCheckServi
|
|
|
Task nextTask = taskService.createTaskQuery().processInstanceId(actAuditRequest.getProcessInstanceId()).orderByTaskCreateTime().desc().singleResult();
|
|
|
insertNecessaryValue(maps, actAuditRequest.getId());
|
|
|
modifyTaskAssign(model.getId(), maps, nextTask, list);
|
|
|
+ OutStoreForm form = outStoreFormMapper.selectByPrimaryKey(actAuditRequest.getId());
|
|
|
+ if (form!=null){
|
|
|
+ RedisUtils.set("outStoreForm",form,30);
|
|
|
+ sendMessage(actAuditRequest);
|
|
|
+ }
|
|
|
+
|
|
|
} else {
|
|
|
doFinish(actAuditRequest);
|
|
|
}
|