XMTT 6 jaren geleden
bovenliggende
commit
9a8c42e6a3

+ 1 - 1
src/main/java/com/ekexiu/portal/platform/PlatformDao.java

260

260

261
	@PageSelect
261
	@PageSelect
262
	@OrderBy("ORDER BY PUBLISH_TIME DESC")
262
	@OrderBy("ORDER BY PUBLISH_TIME DESC")
263
	PageQueryResult<PlatformDemand> pageQuery(Connection con,@Nullable @GroupSqlColumn(handlerClass = StringHandler.class, value = {"TITLE LIKE ?","LINK_ORG LIKE ?","DESCP LIKE ?"},isAnd = false) String key, int pageSize, int pageNo) throws SQLException;
263
	PageQueryResult<PlatformDemand> pageQuery(Connection con, @Nullable @GroupSqlColumn(handlerClass = StringHandler.class, value = {"TITLE LIKE ?","LINK_ORG LIKE ?","DESCP LIKE ?"},isAnd = false) String key, @Nullable @GtEq String invalidDay, int pageSize, int pageNo) throws SQLException;
264

264

265
	@SelectOne
265
	@SelectOne
266
	@Nullable
266
	@Nullable

+ 2 - 2
src/main/java/com/ekexiu/portal/platform/PlatformService.java

544

544

545
	@Path("/demand/pq")
545
	@Path("/demand/pq")
546
	@Get
546
	@Get
547
	public PageQueryResult<PlatformDemand> pageQuery(@JdbcConn Connection con,@Nullable String key,int pageSize,int pageNo)throws SQLException {
548
		return platformDao.pageQuery(con, key == null ? null : "%" + key + "%", pageSize, pageNo);
547
	public PageQueryResult<PlatformDemand> pageQuery(@JdbcConn Connection con,@Nullable String key,@Nullable String invalidDay,int pageSize,int pageNo)throws SQLException {
548
		return platformDao.pageQuery(con, key == null ? null : "%" + key + "%",invalidDay, pageSize, pageNo);
549
	}
549
	}
550

550

551
	@Path("/demand/qo")
551
	@Path("/demand/qo")