|
@@ -121,6 +121,25 @@ public class ResignApplyEvent extends BaseController {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ @PostMapping("/location/{type}")
|
|
|
+ public String existLocation(@ParamModel Map flowInstance, @PathVariable String type) {
|
|
|
+ try {
|
|
|
+ String flowInstanceId = flowInstance.get("id").toString();
|
|
|
+
|
|
|
+ ResignApplyDO entity = resignApplyService.findByInstanceId(flowInstanceId);
|
|
|
+
|
|
|
+ if (type.equals(entity.getLzygszd())) {
|
|
|
+ return "true";
|
|
|
+ } else {
|
|
|
+ return "false";
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+ } catch (Exception ex) {
|
|
|
+ return error(ex.getMessage(), ErrorCode.DEFAULT);
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* 作废事件
|
|
|
*
|