订单列表优化
This commit is contained in:
@@ -0,0 +1,17 @@
|
||||
package com.bms.price.mapper;
|
||||
|
||||
import java.util.List;
|
||||
import org.apache.ibatis.annotations.Param;
|
||||
|
||||
/**
|
||||
* 订单监控查询专用:把用户混合录入的客户名称/客户代码解析为客户代码集合。
|
||||
* 走默认(MASTER/MySQL)数据源;Oracle TAB_ORDER 的 CUSTOMER_NAME 无索引,
|
||||
* 不能在 Oracle 侧做名称 OR,否则会全表扫描。
|
||||
*/
|
||||
public interface CustomerCodeResolveMapper
|
||||
{
|
||||
/**
|
||||
* 按客户代码或客户名称精确匹配,返回命中的客户代码(同名客户可能对应多个代码)。
|
||||
*/
|
||||
List<String> selectCustomerCodesByKeywords(@Param("keywords") List<String> keywords);
|
||||
}
|
||||
Reference in New Issue
Block a user