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
b371a2da
Commit
b371a2da
authored
Jul 16, 2018
by
neo
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[DEV] fixed create project and del some not used java
parent
c8b6338d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
27 deletions
+2
-27
ProjectServiceImpl.java
...ava/pwc/taxtech/atms/service/impl/ProjectServiceImpl.java
+2
-2
ControllerApiTranslator.java
...c/test/java/pwc/taxtech/atms/ControllerApiTranslator.java
+0
-19
api_temp.properties
atms-api/src/test/resources/api_temp.properties
+0
-6
No files found.
atms-api/src/main/java/pwc/taxtech/atms/service/impl/ProjectServiceImpl.java
View file @
b371a2da
...
...
@@ -285,10 +285,10 @@ public class ProjectServiceImpl implements ProjectService {
String
maxDbName
=
projectMapper
.
maxDbName
(
project
.
getYear
());
String
dbName
=
""
;
if
(
!
Utils
.
isEmpty
(
maxDbName
))
{
if
(
Utils
.
isEmpty
(
maxDbName
))
{
dbName
=
String
.
format
(
"%s%s%s"
,
"a"
,
(
project
.
getYear
()
+
""
).
substring
(
2
),
"00000"
);
}
else
{
dbName
=
generateProjectDbName
(
d
bName
,
project
.
getYear
()
+
""
);
dbName
=
generateProjectDbName
(
maxD
bName
,
project
.
getYear
()
+
""
);
}
DbName
sbDbName
=
new
DbName
(
dbName
);
...
...
atms-api/src/test/java/pwc/taxtech/atms/ControllerApiTranslator.java
deleted
100644 → 0
View file @
c8b6338d
package
pwc
.
taxtech
.
atms
;
import
org.apache.ibatis.io.Resources
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
java.io.BufferedReader
;
import
java.io.IOException
;
public
class
ControllerApiTranslator
{
public
static
void
main
(
String
[]
args
)
throws
IOException
{
BufferedReader
reader
=
new
BufferedReader
(
Resources
.
getResourceAsReader
(
"api_temp.properties"
));
String
line
=
""
;
while
((
line
=
reader
.
readLine
())!=
null
){
System
.
out
.
println
(
line
);
}
}
}
atms-api/src/test/resources/api_temp.properties
deleted
100644 → 0
View file @
c8b6338d
[HttpGet,
Route("GetCustomsInvoicesByPeriodId/{periodId}")]
public
IHttpActionResult
GetCustomsInvoicesByPeriodId(int
periodId)
{
return
Ok(_customsInvoiceService.GetCustomsInvoicesByPeriodId(periodId));
}
\ No newline at end of file
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