XMTT преди 6 години
родител
ревизия
547f95867f
променени са 2 файла, в които са добавени 2 реда и са изтрити 0 реда
  1. 1 0
      src/main/java/com/ekexiu/portal/product/ProductDao.java
  2. 1 0
      src/main/java/com/ekexiu/portal/ware/WareDao.java

+ 1 - 0
src/main/java/com/ekexiu/portal/product/ProductDao.java

@ -94,6 +94,7 @@ public interface ProductDao {
94 94
95 95
    @LimitSelect
96 96
    @Where("STATE='1'")
97
    @OrderBy("ORDER BY MODIFY_TIME DESC")
97 98
    List<Product> queryPublish(Connection con, String owner, @LessThan String modifyTime, int rows) throws SQLException;
98 99
99 100
    @PageSelect

+ 1 - 0
src/main/java/com/ekexiu/portal/ware/WareDao.java

@ -119,6 +119,7 @@ public abstract class WareDao {
119 119
	public abstract List<Ware> queryById(Connection con, @In String[] id) throws SQLException;
120 120

121 121
	@LimitSelect
122
	@OrderBy("ORDER BY MODIFY_TIME DESC")
122 123
	@Where("STATE='1'")
123 124
	public abstract List<Ware> queryPublish(Connection con, String category, String owner, @LessThan String modifyTime, int rows) throws SQLException;
124 125