javabean:private int id;
private Date date;
private String name;
private String type;表中的数据:id date name type1 2010-07-01 王五 上午
2 2010-07-01 王五 下午3 2010-07-02 王五 上午4 2010-07-02 王五 下午
5 2010-07-03 王五 上午6 2010-07-03 王五 下午请教在jsp中如何把上面同一天的数据二条语句合并成一条.
例:
id date name type type1 2010-07-01 王五 上午 下午2 2010-07-02 王五 上午 下午3 2010-07-02 王五 上午 下午
private Date date;
private String name;
private String type;表中的数据:id date name type1 2010-07-01 王五 上午
2 2010-07-01 王五 下午3 2010-07-02 王五 上午4 2010-07-02 王五 下午
5 2010-07-03 王五 上午6 2010-07-03 王五 下午请教在jsp中如何把上面同一天的数据二条语句合并成一条.
例:
id date name type type1 2010-07-01 王五 上午 下午2 2010-07-02 王五 上午 下午3 2010-07-02 王五 上午 下午
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货