Subversion Repositories SmartDukaan

Rev

Rev 35617 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 35617 Rev 35618
Line 15... Line 15...
15
 
15
 
16
@NamedQueries({
16
@NamedQueries({
17
 
17
 
18
		@NamedQuery(name = "Ticket.selectRecentClosedTicket", query = "select new com.spice.profitmandi.dao.model.TicketViewModel(t.id,tc.name,tbc.name,"
18
		@NamedQuery(name = "Ticket.selectRecentClosedTicket", query = "select new com.spice.profitmandi.dao.model.TicketViewModel(t.id,tc.name,tbc.name,"
19
				+ "t.closeTimestamp" + ")"
19
				+ "t.closeTimestamp" + ")"
20
				+ " from Ticket t  left join  TicketSubCategory tbc on t.subCategoryId  = tbc.id left join TicketCategory tc on tbc.categoryId = tc.id where t.closeTimestamp > :startDate and t.fofoId = :fofoId and tbc.visibility = true"),
20
				+ " from Ticket t  left join  TicketSubCategory tbc on t.subCategoryId  = tbc.id left join TicketCategory tc on tbc.categoryId = tc.id where t.closeTimestamp > :startDate and t.fofoId = :fofoId"),
21
 
21
 
22
})
22
})
23
public class Ticket {
23
public class Ticket {
24
 
24
 
25
	public int getL4AuthUser() {
25
	public int getL4AuthUser() {