liuyn
2024-03-11 a87f1c3df03078814ee97ad0c8ac200a232419e9
1
2
3
4
5
6
<apex:page Controller="IDInformationAnalyseHospitalController" cache="true" contentType="text/csv;charset=GB2312;#{!fileName}.csv" language="zh-CN" lightningStylesheets="true">SAP修理单号,机身编码,状态2,科室,修理原价,11.RC修理品返送日,修理单完成日,检测日期,修理等级,通电时间,通电次数,CBF,例均维修价格,例均使用时间,两次修理间隔,年均使用列数
<apex:repeat value="{!choiceAssetDetailedview}" var="hpRecords">
<apex:stylesheet value="{!hpRecords.StyleColor}">
"{!hpRecords.Repair.SAP_Service_Repair_No__c}","{!hpRecords.Repair.SerialNumber__c}","{!hpRecords.Repair.Status2__c}","{!hpRecords.Repair.Account__r.name}","{!hpRecords.Repair.Repair_List_Price_formula__c}","{!hpRecords.RepairShippedDate}","{!hpRecords.RepairOrderCompleteDay}","{!TEXT(Year(hpRecords.Repair.Repair_Inspection_Date__c))}-{!TEXT(MONTH(hpRecords.Repair.Repair_Inspection_Date__c))}-{!TEXT(DAY(hpRecords.Repair.Repair_Inspection_Date__c))}","{!hpRecords.Repair.Repair_Rank__c}","{!hpRecords.Repair.Cumulative_Times__c}","{!hpRecords.Repair.Cumulative_Uses__c}","{!hpRecords.Repair.Cycle_between_failure__c}","{!hpRecords.Repair.Average_Maintenance_Cost__c}","{!hpRecords.Repair.Average_Usage_Time__c}","{!hpRecords.Repair.Difference_in_repair_intervals__c}","{!CEILING(IF(hpRecords.Repair.Difference_in_repair_intervals__c ==0,0,hpRecords.Repair.Cycle_between_failure__c/hpRecords.Repair.Difference_in_repair_intervals__c * 365))}"</apex:stylesheet>
</apex:repeat> 
</apex:page>