日期:2014-05-17 浏览次数:20859 次
@Override
public List<ProjectInfo> getProjectListByQueryEx(ProjectInfo queryPrjInfo,
List<ExtendPropertyInfo> queryExtendPropertyList, Boolean bSaveState, Date queryStartTime,
Date queryEndTime, String currentUserID, int startIndex, int maxRecords) throws Exception
{
List<ProjectInfo> lstQueryPrj = new ArrayList<ProjectInfo>(); // 查询工程列表
List<Project> lstPrj = this.queryProjectListByEx(queryPrjInfo, queryExtendPropertyList, bSaveState,
queryStartTime, queryEndTime, ObjectCheckRelationTypes.checkAll, currentUserID, startIndex, maxRecords);
// 转换成info对象
for (Project prj : lstPrj)
{
ProjectInfo projectInfo = prj.toPojo();
projectInfo.setProjectState(prj.getIsSaveProject());
// 添加到列表
lstQueryPrj.add(projectInfo);
}
return lstQueryPrj;
}
package com.chinaedu.dao;
public class MeetingModel {
private int mid;
public int getMid() {
return mid;
}
public void setMid(int mid) {
this.mid = mid;
}
}
MeetingModel mm=new MeetingModel();
public MeetingModel getMm() {
return mm;
}
public void setMm(MeetingModel mm) {
this.mm = mm;
}
然后再调用mid时就是mm.getMid了