Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
T
traffic-front
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Packages
Packages
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wangxiaoming
traffic-front
Commits
1d979388
Commit
1d979388
authored
Aug 29, 2018
by
frank.xa.zhang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fixed formula bb datasource can't display issue
parent
a14726e8
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
9 deletions
+9
-9
ReportServiceImpl.java
.../pwc/taxtech/atms/vat/service/impl/ReportServiceImpl.java
+2
-2
log4j.properties
atms-api/src/main/resources/log4j.properties
+1
-1
FTPTest.java
atms-api/src/test/java/pwc/taxtech/atms/common/FTPTest.java
+6
-6
No files found.
atms-api/src/main/java/pwc/taxtech/atms/vat/service/impl/ReportServiceImpl.java
View file @
1d979388
...
...
@@ -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"
);
...
...
atms-api/src/main/resources/log4j.properties
View file @
1d979388
#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
...
...
atms-api/src/test/java/pwc/taxtech/atms/common/FTPTest.java
View file @
1d979388
...
...
@@ -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
();
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment