1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
| public class QuoteTrialService extends BaseController{
|
| public PagePlus GetPromotionPromotionSearchFn(Integer page, Integer pageLimit,String search,String sortOrder,String sortPlus,String[] arr){
| QueryWrapper query = getSearchMap(search,sortPlus,sortOrder,arr,PromotionHead__c.SObjectType);
| query.eq('recordtype.developername', 'Promotion');
| query.eq('Status__c', '有效');
| query.ne('ApplyStatus__c', '作废');
| PagePlus pages = DataBasePlus.page(getPage(page,pageLimit),
| query
| );
| System.debug('search==='+search);
| return pages;
| }
|
|
|
| public PagePlus GetNormalProductSearchFn(Integer page, Integer pageLimit,String search,String sortOrder,String sortPlus,String[] arr){
| QueryWrapper query = getSearchMap(search,sortPlus,sortOrder,arr,PromotionHead__c.SObjectType);
| query.eq('recordtype.developername', 'NormalProduct');
| query.ne('ApplyStatus__c', '作废');
| PagePlus pages = DataBasePlus.page(getPage(page,pageLimit),
| query
| );
| return pages;
| }
|
| public PagePlus GetAuthorizerSearchFn(Integer page, Integer pageLimit,String search,String sortOrder,String sortPlus,String[] arr,String Agency1c){
| QueryWrapper query = getSearchMap(search,sortPlus,sortOrder,arr,PromotionHead__c.SObjectType);
| query.eq('recordtype.developername', 'Authorizer');
| query.eq('Status__c', '有效');
| query.ne('ApplyStatus__c', '作废');
| query.eq('Agency__c', Agency1c);
| PagePlus pages = DataBasePlus.page(getPage(page,pageLimit),
| query
| );
| return pages;
| }
| }
|
|