12,165
社区成员




public BindingList<EmployeesEntity> GetEmployeesWithEmergencyContactsEntities(Dictionary<string, object> dictionary, List<string> listColumns)
{
//查询员工信息
EmployeesBLL bll = new EmployeesBLL();
BindingList<EmployeesEntity> employeesEntities = bll.GetEmployeesEntities(dictionary, null);
EmployeeEmergencyContactBLL emergencyContactBll = new EmployeeEmergencyContactBLL();
return employeesEntities;
}
//获取对象
Dictionary<string, object> dictionary = new Dictionary<string, object>
{
{
"Status", new string[] {"1","2","3"}
},
{
"ServiceStationID", GlobalData.LoginEmployees.ServiceStationID
}
};
SvcClient.Invoke<EmployeesClient>(client =>
{
EmployeesViewModel.EmployeesEntities = client.GetEmployeesWithEmergencyContactsEntities(dictionary, null);
//将每个实体赋值中文
DataConvert.SetPropertyName<EmployeesEntity>(EmployeesViewModel.EmployeesEntities, PublicDataSource.PublicDataSourceTable);
});