src/main/java/com/moral/mapper/AccountMapper.java
@@ -3,11 +3,19 @@ import java.util.List; import java.util.Map; import org.apache.ibatis.annotations.Param; import com.moral.common.mapper.BaseMapper; import com.moral.entity.Account; public interface AccountMapper extends BaseMapper<Account> { List<Map<String, Object>> getRoleNameByAccountId(Integer accountId); Account getByAccountName(String name); Map<String, Object> getOrganizationIdByAccountId(Integer accountId); List<Account> getAccountList(@Param("accountName") String accountName); }