| | |
| | | package com.ruoyi.other.controller; |
| | | |
| | | import com.ruoyi.common.core.domain.R; |
| | | import com.ruoyi.common.core.web.domain.AjaxResult; |
| | | import com.ruoyi.common.log.annotation.Log; |
| | | import com.ruoyi.common.log.enums.BusinessType; |
| | |
| | | } |
| | | |
| | | /** |
| | | * 内部接口:查询公司的优惠设置(VIN码充电结算按优惠设置计费使用,未配置时优惠字段为空) |
| | | */ |
| | | @GetMapping("/inner/detail") |
| | | @ApiOperation(value = "内部-查询公司优惠设置", tags = {"内部调用"}) |
| | | public R<CompanyPreferentialDTO> innerDetail(@RequestParam("companyId") Integer companyId) { |
| | | return R.ok(companyPreferentialService.getPreferential(companyId)); |
| | | } |
| | | |
| | | /** |
| | | * 保存公司的优惠设置(一个公司一条配置,保存即覆盖) |
| | | */ |
| | | @RequiresPermissions(value = {"/companyManagement/list"}, logical = Logical.OR) |