| | |
| | | public without sharing class LeadIntentionController { |
| | | public List<PCLInfo> pclInfos { get; set; } |
| | | public List<PCLInfo> pclInfos { get; set; } |
| | | |
| | | /*****************検索用******************/ |
| | | |
| | |
| | | public String[] sortOrder { get; set; } |
| | | public String[] columus = new String[]{'Contact_Name__c', 'Hospital_Name__c', 'Department_Class__c', 'Company__c', 'Status__c' |
| | | ,'Request1__c', 'Inquiry_No__c', 'Phone__c', 'Email__c', 'Cancel_Reason__c' |
| | | ,'Opp_Name_Search__c', 'Opportunity_Division__c', 'LeadSource__c', 'Campaign__c' |
| | | ,'Opp_Name_Search__c', 'Opportunity_Division__c', 'LeadSource__c', 'Campaign__c' |
| | | ,'Urgent__c', 'Request_Detail__c','Contact_Id__c','Hospital_ID__c','Department_ID__c','Opp_Name_Search_ID__c' |
| | | ,'Campaign_ID__c','Id','Name','Family_Name__c','Last_Name__c','Reasons_options__c','Product1__c' |
| | | }; |
| | |
| | | } |
| | | soqlWithoutSort = this.makeSoql(false, accSearch, ownerSearch, |
| | | text, condition, value, text2, condition2, value2, text3, condition3, value3); |
| | | String soql = soqlWithoutSort + ' order by CreatedDate desc limit ' + Integer.valueOf(limits); |
| | | String soql = soqlWithoutSort + ' order by CreatedDate desc limit ' + Integer.valueOf(limits); |
| | | |
| | | soqlForMoneyWithoutSort = this.makeSoql(true, accSearch, ownerSearch, |
| | | text, condition, value, text2, condition2, value2, text3, condition3, value3); |
| | | String soqlForMoney = soqlForMoneyWithoutSort + ' order by CreatedDate desc limit ' + Integer.valueOf(System.Label.TotalLimit); |
| | | String soqlForMoney = soqlForMoneyWithoutSort + ' order by CreatedDate desc limit ' + Integer.valueOf(System.Label.TotalLimit); |
| | | System.debug('soqlWithoutSort:' + soqlWithoutSort); |
| | | system.debug('aaaaaaaaaa'+soql); |
| | | system.debug('bbbbbbb:'+soqlForMoney); |
| | |
| | | List<Inquiry_form__c> updateInquiryform = new List<Inquiry_form__c>(); |
| | | Inquiry_form__c inquiryForm = new Inquiry_form__c(); |
| | | inquiryForm.Id = inquiryformId; |
| | | inquiryForm.Status__c = '不需要'; |
| | | inquiryForm.Status__c = '02.不需要'; |
| | | //不需要的时候 的确认日期 |
| | | system.debug('ccccccc:'+opp_ID); |
| | | inquiryForm.Confirmation_Date__c = Date.toDay(); |
| | |
| | | system.debug('输出的值为:'+oi.reasonFlg); |
| | | if (oi.reasonFlg == '1') { |
| | | oi.reasonFlg = '0'; |
| | | oi.rec.Status__c = '不需要'; |
| | | oi.rec.Status__c = '02.不需要'; |
| | | oi.rec.Reasons_options__c=batchReason; |
| | | oi.rec.Cancel_Reason__c = batchReason; |
| | | oi.rec.Confirmation_Date__c = Date.toDay(); |