|
@@ -18,7 +18,9 @@ import com.fjhx.common.enums.FlowStatusEnum1;
|
|
|
import com.fjhx.common.utils.Assert;
|
|
|
import com.fjhx.file.utils.ObsFileUtil;
|
|
|
import com.fjhx.flow.core.FlowDelegate;
|
|
|
+import com.fjhx.flow.core.FlowThreadLocalUtil;
|
|
|
import com.fjhx.flow.enums.FlowStatusEnum;
|
|
|
+import com.fjhx.flow.enums.HandleTypeEnum;
|
|
|
import com.ruoyi.common.core.domain.BasePo;
|
|
|
import com.ruoyi.common.exception.ServiceException;
|
|
|
import com.ruoyi.common.utils.SecurityUtils;
|
|
@@ -130,9 +132,7 @@ public class AccountRequestFundsFlow extends FlowDelegate {
|
|
|
public void defaultMethod(Long flowId, Long businessId, FlowStatusEnum flowStatusEnum, JSONObject submitData) {
|
|
|
//重新发起
|
|
|
if (FlowStatusEnum.READY_START.equals(flowStatusEnum)) {
|
|
|
- // 获取提交数据
|
|
|
- AccountRequestFundsDto accountRequestFundsDto = submitData.toJavaObject(AccountRequestFundsDto.class);
|
|
|
- commStart(accountRequestFundsDto, 1);
|
|
|
+ reStart();
|
|
|
}
|
|
|
//驳回
|
|
|
if (FlowStatusEnum.REJECT.equals(flowStatusEnum)) {
|
|
@@ -219,4 +219,14 @@ public class AccountRequestFundsFlow extends FlowDelegate {
|
|
|
return accountRequestFundsDto;
|
|
|
}
|
|
|
|
|
|
+ /**
|
|
|
+ * 重新发起
|
|
|
+ */
|
|
|
+ public void reStart() {
|
|
|
+ JSONObject submitData = FlowThreadLocalUtil.getCurrentData();
|
|
|
+ // 获取提交数据
|
|
|
+ AccountRequestFundsDto accountRequestFundsDto = submitData.toJavaObject(AccountRequestFundsDto.class);
|
|
|
+ commStart(accountRequestFundsDto, 1);
|
|
|
+ }
|
|
|
+
|
|
|
}
|