超标接口调整

This commit is contained in:
dengwc 2024-03-18 15:39:31 +08:00
parent db89dac6c1
commit 4f61420565
2 changed files with 10 additions and 2 deletions

View File

@ -72,7 +72,7 @@ public class BPMRequest {
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" -> null;
case "ANFSSC" -> new BPMResponse(true);
default -> {
BPMResponse bpmResponse = new BPMResponse();
bpmResponse.setSuccess(false);
@ -87,7 +87,7 @@ public class BPMRequest {
return switch (sysCode) {
case "FSSC", "H3BPM" -> submitWorkflow(changeDto, employeeNo, accountCompany, ALTER_APPLY);
case "XNFSSC" -> BPMSubmitWorkflow("XN_AS_CLBGSQ", changeDto, XNBPMUrl, sysCode, employeeNo);
case "ANFSSC" -> null;
case "ANFSSC" -> new BPMResponse(true);
default -> {
BPMResponse bpmResponse = new BPMResponse();
bpmResponse.setSuccess(false);

View File

@ -1,10 +1,18 @@
package com.chint.interfaces.rest.bpm.dto;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
@Data
@NoArgsConstructor
@AllArgsConstructor
public class BPMResponse {
private Boolean Success;//创建成功标志
private String InstanceID;//实例id
private String Message;//返回消息
public BPMResponse(Boolean success) {
this.Success = success;
}
}