|
|
@@ -153,7 +153,8 @@ namespace CallCenterApi.Interface.Controllers.customer
|
|
153
|
153
|
if (!string.IsNullOrEmpty(tel))
|
|
154
|
154
|
{
|
|
155
|
155
|
//var userModel = new BLL.T_Cus_CustomerBase().GetModelList(" F_Telephone like '%" + tel + "%' or F_Mobile like '%" + tel + "%' ");
|
|
156
|
|
- var userModel = new BLL.T_Cus_CustomerBase().GetModelList(" F_Telephone = '" + tel + "' or F_Mobile = '" + tel + "' ");
|
|
|
156
|
+ //2018-04-25 lihai 问题是客户资料删除来电弹屏还有信息,添加F_DeleteFlag = 0条件
|
|
|
157
|
+ var userModel = new BLL.T_Cus_CustomerBase().GetModelList(" (F_Telephone = '" + tel + "' or F_Mobile = '" + tel + "') AND F_DeleteFlag = 0 ");
|
|
157
|
158
|
if (userModel.Count() > 0)
|
|
158
|
159
|
{
|
|
159
|
160
|
res = Success("获取成功", userModel.Last());
|