|
|
@@ -1691,9 +1691,11 @@ namespace CallCenterApi.Interface.Controllers.weixin
|
|
1691
|
1691
|
var itemlast = itembll.GetModelList(" F_WoID='" + model.F_ID + "' order by F_ID desc").FirstOrDefault();
|
|
1692
|
1692
|
int sms =(int ) itemlast.F_IsSMS;
|
|
1693
|
1693
|
var deptmodel1 = departmentBLL.GetModel(ua.F_DeptId);
|
|
|
1694
|
+ string deptname = "";
|
|
1694
|
1695
|
if (deptmodel1 != null)
|
|
1695
|
1696
|
{
|
|
1696
|
1697
|
dapt = deptmodel1.F_ParentId;
|
|
|
1698
|
+ deptname = deptmodel1.F_DeptName;
|
|
1697
|
1699
|
}
|
|
1698
|
1700
|
if (dapt != 0)
|
|
1699
|
1701
|
{
|
|
|
@@ -1717,6 +1719,12 @@ namespace CallCenterApi.Interface.Controllers.weixin
|
|
1717
|
1719
|
nextda = 88;
|
|
1718
|
1720
|
opt = "流转销售部";
|
|
1719
|
1721
|
}
|
|
|
1722
|
+ // else
|
|
|
1723
|
+ //{
|
|
|
1724
|
+ // nextda = ua.F_DeptId;
|
|
|
1725
|
+ // opt = "流转" + deptname;
|
|
|
1726
|
+ //}
|
|
|
1727
|
+
|
|
1720
|
1728
|
}
|
|
1721
|
1729
|
if (istrue)
|
|
1722
|
1730
|
{
|
|
|
@@ -3127,12 +3135,13 @@ namespace CallCenterApi.Interface.Controllers.weixin
|
|
3127
|
3135
|
{
|
|
3128
|
3136
|
string deptname1 = "";
|
|
3129
|
3137
|
int dapt = 0, nextda = 0;
|
|
3130
|
|
-
|
|
|
3138
|
+ string deptment = "";
|
|
3131
|
3139
|
var deptmodel1 = departmentBLL.GetModel(ua.F_DeptId);
|
|
3132
|
3140
|
if (deptmodel1 != null)
|
|
3133
|
3141
|
{
|
|
3134
|
3142
|
deptname1 = deptmodel1.F_DeptName + "-";
|
|
3135
|
3143
|
dapt = deptmodel1.F_ParentId;
|
|
|
3144
|
+ deptment = deptmodel1.F_DeptName;
|
|
3136
|
3145
|
}
|
|
3137
|
3146
|
AddLog(modlelist.F_ID, 0, deptname1 + ua.F_UserName + "(" + ua.F_WorkNumber + ")" + "创建工单", (int)EnumWorkOrderState.neworder, (int)EnumItemOpt.create, "", 0, ua, overtime, sms);
|
|
3138
|
3147
|
string opt = "";
|
|
|
@@ -3158,6 +3167,11 @@ namespace CallCenterApi.Interface.Controllers.weixin
|
|
3158
|
3167
|
nextda = 88;
|
|
3159
|
3168
|
opt = "流转销售部";
|
|
3160
|
3169
|
}
|
|
|
3170
|
+ //else
|
|
|
3171
|
+ //{
|
|
|
3172
|
+ // nextda = ua.F_DeptId;
|
|
|
3173
|
+ // opt = "流转"+ deptment;
|
|
|
3174
|
+ //}
|
|
3161
|
3175
|
}
|
|
3162
|
3176
|
if (nextda != 0)
|
|
3163
|
3177
|
{
|
|
|
@@ -4530,7 +4544,7 @@ namespace CallCenterApi.Interface.Controllers.weixin
|
|
4530
|
4544
|
var deptmodel1 = departmentBLL.GetModel(ua.F_DeptId);
|
|
4531
|
4545
|
if (deptmodel1 != null)
|
|
4532
|
4546
|
{
|
|
4533
|
|
- deptname1 = deptmodel1.F_DeptName + "-";
|
|
|
4547
|
+ deptname1 = deptmodel1.F_DeptName ;
|
|
4534
|
4548
|
dapt = deptmodel1.F_ParentId;
|
|
4535
|
4549
|
}
|
|
4536
|
4550
|
if (dapt != 0)
|
|
|
@@ -4555,6 +4569,12 @@ namespace CallCenterApi.Interface.Controllers.weixin
|
|
4555
|
4569
|
nextda = 88;
|
|
4556
|
4570
|
opt = "流转销售部";
|
|
4557
|
4571
|
}
|
|
|
4572
|
+ //else
|
|
|
4573
|
+ //{
|
|
|
4574
|
+ // nextda = ua.F_DeptId;
|
|
|
4575
|
+ // opt = "流转" + deptname1;
|
|
|
4576
|
+
|
|
|
4577
|
+ //}
|
|
4558
|
4578
|
}
|
|
4559
|
4579
|
if (nextda != 0)
|
|
4560
|
4580
|
{
|