public DataTable Thuong_GetByMaChamCong(ThuongDTO _thuongDTO) { List <SqlParameter> sqlParams = new List <SqlParameter> { new SqlParameter("@MaChamCong", _thuongDTO.MaChamCong) }; return(base.executeNonQuerya("ChiTietThuongNhanVien_getByMaChamCong", sqlParams)); }
public void Thuong_DeleteByMaChamCong(ThuongDTO _thuongDTO) { List <SqlParameter> sqlParams = new List <SqlParameter> { new SqlParameter("@MaChamCong", _thuongDTO.MaChamCong) }; base.Procedure("ChiTietThuongNhanVien_deleteByMaChamCong", sqlParams); }
public void Thuong_Insert(ThuongDTO _thuongDTO) { List <SqlParameter> sqlParams = new List <SqlParameter> { new SqlParameter("@MaChamCong", _thuongDTO.MaChamCong), new SqlParameter("@Thuong", _thuongDTO.Thuong), new SqlParameter("@TienThuong", _thuongDTO.TienThuong), new SqlParameter("@NgayThuong", _thuongDTO.NgayThuong) }; base.Procedure("ChiTietThuongNhanVien_add", sqlParams); }
public void ThuongInsert(ThuongDTO _thuongDTO) { this._thuongDAL.Thuong_Insert(_thuongDTO); }
public DataTable ThuongGetByMaChamCongAndNgayThuong(ThuongDTO _thuongDTO) { return(this._thuongDAL.Thuong_GetByMaChamCongAndNgayThuong(_thuongDTO)); }
public void ThuongDeleteByMaChamCong(ThuongDTO _thuongDTO) { this._thuongDAL.Thuong_DeleteByMaChamCong(_thuongDTO); }