Browse Source

移动端待办、已办查询版本修改

zhanglei
dimengzhe 3 years ago
parent
commit
0dbd07678e
  1. 9
      anrui-portal/anrui-portal-biz/src/main/java/com/yxt/anrui/portal/biz/flow/FlowableService.java

9
anrui-portal/anrui-portal-biz/src/main/java/com/yxt/anrui/portal/biz/flow/FlowableService.java

@ -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());
}

Loading…
Cancel
Save