<table id="contentTable" class="table table-striped table-bordered table-hover table-condensed dataTables-example dataTable"> <thead> <tr> <th class="firsttd"> <input type="checkbox" class="i-checks"></th> <th class="firsttd">序号</th> <th class="sort-column manager.company.name">机构名称</th> <th class="sort-column custName">客户名称</th> <th class="sort-column cardId">身份证号码</th> <th class="sort-column call">联系电话</th> <th class="sort-column housePlace">居住详细地址</th> <th class="sort-column jobClass">就业类别</th> <th class="sort-column manager_id">所在柜员工号</th> <th class="sort-column create_date">创建日期</th> </tr>
这个class 就是直接填查询后的sql中的列名,而不需要实体化到对象bean中. 是不是跟表头这个列有关?
为什么这个输出可以不需要先保存到对象中???
答案:这样做只能显示,不能录入.因为各个表的主键都不一定查出来了.所以这就是form表单和list表单的区别,list只能查询输出,不能录入.
form跟具体对象关联,可以显示或者录入.
王说录入也可以不用对象,直接放在map中.那么这样就要填主键?
转载于:https://www.cnblogs.com/xuedexin/articles/6543615.html
