|
|
|
|
@ -1,7 +1,6 @@ |
|
|
|
|
package org.springblade.plugin.workbench.service.impl; |
|
|
|
|
|
|
|
|
|
import com.alibaba.fastjson.JSON; |
|
|
|
|
import com.alibaba.fastjson.JSONObject; |
|
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper; |
|
|
|
|
import com.baomidou.mybatisplus.core.toolkit.Wrappers; |
|
|
|
|
import lombok.AllArgsConstructor; |
|
|
|
|
@ -10,9 +9,9 @@ import org.apache.commons.lang3.StringUtils; |
|
|
|
|
import org.flowable.engine.HistoryService; |
|
|
|
|
import org.flowable.task.api.history.HistoricTaskInstance; |
|
|
|
|
import org.flowable.variable.api.history.HistoricVariableInstance; |
|
|
|
|
import org.springblade.common.constant.BusinessConstant; |
|
|
|
|
import org.springblade.core.log.model.LogError; |
|
|
|
|
import org.springblade.core.mp.base.BaseServiceImpl; |
|
|
|
|
import org.springblade.core.secure.utils.AuthUtil; |
|
|
|
|
import org.springblade.core.tool.api.R; |
|
|
|
|
import org.springblade.core.tool.utils.DateUtil; |
|
|
|
|
import org.springblade.core.tool.utils.Func; |
|
|
|
|
@ -20,10 +19,6 @@ import org.springblade.plugin.operation.database.entity.ProjectDatabase; |
|
|
|
|
import org.springblade.plugin.operation.database.entity.ModuleDatatable; |
|
|
|
|
import org.springblade.plugin.operation.database.service.IProjectDatabaseService; |
|
|
|
|
import org.springblade.plugin.operation.database.service.IModuleDatatableService; |
|
|
|
|
import org.springblade.plugin.operation.system.entity.ModuleInfo; |
|
|
|
|
import org.springblade.plugin.operation.system.entity.ProjectInfo; |
|
|
|
|
import org.springblade.plugin.operation.system.service.IModuleInfoService; |
|
|
|
|
import org.springblade.plugin.operation.system.service.IProjectInfoService; |
|
|
|
|
import org.springblade.plugin.operation.task.service.ITaskInfoService; |
|
|
|
|
import org.springblade.plugin.operation.webservice.WebServiceUtils; |
|
|
|
|
import org.springblade.plugin.operation.workorder.entity.InsertTodealByPollCode; |
|
|
|
|
@ -591,8 +586,7 @@ public class AutoStartModelServiceImpl extends BaseServiceImpl<BladeManMadeMappe |
|
|
|
|
code.setSendpersonGuid(startUser.getGuid()); |
|
|
|
|
code.setFromExchangeCode(startUser.getMobile()); |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
code.setUrl("http://10.133.191.105/#/workflow/process/effect?id=" + workOrder.getId()); |
|
|
|
|
code.setUrl(BusinessConstant.WEB_SERVER_ADDR + "#/workflow/process/effect?id=" + workOrder.getId()); |
|
|
|
|
System.out.println("workUrl===" + code.getUrl()); |
|
|
|
|
WebServiceUtils.InsertTodealByPollCode(WebServiceUtils.getData(code)); |
|
|
|
|
} |
|
|
|
|
|