Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
SmartBox
Project
Overview
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
苗权威
SmartBox
Commits
752b8190
Commit
752b8190
authored
Sep 26, 2019
by
苗权威
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
b525a320
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
23 additions
and
2 deletions
+23
-2
workspace.xml
.idea/workspace.xml
+0
-0
readme.md
tts_service/readme.md
+3
-0
start.sh
tts_service/start.sh
+2
-0
upload.sh
tts_service/upload.sh
+2
-0
readme.md
xiaoai/readme.md
+2
-1
TestBuild.java
.../src/main/java/ai/qiwu/com/xiaoduhome/pojo/TestBuild.java
+14
-1
No files found.
.idea/workspace.xml
View file @
752b8190
This diff is collapsed.
Click to expand it.
tts_service/readme.md
0 → 100644
View file @
752b8190
upload.sh:将jar包上传到服务器;
start.sh:服务器上执行该文件,启动项目
\ No newline at end of file
tts_service/start.sh
0 → 100644
View file @
752b8190
nohup
java
-jar
/home/ubuntu/project/tts/tts.jar
>
nohup.log 2>&1 &
\ No newline at end of file
tts_service/upload.sh
0 → 100644
View file @
752b8190
scp
-P
22222 /usr/local/intellij/workplace/smartbox/tts_service/target/tts.jar ubuntu@aws-nx2.chewrobot.com:/home/ubuntu/project/tts/
\ No newline at end of file
xiaoai/readme.md
View file @
752b8190
upload.sh:将jar包上传到服务器
upload.sh:将jar包上传到服务器
;
start.sh:服务器上执行该文件,启动项目
start.sh:服务器上执行该文件,启动项目
\ No newline at end of file
xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/pojo/TestBuild.java
View file @
752b8190
...
@@ -189,6 +189,18 @@ public class TestBuild {
...
@@ -189,6 +189,18 @@ public class TestBuild {
if
(
srcOver
!=
srcReader
.
readRecord
())
System
.
out
.
println
(
"大小不一致"
);
if
(
srcOver
!=
srcReader
.
readRecord
())
System
.
out
.
println
(
"大小不一致"
);
}
}
public
static
void
getNum
(
String
target
)
throws
IOException
{
CsvReader
srcReader
=
new
CsvReader
(
target
,
','
,
Charset
.
forName
(
"UTF-8"
));
srcReader
.
readHeaders
();
HashSet
<
String
>
set
=
new
HashSet
<>();
while
(
srcReader
.
readRecord
())
{
String
[]
arr
=
srcReader
.
getRawRecord
().
split
(
","
);
if
(
arr
.
length
!=
4
)
continue
;
set
.
add
(
arr
[
0
]);
}
System
.
out
.
println
(
set
.
size
());
}
public
static
void
main
(
String
[]
args
)
throws
IOException
{
public
static
void
main
(
String
[]
args
)
throws
IOException
{
String
target
=
"/home/yf01/下载/tts/target.csv"
;
String
target
=
"/home/yf01/下载/tts/target.csv"
;
String
src
=
"/home/yf01/下载/齐齐-人工配音关系对于表(2).csv"
;
String
src
=
"/home/yf01/下载/齐齐-人工配音关系对于表(2).csv"
;
...
@@ -196,6 +208,7 @@ public class TestBuild {
...
@@ -196,6 +208,7 @@ public class TestBuild {
String
v2
=
"/home/yf01/下载/qiNew.csv"
;
String
v2
=
"/home/yf01/下载/qiNew.csv"
;
//csvUtil(target, src, srcModify, v2);
//csvUtil(target, src, srcModify, v2);
check
(
src
,
srcModify
,
target
);
//check(src, srcModify, target);
getNum
(
srcModify
);
}
}
}
}
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