diff --git a/BWP.B3_YunKen/BLActions/SaleForecastEmpIsSame.cs b/BWP.B3_YunKen/BLActions/SaleForecastEmpIsSame.cs index 656e191..1895060 100644 --- a/BWP.B3_YunKen/BLActions/SaleForecastEmpIsSame.cs +++ b/BWP.B3_YunKen/BLActions/SaleForecastEmpIsSame.cs @@ -25,6 +25,13 @@ namespace BWP.B3_YunKen.BLActions public void Execute(IDmoContext context, object dmo, object parameter) { var forecast = dmo as SaleForecast; + if (parameter != null) { + var list = parameter.ToString().Split(',').ToList(); + if (list.Contains(BLContext.Current.User.Name)) { + return; + } + } + if (forecast.Employee_ID != null) { var empId = InnerBLUtil.GetDmoProperty(context.Session, "Employee_ID", new Tuple("User_ID", BLContext.Current.User.ID)); if (empId != null && empId != forecast.Employee_ID)