|
@ -263,8 +263,12 @@ public class ProfessorService {
|
263
|
263
|
|
264
|
264
|
@Get
|
265
|
265
|
@Path("/pqUserDetail")
|
266
|
|
public PageQueryResult<UserDetail> userDetailPageQueryResult(@JdbcConn Connection con, @Nullable String name, @Nullable String activeStatus, @Nullable Integer sendMailStatus, @Nullable String bt, @Nullable String et, @DefaultValue("10") int pageSize, @DefaultValue("1") int pageNo) throws SQLException {
|
267
|
|
return this.professorDao.pageQueryUserDetail(con, name == null ? null : "%" + name + "%", activeStatus, sendMailStatus, bt, et, pageSize, pageNo);
|
|
266
|
public PageQueryResult<UserDetail> userDetailPageQueryResult(@JdbcConn Connection con, @Nullable String name, @Nullable String activeStatus, @Nullable Integer sendMailStatus,int orderBy, @Nullable String bt, @Nullable String et, @DefaultValue("10") int pageSize, @DefaultValue("1") int pageNo) throws SQLException {
|
|
267
|
if(orderBy==1) {
|
|
268
|
return this.professorDao.pageQueryUserDetail(con, name == null ? null : "%" + name + "%", activeStatus, sendMailStatus, bt, et, pageSize, pageNo);
|
|
269
|
}else{
|
|
270
|
return this.professorDao.pageQueryUserDetailBV(con, name == null ? null : "%" + name + "%", activeStatus, sendMailStatus, bt, et, pageSize, pageNo);
|
|
271
|
}
|
268
|
272
|
}
|
269
|
273
|
|
270
|
274
|
@Post
|