huliguo
2025-06-09 3348eda2c33469e9935ae6afcf83ea5c52cea906
ruoyi-service/ruoyi-other/src/main/java/com/ruoyi/other/service/ShopService.java
@@ -2,14 +2,15 @@
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.common.core.web.page.PageInfo;
import com.ruoyi.other.api.domain.Shop;
import com.ruoyi.other.vo.NearbyShopVO;
import com.ruoyi.other.vo.SaveWithdrawalAccount;
import com.ruoyi.other.vo.ShopDetailVO;
import io.swagger.annotations.ApiParam;
import org.springframework.web.bind.annotation.RequestParam;
import com.ruoyi.other.api.domain.ShopBalanceStatement;
import com.ruoyi.other.dto.AddGoodsDTO;
import com.ruoyi.other.vo.*;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.util.List;
/**
@@ -24,7 +25,8 @@
    IPage<Shop> getShopList(Integer PageNum, Integer pageSize, Shop shop);
    List<NearbyShopVO> nearbyShopList(BigDecimal longitude, BigDecimal latitude);
    List<NearbyShopVO> nearbyShopList(BigDecimal longitude, BigDecimal latitude,Shop shop);
    ShopDetailVO getShopDetail(Integer shopId, BigDecimal longitude, BigDecimal latitude);
@@ -35,4 +37,29 @@
     * @param saveWithdrawalAccount
     */
    void saveWithdrawalAccount(SaveWithdrawalAccount saveWithdrawalAccount);
    /**
     * 店铺余额统计
     */
    ShopBalanceVO getShopBalance(Integer shopId);
    /**
     * 店铺余额变更明细
     */
    PageInfo<ShopBalanceStatementVO> getShopBalanceStatementList(Integer shopId, LocalDateTime startTime, LocalDateTime endTime, Integer type, Integer pageCurr, Integer pageSize);
    /**
     * 店铺内商品列表 门店后台
     */
    List<GoodsVO> getGoodsListByShopId(PageInfo<GoodsVO> pageInfo, Integer shopId);
    GoodsVO goodsDetail(Long goodsId);
    Integer addGoodsByShop(AddGoodsDTO addGoodsDTO);
    Integer editGoodsByShop(AddGoodsDTO addGoodsDTO);
    PageInfo<ShopBalanceListVO> getBalanceList(String name, Integer pageCurr, Integer pageSize);
}