Commit 1d979388 authored by frank.xa.zhang's avatar frank.xa.zhang

fixed formula bb datasource can't display issue

parent a14726e8
......@@ -180,7 +180,7 @@ public class ReportServiceImpl extends VatAbstractService implements ReportServi
for (CellTemplate cellTemplate : cellTemplateList) {
i++;
Long startTime = System.currentTimeMillis();
logger.debug("celltemplate copy start: " + startTime);
//logger.debug("celltemplate copy start: " + startTime);
PeriodCellTemplate periodCellTemplate = new PeriodCellTemplate();
CommonUtils.copyProperties(cellTemplate, periodCellTemplate);
periodCellTemplate.setId(distributedIDService.nextId());
......@@ -200,7 +200,7 @@ public class ReportServiceImpl extends VatAbstractService implements ReportServi
// periodCellTemplate.setCreateBy(cellTemplate.getCreateBy());
// periodCellTemplate.setUpdateBy(cellTemplate.getUpdateBy());
periodCellTemplateList.add(periodCellTemplate);
logger.debug("celltemplate copy end,used time: " + (System.currentTimeMillis() - startTime) + " ms");
//logger.debug("celltemplate copy end,used time: " + (System.currentTimeMillis() - startTime) + " ms");
}
logger.debug("templates copy end,used: " + (System.currentTimeMillis() - startTimeOut) + " ms, copy: " + i + " items");
......
#log4j.debug = true
log4j.rootLogger=DEBUG,stdout
log4j.rootLogger=INFO,stdout,fileoutall,fileoutwarn,fileouterror
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
......
......@@ -17,12 +17,12 @@ public class FTPTest extends CommonIT {
public void test() {
try {
// FTPClient client = ftpClientPool.getClient();
FTPClient client = null;
client.listFiles("hhhhh/sss/ccc");
client.makeDirectory("hhhhh/sss/ccc");
client.changeWorkingDirectory("hhhhh/sss/ccc");
client.storeFile("./aa/bb/cc/dd/text.txt", new FileInputStream(new File("C:\\temp/Fixed.txt")));
System.out.println(client.listFiles().length);
// FTPClient client = null;
// client.listFiles("hhhhh/sss/ccc");
// client.makeDirectory("hhhhh/sss/ccc");
// client.changeWorkingDirectory("hhhhh/sss/ccc");
// client.storeFile("./aa/bb/cc/dd/text.txt", new FileInputStream(new File("C:\\temp/Fixed.txt")));
// System.out.println(client.listFiles().length);
} catch (Exception e) {
e.printStackTrace();
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment