Commit cc0af4a0 by 杨林龙

添加下拉选模糊查询接口 yangll

1 parent 0ebd4daf
......@@ -22,7 +22,7 @@ public interface UserMgrService {
*
* @return
*/
List<String> getCustomerNameList();
List<String> getCustomerNameList(String customerName);
/**
* 获取用户数量
......
......@@ -20,7 +20,7 @@ public interface PlatformCustomerMapper extends OreMapper<PlatformCustomer> {
List<PlatformCustomer> getCustomerMgrList();
List<String> getCustomerNameList();
List<String> getCustomerNameList(@Param("customerName") String customerName);
int getCustomerCount();
......
......@@ -36,8 +36,8 @@ public class UserMgrServiceImpl implements UserMgrService {
}
@Override
public List<String> getCustomerNameList() {
return customerMapper.getCustomerNameList();
public List<String> getCustomerNameList(String customerName) {
return customerMapper.getCustomerNameList(customerName);
}
@Override
......
......@@ -199,6 +199,7 @@
<select id="getCustomerNameList" resultType="java.lang.String">
select distinct customer_name
from t_platform_customer
where customer_name like '%${customerName}%'
</select>
<select id="getCustomerCount" resultType="java.lang.Integer">
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!