|
@@ -47,11 +47,13 @@ public class ProjectServiceImpl extends BaseMybatisDao<ProjectMapper> implements
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
@Override
|
|
@Override
|
|
|
- public Object list(String name, String startTime, String endTime,Integer pageNo,Integer pageSize) {
|
|
|
|
|
|
|
+ public Object list(String name, String startTime, String endTime,Integer releaseStatus,Integer host,Integer pageNo,Integer pageSize) {
|
|
|
Map<String, Object> params=new HashMap<String, Object>();
|
|
Map<String, Object> params=new HashMap<String, Object>();
|
|
|
if(StringUtils.isBlank(name))params.put("name", name);
|
|
if(StringUtils.isBlank(name))params.put("name", name);
|
|
|
if(StringUtils.isBlank(startTime))params.put("startTime", startTime);
|
|
if(StringUtils.isBlank(startTime))params.put("startTime", startTime);
|
|
|
if(StringUtils.isBlank(endTime))params.put("endTime", endTime);
|
|
if(StringUtils.isBlank(endTime))params.put("endTime", endTime);
|
|
|
|
|
+ if(releaseStatus!=null)params.put("releaseStatus", releaseStatus);
|
|
|
|
|
+ if(host!=null)params.put("host", host);
|
|
|
return findPage("selectProjectList", "selectProjectCount", params, pageNo, pageSize);
|
|
return findPage("selectProjectList", "selectProjectCount", params, pageNo, pageSize);
|
|
|
}
|
|
}
|
|
|
|
|
|