You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.3 KiB
Java
46 lines
1.3 KiB
Java
package com.glxp.api.service.auth;
|
|
|
|
import com.glxp.api.entity.auth.CustomerDetailEntity;
|
|
import com.glxp.api.entity.auth.CustomerInfoEntity;
|
|
import com.glxp.api.req.auth.CustomerInfoFilterRequest;
|
|
|
|
import java.util.List;
|
|
|
|
public interface CustomerInfoService {
|
|
|
|
List<CustomerInfoEntity> filterCustomerInfo(CustomerInfoFilterRequest customerInfoFilterRequest);
|
|
|
|
List<CustomerDetailEntity> filterDetailCustomer(CustomerInfoFilterRequest customerInfoFilterRequest);
|
|
|
|
boolean insertCustomerInfo(CustomerInfoEntity customerInfoEntity);
|
|
|
|
boolean updateCustomerInfo(CustomerInfoEntity customerInfoEntity);
|
|
|
|
boolean modifyCustomerInfo(CustomerDetailEntity customerDetailEntity);
|
|
|
|
boolean deleteById(String id);
|
|
|
|
CustomerInfoEntity selectById(String customerId);
|
|
|
|
boolean isExitRoleId(String roleId);
|
|
|
|
CustomerDetailEntity selectDetail(String customerId);
|
|
|
|
/**
|
|
* 根据客户ID查询客户信息
|
|
*
|
|
* @param customerId
|
|
* @return
|
|
*/
|
|
CustomerInfoEntity findByCustomerId(String customerId);
|
|
|
|
/**
|
|
* 获取 供应商状态为 userFlag 的 customerIds列表
|
|
* @param userFlag
|
|
* @return
|
|
*/
|
|
List<Long> selectCustomerIdListByUserFlag(Integer userFlag);
|
|
|
|
List<CustomerInfoEntity> getList(CustomerInfoEntity customerInfoEntity);
|
|
}
|