|
@ -198,7 +198,7 @@ public abstract class ProfessorDao {
|
198
|
198
|
if (1 == pageNo) {
|
199
|
199
|
_result.setPageNo(1);
|
200
|
200
|
sql = new StringBuilder();
|
201
|
|
sql.append("SELECT OFFICE,SUBJECT,INDUSTRY,ADDRESS,DEPARTMENT,ORG_ID,organization.NAME AS ONAME,TITLE,AUTHENTICATION,professor.ID,professor.NAME,professor.DESCP,professor.CREATE_TIME,professor.MODIFY_TIME FROM PROFESSOR LEFT JOIN ORGANIZATION ON professor.ORG_ID=organization.ID ORDER BY ONAME");
|
|
201
|
sql.append("SELECT OFFICE,SUBJECT,INDUSTRY,ADDRESS,DEPARTMENT,ORG_ID,organization.NAME AS ONAME,TITLE,AUTHENTICATION,professor.ID,professor.NAME,professor.DESCP,professor.CREATE_TIME,professor.MODIFY_TIME FROM PROFESSOR LEFT JOIN ORGANIZATION ON professor.ORG_ID=organization.ID");
|
202
|
202
|
if (whereSql.length() > 0) {
|
203
|
203
|
sql.append(whereSql);
|
204
|
204
|
}
|
|
@ -216,7 +216,7 @@ public abstract class ProfessorDao {
|
216
|
216
|
--pageNo;
|
217
|
217
|
int _m_10 = (pageNo * pageSize);
|
218
|
218
|
sql = new StringBuilder();
|
219
|
|
sql.append("SELECT OFFICE,SUBJECT,INDUSTRY,ADDRESS,DEPARTMENT,ORG_ID,organization.NAME AS ONAME,TITLE,AUTHENTICATION,professor.ID,professor.NAME,professor.DESCP,professor.CREATE_TIME,professor.MODIFY_TIME FROM PROFESSOR LEFT JOIN ORGANIZATION ON professor.ORG_ID=organization.ID ORDER BY ONAME");
|
|
219
|
sql.append("SELECT OFFICE,SUBJECT,INDUSTRY,ADDRESS,DEPARTMENT,ORG_ID,organization.NAME AS ONAME,TITLE,AUTHENTICATION,professor.ID,professor.NAME,professor.DESCP,professor.CREATE_TIME,professor.MODIFY_TIME FROM PROFESSOR LEFT JOIN ORGANIZATION ON professor.ORG_ID=organization.ID");
|
220
|
220
|
if (whereSql.length() > 0) {
|
221
|
221
|
sql.append(whereSql);
|
222
|
222
|
}
|