| | |
| | | // } |
| | | |
| | | // query = 'select Id, Hospital__c from Asset where Product2.Service_Category3__c=\'软性镜\' and Status =\'使用中\' and Asset_Year__c >=:sTime and Asset_Year__c <=:eTime'; |
| | | query = 'select Id, Hospital__c from Asset where Product2.Service_Category3__c=\'软性镜\' and Status !=\'廃棄\' and Status!=\'待报废\' '; |
| | | query = 'select Id, Hospital__c from Asset where Product2.ServiceCategory__c=\'软性镜\' and Status !=\'廃棄\' and Status!=\'待报废\' '; |
| | | |
| | | if (accountIdList != null && accountIdList.size() > 0) { |
| | | query += ' AND Hospital__c IN :accountIdList '; |