Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation
This project
Loading...
Sign in
刘冲
/
FindFirstTerminal
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit dae74a48
authored
May 22, 2017
by
刘冲
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Update README.md
1 parent
e619ba2b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
README.md
README.md
View file @
dae74a4
...
...
@@ -13,24 +13,24 @@
README.MD 项目简介。
## 使用方法
1.
得到送票详细记录文件。
*
得到送票详细记录文件。
需要把送票的票号复制到shell脚本中的array中,不用分割符,每个票号单独一行 。
同时需要注意下面的文件名时候正确。默认是special-send.log.21,可以通过vi更改文件。
执行完shell脚本后,可以得到每个票的详细送票过程。
2.
分析送票文件
*
分析送票文件
把shell脚本打包后的文件,复制到一个文件夹中。注意不要再文件夹中含有除送票流程以外的文件,比如这个程序文件、隐藏文件。
然后把票号粘贴到文件中的allTicket的set中,这里,用set是为了防止票号出现重复。
public static String filePath="/Users/liuchong/Downloads/log" 这里需要改成对应自己log的目录。
执行main方法,得到对应的文件。
## 注意事项
1.
如果出现新的出票商,需要在java文件中自己增加出票商对应的枚举值。
*
如果出现新的出票商,需要在java文件中自己增加出票商对应的枚举值。
## 后续优化
1.
出票商枚举采用pom文件应用。
2.
增加poi,直接把结果写到一个整个的excel中。
3.
增加结果汇总。
*
出票商枚举采用pom文件应用。
*
增加poi,直接把结果写到一个整个的excel中。
*
增加结果汇总。
\ No newline at end of file
Write
Preview
Markdown
is supported
Attach a file
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 post a comment