调试枚举删除、库位导入工厂字段添加

yun-zuoyi
刘敏 6 years ago
parent 12f6e2c14b
commit 592cd15add

@ -1139,8 +1139,7 @@ public class WmsEnumUtil {
CREATE(10, "创建"), CREATE(10, "创建"),
BE_HANDLE(20, "待处理"), BE_HANDLE(20, "待处理"),
FINISH(30, "已处理"), FINISH(30, "已处理"),
HANDLE_ERROR(40, "处理出错"), HANDLE_ERROR(40, "处理出错");
TEST(50, "调试");
private int value; private int value;
private String description; private String description;

@ -11,6 +11,7 @@ import org.hibernate.annotations.DynamicUpdate;
import javax.persistence.Column; import javax.persistence.Column;
import javax.persistence.Entity; import javax.persistence.Entity;
import javax.persistence.Table; import javax.persistence.Table;
import javax.persistence.Transient;
/** /**
* @Description : * @Description :
@ -96,6 +97,11 @@ public class WmsLocate extends BaseBean {
@ApiParam(value = "零件数", example = "-1") @ApiParam(value = "零件数", example = "-1")
private Double partQty; private Double partQty;
// 导入用
@ApiParam(value = "工厂")
@Transient
private String factory;
public Integer getMaxPackageQty() { public Integer getMaxPackageQty() {
return this.maxPackageQty == null ? 0 : this.maxPackageQty.intValue(); return this.maxPackageQty == null ? 0 : this.maxPackageQty.intValue();
} }

Loading…
Cancel
Save