摘要: 1、result里面的id、result、association、colloction等要按照先后顺序进行,不能乱序 2、association里面的id和result另外创建一个resultmap来放比较好: 阅读全文
posted @ 2019-07-20 22:05 SKZB 阅读(251) 评论(0) 推荐(0) 编辑
摘要: 如图,game对象里面封装了category对象,而这个对象里面有cname,就需要在fomatter里面返回一下(注:formatter是行在生成时运行的方法,可以通过formatter生成一个有用的按钮(添加value\row\index数据进去)) 阅读全文
posted @ 2019-07-20 22:01 SKZB 阅读(944) 评论(0) 推荐(0) 编辑