|
|
@@ -155,6 +155,10 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
155
|
155
|
Model.T_Sys_RoleInfo ro = rolebll.GetModel(ua.F_RoleId);
|
|
156
|
156
|
int DTJ = 0, DFP = 0, DCL = 0, CLZ = 0, YWJ = 0, THDTJ = 0, THDFP = 0, YJGD = 0, EJGD = 0, SJGD = 0, CJSL=0,ZX=0;
|
|
157
|
157
|
string where = $" and (F_Type=" + 2 + "or (F_Duplicate in(2,0)and F_Type=3))";
|
|
|
158
|
+ if (ro.F_RoleCode == "DS")//电商角色
|
|
|
159
|
+ {
|
|
|
160
|
+ where += "and F_Content like '%电商%'";
|
|
|
161
|
+ }
|
|
158
|
162
|
for (int i=0;i<12;i ++)
|
|
159
|
163
|
{
|
|
160
|
164
|
switch (i )
|
|
|
@@ -405,7 +409,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
405
|
409
|
if (CJ == 1)
|
|
406
|
410
|
{
|
|
407
|
411
|
sql += $" and (F_Type=" + 4 + "or (F_Duplicate in(4)and F_Type=3))";
|
|
408
|
|
- if ( ro.F_RoleCode == "YWY" || ro.F_RoleCode == "ZG")
|
|
|
412
|
+ if (ro.F_RoleCode == "YWY" || ro.F_RoleCode == "ZG")
|
|
409
|
413
|
{
|
|
410
|
414
|
sql += "AND F_Notifications ='" + ua.F_UserCode + "'";
|
|
411
|
415
|
}
|
|
|
@@ -658,6 +662,10 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
658
|
662
|
sql += "AND F_CreateUser='"+ua .F_UserCode +"'";
|
|
659
|
663
|
}
|
|
660
|
664
|
}
|
|
|
665
|
+ if (ro.F_RoleCode == "DS")//电商角色
|
|
|
666
|
+ {
|
|
|
667
|
+ sql += "and F_Content like '%电商%'";
|
|
|
668
|
+ }
|
|
661
|
669
|
if (isdc >0)
|
|
662
|
670
|
{
|
|
663
|
671
|
|