没有最好的语言,只有最适合的语言。
分类: Web开发
2013-07-11 18:40:01
其中:
public class Stockin{
private Integer id;
private String stockInId;
private Date stockInDate;
private String stockInType;
private String batchNo;
private String createBy;
private Date createTime;
private String vendor;
private String status;
private String remark;
private Set
.......省略set 和get
}
public class Goodsstockin{
private Integer id;
private Stockin stockin;
private String productName;
private String shelfName;
private int qty;
}
而在action中获取到:private List
这时想在前台页面上获取allStockin中迭代中goodsstockins中的值代码如下: