Skip to content
GitLab
Explore
Projects
Groups
Topics
Snippets
Projects
Groups
Topics
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Register
Sign in
Toggle navigation
Menu
UPSMF
uphrh-casa-user-data-service
Commits
80521c42
Unverified
Commit
80521c42
authored
1 year ago
by
Pawan k
Committed by
GitHub
1 year ago
Browse files
Options
Download
Patches
Plain Diff
Update app.service.ts
parent
5ddebd5d
getStudentByRollnumber
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/app.service.ts
+2
-2
src/app.service.ts
with
2 additions
and
2 deletions
+2
-2
src/app.service.ts
+
2
−
2
View file @
80521c42
...
...
@@ -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
];
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Topics
Snippets