|  |  | 
 |  |  |  | 
 |  |  | import com.moral.api.entity.ManageAccount; | 
 |  |  | import com.baomidou.mybatisplus.extension.service.IService; | 
 |  |  | import com.moral.api.pojo.dto.account.*; | 
 |  |  | import com.moral.api.pojo.dto.login.LoginDTO; | 
 |  |  | import com.moral.api.pojo.form.account.AccountDeleteForm; | 
 |  |  | import com.moral.api.pojo.form.account.AccountInsertForm; | 
 |  |  | import com.moral.api.pojo.form.account.AccountQueryForm; | 
 |  |  | import com.moral.api.pojo.form.account.AccountUpdateForm; | 
 |  |  | import com.moral.api.pojo.form.login.LoginForm; | 
 |  |  | import com.moral.api.pojo.form.login.LogoutForm; | 
 |  |  |  | 
 |  |  | /** | 
 |  |  |  * <p> | 
 |  |  | 
 |  |  |  * @since 2021-03-09 | 
 |  |  |  */ | 
 |  |  | public interface ManageAccountService extends IService<ManageAccount> { | 
 |  |  |     /** | 
 |  |  |     * @Description: 登陆 | 
 |  |  |             * @Param: [AESAccount, AESPassword] | 
 |  |  |             * @return: java.util.Map<java.lang.String,java.lang.Object> | 
 |  |  |             * @Author: 陈凯裕 | 
 |  |  |             * @Date: 2021/3/12 | 
 |  |  |             */ | 
 |  |  |     LoginDTO login(LoginForm loginForm); | 
 |  |  |  | 
 |  |  |    /** | 
 |  |  |    * @Description: 注销 | 
 |  |  |            * @Param: [accountId, token] | 
 |  |  |            * @return: java.util.Map<java.lang.String,java.lang.Object> | 
 |  |  |            * @Author: 陈凯裕 | 
 |  |  |            * @Date: 2021/3/12 | 
 |  |  |            */ | 
 |  |  |    boolean logout(LogoutForm logoutForm); | 
 |  |  |  | 
 |  |  |    /** | 
 |  |  |    * @Description: 添加后台账号 | 
 |  |  |            * @Param: [accountAddRequest] | 
 |  |  |            * @return: com.moral.api.pojo.dto.AccountDTO | 
 |  |  |            * @Author: 陈凯裕 | 
 |  |  |            * @Date: 2021/3/13 | 
 |  |  |            */ | 
 |  |  |     AccountDTO insertAccount(AccountInsertForm accountInsertForm); | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |     * @Description: 查询账号 | 
 |  |  |             * @Param: [accountQueryRequest] | 
 |  |  |             * @return: com.moral.api.pojo.dto.AccountDTO | 
 |  |  |             * @Author: 陈凯裕 | 
 |  |  |             * @Date: 2021/3/15 | 
 |  |  |             */ | 
 |  |  |     AccountQueryDTO queryAccount(AccountQueryForm accountQueryForm); | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |     * @Description: 更新账号 | 
 |  |  |             * @Param: [accountUpdateRequest] | 
 |  |  |             * @return: com.moral.api.pojo.dto.account.AccountDTO | 
 |  |  |             * @Author: 陈凯裕 | 
 |  |  |             * @Date: 2021/3/15 | 
 |  |  |             */ | 
 |  |  |     AccountDTO updateAccount(AccountUpdateForm accountUpdateForm); | 
 |  |  |  | 
 |  |  |     /** | 
 |  |  |     * @Description: 删除账号 | 
 |  |  |             * @Param: [accountDeleteRequest] | 
 |  |  |             * @return: com.moral.api.pojo.dto.account.AccountDeleteDTO | 
 |  |  |             * @Author: 陈凯裕 | 
 |  |  |             * @Date: 2021/3/16 | 
 |  |  |             */ | 
 |  |  |     AccountDTO deleteAccount(AccountDeleteForm accountDeleteForm); | 
 |  |  | } |