CmsAccountService.java 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. package com.cyksj.service.mange;
  2. import com.baomidou.mybatisplus.core.metadata.IPage;
  3. import com.baomidou.mybatisplus.extension.service.IService;
  4. import com.cyksj.model.entity.Account;
  5. import com.cyksj.model.entity.OrderDon;
  6. import com.cyksj.model.excel.ExcelAccountData;
  7. import com.cyksj.model.manage.views.AccountView;
  8. import com.cyksj.model.views.CmsUserVO;
  9. import com.cyksj.model.views.ExpiredAccountDataView;
  10. import org.springframework.web.multipart.MultipartFile;
  11. import java.util.Date;
  12. import java.util.List;
  13. /**
  14. * @author chan
  15. * @date 2022/9/27 6:23 PM
  16. */
  17. public interface CmsAccountService extends IService<Account> {
  18. IPage<ExpiredAccountDataView> getExpiredAccountView(Boolean isCorpWx, String customerService, Long goodsId, Long skuId, String account, Boolean renewStatus, Boolean handleStatus, String cnAccount, String usAccount, Integer userId, String startTime, String endTime, String now, Long offset, Long limit);
  19. List<OrderDon> getNoAppleOneOrderDon(List<Long> skuIds, Date yesZeroDate, Date thisZeroDate, List<String> noOrderStatus);
  20. List<ExcelAccountData> getExpiredAccountViewNoPage(Boolean isCorpWx, String customerService, Long goodsId, Long skuId, String account, Boolean renewStatus, Boolean handleStatus, String cnAccount, String usAccount, Integer userId, String startDate, String endDate, String toString);
  21. /**
  22. * 获取所有车票已过期的账号
  23. */
  24. List<AccountView> getExpiredAllAccount();
  25. /**
  26. * 保存修改密码记录
  27. */
  28. void saveRecord(Long operateUserId,Long accountId, String oldPassword, String newPassword, String type);
  29. void recordAutoUpdatePwd(Long accountId, String account, String oldPwd, String newPwd, String operateIp);
  30. void assignDeleteCustomerAccount(Long customerServiceId);
  31. void assignCustomerAccount(List<CmsUserVO> customers, List<AccountView> accountViews);
  32. /**
  33. * 解析ChatGPT独立账号
  34. */
  35. void analysisChatGPTAccount(Long goodsId, Long skuId, List<Object> accountList);
  36. /**
  37. * 解析ChatGpt美区APPID账号
  38. */
  39. void analysisAmericaAppidAccount(Long goodsId, Long skuId, List<Object> accountList);
  40. void readFileAndImportEmail(MultipartFile file) throws Exception;
  41. void batchImportBlockedAccount(Long goodsId, List<Object> accountBlockedList);
  42. String nfUpgradeDevice(Long accountId) throws Exception;
  43. }