|
|
@ -48,6 +48,7 @@ import com.yxt.anrui.portal.api.flow.app.FlowTaskDoQuery; |
|
|
|
import com.yxt.anrui.portal.api.flow.app.FlowTaskDoVo; |
|
|
|
import com.yxt.anrui.portal.api.flow.app.FlowTaskFinishVo; |
|
|
|
import com.yxt.anrui.portal.biz.appsubsetversion.AppSubsetVersionService; |
|
|
|
import com.yxt.common.base.config.component.FileUploadComponent; |
|
|
|
import com.yxt.common.base.service.MybatisBaseService; |
|
|
|
import com.yxt.common.base.utils.ConstantUtils; |
|
|
|
import com.yxt.common.base.utils.StringUtils; |
|
|
@ -88,6 +89,8 @@ public class FlowableService extends MybatisBaseService<FlowableMapper, Flowable |
|
|
|
private SysProUrlFeign sysProUrlFeign; |
|
|
|
@Autowired |
|
|
|
private AppSubsetVersionService appSubsetVersionService; |
|
|
|
@Autowired |
|
|
|
private FileUploadComponent fileUploadComponent; |
|
|
|
|
|
|
|
public ResultBean businessStart(@ApiParam(value = "流程定义id") @PathVariable(value = "procDefId") String procDefId, |
|
|
|
@ApiParam(value = "用户sid") @PathVariable(value = "userSid") String userSid, |
|
|
@ -546,7 +549,8 @@ public class FlowableService extends MybatisBaseService<FlowableMapper, Flowable |
|
|
|
if (appSubsetVersions != null) { |
|
|
|
List<Integer> integers = appVer.get(key); |
|
|
|
for (int i = 0; i < integers.size(); i++) { |
|
|
|
voList.get(i).getAppVariables().setPath(appSubsetVersions.getUpdateUrl()); |
|
|
|
String path = fileUploadComponent.getUrlPrefix(); |
|
|
|
voList.get(i).getAppVariables().setPath(path+appSubsetVersions.getUpdateUrl()); |
|
|
|
voList.get(i).getAppVariables().setModuleVersion(appSubsetVersions.getVersionCode()); |
|
|
|
voList.get(i).getAppVariables().setModulePluginName(appSubsetVersions.getModulePluginName()); |
|
|
|
} |
|
|
@ -629,7 +633,8 @@ public class FlowableService extends MybatisBaseService<FlowableMapper, Flowable |
|
|
|
if (appSubsetVersions != null) { |
|
|
|
List<Integer> integers = appVer.get(key); |
|
|
|
for (int i = 0; i < integers.size(); i++) { |
|
|
|
voList.get(i).getAppVariables().setPath(appSubsetVersions.getUpdateUrl()); |
|
|
|
String path = fileUploadComponent.getUrlPrefix(); |
|
|
|
voList.get(i).getAppVariables().setPath(path+appSubsetVersions.getUpdateUrl()); |
|
|
|
voList.get(i).getAppVariables().setModuleVersion(appSubsetVersions.getVersionCode()); |
|
|
|
voList.get(i).getAppVariables().setModulePluginName(appSubsetVersions.getModulePluginName()); |
|
|
|
} |
|
|
|