| | |
| | | package com.ruoyi.other.service; |
| | | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.common.core.web.domain.AjaxResult; |
| | | import com.ruoyi.other.api.domain.TGroupCompany; |
| | | |
| | | /** |
| | |
| | | */ |
| | | TGroupCompany getDetail(Integer id); |
| | | |
| | | /** |
| | | * 添加公司并同步创建登录账号(sys_user,roleType=5) |
| | | * |
| | | * @param company 公司(含账号、密码) |
| | | * @return 操作结果 |
| | | */ |
| | | AjaxResult addCompany(TGroupCompany company); |
| | | |
| | | /** |
| | | * 编辑公司并同步登录账号资料(不修改密码) |
| | | * |
| | | * @param company 公司 |
| | | * @return 操作结果 |
| | | */ |
| | | AjaxResult editCompany(TGroupCompany company); |
| | | |
| | | /** |
| | | * 删除公司并停用其登录账号(delFlag=2) |
| | | * |
| | | * @param id 公司ID |
| | | * @return 操作结果 |
| | | */ |
| | | AjaxResult delCompany(Integer id); |
| | | |
| | | } |