Chinaunix首页 | 论坛 | 博客
  • 博客访问: 250157
  • 博文数量: 34
  • 博客积分: 0
  • 博客等级: 民兵
  • 技术积分: 961
  • 用 户 组: 普通用户
  • 注册时间: 2013-07-11 17:19
个人简介

没有最好的语言,只有最适合的语言。

文章分类

全部博文(34)

文章存档

2016年(2)

2013年(32)

我的朋友

分类: 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 goodsstockins = new HashSet(0);

.......省略set 和get

}

public class Goodsstockin{

   

private Integer id;

private Stockin stockin;

private String productName;

private String shelfName;

private int qty;

}

而在action中获取到:private List allStockin;

这时想在前台页面上获取allStockin中迭代中goodsstockins中的值代码如下:

   

       

           

           

           

           

           

           

           

       

   

阅读(1900) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~