审批流程优化,如果打回后不用进行后续步骤

limingyu-20240401-app登录曹实业判断修改
liujun 2024-03-20 16:44:51 +08:00
parent 3f3e2dff66
commit 30e064b7c5
10 changed files with 90 additions and 1 deletions

View File

@ -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();
}
}

View File

@ -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();
}
}

View File

@ -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();
}
}

View File

@ -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();
}
}

View File

@ -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();
}
}

View File

@ -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();
}
}

View File

@ -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();
}
}

View File

@ -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();
}
}

View File

@ -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();
}
}

View File

@ -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();
}
}