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
examsAndAdmissions
Commits
1cb92eee
Unverified
Commit
1cb92eee
authored
1 year ago
by
Ankit Verma
Committed by
GitHub
1 year ago
Browse files
Options
Download
Plain Diff
Merge pull request #175 from Radheshhathwar/development
delete flag changes done
parents
a08df9b1
5a1921ea
github/fork/ruksana2808/filter_bug_examCycle
development
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/com/tarento/upsmf/examsAndAdmissions/repository/StudentResultRepository.java
+1
-1
...xamsAndAdmissions/repository/StudentResultRepository.java
with
1 addition
and
1 deletion
+1
-1
src/main/java/com/tarento/upsmf/examsAndAdmissions/repository/StudentResultRepository.java
+
1
−
1
View file @
1cb92eee
...
...
@@ -37,7 +37,7 @@ public interface StudentResultRepository extends JpaRepository<StudentResult, Lo
Optional
<
StudentResult
>
findByExamIdAndStudentId
(
Long
examId
,
Long
studentId
);
@Modifying
@Transactional
@Query
(
"UPDATE StudentResult sr SET sr.externalMarks = null, sr.passingExternalMarks = null, sr.externalMarksObtained = null WHERE sr.examCycle_name = :examCycleName AND sr.instituteId = :instituteId"
)
@Query
(
"UPDATE StudentResult sr SET sr.externalMarks = null, sr.passingExternalMarks = null, sr.externalMarksObtained = null
, sr.finalMarkFlag = false
WHERE sr.examCycle_name = :examCycleName AND sr.instituteId = :instituteId"
)
int
setExternalMarksToNull
(
@Param
(
"examCycleName"
)
String
examCycleName
,
@Param
(
"instituteId"
)
Long
instituteId
);
@Query
(
"SELECT sr FROM StudentResult sr WHERE sr.firstName = :firstName AND sr.lastName = :lastName AND sr.enrollmentNumber = :enrollmentNumber"
)
StudentResult
findByFirstNameAndLastNameAndEnrollmentNumber
(
...
...
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