Merge remote-tracking branch 'origin/dev' into test
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
package com.zt.plat.module.erp.api.dto;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import jakarta.validation.constraints.NotBlank;
|
||||
import jakarta.validation.constraints.NotNull;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Map;
|
||||
@@ -23,21 +25,26 @@ public class ErpSubmitReqDTO {
|
||||
* "req": {具体参数,参见RFC功能列表}
|
||||
*/
|
||||
@Schema(description = "接口编号,必须,参见RFC功能列表,可调用接口编号范围051-900")
|
||||
@NotBlank(message = "接口编号不能为空")
|
||||
private String funcnr;
|
||||
|
||||
@Schema(description = "调用系统业务单据编号,必须,在外部系统唯一,用于关联")
|
||||
@NotBlank(message = "调用系统业务单据编号不能为空")
|
||||
private String bskey;
|
||||
|
||||
@Schema(description = "SAP系统ID, 必须")
|
||||
@NotBlank(message = "SAP系统ID不能为空")
|
||||
private String usrid;
|
||||
|
||||
@Schema(description = "源调用系统ID,必须")
|
||||
@NotBlank(message = "源调用系统ID不能为空")
|
||||
private String usrnm;
|
||||
|
||||
@Schema(description = "签名,uuid+srcsys+密码,MD5 32位小写签名,密码另行约定")
|
||||
private String sign;
|
||||
|
||||
@Schema(description = "具体参数,参见RFC功能列表")
|
||||
@NotNull(message = "具体参数不能为空")
|
||||
private Map<String, Object> req;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user