|
|
@@ -67,24 +67,32 @@ namespace RMYY_CallCenter_Api.Controllers
|
|
67
|
67
|
}
|
|
68
|
68
|
if (User.F_UserCode != "8000")
|
|
69
|
69
|
{
|
|
70
|
|
- sql += $" and F_CreateUser=" + User.F_UserCode;
|
|
|
70
|
+ if (User.F_RoleCode == "ZXZ")//坐席组看不到自己创建的工单
|
|
|
71
|
+ {
|
|
|
72
|
+ sql += $" and F_ID<0";
|
|
71
|
73
|
|
|
72
|
|
- if (User.F_RoleCode == "HSZ")//护士长角色
|
|
|
74
|
+ }
|
|
|
75
|
+ else
|
|
73
|
76
|
{
|
|
74
|
|
- string idstr = GetGongDanId(User.F_UserCode);
|
|
75
|
|
- if (!string.IsNullOrEmpty(idstr))
|
|
|
77
|
+ sql += $" and F_CreateUser=" + User.F_UserCode;
|
|
|
78
|
+
|
|
|
79
|
+ if (User.F_RoleCode == "HSZ")//护士长角色
|
|
76
|
80
|
{
|
|
77
|
|
- sql += $" or F_ID in (" + idstr + ")";
|
|
|
81
|
+ string idstr = GetGongDanId(User.F_UserCode);
|
|
|
82
|
+ if (!string.IsNullOrEmpty(idstr))
|
|
|
83
|
+ {
|
|
|
84
|
+ sql += $" or F_ID in (" + idstr + ")";
|
|
|
85
|
+ }
|
|
78
|
86
|
}
|
|
79
|
|
- }
|
|
80
|
|
- if (User.F_RoleCode == "BZ")//行风办
|
|
81
|
|
- {
|
|
82
|
|
- transql = GetTranPersonsql(User.F_UserCode);
|
|
83
|
|
- if (transql != "")
|
|
|
87
|
+ if (User.F_RoleCode == "BZ")//行风办
|
|
84
|
88
|
{
|
|
85
|
|
- sql += $" or F_Id in (" + transql + ")";
|
|
86
|
|
- wokerlist = transql.Split(',').Distinct().ToList();
|
|
87
|
|
- }
|
|
|
89
|
+ transql = GetTranPersonsql(User.F_UserCode);
|
|
|
90
|
+ if (transql != "")
|
|
|
91
|
+ {
|
|
|
92
|
+ sql += $" or F_Id in (" + transql + ")";
|
|
|
93
|
+ wokerlist = transql.Split(',').Distinct().ToList();
|
|
|
94
|
+ }
|
|
|
95
|
+ }
|
|
88
|
96
|
}
|
|
89
|
97
|
}
|
|
90
|
98
|
#endregion
|