|
|
@ -262,7 +262,12 @@ public class OaMendApplyService extends MybatisBaseService<OaMendApplyMapper, Oa |
|
|
|
return oaFormService.reject(dto); |
|
|
|
} |
|
|
|
|
|
|
|
public ResultBean<List<NodeVo>> getPreviousNodesForReject(NodeQuery query) { |
|
|
|
/** |
|
|
|
* 提交时获取下一环节 |
|
|
|
* @param query |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
public ResultBean<List<NodeVo>> getNextNodesForSubmit(NodeQuery query) { |
|
|
|
Map<String, Object> formVariables = query.getFormVariables(); |
|
|
|
//添加网关
|
|
|
|
// formVariables.put("", "");
|
|
|
@ -271,10 +276,15 @@ public class OaMendApplyService extends MybatisBaseService<OaMendApplyMapper, Oa |
|
|
|
appMap.put("sid", query.getBusinessSid()); |
|
|
|
formVariables.put("app", appMap); |
|
|
|
query.setFormVariables(formVariables); |
|
|
|
return oaFormService.getPreviousNodesForReject(query); |
|
|
|
return oaFormService.getNextNodesForSubmit(query); |
|
|
|
} |
|
|
|
|
|
|
|
public ResultBean<List<NodeVo>> getNextNodesForSubmit(NodeQuery query) { |
|
|
|
/** |
|
|
|
* 驳回时获取上一环节 |
|
|
|
* @param query |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
public ResultBean<List<NodeVo>> getPreviousNodesForReject(NodeQuery query) { |
|
|
|
Map<String, Object> formVariables = query.getFormVariables(); |
|
|
|
//添加网关
|
|
|
|
// formVariables.put("", "");
|
|
|
@ -283,7 +293,7 @@ public class OaMendApplyService extends MybatisBaseService<OaMendApplyMapper, Oa |
|
|
|
appMap.put("sid", query.getBusinessSid()); |
|
|
|
formVariables.put("app", appMap); |
|
|
|
query.setFormVariables(formVariables); |
|
|
|
return oaFormService.getNextNodesForSubmit(query); |
|
|
|
return oaFormService.getPreviousNodesForReject(query); |
|
|
|
} |
|
|
|
|
|
|
|
/** |
|
|
|