|
|
@@ -22,6 +22,8 @@ namespace CallCenterApi.Interface.Controllers.customer
|
|
22
|
22
|
BLL.T_Sys_Department deptbll = new BLL.T_Sys_Department();
|
|
23
|
23
|
BLL.T_Sys_RoleInfo rolebll = new BLL.T_Sys_RoleInfo();
|
|
24
|
24
|
BLL.T_Cus_CustomerFinance finbll = new BLL.T_Cus_CustomerFinance();
|
|
|
25
|
+ BLL.T_Sys_SystemConfig sysConfigBLL = new BLL.T_Sys_SystemConfig();
|
|
|
26
|
+
|
|
25
|
27
|
#region 客户管理
|
|
26
|
28
|
/// <summary>
|
|
27
|
29
|
/// 获取客户列表
|
|
|
@@ -101,7 +103,7 @@ namespace CallCenterApi.Interface.Controllers.customer
|
|
101
|
103
|
dt = BLL.PagerBLL.GetListPager(
|
|
102
|
104
|
"T_Cus_CustomerBaseNew",
|
|
103
|
105
|
"F_CustomerId",
|
|
104
|
|
- "*,dbo.GetDeptName(F_BeDept) as F_BeDeptName",
|
|
|
106
|
+ "*,dbo.GetDeptName(F_BeDept) as F_BeDeptName,dbo.GetCusType(F_CusType) as F_CusType",
|
|
105
|
107
|
sql,
|
|
106
|
108
|
"ORDER BY F_CustomerId desc",
|
|
107
|
109
|
pagesize,
|
|
|
@@ -183,6 +185,8 @@ namespace CallCenterApi.Interface.Controllers.customer
|
|
183
|
185
|
deptname = deptmodel.F_DeptName;
|
|
184
|
186
|
}
|
|
185
|
187
|
#endregion
|
|
|
188
|
+
|
|
|
189
|
+
|
|
186
|
190
|
var conlist = conbll.GetModelList(" F_DeleteFlag=0 and F_CustomerId=" + cusid);
|
|
187
|
191
|
var finlist = finbll.GetModelList(" F_DeleteFlag=0 and F_CustomerId=" + cusid);
|
|
188
|
192
|
var obj = new
|
|
|
@@ -388,6 +392,8 @@ namespace CallCenterApi.Interface.Controllers.customer
|
|
388
|
392
|
model.F_WxPassword = input.F_WxPassword;
|
|
389
|
393
|
if (input.F_BeDept > 0)
|
|
390
|
394
|
model.F_BeDept = input.F_BeDept;
|
|
|
395
|
+ //if (input.F_CusType > 0)
|
|
|
396
|
+ // model.F_CusType = input.F_CusType;//客户类型
|
|
391
|
397
|
if (!string.IsNullOrWhiteSpace(input.F_FinancialManager))
|
|
392
|
398
|
model.F_FinancialManager = input.F_FinancialManager;
|
|
393
|
399
|
if (!string.IsNullOrWhiteSpace(input.F_BusinessOwner))
|