diff --git a/src/main/java/com/zcloud/flow/xgf/GuFen/GuFenCharge.java b/src/main/java/com/zcloud/flow/xgf/GuFen/GuFenCharge.java index 2f47e23f..f5996fb0 100644 --- a/src/main/java/com/zcloud/flow/xgf/GuFen/GuFenCharge.java +++ b/src/main/java/com/zcloud/flow/xgf/GuFen/GuFenCharge.java @@ -113,4 +113,13 @@ public class GuFenCharge extends NodeSwitchComponent { } return "GuFenSupervise"; } + + @Override + public boolean isEnd() { + XgfFlowDto info = this.getRequestData(); + if ("0".equals(info.getSTATUS())) { + return true; + } + return super.isEnd(); + } } diff --git a/src/main/java/com/zcloud/flow/xgf/GuFen/GuFenSupervise.java b/src/main/java/com/zcloud/flow/xgf/GuFen/GuFenSupervise.java index b4c9188d..59247bf3 100644 --- a/src/main/java/com/zcloud/flow/xgf/GuFen/GuFenSupervise.java +++ b/src/main/java/com/zcloud/flow/xgf/GuFen/GuFenSupervise.java @@ -89,4 +89,13 @@ public class GuFenSupervise extends NodeComponent { xgfUserService.saveLog(info, info.getSTATUS(), "1"); } } + + @Override + public boolean isEnd() { + XgfFlowDto info = this.getRequestData(); + if ("0".equals(info.getSTATUS())) { + return true; + } + return super.isEnd(); + } } diff --git a/src/main/java/com/zcloud/flow/xgf/GuFen/GuFenWeiTuoCharge.java b/src/main/java/com/zcloud/flow/xgf/GuFen/GuFenWeiTuoCharge.java index 03a7c00d..1158ba7e 100644 --- a/src/main/java/com/zcloud/flow/xgf/GuFen/GuFenWeiTuoCharge.java +++ b/src/main/java/com/zcloud/flow/xgf/GuFen/GuFenWeiTuoCharge.java @@ -112,4 +112,13 @@ public class GuFenWeiTuoCharge extends NodeComponent { xgfUserService.saveLog(info, info.getSTATUS(), "0"); } + + @Override + public boolean isEnd() { + XgfFlowDto info = this.getRequestData(); + if ("0".equals(info.getSTATUS())) { + return true; + } + return super.isEnd(); + } } diff --git a/src/main/java/com/zcloud/flow/xgf/GuFen/GuFenWeiTuoSupervise.java b/src/main/java/com/zcloud/flow/xgf/GuFen/GuFenWeiTuoSupervise.java index a110aaa2..ecfc5528 100644 --- a/src/main/java/com/zcloud/flow/xgf/GuFen/GuFenWeiTuoSupervise.java +++ b/src/main/java/com/zcloud/flow/xgf/GuFen/GuFenWeiTuoSupervise.java @@ -69,7 +69,7 @@ public class GuFenWeiTuoSupervise extends NodeComponent { flows.put("APPOINT_TWO_TIME", DateUtil.getTime()); flows.put("APPOINT_TWO_STATUS", info.getSTATUS()); flows.put("APPOINT_TWO_OPINION", info.getOPINION()); - flows.put("OPINION",info.getOPINION()); + flows.put("OPINION", info.getOPINION()); if ("0".equals(info.getSTATUS())) { // 打回至相关方端 xgfUserService.repulse(flows); @@ -90,6 +90,14 @@ public class GuFenWeiTuoSupervise extends NodeComponent { xgfUserService.saveLog(info, info.getSTATUS(), "1"); info.setIterator(""); } + } + @Override + public boolean isEnd() { + XgfFlowDto info = this.getRequestData(); + if ("0".equals(info.getSTATUS())) { + return true; + } + return super.isEnd(); } } diff --git a/src/main/java/com/zcloud/flow/xgf/JiTuan/JiTuanCharge.java b/src/main/java/com/zcloud/flow/xgf/JiTuan/JiTuanCharge.java index 84ccca99..6a757fa8 100644 --- a/src/main/java/com/zcloud/flow/xgf/JiTuan/JiTuanCharge.java +++ b/src/main/java/com/zcloud/flow/xgf/JiTuan/JiTuanCharge.java @@ -114,4 +114,13 @@ public class JiTuanCharge extends NodeSwitchComponent { } return "JiTuanSupervise"; } + + @Override + public boolean isEnd() { + XgfFlowDto info = this.getRequestData(); + if ("0".equals(info.getSTATUS())) { + return true; + } + return super.isEnd(); + } } diff --git a/src/main/java/com/zcloud/flow/xgf/JiTuan/JiTuanSupervise.java b/src/main/java/com/zcloud/flow/xgf/JiTuan/JiTuanSupervise.java index 1ac9915e..18678083 100644 --- a/src/main/java/com/zcloud/flow/xgf/JiTuan/JiTuanSupervise.java +++ b/src/main/java/com/zcloud/flow/xgf/JiTuan/JiTuanSupervise.java @@ -89,4 +89,13 @@ public class JiTuanSupervise extends NodeComponent { xgfUserService.saveLog(info, info.getSTATUS(), "1"); } } + + @Override + public boolean isEnd() { + XgfFlowDto info = this.getRequestData(); + if ("0".equals(info.getSTATUS())) { + return true; + } + return super.isEnd(); + } } diff --git a/src/main/java/com/zcloud/flow/xgf/JiTuan/JiTuanWeiTuoCharge.java b/src/main/java/com/zcloud/flow/xgf/JiTuan/JiTuanWeiTuoCharge.java index ac982c8a..8bcb0009 100644 --- a/src/main/java/com/zcloud/flow/xgf/JiTuan/JiTuanWeiTuoCharge.java +++ b/src/main/java/com/zcloud/flow/xgf/JiTuan/JiTuanWeiTuoCharge.java @@ -94,4 +94,13 @@ public class JiTuanWeiTuoCharge extends NodeComponent { xgfUserService.saveLog(info, info.getSTATUS(), "0"); } + + @Override + public boolean isEnd() { + XgfFlowDto info = this.getRequestData(); + if ("0".equals(info.getSTATUS())) { + return true; + } + return super.isEnd(); + } } diff --git a/src/main/java/com/zcloud/flow/xgf/JiTuan/JiTuanWeiTuoSupervise.java b/src/main/java/com/zcloud/flow/xgf/JiTuan/JiTuanWeiTuoSupervise.java index 0ce9f5f7..e4aaebc2 100644 --- a/src/main/java/com/zcloud/flow/xgf/JiTuan/JiTuanWeiTuoSupervise.java +++ b/src/main/java/com/zcloud/flow/xgf/JiTuan/JiTuanWeiTuoSupervise.java @@ -93,4 +93,13 @@ public class JiTuanWeiTuoSupervise extends NodeComponent { } } + + @Override + public boolean isEnd() { + XgfFlowDto info = this.getRequestData(); + if ("0".equals(info.getSTATUS())) { + return true; + } + return super.isEnd(); + } } diff --git a/src/main/java/com/zcloud/flow/xgf/YiBan/YiBanCharge.java b/src/main/java/com/zcloud/flow/xgf/YiBan/YiBanCharge.java index 58aa9ab9..0329f7c2 100644 --- a/src/main/java/com/zcloud/flow/xgf/YiBan/YiBanCharge.java +++ b/src/main/java/com/zcloud/flow/xgf/YiBan/YiBanCharge.java @@ -94,4 +94,13 @@ public class YiBanCharge extends NodeComponent { // 保存操作记录 xgfUserService.saveLog(info, info.getSTATUS(), "0"); } + + @Override + public boolean isEnd() { + XgfFlowDto info = this.getRequestData(); + if ("0".equals(info.getSTATUS())) { + return true; + } + return super.isEnd(); + } } diff --git a/src/main/java/com/zcloud/flow/xgf/YiBan/YiBanSupervise.java b/src/main/java/com/zcloud/flow/xgf/YiBan/YiBanSupervise.java index 0885ae7e..63c4e0b9 100644 --- a/src/main/java/com/zcloud/flow/xgf/YiBan/YiBanSupervise.java +++ b/src/main/java/com/zcloud/flow/xgf/YiBan/YiBanSupervise.java @@ -123,4 +123,13 @@ public class YiBanSupervise extends NodeComponent { xgfUserService.saveLog(info, info.getSTATUS(), "1"); } } + + @Override + public boolean isEnd() { + XgfFlowDto info = this.getRequestData(); + if ("0".equals(info.getSTATUS())) { + return true; + } + return super.isEnd(); + } }