高章伟
2023-03-03 d8dc84a3d56df839895f1c417a4d9cbee763d262
force-app/main/default/classes/MaintenanceContractEstimatePDFController.cls
@@ -43,6 +43,7 @@
                        Discount_Price__c, Discount_Percentage__c, Last_Discount__c, Asset_Sum_Price__c,
                        Print_Contract__c, Print_RepairPrice__c, Print_DiscountPercentage__c,
                        Print_DiscountPrice__c, Print_ListPrice__c, Print_MaintePrice__c, Print_SumPrice__c
                        ,URF_P_MaxRepairCount__c,URF_V_MaxRepairCount__c
                   FROM Maintenance_Contract_Estimate__c WHERE Id = :targetEstimateId]
        ;
        // 見積を取得できない場合
@@ -72,7 +73,7 @@
                        Asset__r.Name, Asset__r.SerialNumber, Asset__r.InstallDate,
                        Product_Manual__c, Product_Manual__r.Maintenance_Price_Month__c, Product_Manual__r.Name, IsNew__c,
                        Maintenance_Price_Month__c, Estimate_List_Price__c,
                        Check_Result__c, Repair_Price__c, Comment__c, Check_Object__c
                        Check_Result__c, Repair_Price__c, Comment__c
                   FROM Maintenance_Contract_Asset_Estimate__c
                  WHERE Maintenance_Contract_Estimate__c = :this.targetObj.estimate.Id
                  ORDER BY Product_Manual__c, Asset__r.SerialNumber, Asset__r.Name, Asset__r.Department_Name__c, Asset__r.InstallDate]) {