XMTT 6 years ago
parent
commit
547f95867f

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

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

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

119
	public abstract List<Ware> queryById(Connection con, @In String[] id) throws SQLException;
119
	public abstract List<Ware> queryById(Connection con, @In String[] id) throws SQLException;
120

120

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

125