แก้บัก MyDatabase

This commit is contained in:
Nakorn Rientrakrunchai
2020-03-11 20:42:55 +07:00
parent 98206137ad
commit ee1f970db6
2 changed files with 12 additions and 2 deletions

View File

@@ -80,7 +80,8 @@ left join public.{0}DepartmentData{0} as orgdata on orgdata.id = he.department_i
left join public.hrm_employee_types as het on het.id = he.employee_type_id
left join public.users as u on u.employee_id = he.employee_id
where he.workingstatus = 'สถานะปฏิบัติงาน' and he.deleted_at is null and mpn.deleted_at is null
and opd.deleted_at is null and htm.deleted_at is null;
and opd.deleted_at is null and htm.deleted_at is null
order by he.firstname,he.lastname;
", '"'.ToString());
var para = db.GetParameterListNpgsql();
DataTable dt = db.ExecuteDataTableNpgsql(sql, para);