|
|
@@ -1978,7 +1978,7 @@ namespace CallCenterApi.Interface.Controllers.workorder
|
|
1978
|
1978
|
sql += " and F_WorkState in (" + string.Join(",", sts.Select(p => p.ToString())) + ")";
|
|
1979
|
1979
|
//sql += " and F_WorkState in (2,4,8)";
|
|
1980
|
1980
|
}
|
|
1981
|
|
-
|
|
|
1981
|
+ sql += "and WorkOrderID not in (select F_WorkOrderID from T_Bus_RemindRecord where F_Type=1 and F_IsDelete=0)";
|
|
1982
|
1982
|
if (userModel.F_RoleCode != "GLY" && userModel.F_RoleCode != "DDZG")
|
|
1983
|
1983
|
{
|
|
1984
|
1984
|
if (distribute > -1)
|