| | |
| | | acIdList.add(ac.Id); |
| | | } |
| | | |
| | | List<Maintenance_Contract__c> mcList=[select Id,Hospital__c,Contract_Start_Date__c from Maintenance_Contract__c where Hospital__c in : acIdList and RecordTypeId!='01210000000gTYv' and Status__c in ('契約','契約満了','合同结束','合同中') and Id!='a0H1000000aeiFP' order by Contract_Start_Date__c ]; |
| | | List<Maintenance_Contract__c> mcList=[select Id,Hospital__c,Contract_Start_Date__c from Maintenance_Contract__c where Hospital__c in : acIdList and RecordTypeId!='01210000000gTYv' and Status__c in ('契約','契約満了') and Id!='a0H1000000aeiFP' order by Contract_Start_Date__c ]; |
| | | |
| | | List<String> strList=new List<String>(); |
| | | for (Maintenance_Contract__c mc : mcList) { |