Skip to content

Commit

Permalink
Merge pull request #134 from AnataAria/vinh
Browse files Browse the repository at this point in the history
vinh/fix bug on export null email paypal
  • Loading branch information
PoserDungeon2003 authored Nov 17, 2023
2 parents 65441b9 + fdb2800 commit dd7406a
Show file tree
Hide file tree
Showing 2 changed files with 75 additions and 45 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ public interface SalaryRepository extends JpaRepository<Salary, BigDecimal> {
"YEAR(s.salaryDate) = YEAR(:salaryDate)" +
" AND MONTH(s.salaryDate) = MONTH(:salaryDate) " +
"AND s.instructor.paypalEmail IS NOT NULL AND " +
" s.instructor.paypalEmail <> ''")
" s.instructor.paypalEmail <> '' AND " +
"s.amount > 0")
public Collection<Salary> getSalariesByYearsAndMonth(@Param(value = "salaryDate")Date salaryDate);
}
Loading

0 comments on commit dd7406a

Please sign in to comment.