Unverified Commit 80521c42 authored by Pawan k's avatar Pawan k Committed by GitHub
Browse files

Update app.service.ts

No related merge requests found
Showing with 2 additions and 2 deletions
+2 -2
......@@ -144,10 +144,10 @@ export class AppService {
return res.recordset[0];
}
async getStudentByRollnumber(id: string) {
async getStudentByRollnumber(id: string, dob:string) {
const db = await this.dbConnection.connect();
const res = await db.query(
`Select * from upsmfac_casa.dbo.Master_StudentProfile where RollNo='${id}'`,
`Select * from upsmfac_casa.dbo.Master_StudentProfile where RollNo='${id}' and DateOfBirth='${dob}'`,
);
return res.recordset[0];
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment