|
|
@@ -822,10 +822,10 @@ namespace CallCenterApi.Interface.Controllers.customer
|
|
822
|
822
|
//客户类型
|
|
823
|
823
|
if (!string .IsNullOrEmpty (dataRow["客户类型"].ToString()))
|
|
824
|
824
|
{
|
|
825
|
|
- dt = new BLL.T_Sys_DictionaryValue().GetList(" F_Name='" + dataRow["客户类型"].ToString() + "' and F_State=1 ").Tables[0];
|
|
826
|
|
- if (dt != null && dt.Rows.Count > 0)
|
|
|
825
|
+ DataTable dt1 = new BLL.T_Sys_DictionaryValue().GetList(" F_Name='" + dataRow["客户类型"].ToString() + "' and F_State=1 ").Tables[0];
|
|
|
826
|
+ if (dt1 != null && dt1.Rows.Count > 0)
|
|
827
|
827
|
{
|
|
828
|
|
- cusmodel.F_CusType = Convert.ToInt32(dt.Rows[0]["F_DictionaryValueId"]);
|
|
|
828
|
+ cusmodel.F_CusType = Convert.ToInt32(dt1.Rows[0]["F_DictionaryValueId"]);
|
|
829
|
829
|
}
|
|
830
|
830
|
}
|
|
831
|
831
|
|