|
@ -204,7 +204,7 @@ public abstract class DayDao {
|
204
|
204
|
@Exclude("descp")
|
205
|
205
|
public abstract PageQueryResult<ResourceSum> queryResourceTime(Connection con, String platform, @Nullable @Like String resourceName,@Nullable @GroupSqlColumn(handlerClass = StringHandler.class, value = {
|
206
|
206
|
"RESOURCE_TYPE='1' AND PROFESSOR_ID IN(SELECT ID FROM PROFESSOR WHERE NAME LIKE ?)",
|
207
|
|
"RESOURCE_TYPE ='2' AND ORGANIZATION_ID IN(SELECT ID FROM ORGANIZATION WHERE NAME LIKE ? OR FOR_SHORT LIKE ?)"},
|
|
207
|
"RESOURCE_TYPE ='2' AND ORG_ID IN(SELECT ID FROM ORGANIZATION WHERE NAME LIKE ? OR FOR_SHORT LIKE ?)"},
|
208
|
208
|
additional = 1, isAnd = false, force = true) String author, @Nullable @GtEq @Alias("publishTime") String bt, @Nullable @Alias("publishTime") @LtEq String et, int pageSize, int pageNo) throws SQLException;
|
209
|
209
|
|
210
|
210
|
@PageQuery
|
|
@ -212,7 +212,7 @@ public abstract class DayDao {
|
212
|
212
|
@Exclude("descp")
|
213
|
213
|
public abstract PageQueryResult<ResourceSum> queryResourceViews(Connection con, String platform, @Nullable @Like String resourceName,@Nullable @GroupSqlColumn(handlerClass = StringHandler.class, value = {
|
214
|
214
|
"RESOURCE_TYPE='1' AND PROFESSOR_ID IN(SELECT ID FROM PROFESSOR WHERE NAME LIKE ?)",
|
215
|
|
"RESOURCE_TYPE ='2' AND ORGANIZATION_ID IN(SELECT ID FROM ORGANIZATION WHERE NAME LIKE ? OR FOR_SHORT LIKE ?)"},
|
|
215
|
"RESOURCE_TYPE ='2' AND ORG_ID IN(SELECT ID FROM ORGANIZATION WHERE NAME LIKE ? OR FOR_SHORT LIKE ?)"},
|
216
|
216
|
additional = 1, isAnd = false, force = true) String author, @Nullable @GtEq @Alias("publishTime") String bt, @Nullable @Alias("publishTime") @LtEq String et, int pageSize, int pageNo) throws SQLException;
|
217
|
217
|
|
218
|
218
|
|