|
|
|
|
247
|
|
247
|
|
248
|
@Get
|
248
|
@Get
|
249
|
@Path("/pq")
|
249
|
@Path("/pq")
|
250
|
public PageQueryResult<Team> pageQuery(@JdbcConn Connection con, String status, @Nullable String key, @Nullable String subject, @Nullable String industry,@Nullable String city, int pageSize, int pageNo) throws SQLException {
|
|
|
|
|
250
|
public PageQueryResult<Team> pageQuery(@JdbcConn Connection con,@Nullable String[] status, @Nullable String key, @Nullable String subject, @Nullable String industry,@Nullable String city, int pageSize, int pageNo) throws SQLException {
|
251
|
return teamDao.pageQuery(con, status, key == null ? null : "%" + key + "%", subject == null ? null : "%" + subject + "%", industry == null ? null : "%" + industry + "%", city == null ? null : "%" + city + "%", pageSize, pageNo);
|
251
|
return teamDao.pageQuery(con, status, key == null ? null : "%" + key + "%", subject == null ? null : "%" + subject + "%", industry == null ? null : "%" + industry + "%", city == null ? null : "%" + city + "%", pageSize, pageNo);
|
252
|
}
|
252
|
}
|
253
|
|
253
|
|
254
|
@Get
|
254
|
@Get
|
255
|
@Path("/myTeam")
|
255
|
@Path("/myTeam")
|
256
|
public PageQueryResult<Team> pageQuery(@JdbcConn Connection con, String status, String professor, int pageSize, int pageNo) throws SQLException {
|
|
|
|
|
256
|
public PageQueryResult<Team> pageQuery(@JdbcConn Connection con,@Nullable String[] status, String professor, int pageSize, int pageNo) throws SQLException {
|
257
|
return teamDao.pageQuery(con, status, professor, pageSize, pageNo);
|
257
|
return teamDao.pageQuery(con, status, professor, pageSize, pageNo);
|
258
|
}
|
258
|
}
|
259
|
|
259
|
|