feat(parkingRecord): 添加停车记录中的站点名称显示功能
| | |
| | | @TableField("code") |
| | | private String code; |
| | | |
| | | @TableField(exist = false) |
| | | private String siteName; |
| | | |
| | | @ApiModelProperty(value = "车辆颜色") |
| | | @TableField("vehicle_color") |
| | | private String vehicleColor; |
| | |
| | | |
| | | |
| | | |
| | | @RequiresPermissions(value = {"/balanceSheetRecord", "/partners", "/chargingPile/add", "/chargingPile/select", "/chargingPile/update", "/invoiceManagement"}, logical = Logical.OR) |
| | | @RequiresPermissions(value = {"/balanceSheetRecord", "/partners", "/parkingRecord", "/chargingPile/add", "/chargingPile/select", "/chargingPile/update", "/invoiceManagement"}, logical = Logical.OR) |
| | | @ResponseBody |
| | | @GetMapping("/getPartnerList") |
| | | @ApiOperation(value = "获取合作商列表", tags = {"管理后台-合作商管理"}) |
| | |
| | | |
| | | @RequiresPermissions(value = {"/systemUserManagement/update", "/site", "/platformRevenueAnalysis", "/chargingOperationAnalysis", |
| | | "/chargingUserAnalysis", "/operationMaintenanceAnalysis", "/chargingEquipmentMonitoring", "/activityExpense", "/chargeEvaluation/list", |
| | | "/parkingLot", "/workbench", "/invoiceManagement"}, logical = Logical.OR) |
| | | "/parkingLot", "/parkingRecord", "/workbench", "/invoiceManagement"}, logical = Logical.OR) |
| | | @GetMapping("/getSiteList") |
| | | @ApiOperation(value = "获取站点列表", tags = {"管理后台-站点管理"}) |
| | | public AjaxResult<PageInfo<GetSiteListDTO>> getSiteList(GetSiteList siteList){ |
| | |
| | | if (byId != null) { |
| | | record.setParkName(byId.getName()); |
| | | record.setSiteId(byId.getSiteId()); |
| | | GetSiteListDTO siteInfo = visibleSiteMap.get(byId.getSiteId()); |
| | | if (siteInfo != null) { |
| | | record.setSiteName(siteInfo.getName()); |
| | | } |
| | | if (partnerUser) { |
| | | List<Boolean> data1 = partnerClient.parkingRecordListMenu(sysUser.getObjectId(), byId.getSiteId()).getData(); |
| | | record.setAuthInfo(getMenuFlag(data1, 0)); |