提交 57bde6a3 编写于 作者: zhouweidong's avatar zhouweidong

流程中数据权限检查

上级 09082dee
...@@ -54,7 +54,7 @@ public class IBZWFFallback implements IBZWFFeignClient { ...@@ -54,7 +54,7 @@ public class IBZWFFallback implements IBZWFFeignClient {
} }
@Override @Override
public Boolean testDataIsEdit(String system, String entity, Serializable businessKey) { public Integer getDataAccessMode(String system, String entity, Serializable businessKey) {
return null; return null;
} }
......
...@@ -49,8 +49,8 @@ public interface IBZWFFeignClient ...@@ -49,8 +49,8 @@ public interface IBZWFFeignClient
Map<String, Map<String, Object>> getTaskByStep(@PathVariable("system") String system, @PathVariable("userId") String userId, Map<String, Map<String, Object>> getTaskByStep(@PathVariable("system") String system, @PathVariable("userId") String userId,
@PathVariable("entity") String entity, @PathVariable("insttag") String instTag, @PathVariable("insttag2") String instTag2 , @RequestParam("srfwf") String taskType, @RequestParam("n_taskdefinitionkey_eq") String srfwfstep); @PathVariable("entity") String entity, @PathVariable("insttag") String instTag, @PathVariable("insttag2") String instTag2 , @RequestParam("srfwf") String taskType, @RequestParam("n_taskdefinitionkey_eq") String srfwfstep);
@RequestMapping(method = RequestMethod.POST, value = "/{system}/{entity}/{businessKey}/isedit") @RequestMapping(method = RequestMethod.GET, value = "/{system}/{entity}/{businessKey}/dataaccessmode")
Boolean testDataIsEdit(@PathVariable("system") String system, @PathVariable("entity") String entity, @PathVariable("businessKey") Serializable businessKey); Integer testDataIsEdit(@PathVariable("system") String system, @PathVariable("entity") String entity, @PathVariable("businessKey") Serializable businessKey);
</#if> </#if>
} }
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册