解决冲突

yun-zuoyi
Silliter 7 years ago
parent 442ec7cb5f
commit 43ed6deb6c

@ -1514,14 +1514,43 @@ public class WmsEnumUtil {
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum RC_RESPONSE_TIPS {
OK(10, "正确"),
FAIL(20, "失败"),
NO_SKIP(30, "不跳转");
OK(true, "正确"),
NG(false, "失败");
private boolean codeStatus;
private String description;
RC_RESPONSE_TIPS(boolean codeStatus, String description) {
this.codeStatus = codeStatus;
this.description = description;
}
public boolean getCodeStatus() {
return codeStatus;
}
public String getDescription() {
return description;
}
}
/**
*
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum ACTION_BUTLER_SOURCE {
SCANNER(10, "扫描枪"),
SUBMIT(20, "提交按钮"),
RESET(30, "重置按钮"),
CHECK_DETAILS(40, "查看明细"),
DELETE_DETAILS(50, "明细(删除)"),
CLEAR_DETAILS(60, "明细(清空)");
private int value;
private String description;
RC_RESPONSE_TIPS(int value, String description) {
ACTION_BUTLER_SOURCE(int value, String description) {
this.value = value;
this.description = description;
}

@ -5,6 +5,7 @@ import io.swagger.annotations.ApiParam;
import lombok.Data;
import java.util.List;
import java.util.Map;
/**
* @Description : PDAbean
@ -36,8 +37,8 @@ public class WmsActionResponseBean {
public List<String> options;
@ApiParam("选中的明细数据")
public String details;
public List<Map<String, Object>> details;
@ApiParam("信息代码")
public Integer code;
@ApiParam(value = "结果代码")
public Boolean codeStatus;
}

@ -5,6 +5,7 @@ import io.swagger.annotations.ApiParam;
import lombok.Data;
import java.util.List;
import java.util.Map;
/**
* @Description : PDAbean
@ -32,5 +33,5 @@ public class WmsOperationBean {
public int sourceOwner;
@ApiParam("选中的明细数据")
public String details;
public List<Map<String, Object>> details;
}

Loading…
Cancel
Save