码迷,mamicode.com
首页 > 其他好文 > 详细

金蝶handler中 collection 代码片段理解

时间:2017-03-31 11:56:00      阅读:120      评论:0      收藏:0      [点我收藏+]

标签:handler   color   添加   llb   collect   nbsp   自定义   tor   new   

1,AtsOverTimeBillBatchEditHandler中collection的理解

1 SelectorItemCollection selectors = new SelectorItemCollection();
2         //自定义集合SelectorItemCollection的定义
3         selectors.add(new SelectorItemInfo("id"));        //集合selectors中添加id
4         selectors.add(new SelectorItemInfo("name"));    //集合selectors中添加name
5         viewInfo.setSelector(selectors);                //给viewInfo设置属性
6         viewInfo.setFilter(temFilterInfo);                //给viewInfo设置过滤条件

 

金蝶handler中 collection 代码片段理解

标签:handler   color   添加   llb   collect   nbsp   自定义   tor   new   

原文地址:http://www.cnblogs.com/todayforever/p/6650511.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!