2024-07-29 17:24:14 +08:00
|
|
|
package com.ai.da.service;
|
|
|
|
|
|
2025-01-10 13:27:27 +08:00
|
|
|
import com.ai.da.common.response.PageBaseResponse;
|
2024-08-01 10:00:26 +08:00
|
|
|
import com.ai.da.mapper.primary.entity.Account;
|
2025-05-19 14:02:42 +08:00
|
|
|
import com.ai.da.mapper.primary.entity.Organization;
|
2024-07-29 17:24:14 +08:00
|
|
|
import com.ai.da.mapper.primary.entity.Questionnaire;
|
2024-08-05 15:19:02 +08:00
|
|
|
import com.ai.da.mapper.primary.entity.TrialOrder;
|
2025-04-13 17:20:14 +08:00
|
|
|
import com.ai.da.model.dto.*;
|
2025-01-10 13:27:27 +08:00
|
|
|
import com.ai.da.model.vo.PaymentInfoVO;
|
2024-07-29 17:24:14 +08:00
|
|
|
import com.ai.da.model.vo.QuestionnaireFeedbackVO;
|
|
|
|
|
import com.ai.da.model.vo.QuestionnaireVO;
|
2024-08-05 15:19:02 +08:00
|
|
|
import com.ai.da.model.vo.QueryUserConditionsVO;
|
2024-08-01 10:00:26 +08:00
|
|
|
import com.baomidou.mybatisplus.core.metadata.IPage;
|
2024-07-29 17:24:14 +08:00
|
|
|
import com.baomidou.mybatisplus.extension.service.IService;
|
|
|
|
|
|
2025-11-25 16:46:05 +08:00
|
|
|
import jakarta.servlet.http.HttpServletResponse;
|
2024-07-29 17:24:14 +08:00
|
|
|
import java.util.List;
|
2024-08-01 10:00:26 +08:00
|
|
|
import java.util.Map;
|
2024-07-29 17:24:14 +08:00
|
|
|
|
|
|
|
|
public interface ConvenientInquiryService extends IService<Questionnaire> {
|
|
|
|
|
|
2024-08-05 15:19:02 +08:00
|
|
|
IPage<TrialOrder> getTrial(QueryUserConditionsVO queryUserConditionsVO);
|
|
|
|
|
|
2025-10-08 21:04:19 +08:00
|
|
|
List<UserDesignStatisticDTO> getDesignStatistic(String startTime, String endTime, List<Long> ids,
|
|
|
|
|
String email, String organizationName);
|
2025-04-13 17:20:14 +08:00
|
|
|
|
2024-07-29 17:24:14 +08:00
|
|
|
QuestionnaireFeedbackVO getQuestionnaireInfo();
|
|
|
|
|
|
|
|
|
|
List<QuestionnaireVO> getAllQuestionnaire();
|
2024-08-01 10:00:26 +08:00
|
|
|
|
2024-08-06 11:29:33 +08:00
|
|
|
IPage<Account> recentNewUser(QueryUserConditionsVO queryUserConditionsVO);
|
2024-08-01 10:00:26 +08:00
|
|
|
|
2024-08-06 11:29:33 +08:00
|
|
|
Map<String, Object> recentNewUserChart(String startTime, String endTime, Integer userType);
|
2024-08-01 10:00:26 +08:00
|
|
|
|
2024-08-06 11:29:33 +08:00
|
|
|
IPage<Account> recentActiveUser(QueryUserConditionsVO queryUserConditionsVO);
|
2024-08-01 10:00:26 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
int recentActiveUserChart(String startTime, String endTime);
|
|
|
|
|
|
|
|
|
|
Map<String, List<Object>> getActiveUserFunc(String startTime, String endTime, List<Long> ids);
|
2024-08-05 15:19:02 +08:00
|
|
|
|
2024-11-06 17:51:51 +08:00
|
|
|
Map<String, Object> conversionRate(String startTime, String endTime);
|
2024-08-05 15:19:02 +08:00
|
|
|
|
2024-11-06 17:27:16 +08:00
|
|
|
Map<String, List<Object>> trialUserCountry(String startTime, String endTime);
|
2024-08-05 15:19:02 +08:00
|
|
|
|
|
|
|
|
Boolean addUser(AccountAddDTO accountAddDTO);
|
|
|
|
|
|
2025-10-06 18:09:11 +08:00
|
|
|
Organization checkOrganization(Integer systemUser, String organizationName);
|
|
|
|
|
|
2024-08-05 15:19:02 +08:00
|
|
|
Boolean modifyUser(Long accountId, Long validEndTime, Integer systemUser, Long credits);
|
|
|
|
|
|
|
|
|
|
IPage<Account> getUserInfo(QueryUserConditionsVO queryUserConditionsVO);
|
|
|
|
|
|
2026-01-06 09:56:21 +08:00
|
|
|
IPage<Map<String, Object>> getAllUserIdList(Integer pageNum, Integer pageSize);
|
2025-01-10 13:27:27 +08:00
|
|
|
|
|
|
|
|
PageBaseResponse<PaymentInfoVO> queryTransactionRecords(QueryPaymentInfoDTO queryPaymentInfoDTO);
|
2025-01-10 16:13:45 +08:00
|
|
|
|
|
|
|
|
Map<String, List<String>> getCities();
|
2025-01-24 13:26:53 +08:00
|
|
|
|
2025-01-27 16:39:19 +08:00
|
|
|
String exportTransactionRecords(QueryPaymentInfoDTO queryPaymentInfoDTO, HttpServletResponse response);
|
2025-04-13 17:20:14 +08:00
|
|
|
|
|
|
|
|
PageBaseResponse<AccountCreditsUsageDTO> getGenerateFrequency(AccountCreditsUsageQueryDTO queryDTO);
|
2025-04-14 14:14:45 +08:00
|
|
|
|
|
|
|
|
List<String> getAllGenerateFuncName();
|
2025-05-19 14:02:42 +08:00
|
|
|
|
2025-10-06 18:09:11 +08:00
|
|
|
Organization addOrganization(String name, String type);
|
2025-05-19 14:02:42 +08:00
|
|
|
|
2025-10-06 18:09:11 +08:00
|
|
|
IPage<Organization> queryOrganization(QueryOrganizationPageDTO queryOrganizationPageDTOe);
|
2024-07-29 17:24:14 +08:00
|
|
|
}
|