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
72987709
Commit
72987709
authored
Mar 11, 2019
by
suichenguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
数据核验
parent
a8938764
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
25 deletions
+18
-25
pom.xml
pom.xml
+0
-5
ReceiptApi.java
src/main/java/com/yxproject/start/api/ReceiptApi.java
+16
-11
PersonPostServiceImpl.java
...m/yxproject/start/service/impl/PersonPostServiceImpl.java
+2
-9
No files found.
pom.xml
View file @
72987709
...
@@ -69,11 +69,6 @@
...
@@ -69,11 +69,6 @@
<artifactId>
commons-fileupload
</artifactId>
<artifactId>
commons-fileupload
</artifactId>
<version>
1.3.3
</version>
<version>
1.3.3
</version>
</dependency>
</dependency>
<dependency>
<groupId>
org.apache.poi
</groupId>
<artifactId>
poi-ooxml
</artifactId>
<version>
3.14
</version>
</dependency>
<dependency>
<dependency>
<groupId>
org.apache.poi
</groupId>
<groupId>
org.apache.poi
</groupId>
<artifactId>
poi-ooxml-schemas
</artifactId>
<artifactId>
poi-ooxml-schemas
</artifactId>
...
...
src/main/java/com/yxproject/start/api/ReceiptApi.java
View file @
72987709
...
@@ -30,7 +30,7 @@ public class ReceiptApi {
...
@@ -30,7 +30,7 @@ public class ReceiptApi {
*/
*/
@RequestMapping
(
"createReceiptList"
)
@RequestMapping
(
"createReceiptList"
)
@Transactional
(
rollbackFor
=
Exception
.
class
)
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
boolean
createReceiptList
(
@RequestParam
(
"id"
)
String
id
)
{
public
Map
<
String
,
Object
>
createReceiptList
(
@RequestParam
(
"id"
)
String
id
)
{
//判断是否是特证
//判断是否是特证
if
(
receiptService
.
selectSpecialCardByAcceptNo
(
id
)==
1
){
if
(
receiptService
.
selectSpecialCardByAcceptNo
(
id
)==
1
){
...
@@ -87,23 +87,28 @@ public class ReceiptApi {
...
@@ -87,23 +87,28 @@ public class ReceiptApi {
int
specialCardCount
=
receiptService
.
selectSpecialCard
(
groupNo
);
int
specialCardCount
=
receiptService
.
selectSpecialCard
(
groupNo
);
receiptService
.
detailedTallyDown
(
specialCardCount
,
groupNo
);
receiptService
.
detailedTallyDown
(
specialCardCount
,
groupNo
);
}
}
return
true
;
}
/**
* 根据身份证号查询任务单
* @param id
* @return
*/
@RequestMapping
(
"selectReceipt"
)
public
Map
<
String
,
Object
>
selectReceipt
(
@RequestParam
(
"id"
)
String
id
){
Map
<
String
,
Object
>
resultMap
=
receiptService
.
selectReceiptListOfSpecialCard
(
id
);
Map
<
String
,
Object
>
resultMap
=
receiptService
.
selectReceiptListOfSpecialCard
(
id
);
if
(
resultMap
==
null
){
if
(
resultMap
==
null
){
resultMap
=
receiptService
.
selectReceiptList
(
id
);
resultMap
=
receiptService
.
selectReceiptList
(
id
);
}
}
return
resultMap
;
return
resultMap
;
}
}
// /**
// * 根据身份证号查询任务单
// * @param id
// * @return
// */
// @RequestMapping("selectReceipt")
// public Map<String,Object> selectReceipt(@RequestParam("id") String id){
// Map<String,Object> resultMap=receiptService.selectReceiptListOfSpecialCard(id);
// if (resultMap==null){
// resultMap= receiptService.selectReceiptList(id);
// }
// return resultMap;
// }
/**
/**
* 根据任务单查询详细信息
* 根据任务单查询详细信息
* @param receiptId
* @param receiptId
...
...
src/main/java/com/yxproject/start/service/impl/PersonPostServiceImpl.java
View file @
72987709
...
@@ -9,21 +9,14 @@ import com.yxproject.start.mapper.PreproPersonMapper;
...
@@ -9,21 +9,14 @@ import com.yxproject.start.mapper.PreproPersonMapper;
import
com.yxproject.start.service.PersonPostService
;
import
com.yxproject.start.service.PersonPostService
;
import
net.sf.json.JSONArray
;
import
net.sf.json.JSONArray
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.poi.hssf.usermodel.*
;
import
org.apache.poi.ss.usermodel.CellType
;
import
org.apache.poi.ss.usermodel.HorizontalAlignment
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
import
org.springframework.transaction.annotation.Transactional
;
import
javax.servlet.http.HttpServletRequest
;
import
javax.servlet.http.HttpServletRequest
;
import
javax.servlet.http.HttpServletResponse
;
import
javax.servlet.http.HttpServletResponse
;
import
javax.xml.crypto.Data
;
import
java.io.OutputStream
;
import
java.net.URLEncoder
;
import
java.nio.charset.StandardCharsets
;
import
java.sql.Time
;
import
java.text.SimpleDateFormat
;
import
java.util.Date
;
import
java.util.Date
;
import
java.util.List
;
import
java.util.List
;
...
...
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