交易处理组件ALL

yun-zuoyi
gragon.xu 6 years ago
parent 238160a65f
commit e1825eac40

@ -10,6 +10,7 @@ import com.fasterxml.jackson.annotation.JsonFormat;
* @Modify:
**/
public class WmsEnumUtil {
/**
*
*/
@ -1883,4 +1884,44 @@ public class WmsEnumUtil {
return description;
}
}
/**
*
*/
@JsonFormat(shape = JsonFormat.Shape.OBJECT)
public enum TRANS_QUAN_GENERAL_TAG {
MINUS(-1, "MINUS", "一条:负"), ZERO(0, "ZERO", "一条0"), PLUS(1, "PLUS", "一条:正"), TWO(2, "TWO", "两条:一正一负");
private String code;
private String description;
int value;
TRANS_QUAN_GENERAL_TAG(int value, String code, String description) {
this.value = value;
this.code = code;
this.description = description;
}
public int getValue() {
return value;
}
public String getCode() {
return code;
}
public String getDescription() {
return description;
}
public static TRANS_QUAN_GENERAL_TAG codeOf(String code) {
int tmp = 1;
for (int i = 0; i < values().length; i++) {
if (values()[i].code.equals(code)) {
return values()[i];
}
}
return null;
}
}
}

@ -101,8 +101,4 @@ public class WmsDocMovementMaster extends BaseBean {
@Column(name = "PRIORITY")
@ApiParam(value = "优先级", example = "1")
public Integer priority;
@Transient
@ApiParam(value = "移库单明细集合")
private List<WmsDocMovementDetails> wmsDocMovementDetailsList;
}

Loading…
Cancel
Save