|
|
|
@ -46,8 +46,14 @@ public interface GoodsMapper { |
|
|
|
/** |
|
|
|
* 根据where 条件查询 |
|
|
|
* 排序、集合等均可以 |
|
|
|
* @param con |
|
|
|
* @param con where 条件 |
|
|
|
* @param limit 条目 |
|
|
|
* @param order 排序 |
|
|
|
* @Param orderway 正序 或倒序 |
|
|
|
* @return |
|
|
|
*/ |
|
|
|
List<Goods> getGoodsByCondition(String con); |
|
|
|
List<Goods> getGoodsByCondition(@Param("con") String con, |
|
|
|
@Param("limit") int limit, |
|
|
|
@Param("order") String order, |
|
|
|
@Param("orderway") String orderway); |
|
|
|
} |
|
|
|
|