| | |
| | | Map<String, AssetModifyBelongsChangeDetailInfo> MidMap = new Map<String, AssetModifyBelongsChangeDetailInfo>(); |
| | | List<Asset> asListed = new List<Asset>(); |
| | | soql = this.makeSoql1(text1, val1); |
| | | System.debug('soql:'+soql); |
| | | asListed = Database.query(soql); |
| | | asListed = noSubmittedList(asListed); |
| | | for (AssetModifyBelongsChangeDetailInfo bss : assetModifyBelongsChangeDetailRecordsview) { |
| | |
| | | val1 = val1.trim(); |
| | | } |
| | | String soql=''; |
| | | //update by liwentao 20230705 start |
| | | System.debug(RawAccountId); |
| | | RawAccountId=''; |
| | | if(String.isBlank(RawAccountId)){ |
| | |
| | | soql = 'select Id,name,SerialNumber,Asset_situation__c,Order_No__c,Account.Name,Status,Installation_Site__c,CurrentContract__c from Asset where AccountId = \'' + RawAccountId + '\''; |
| | | System.debug('id is not null'); |
| | | } |
| | | //update by liwentao 20230705 start |
| | | if (!String.isBlank(text1)) { |
| | | if (text1 == 'Order_No__c' && checkexact) { |
| | | soql += ' AND (' + text1 + ' = \'' + String.escapeSingleQuotes(val1) + '\' )'; |
| | |
| | | //跳转到上传附件页面 |
| | | public PageReference uploadingAttachment() { |
| | | PageReference ref = new Pagereference('/p/attach/NoteAttach?pid=' + Id + '&retURL=%2Fapex/AssetModifyBelongs?Id=' + Id); |
| | | |
| | | ref.setRedirect(true); |
| | | return ref; |
| | | } |