this.outnum = outnum;
}
@Override
public String toString() {
return “Storealert [uuid=” + uuid + “, name=” + name + “, storenum=” + storenum + “, outnum=” + outnum + “]”;
}
}
(2)创建映射文件
映射文件:storealert.hbm.xml
(3)数据访问层实现
在IStoredetailDao和StoredetailDao中加入方法与实践
1)IStoredetailDao
2)IStoredetailDao
(4)业务逻辑层实现
在IStoredetailBiz和StoredetailBiz中添加方法与实现
(5)Action层的实现
在StoredetailAction中加入方法:
(6)页面代码
1)添加js/storealert.js