Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
Y
YX_IDENT_beijing_auxiliary_YD
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhangyusheng
YX_IDENT_beijing_auxiliary_YD
Commits
a29661c3
Commit
a29661c3
authored
Mar 02, 2019
by
dahai
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
57279620
2623ab20
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
454 additions
and
0 deletions
+454
-0
readCardApi.java
...ain/java/com/yxproject/start/api/fakeApi/readCardApi.java
+42
-0
selectDetailedInformation.java
...xproject/start/api/fakeApi/selectDetailedInformation.java
+121
-0
selectExcelApi.java
.../java/com/yxproject/start/api/fakeApi/selectExcelApi.java
+125
-0
selectPostData.java
.../java/com/yxproject/start/api/fakeApi/selectPostData.java
+44
-0
selectXMLApi.java
...in/java/com/yxproject/start/api/fakeApi/selectXMLApi.java
+122
-0
~$调度系统—详细设计说明书.doc
~$调度系统—详细设计说明书.doc
+0
-0
No files found.
src/main/java/com/yxproject/start/api/fakeApi/readCardApi.java
0 → 100644
View file @
a29661c3
package
com
.
yxproject
.
start
.
api
.
fakeApi
;
import
net.sf.json.JSONObject
;
import
org.apache.ibatis.annotations.Param
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
java.util.ArrayList
;
import
java.util.List
;
@RestController
@RequestMapping
(
"selectXMLApi"
)
public
class
readCardApi
{
/**
* 查询读卡信息详情
* @param idCard
* @param startDate
* @param endDate
* @return countyList
*/
@RequestMapping
(
"selectPostData"
)
public
String
selectPostData
(
@Param
(
"idCard"
)
String
idCard
,
@Param
(
"startDate"
)
String
startDate
,
@Param
(
"endDate"
)
String
endDate
){
List
<
JSONObject
>
countyList
=
new
ArrayList
<>();
JSONObject
jsonStr1
=
new
JSONObject
();
jsonStr1
.
put
(
"name"
,
"周强"
);
jsonStr1
.
put
(
"sex"
,
"男"
);
jsonStr1
.
put
(
"nation"
,
"汉族"
);
jsonStr1
.
put
(
"birthday"
,
"19930207"
);
jsonStr1
.
put
(
"address"
,
"北京市海淀区马连洼学府路202号"
);
jsonStr1
.
put
(
"idNumber"
,
idCard
);
jsonStr1
.
put
(
"issuingAuthority"
,
"马连洼派出所"
);
jsonStr1
.
put
(
"beginData"
,
"20130916"
);
jsonStr1
.
put
(
"endData"
,
"20230916"
);
countyList
.
add
(
jsonStr1
);
return
countyList
.
toString
();
}
}
src/main/java/com/yxproject/start/api/fakeApi/selectDetailedInformation.java
0 → 100644
View file @
a29661c3
package
com
.
yxproject
.
start
.
api
.
fakeApi
;
import
net.sf.json.JSONObject
;
import
org.apache.ibatis.annotations.Param
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
java.util.ArrayList
;
import
java.util.List
;
@RestController
@RequestMapping
(
"selectDetailedInformation"
)
public
class
selectDetailedInformation
{
/**
* 制证信息查询
* @param uploadNo
* @param idCard
* @param name
* @param packageNo
* @param readDate
* @param cardType
* @param packageType
* @param startDate
* @param endDate
* @return countyList
*/
@RequestMapping
(
"selectDetailedInfo"
)
public
String
selectDetailedInfo
(
@Param
(
"uploadNo"
)
String
uploadNo
,
@Param
(
"idCard"
)
String
idCard
,
@Param
(
"name"
)
String
name
,
@Param
(
"packageNo"
)
String
packageNo
,
@Param
(
"readDate"
)
String
readDate
,
@Param
(
"cardType"
)
String
cardType
,
@Param
(
"packageType"
)
String
packageType
,
@Param
(
"startDate"
)
String
startDate
,
@Param
(
"endDate"
)
String
endDate
){
List
<
JSONObject
>
countyList
=
new
ArrayList
<>();
JSONObject
jsonStr1
=
new
JSONObject
();
jsonStr1
.
put
(
"countyNo"
,
"11020"
);
jsonStr1
.
put
(
"oldPackageNo"
,
"11020180227001"
);
jsonStr1
.
put
(
"recordNumber"
,
80
);
jsonStr1
.
put
(
"postNumber"
,
30
);
jsonStr1
.
put
(
"unpackedNumber"
,
10
);
jsonStr1
.
put
(
"readDate"
,
"20190228"
);
jsonStr1
.
put
(
"analysisDate"
,
"20190228"
);
JSONObject
jsonStr2
=
new
JSONObject
();
jsonStr2
.
put
(
"countyNo"
,
"11020"
);
jsonStr2
.
put
(
"oldPackageNo"
,
"11020180227001"
);
jsonStr2
.
put
(
"recordNumber"
,
80
);
jsonStr2
.
put
(
"postNumber"
,
30
);
jsonStr2
.
put
(
"unpackedNumber"
,
10
);
jsonStr2
.
put
(
"readDate"
,
"20190228"
);
jsonStr2
.
put
(
"analysisDate"
,
"20190228"
);
JSONObject
jsonStr3
=
new
JSONObject
();
jsonStr3
.
put
(
"countyNo"
,
"11020"
);
jsonStr3
.
put
(
"oldPackageNo"
,
"11020180227001"
);
jsonStr3
.
put
(
"recordNumber"
,
80
);
jsonStr3
.
put
(
"postNumber"
,
30
);
jsonStr3
.
put
(
"unpackedNumber"
,
10
);
jsonStr3
.
put
(
"readDate"
,
"20190228"
);
jsonStr3
.
put
(
"analysisDate"
,
"20190228"
);
JSONObject
jsonStr4
=
new
JSONObject
();
jsonStr4
.
put
(
"countyNo"
,
"11020"
);
jsonStr4
.
put
(
"oldPackageNo"
,
"11020180227001"
);
jsonStr4
.
put
(
"recordNumber"
,
80
);
jsonStr4
.
put
(
"postNumber"
,
30
);
jsonStr4
.
put
(
"unpackedNumber"
,
10
);
jsonStr4
.
put
(
"readDate"
,
"20190228"
);
jsonStr4
.
put
(
"analysisDate"
,
"20190228"
);
JSONObject
jsonStr5
=
new
JSONObject
();
jsonStr5
.
put
(
"countyNo"
,
"11020"
);
jsonStr5
.
put
(
"oldPackageNo"
,
"11020180227001"
);
jsonStr5
.
put
(
"recordNumber"
,
80
);
jsonStr5
.
put
(
"postNumber"
,
30
);
jsonStr5
.
put
(
"unpackedNumber"
,
10
);
jsonStr5
.
put
(
"readDate"
,
"20190228"
);
jsonStr5
.
put
(
"analysisDate"
,
"20190228"
);
JSONObject
jsonStr6
=
new
JSONObject
();
jsonStr6
.
put
(
"countyNo"
,
"11020"
);
jsonStr6
.
put
(
"oldPackageNo"
,
"11020180227001"
);
jsonStr6
.
put
(
"recordNumber"
,
80
);
jsonStr6
.
put
(
"postNumber"
,
30
);
jsonStr6
.
put
(
"unpackedNumber"
,
10
);
jsonStr6
.
put
(
"readDate"
,
"20190228"
);
jsonStr6
.
put
(
"analysisDate"
,
"20190228"
);
JSONObject
jsonStr7
=
new
JSONObject
();
jsonStr7
.
put
(
"countyNo"
,
"11020"
);
jsonStr7
.
put
(
"oldPackageNo"
,
"11020180227001"
);
jsonStr7
.
put
(
"recordNumber"
,
80
);
jsonStr7
.
put
(
"postNumber"
,
30
);
jsonStr7
.
put
(
"unpackedNumber"
,
10
);
jsonStr7
.
put
(
"readDate"
,
"20190228"
);
jsonStr7
.
put
(
"analysisDate"
,
"20190228"
);
JSONObject
jsonStr8
=
new
JSONObject
();
jsonStr8
.
put
(
"countyNo"
,
"11020"
);
jsonStr8
.
put
(
"oldPackageNo"
,
"11020180227001"
);
jsonStr8
.
put
(
"recordNumber"
,
80
);
jsonStr8
.
put
(
"postNumber"
,
30
);
jsonStr8
.
put
(
"unpackedNumber"
,
10
);
jsonStr8
.
put
(
"readDate"
,
"20190228"
);
jsonStr8
.
put
(
"analysisDate"
,
"20190228"
);
countyList
.
add
(
jsonStr1
);
countyList
.
add
(
jsonStr2
);
countyList
.
add
(
jsonStr3
);
countyList
.
add
(
jsonStr4
);
countyList
.
add
(
jsonStr5
);
countyList
.
add
(
jsonStr6
);
countyList
.
add
(
jsonStr7
);
countyList
.
add
(
jsonStr8
);
return
countyList
.
toString
();
}
}
src/main/java/com/yxproject/start/api/fakeApi/selectExcelApi.java
0 → 100644
View file @
a29661c3
package
com
.
yxproject
.
start
.
api
.
fakeApi
;
import
net.sf.json.JSONObject
;
import
org.apache.ibatis.annotations.Param
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
java.util.ArrayList
;
import
java.util.List
;
@RestController
@RequestMapping
(
"selectXMLApi"
)
public
class
selectExcelApi
{
/**
* 邮寄信息查询
* 根据文件名和状态查询邮寄信息数据,返回数据List集合
* @param fileName
* @param state
* @return countyList
*/
@RequestMapping
(
"selectExcel"
)
public
String
selectExcel
(
@Param
(
"fileName"
)
String
fileName
,
@Param
(
"state"
)
String
state
){
List
<
JSONObject
>
countyList
=
new
ArrayList
<>();
JSONObject
jsonStr1
=
new
JSONObject
();
jsonStr1
.
put
(
"beginDate"
,
"20190221"
);
jsonStr1
.
put
(
"deadline"
,
"20190228"
);
jsonStr1
.
put
(
"fileName"
,
"格口导出.excel"
);
jsonStr1
.
put
(
"uploadDate"
,
"20190227"
);
jsonStr1
.
put
(
"state"
,
"未解析"
);
JSONObject
jsonStr2
=
new
JSONObject
();
jsonStr2
.
put
(
"beginDate"
,
"20190221"
);
jsonStr2
.
put
(
"deadline"
,
"20190228"
);
jsonStr2
.
put
(
"fileName"
,
"格口导出.excel"
);
jsonStr2
.
put
(
"uploadDate"
,
"20190227"
);
jsonStr2
.
put
(
"state"
,
"未解析"
);
JSONObject
jsonStr3
=
new
JSONObject
();
jsonStr3
.
put
(
"beginDate"
,
"20190221"
);
jsonStr3
.
put
(
"deadline"
,
"20190228"
);
jsonStr3
.
put
(
"fileName"
,
"格口导出.excel"
);
jsonStr3
.
put
(
"uploadDate"
,
"20190227"
);
jsonStr3
.
put
(
"state"
,
"未解析"
);
JSONObject
jsonStr4
=
new
JSONObject
();
jsonStr4
.
put
(
"beginDate"
,
"20190221"
);
jsonStr4
.
put
(
"deadline"
,
"20190228"
);
jsonStr4
.
put
(
"fileName"
,
"格口导出.excel"
);
jsonStr4
.
put
(
"uploadDate"
,
"20190227"
);
jsonStr4
.
put
(
"state"
,
"未解析"
);
JSONObject
jsonStr5
=
new
JSONObject
();
jsonStr5
.
put
(
"beginDate"
,
"20190221"
);
jsonStr5
.
put
(
"deadline"
,
"20190228"
);
jsonStr5
.
put
(
"fileName"
,
"格口导出.excel"
);
jsonStr5
.
put
(
"uploadDate"
,
"20190227"
);
jsonStr5
.
put
(
"state"
,
"未解析"
);
JSONObject
jsonStr6
=
new
JSONObject
();
jsonStr6
.
put
(
"beginDate"
,
"20190221"
);
jsonStr6
.
put
(
"deadline"
,
"20190228"
);
jsonStr6
.
put
(
"fileName"
,
"格口导出.excel"
);
jsonStr6
.
put
(
"uploadDate"
,
"20190227"
);
jsonStr6
.
put
(
"state"
,
"未解析"
);
JSONObject
jsonStr7
=
new
JSONObject
();
jsonStr7
.
put
(
"beginDate"
,
"20190221"
);
jsonStr7
.
put
(
"deadline"
,
"20190228"
);
jsonStr7
.
put
(
"fileName"
,
"格口导出.excel"
);
jsonStr7
.
put
(
"uploadDate"
,
"20190227"
);
jsonStr7
.
put
(
"state"
,
"未解析"
);
JSONObject
jsonStr8
=
new
JSONObject
();
jsonStr8
.
put
(
"beginDate"
,
"20190221"
);
jsonStr8
.
put
(
"deadline"
,
"20190228"
);
jsonStr8
.
put
(
"fileName"
,
"格口导出.excel"
);
jsonStr8
.
put
(
"uploadDate"
,
"20190227"
);
jsonStr8
.
put
(
"state"
,
"未解析"
);
JSONObject
jsonStr9
=
new
JSONObject
();
jsonStr9
.
put
(
"beginDate"
,
"20190221"
);
jsonStr9
.
put
(
"deadline"
,
"20190228"
);
jsonStr9
.
put
(
"fileName"
,
"格口导出.excel"
);
jsonStr9
.
put
(
"uploadDate"
,
"20190227"
);
jsonStr9
.
put
(
"state"
,
"未解析"
);
JSONObject
jsonStr10
=
new
JSONObject
();
jsonStr10
.
put
(
"beginDate"
,
"20190221"
);
jsonStr10
.
put
(
"deadline"
,
"20190228"
);
jsonStr10
.
put
(
"fileName"
,
"格口导出.excel"
);
jsonStr10
.
put
(
"uploadDate"
,
"20190227"
);
jsonStr10
.
put
(
"state"
,
"已解析"
);
JSONObject
jsonStr11
=
new
JSONObject
();
jsonStr11
.
put
(
"beginDate"
,
"20190221"
);
jsonStr11
.
put
(
"deadline"
,
"20190228"
);
jsonStr11
.
put
(
"fileName"
,
"格口导出.excel"
);
jsonStr11
.
put
(
"uploadDate"
,
"20190227"
);
jsonStr11
.
put
(
"state"
,
"已解析"
);
countyList
.
add
(
jsonStr1
);
countyList
.
add
(
jsonStr2
);
countyList
.
add
(
jsonStr3
);
countyList
.
add
(
jsonStr4
);
countyList
.
add
(
jsonStr5
);
countyList
.
add
(
jsonStr6
);
countyList
.
add
(
jsonStr7
);
countyList
.
add
(
jsonStr8
);
countyList
.
add
(
jsonStr9
);
countyList
.
add
(
jsonStr10
);
countyList
.
add
(
jsonStr11
);
return
countyList
.
toString
();
}
}
src/main/java/com/yxproject/start/api/fakeApi/selectPostData.java
0 → 100644
View file @
a29661c3
package
com
.
yxproject
.
start
.
api
.
fakeApi
;
import
net.sf.json.JSONObject
;
import
org.apache.ibatis.annotations.Param
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
java.util.ArrayList
;
import
java.util.List
;
@RestController
@RequestMapping
(
"selectPostData"
)
public
class
selectPostData
{
/**
* 邮寄信息查询
* @param name
* @param formNo
* @param serialNo
* @param printState
* @param latticeMouth
* @param county
* @param readDate
* @return postList
*/
@RequestMapping
(
"selectPost"
)
public
String
selectPost
(
@Param
(
"name"
)
String
name
,
@Param
(
"formNo"
)
String
formNo
,
@Param
(
"serialNo"
)
String
serialNo
,
@Param
(
"printState"
)
String
printState
,
@Param
(
"latticeMouth"
)
String
latticeMouth
,
@Param
(
"county"
)
String
county
,
@Param
(
"readDate"
)
String
readDate
){
List
<
JSONObject
>
postList
=
new
ArrayList
<>();
JSONObject
jsonStr1
=
new
JSONObject
();
jsonStr1
.
put
(
"formNo"
,
formNo
);
jsonStr1
.
put
(
"waybillNumber"
,
"2102968392945"
);
jsonStr1
.
put
(
"backWaybillNumber"
,
"2163968602938"
);
jsonStr1
.
put
(
"firstWhite"
,
"1100120172018121900012"
);
jsonStr1
.
put
(
"recipientName"
,
"杨家将"
);
jsonStr1
.
put
(
"senderPhone"
,
"18532624082"
);
jsonStr1
.
put
(
"issuingAuthority"
,
"马连洼派出所"
);
jsonStr1
.
put
(
"applicantName"
,
"杨家将"
);
jsonStr1
.
put
(
"printDate"
,
"20190302"
);
postList
.
add
(
jsonStr1
);
return
postList
.
toString
();
}
}
src/main/java/com/yxproject/start/api/fakeApi/selectXMLApi.java
0 → 100644
View file @
a29661c3
package
com
.
yxproject
.
start
.
api
.
fakeApi
;
import
net.sf.json.JSONObject
;
import
org.apache.ibatis.annotations.Param
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
java.util.ArrayList
;
import
java.util.List
;
@RestController
@RequestMapping
(
"selectXMLApi"
)
public
class
selectXMLApi
{
/**
* 制证信息查询
* 按日期和状态查询制证信息数据,返回List集合
* @param date
* @param state
* @return countyList
*/
@RequestMapping
(
"selectXml"
)
public
String
selectXml
(
@Param
(
"date"
)
String
date
,
@Param
(
"state"
)
String
state
){
List
<
JSONObject
>
countyList
=
new
ArrayList
<>();
JSONObject
jsonStr1
=
new
JSONObject
();
jsonStr1
.
put
(
"uploadDate"
,
"20190301"
);
jsonStr1
.
put
(
"packageCount"
,
300
);
jsonStr1
.
put
(
"cardCount"
,
28000
);
jsonStr1
.
put
(
"commonCardCount"
,
16000
);
jsonStr1
.
put
(
"postCardCount"
,
12000
);
JSONObject
jsonStr2
=
new
JSONObject
();
jsonStr2
.
put
(
"uploadDate"
,
"20190301"
);
jsonStr2
.
put
(
"packageCount"
,
300
);
jsonStr2
.
put
(
"cardCount"
,
28000
);
jsonStr2
.
put
(
"commonCardCount"
,
16000
);
jsonStr2
.
put
(
"postCardCount"
,
12000
);
JSONObject
jsonStr3
=
new
JSONObject
();
jsonStr3
.
put
(
"uploadDate"
,
"20190301"
);
jsonStr3
.
put
(
"packageCount"
,
300
);
jsonStr3
.
put
(
"cardCount"
,
28000
);
jsonStr3
.
put
(
"commonCardCount"
,
16000
);
jsonStr3
.
put
(
"postCardCount"
,
12000
);
JSONObject
jsonStr4
=
new
JSONObject
();
jsonStr4
.
put
(
"uploadDate"
,
"20190301"
);
jsonStr4
.
put
(
"packageCount"
,
300
);
jsonStr4
.
put
(
"cardCount"
,
28000
);
jsonStr4
.
put
(
"commonCardCount"
,
16000
);
jsonStr4
.
put
(
"postCardCount"
,
12000
);
JSONObject
jsonStr5
=
new
JSONObject
();
jsonStr5
.
put
(
"uploadDate"
,
"20190301"
);
jsonStr5
.
put
(
"packageCount"
,
300
);
jsonStr5
.
put
(
"cardCount"
,
28000
);
jsonStr5
.
put
(
"commonCardCount"
,
16000
);
jsonStr5
.
put
(
"postCardCount"
,
12000
);
JSONObject
jsonStr6
=
new
JSONObject
();
jsonStr6
.
put
(
"uploadDate"
,
"20190301"
);
jsonStr6
.
put
(
"packageCount"
,
300
);
jsonStr6
.
put
(
"cardCount"
,
28000
);
jsonStr6
.
put
(
"commonCardCount"
,
16000
);
jsonStr6
.
put
(
"postCardCount"
,
12000
);
JSONObject
jsonStr7
=
new
JSONObject
();
jsonStr7
.
put
(
"uploadDate"
,
"20190301"
);
jsonStr7
.
put
(
"packageCount"
,
300
);
jsonStr7
.
put
(
"cardCount"
,
28000
);
jsonStr7
.
put
(
"commonCardCount"
,
16000
);
jsonStr7
.
put
(
"postCardCount"
,
12000
);
JSONObject
jsonStr8
=
new
JSONObject
();
jsonStr8
.
put
(
"uploadDate"
,
"20190301"
);
jsonStr8
.
put
(
"packageCount"
,
300
);
jsonStr8
.
put
(
"cardCount"
,
28000
);
jsonStr8
.
put
(
"commonCardCount"
,
16000
);
jsonStr8
.
put
(
"postCardCount"
,
12000
);
JSONObject
jsonStr9
=
new
JSONObject
();
jsonStr9
.
put
(
"uploadDate"
,
"20190301"
);
jsonStr9
.
put
(
"packageCount"
,
300
);
jsonStr9
.
put
(
"cardCount"
,
28000
);
jsonStr9
.
put
(
"commonCardCount"
,
16000
);
jsonStr9
.
put
(
"postCardCount"
,
12000
);
JSONObject
jsonStr10
=
new
JSONObject
();
jsonStr10
.
put
(
"uploadDate"
,
"20190301"
);
jsonStr10
.
put
(
"packageCount"
,
300
);
jsonStr10
.
put
(
"cardCount"
,
28000
);
jsonStr10
.
put
(
"commonCardCount"
,
16000
);
jsonStr10
.
put
(
"postCardCount"
,
12000
);
JSONObject
jsonStr11
=
new
JSONObject
();
jsonStr11
.
put
(
"uploadDate"
,
"20190301"
);
jsonStr11
.
put
(
"packageCount"
,
300
);
jsonStr11
.
put
(
"cardCount"
,
28000
);
jsonStr11
.
put
(
"commonCardCount"
,
16000
);
jsonStr11
.
put
(
"postCardCount"
,
12000
);
countyList
.
add
(
jsonStr1
);
countyList
.
add
(
jsonStr2
);
countyList
.
add
(
jsonStr3
);
countyList
.
add
(
jsonStr4
);
countyList
.
add
(
jsonStr5
);
countyList
.
add
(
jsonStr6
);
countyList
.
add
(
jsonStr7
);
countyList
.
add
(
jsonStr8
);
countyList
.
add
(
jsonStr9
);
countyList
.
add
(
jsonStr10
);
countyList
.
add
(
jsonStr11
);
return
countyList
.
toString
();
}
}
~$调度系统—详细设计说明书.doc
0 → 100644
View file @
a29661c3
File added
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