| | |
| | | import com.ruoyi.common.core.constant.ServiceNameConstants; |
| | | import com.ruoyi.common.core.domain.R; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.GetMapping; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | | import org.springframework.web.bind.annotation.RequestParam; |
| | |
| | | * @param siteId |
| | | * @return |
| | | */ |
| | | @PostMapping("/t-accounting-strategy-detail/getDetailBySiteId") |
| | | @GetMapping("/t-accounting-strategy-detail/getDetailBySiteId") |
| | | R<TAccountingStrategyDetail> getDetailBySiteId(@RequestParam("siteId") Integer siteId); |
| | | /** |
| | | * 通过桩编号查询当前时段使用的策略明细 |
| | | * @param code |
| | | * @return |
| | | */ |
| | | @PostMapping("/t-accounting-strategy-detail/getDetailByCode") |
| | | @GetMapping("/t-accounting-strategy-detail/getDetailByCode") |
| | | R<TAccountingStrategyDetail> getDetailByCode(@RequestParam("code") String code); |
| | | /** |
| | | * 校验充电桩计费模版是否准确 |
| | |
| | | * @param id |
| | | * @return |
| | | */ |
| | | @PostMapping("/t-accounting-strategy-detail/getListByAccountingStrategyId") |
| | | @GetMapping("/t-accounting-strategy-detail/getListByAccountingStrategyId") |
| | | R<List<TAccountingStrategyDetail>> getListByAccountingStrategyId(@RequestParam("id") Integer id); |
| | | /** |
| | | * 通过桩编号查询当前使用的策略明细列表 |
| | | * @param code |
| | | * @return |
| | | */ |
| | | @PostMapping("/t-accounting-strategy-detail/getDetailListByCode") |
| | | @GetMapping("/t-accounting-strategy-detail/getDetailListByCode") |
| | | R<List<TAccountingStrategyDetail>> getDetailListByCode(@RequestParam("code") String code); |
| | | } |