Browse Source

ViewAllcustomerDao 和 ViewCustomerDao 增加时间排序

XMTT 7 years ago
parent
commit
f1a5bad2ac

+ 1 - 1
src/main/java/com/ekexiu/console/system/dao/ViewAllcustomerDao.java

20
	ViewAllcustomer query(Connection con, String id) throws SQLException;
20
	ViewAllcustomer query(Connection con, String id) throws SQLException;
21
	
21
	
22
	@PageSelect
22
	@PageSelect
23
	@OrderBy(" ORDER BY create_time")
23
	@OrderBy(" ORDER BY create_time DESC")
24
	PageQueryResult<ViewAllcustomer> query(Connection con,@Nullable @Like String name,@Nullable @Like String address,@Nullable @Like String orgname, @Nullable Integer sendMailStatus, int pageSize, int pageNo) throws SQLException;
24
	PageQueryResult<ViewAllcustomer> query(Connection con,@Nullable @Like String name,@Nullable @Like String address,@Nullable @Like String orgname, @Nullable Integer sendMailStatus, int pageSize, int pageNo) throws SQLException;
25

25

26
}
26
}

+ 1 - 1
src/main/java/com/ekexiu/console/system/dao/ViewCustomerDao.java

19
	public abstract ViewCustomer query(Connection con, String id) throws SQLException;
19
	public abstract ViewCustomer query(Connection con, String id) throws SQLException;
20
	
20
	
21
	@PageSelect
21
	@PageSelect
22
	@OrderBy(" ORDER BY create_time")
22
	@OrderBy(" ORDER BY create_time DESC")
23
	public abstract PageQueryResult<ViewCustomer> query(Connection con, @Nullable @Like String name,@Nullable @Like String address,@Nullable @Like String orgname, @Nullable Integer sendMailStatus, int pageSize, int pageNo) throws SQLException;
23
	public abstract PageQueryResult<ViewCustomer> query(Connection con, @Nullable @Like String name,@Nullable @Like String address,@Nullable @Like String orgname, @Nullable Integer sendMailStatus, int pageSize, int pageNo) throws SQLException;
24
24
25
}
25
}