|  |  | 
 |  |  | package com.matrix.system.hive.service; | 
 |  |  |  | 
 |  |  | import com.matrix.core.pojo.PaginationVO; | 
 |  |  | import com.matrix.system.app.dto.ShoppingGoodsListDto; | 
 |  |  | import com.matrix.system.app.vo.ShoppingGoodsDetailVo; | 
 |  |  | import com.matrix.system.app.vo.ShoppingGoodsListVo; | 
 |  |  | import com.matrix.system.hive.bean.ShoppingGoods; | 
 |  |  | import com.matrix.system.hive.plugin.util.BaseServices; | 
 |  |  |  | 
 |  |  | 
 |  |  |  | 
 |  |  |    public  ShoppingGoods findByCode(String goodsCode); | 
 |  |  |  | 
 |  |  |    Date calInvalidTime(ShoppingGoods shoppingGoods, Integer type); | 
 |  |  |    Date calInvalidTime(ShoppingGoods shoppingGoods, Integer type, Date buyDate); | 
 |  |  |  | 
 |  |  |    List<ShoppingGoodsListVo> findShoppingGoodsListForApi(ShoppingGoodsListDto shoppingGoodsListDto); | 
 |  |  |  | 
 |  |  |    int findShoppingGoodsListTotalForApi(ShoppingGoodsListDto shoppingGoodsListDto); | 
 |  |  |  | 
 |  |  |    ShoppingGoodsDetailVo findApiShoppingGoodsDetailById(Long id); | 
 |  |  | } |