yangys
2024-05-19 9e5da8899bc21bb5b6b0a3c267108caa00199291
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package com.qianwen.core.report.provider;
 
//import com.bstek.ureport.UReportPropertyPlaceholderConfigurer;
import java.util.Properties;
import com.qianwen.core.report.props.ReportProperties;
 
 
public class ReportPlaceholderProvider {// extends UReportPropertyPlaceholderConfigurer
    public ReportPlaceholderProvider(ReportProperties properties) {
        Properties props = new Properties();
        props.setProperty("ureport.disableHttpSessionReportCache", properties.getDisableHttpSessionReportCache().toString());
        props.setProperty("ureport.disableFileProvider", properties.getDisableFileProvider().toString());
        props.setProperty("ureport.fileStoreDir", properties.getFileStoreDir());
        props.setProperty("ureport.debug", properties.getDebug().toString());
        //setProperties(props);
    }
}