Subversion Repositories SmartDukaan

Rev

Rev 33827 | Rev 34453 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 33827 Rev 34212
Line 16... Line 16...
16
		@NamedQuery(name = "Loan.getLoansCountWithFofoID", query = "select new com.spice.profitmandi.dao.model.LoanCountByFofoIdModel(" +
16
		@NamedQuery(name = "Loan.getLoansCountWithFofoID", query = "select new com.spice.profitmandi.dao.model.LoanCountByFofoIdModel(" +
17
				" cast(fofoId as int), count(id))" +
17
				" cast(fofoId as int), count(id))" +
18
				" from Loan " +
18
				" from Loan " +
19
				" where fofoId in (:fofoIds) " +
19
				" where fofoId in (:fofoIds) " +
20
				" group by fofoId "),
20
				" group by fofoId "),
-
 
21
 
-
 
22
		@NamedQuery(name = "Loan.findBlockedLoans", query = "SELECT l FROM Loan l WHERE l.freeDays > 364")
21
})
23
})
22
 
24
 
23
public class Loan {
25
public class Loan {
24
 
26
 
25
	@Id
27
	@Id