已合并 PR 10102: 还原“更新于 BPMRequest.java”

还原“更新于 BPMRequest.java”

已还原提交 `65cc7124`。
This commit is contained in:
蔡承余(Chengyu Cai) 2024-03-19 22:35:34 +08:00
commit 24e2d6065a
1 changed files with 4 additions and 4 deletions

View File

@ -70,12 +70,12 @@ public class BPMRequest {
//改签申请
public BPMResponse reschedule(RescheduleDto rescheduleDto, String sysCode, String employeeNo, String accountCompany) {
return switch (sysCode) {
//case "FSSC", "H3BPM" -> submitWorkflow(rescheduleDto, employeeNo, accountCompany, CANCEL_AND_CHANGE);
//case "XNFSSC" -> BPMSubmitWorkflow("JG_AS_CLGQSQ", rescheduleDto, XNBPMUrl, sysCode, employeeNo);
//case "ANFSSC" -> new BPMResponse(true);
case "FSSC", "H3BPM" -> submitWorkflow(rescheduleDto, employeeNo, accountCompany, CANCEL_AND_CHANGE);
case "XNFSSC" -> BPMSubmitWorkflow("JG_AS_CLGQSQ", rescheduleDto, XNBPMUrl, sysCode, employeeNo);
case "ANFSSC" -> new BPMResponse(true);
default -> {
BPMResponse bpmResponse = new BPMResponse();
bpmResponse.setSuccess(true);
bpmResponse.setSuccess(false);
bpmResponse.setMessage("订单系统标识不正确!");
yield bpmResponse;
}