ClientCustomerService.java 1.48 KB
package com.infoloop.tianting.service;

import com.infoloop.tianting.model.dto.ClientCustomerDbDTO.ClientCustomerDto;
import com.infoloop.tianting.model.dto.ClientCustomerDbDTO.HospitalRecordDto;
import com.infoloop.tianting.model.dto.ClientCustomerDbDTO.TodayOrderDto;
import com.infoloop.tianting.model.dto.ClientLabelDTO.BatchCreateCustomerLabelRefDto;
import com.infoloop.tianting.model.dto.ClientLabelDTO.BatchCreateCustomerLabelRefResponseDto;
import com.infoloop.tianting.model.dto.ClientLabelDTO.BatchDeleteCustomerLabelRefRequestDto;
import com.infoloop.tianting.model.dto.ClientLabelDTO.BatchDeleteCustomerLabelRefResponseDto;
import com.infoloop.tianting.model.dto.ClientLabelDTO.CustomerLabelRefDetailDto;
import java.util.List;

public interface ClientCustomerService {

  ClientCustomerDto getClientCustomerByHISCustomerId(String hisCustomerId);

  ClientCustomerDto getClientCustomerByPhone(String phone);

  List<HospitalRecordDto> getClientCustomerHospitalRecordsByCustomerId(
      Integer enterpriseId, Integer customerId);

  BatchCreateCustomerLabelRefResponseDto batchCreateClientCustomerLabelRefs(
      BatchCreateCustomerLabelRefDto batchCreateCustomerLabelRefDto);

  List<CustomerLabelRefDetailDto> getCustomerLabelsByCustomerId(
      Integer enterpriseId, Integer customerId);

  BatchDeleteCustomerLabelRefResponseDto deleteClientCustomerLabelRefsByIds(
      BatchDeleteCustomerLabelRefRequestDto deleteRequestDto);

  TodayOrderDto getTodayOrderStatistic(String token, boolean isHis);

}