| | |
| | | int deleteBatchByPrimaryKey(List<Long> list); |
| | | |
| | | /** |
| | | * 批量选择更新 |
| | | * @param list |
| | | * @return |
| | | */ |
| | | int updateBatchSelective(List<UserGoodsStorage> list); |
| | | |
| | | /** |
| | | * 查询用户对应的选品库 |
| | | * @param start |
| | | * @param count |
| | |
| | | * @return |
| | | */ |
| | | List<UserGoodsStorage> listQueryByUid(@Param("start") long start, @Param("count") int count, |
| | | @Param("uid") Long uid); |
| | | @Param("uid") Long uid, @Param("gooodsType") Integer gooodsType); |
| | | |
| | | long countQueryByUid(@Param("uid") Long uid); |
| | | long countQueryByUid(@Param("uid") Long uid, @Param("gooodsType") Integer gooodsType); |
| | | |
| | | /** |
| | | * 根据用户id、 简版商品 id(CommonGoods.id) |
| | |
| | | * @param auctionId 淘宝商品 id |
| | | * @return |
| | | */ |
| | | UserGoodsStorage getByUidAndAuctionId(@Param("uid") Long uid, @Param("auctionId") Long auctionId); |
| | | UserGoodsStorage getByUidAndAuctionId(@Param("uid") Long uid, @Param("auctionId") Long auctionId, @Param("gooodsType") Integer gooodsType); |
| | | |
| | | |
| | | /** |
| | | * 根据多个主键获取商品 |
| | | * @param list |
| | | * @return |
| | | */ |
| | | List<UserGoodsStorage> listQueryByIds(List<Long> list); |
| | | |
| | | } |