Просмотр исходного кода

完善审批流

release_toaliyun_real
luozukai 7 лет назад
Родитель
Сommit
b57da920d7
1 измененных файлов: 3 добавлений и 1 удалений
  1. +3
    -1
      mallinkService/src/main/java/com/iformall/service/impl/WxFlowServiceImpl.java

+ 3
- 1
mallinkService/src/main/java/com/iformall/service/impl/WxFlowServiceImpl.java Просмотреть файл

@@ -1,6 +1,7 @@
package com.iformall.service.impl;

import com.github.pagehelper.PageInfo;
import com.iformall.common.Result;
import com.iformall.common.ResultData;
import com.iformall.domain.po.MallUserInfo;
import com.iformall.domain.po.WxFlowRecord;
@@ -10,6 +11,7 @@ import com.iformall.enums.EnumFlowKey;
import com.iformall.enums.EnumFlowRecordStatus;
import com.iformall.enums.EnumMsgModelType;
import com.iformall.enums.EnumRentContractAppStatus;
import com.iformall.exception.MallinkException;
import com.iformall.service.*;
import org.apache.commons.collections.CollectionUtils;
import org.apache.commons.collections.map.HashedMap;
@@ -179,7 +181,7 @@ public class WxFlowServiceImpl implements WxFlowService {
String remark = params.get("remark");
Task task = taskService.createTaskQuery().taskId(taskId).singleResult();
if (task == null) {
throw new RuntimeException("流程不存在");
throw new MallinkException(Result.ERROR, "流程不存在");
}
Map<String,Object> mapInfo = taskService.getVariables(task.getId());
Long businessId = (Long)mapInfo.get("businessId");


Загрузка…
Отмена
Сохранить