存储区树型查询接口开发

yun-zuoyi
曾贞一 6 years ago
parent 0f74a211f7
commit 25187ecf2c

@ -11,6 +11,8 @@ 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;
import java.util.List;
/** /**
* @Description : * @Description :
@ -40,4 +42,8 @@ public class WareHouse extends BaseBean {
@ApiParam("仓库地址") @ApiParam("仓库地址")
public String address; public String address;
@Transient
@ApiParam(value ="存储区列表")
private List<WmsZones> zoneList;
} }

@ -11,6 +11,8 @@ 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;
import java.util.List;
/** /**
* @Description : * @Description :
@ -45,12 +47,12 @@ public class WmsZones extends BaseBean {
private String zoneName; private String zoneName;
@Column(name = "PARENT_ZONE_NO") @Column(name = "PARENT_ZONE_NO")
@ApiParam(value = "父级存储区") @ApiParam(value = "父级存储区", example ="1")
private String parentZoneNo; private String parentZoneNo;
@Column(name = "IS_SON_NODE") @Column(name = "IS_SON_NODE")
@ApiParam(value = "是否子节点") @ApiParam(value = "是否子节点")
private String isSonNode; private Integer isSonNode;
@Column(name = "IS_PM") @Column(name = "IS_PM")
@ApiParam(value = "零件级管控" , example = "2") @ApiParam(value = "零件级管控" , example = "2")
@ -84,4 +86,7 @@ public class WmsZones extends BaseBean {
@ApiParam(value = "校验先进先出" , example = "1") @ApiParam(value = "校验先进先出" , example = "1")
private Integer checkFifo; private Integer checkFifo;
@Transient
@ApiParam(value ="子存储区列表")
private List<WmsZones> childList;
} }

Loading…
Cancel
Save