| | |
| | | */ |
| | | public interface UserService extends IService<User> { |
| | | |
| | | /** |
| | | * @Description: 查询所有组织的admin用户 |
| | | * @Param: [form] |
| | | * @return: com.moral.api.pojo.dto.user.UserQueryDTO |
| | | * @Author: 陈凯裕 |
| | | * @Date: 2021/5/20 |
| | | */ |
| | | UserQueryDTO queryUsers(UserQueryForm form); |
| | | |
| | | /** |
| | | * @Description: 更新组织的admin用户 |
| | | * @Param: [form] |
| | | * @return: com.moral.api.pojo.dto.user.UserDTO |
| | | * @Author: 陈凯裕 |
| | | * @Date: 2021/5/20 |
| | | */ |
| | | UserDTO updateUser(UserUpdateForm form); |
| | | |
| | | /** |
| | | * @Description: 删除组织的admin用户 |
| | | * @Param: [form] |
| | | * @return: com.moral.api.pojo.dto.user.UserDTO |
| | | * @Author: 陈凯裕 |
| | | * @Date: 2021/5/20 |
| | | */ |
| | | UserDTO deleteUser(UserDeleteForm form); |
| | | |
| | | /** |
| | | * @Description: 插入组织的admin用户 |
| | | * @Param: [form] |
| | | * @return: com.moral.api.pojo.dto.user.UserDTO |
| | | * @Author: 陈凯裕 |
| | | * @Date: 2021/5/20 |
| | | */ |
| | | UserDTO insertUser(UserInsertForm form); |
| | | |
| | | UserDTO deleteUserByOrganizationId(Integer organizationId); |
| | | /** |
| | | * @Description: 删除组织的时候调用,删除组织下的所有用户 |
| | | * @Param: [organizationId] |
| | | * @return: com.moral.api.pojo.dto.user.UserDTO |
| | | * @Author: 陈凯裕 |
| | | * @Date: 2021/5/20 |
| | | */ |
| | | UserDTO deleteUsersByOrganizationId(Integer organizationId); |
| | | |
| | | } |