| | |
| | | package com.ruoyi.other.api.feignClient; |
| | | |
| | | import com.ruoyi.common.core.constant.ServiceNameConstants; |
| | | import com.ruoyi.common.core.domain.R; |
| | | import com.ruoyi.other.api.domain.ShopBalanceStatement; |
| | | import com.ruoyi.other.api.factory.ShopBalanceStatementClientFallbackFactory; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | | |
| | | import java.time.LocalDateTime; |
| | | import java.util.Collection; |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * @author zhibing.pu |
| | |
| | | */ |
| | | @PostMapping("/shop-balance-statement/saveShopBalanceStatement") |
| | | void saveShopBalanceStatement(@RequestBody ShopBalanceStatement shopBalanceStatement); |
| | | |
| | | |
| | | /** |
| | | * 获取门店余额流水 |
| | | * @param types |
| | | * @return |
| | | */ |
| | | @PostMapping("/shop-balance-statement/getShopBalanceStatementList") |
| | | R<List<ShopBalanceStatement>> getShopBalanceStatementList(@RequestParam("types") Collection<Integer> types, @RequestParam(value = "objectId",required = false) Long objectId); |
| | | |
| | | @PostMapping("/shop-balance-statement/getShopBalanceStatementList2") |
| | | R<List<ShopBalanceStatement>> getShopBalanceStatementList2(@RequestParam("type") Integer type, @RequestParam(value = "shopId") Integer shopId, |
| | | @RequestParam(value = "date") LocalDateTime date); |
| | | } |