|
|
@@ -905,7 +905,7 @@ namespace CallCenterApi.DAL
|
|
905
|
905
|
" left join (select F_DeptId ,F_DeptName from T_Sys_Department) e on c.F_Office = e.F_DeptId " +
|
|
906
|
906
|
" left join T_Sys_UserAccount f on f.F_UserCode = c.F_Notifications " +
|
|
907
|
907
|
" left join T_Sys_UserAccount g on g.F_UserCode = c.F_ReceivingPerson " +
|
|
908
|
|
- " left join T_Bus_DealResult h on h.F_Id = c.F_Id ");
|
|
|
908
|
+ " left join View_DealResult h on h.F_Id = c.F_Id ");
|
|
909
|
909
|
|
|
910
|
910
|
if (strWhere.Trim() != "")
|
|
911
|
911
|
{
|
|
|
@@ -929,7 +929,7 @@ namespace CallCenterApi.DAL
|
|
929
|
929
|
" left join T_Sys_Department e on c.F_Office = e.F_DeptId " +
|
|
930
|
930
|
" left join T_Sys_UserAccount f on f.F_UserCode = c.F_Notifications " +
|
|
931
|
931
|
" left join T_Sys_UserAccount g on g.F_UserCode = c.F_ReceivingPerson " +
|
|
932
|
|
- " left join T_Bus_DealResult h on h.F_Id = c.F_Id ");
|
|
|
932
|
+ " left join View_DealResult h on h.F_Id = c.F_Id ");
|
|
933
|
933
|
|
|
934
|
934
|
if (strWhere.Trim() != "")
|
|
935
|
935
|
{
|
|
|
@@ -961,7 +961,7 @@ namespace CallCenterApi.DAL
|
|
961
|
961
|
" left join (select F_DeptId ,F_DeptName from T_Sys_Department) e on c.F_Office = e.F_DeptId " +
|
|
962
|
962
|
" left join T_Sys_UserAccount f on f.F_UserCode = c.F_Notifications " +
|
|
963
|
963
|
" left join T_Sys_UserAccount g on g.F_UserCode = c.F_ReceivingPerson " +
|
|
964
|
|
- " left join T_Bus_DealResult h on h.F_Id = c.F_Id ");
|
|
|
964
|
+ " left join View_DealResult h on h.F_Id = c.F_Id ");
|
|
965
|
965
|
|
|
966
|
966
|
if (strWhere.Trim() != "")
|
|
967
|
967
|
{
|