| | |
| | | system.debug('mso='+mso); |
| | | AssignValueFromUrl(mso,controller.getRecord()); |
| | | //通过id查 问题 |
| | | //PIPL zhj 2022-11-11 start |
| | | //从报修子单过来00N10000009H1rR |
| | | if (mso.containsKey('CF00N10000009H1rR_lkid')) { |
| | | String repairSubOrderId = mso.get('CF00N10000009H1rR_lkid'); |
| | | System.debug('repairSubOrderId = ' + repairSubOrderId); |
| | | //查询AWSDataId |
| | | List<RepairSubOrder__c> rso = [select AWS_Data_Id__c from RepairSubOrder__c where Id=:repairSubOrderId]; |
| | | if(rso.size() > 0){ |
| | | RepairSubOrderAWSDataId = rso[0].AWS_Data_Id__c; |
| | | } |
| | | } |
| | | //PIPL zhj 2022-11-11 end |
| | | List<Repair__c> rc = new List<Repair__c>(); |
| | | system.debug('retURL=' + mso.containsKey('retURL')); |
| | | if (mso.containsKey('retURL')) { |
| | | String RepairId = mso.get('retURL').substring(1); |
| | | System.debug('RepairId = ' + RepairId); |