| | |
| | | public String IncorrectDataComment; |
| | | public String ReturnType; |
| | | public String InspectType; |
| | | //WLIG-CC78MX 【委托】NFM105接口增加OTS运单号字段 thh 20220307 start |
| | | public String OTSRepairOrder; |
| | | //WLIG-CC78MX 【委托】NFM105接口增加OTS运单号字段 thh 20220307 end |
| | | public InspectionResultInformation[] InspectionResultInformation; |
| | | public FailureInformation[] FailureInformation; |
| | | } |
| | |
| | | // continue; |
| | | // } |
| | | logstr += ' '; |
| | | System.debug('rpr1:' + rpr); |
| | | rprUpdateMap.put(rpr.SAPRepairNo__c, rpr); |
| | | } else { |
| | | logstr += quoteInfo.SAPRepairNo + ':' + quoteInfo.RepairOrderStatusCode + '(' + quoteInfo.SAPQuotationNo + ') '; |
| | |
| | | // L60-SORC修理品出库 |
| | | // L65-OGZ修理品出库 |
| | | // L80-RC修理品出库 |
| | | //WLIG-CC78MX 【委托】NFM105接口增加OTS运单号字段 thh 20220307 start |
| | | if(String.isNotBlank(quoteInfo.OTSRepairOrder)){ |
| | | rpr.OTSRepairOrder__c = quoteInfo.OTSRepairOrder; |
| | | } |
| | | //WLIG-CC78MX 【委托】NFM105接口增加OTS运单号字段 thh 20220307 end |
| | | Asset ast = getAstUpdate(astUpdateMap, rpr); |
| | | if (rpr.Return_Without_Repair_IF__c == true) { |
| | | rpr.Return_Without_Repair_Date__c = statusUpdateDateTime.date(); |
| | |
| | | for (Repair_Quotation__c rqfalse : rqList) { |
| | | rqfalse.Quotation_agreement__c = false; |
| | | } |
| | | System.debug('rqUpdateMap1:' + rqUpdateMap); |
| | | rqList.addAll(rqUpdateMap.values()); |
| | | if (rqList.size() > 0) { |
| | | // TODO update false; |