| | |
| | | import com.baomidou.mybatisplus.extension.plugins.pagination.Page; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.account.api.dto.AppUserWhitelistAllocateDTO; |
| | | import com.ruoyi.account.api.dto.AppUserWhitelistExcelDTO; |
| | | import com.ruoyi.account.api.dto.AppUserWhitelistQueryDTO; |
| | | import com.ruoyi.account.api.dto.AppUserWhitelistSaveDTO; |
| | | import com.ruoyi.account.api.dto.AppUserWhitelistStatusDTO; |
| | | import com.ruoyi.account.api.model.TAppUserWhitelist; |
| | | import com.ruoyi.account.api.vo.AppUserWhitelistAllocateVO; |
| | | import com.ruoyi.account.api.vo.AppUserWhitelistMatchVO; |
| | |
| | | */ |
| | | int unbindFleet(List<Long> ids); |
| | | |
| | | /** |
| | | * 导出白名单用户列表:与列表查询同一筛选口径(含合作商数据范围),并回填公司与车队名称、账户信息 |
| | | */ |
| | | List<AppUserWhitelistExcelDTO> selectExportList(AppUserWhitelistQueryDTO queryDTO); |
| | | |
| | | /** |
| | | * 启用/停用白名单用户:仅允许 1=启用、2=停用,合作商账号仅能操作自身可见的数据 |
| | | */ |
| | | boolean updateStatus(AppUserWhitelistStatusDTO statusDTO); |
| | | |
| | | AppUserWhitelistImportResultVO importWhitelist(MultipartFile file) throws Exception; |
| | | |
| | | AppUserWhitelistMatchVO matchWhitelist(Long appUserId, Integer siteId); |
| | | |
| | | /** |
| | | * 解析白名单账户可用余额(小程序充电页余额显示):按所属公司账户模式, |
| | | * 共享模式=公司可用余额,分配模式=白名单用户余额,账户模式未知按共享处理; |
| | | * 公司信息查询失败时降级返回 null(由调用方保持原余额显示) |
| | | */ |
| | | BigDecimal resolveWhitelistAccountBalance(AppUserWhitelistMatchVO match); |
| | | |
| | | /** |
| | | * 按公司查询未删除的白名单用户列表(公司详情-充电用户信息聚合使用) |
| | | */ |
| | | List<TAppUserWhitelist> listByCompany(Integer companyId); |