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
5103c11b
Commit
5103c11b
authored
Mar 11, 2019
by
dahai
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
20274c0b
95e17839
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
24 additions
and
92 deletions
+24
-92
ReceiptApi.java
src/main/java/com/yxproject/start/api/ReceiptApi.java
+3
-6
TagPrintApi.java
src/main/java/com/yxproject/start/api/TagPrintApi.java
+0
-20
ReceiptMapper.java
src/main/java/com/yxproject/start/mapper/ReceiptMapper.java
+2
-4
ReceiptService.java
...main/java/com/yxproject/start/service/ReceiptService.java
+1
-1
ReceiptServiceImpl.java
.../com/yxproject/start/service/impl/ReceiptServiceImpl.java
+3
-3
service.js
src/main/resources/static/js/service.js
+2
-2
receitp.js
src/main/resources/static/views/receitp/receitp.js
+11
-0
tagPrint.html
src/main/resources/static/views/tagPrint/tagPrint.html
+1
-27
tagPrint.js
src/main/resources/static/views/tagPrint/tagPrint.js
+1
-29
No files found.
src/main/java/com/yxproject/start/api/ReceiptApi.java
View file @
5103c11b
...
...
@@ -30,7 +30,7 @@ public class ReceiptApi {
*/
@RequestMapping
(
"createReceiptList"
)
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
Map
<
String
,
Object
>
createReceiptList
(
@RequestParam
(
"id"
)
String
id
)
{
public
List
<
Map
<
String
,
Object
>
>
createReceiptList
(
@RequestParam
(
"id"
)
String
id
)
{
//判断是否是特证
if
(
receiptService
.
selectSpecialCardByAcceptNo
(
id
)==
1
){
...
...
@@ -87,11 +87,8 @@ public class ReceiptApi {
int
specialCardCount
=
receiptService
.
selectSpecialCard
(
groupNo
);
receiptService
.
detailedTallyDown
(
specialCardCount
,
groupNo
);
}
Map
<
String
,
Object
>
resultMap
=
receiptService
.
selectReceiptListOfSpecialCard
(
id
);
if
(
resultMap
==
null
){
resultMap
=
receiptService
.
selectReceiptList
(
id
);
}
return
resultMap
;
List
<
Map
<
String
,
Object
>>
resultList
=
receiptService
.
selectReceiptListOfSpecialCard
();
return
resultList
;
}
...
...
src/main/java/com/yxproject/start/api/TagPrintApi.java
deleted
100644 → 0
View file @
20274c0b
package
com
.
yxproject
.
start
.
api
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestParam
;
import
org.springframework.web.bind.annotation.RestController
;
import
java.util.ArrayList
;
import
java.util.List
;
@RestController
@RequestMapping
(
"tagPrint"
)
public
class
TagPrintApi
{
@RequestMapping
(
"selectTagPrintData"
)
public
List
selectTagPrintData
(
@RequestParam
(
"idCard"
)
String
idCard
){
List
list
=
new
ArrayList
();
return
list
;
}
}
src/main/java/com/yxproject/start/mapper/ReceiptMapper.java
View file @
5103c11b
...
...
@@ -64,10 +64,8 @@ public interface ReceiptMapper {
//根据身份证号查询特证交接单
@Select
(
"SELECT RECEIPT_LIST.* FROM RECEIPT_LIST \n"
+
"LEFT JOIN PROD_CARD_T@PROD_LINK ON PROD_CARD_T.ACCEPT_NO =RECEIPT_LIST.QR_CODE\n"
+
"WHERE PROD_CARD_T.ID_NO =#{id}"
)
public
Map
<
String
,
Object
>
selectReceiptListOfSpecialCard
(
String
id
);
@Select
(
"SELECT RECEIPT_LIST.* FROM RECEIPT_LIST where state=0\n"
)
public
List
<
Map
<
String
,
Object
>>
selectReceiptListOfSpecialCard
();
//根据身份证号查询普通证交接单
...
...
src/main/java/com/yxproject/start/service/ReceiptService.java
View file @
5103c11b
...
...
@@ -24,7 +24,7 @@ public interface ReceiptService {
public
int
selectSpecialCardByAcceptNo
(
String
id
);
public
Map
<
String
,
Object
>
selectReceiptListOfSpecialCard
(
String
id
);
public
List
<
Map
<
String
,
Object
>>
selectReceiptListOfSpecialCard
(
);
public
Map
<
String
,
Object
>
selectReceiptList
(
String
id
);
...
...
src/main/java/com/yxproject/start/service/impl/ReceiptServiceImpl.java
View file @
5103c11b
...
...
@@ -63,9 +63,9 @@ public class ReceiptServiceImpl implements ReceiptService {
}
@Override
public
Map
<
String
,
Object
>
selectReceiptListOfSpecialCard
(
String
id
)
{
Map
<
String
,
Object
>
resultMap
=
receiptMapper
.
selectReceiptListOfSpecialCard
(
id
);
return
result
Map
;
public
List
<
Map
<
String
,
Object
>>
selectReceiptListOfSpecialCard
(
)
{
List
<
Map
<
String
,
Object
>>
resultList
=
receiptMapper
.
selectReceiptListOfSpecialCard
(
);
return
result
List
;
}
@Override
...
...
src/main/resources/static/js/service.js
View file @
5103c11b
...
...
@@ -420,9 +420,9 @@ angular.module('AvatarCheck.http', ['ngDialog', 'LocalStorageModule'])
selectTagPrintData
:
function
(
idCard
,
success
){
$http
({
method
:
'GET'
,
url
:
"../
tagPrint/selectTagPrintData
"
+
urlTimeStamp
(),
url
:
"../
ReceiptApi/createReceiptList
"
+
urlTimeStamp
(),
params
:{
id
Card
:
idCard
id
:
idCard
}
}).
then
(
function
successCallback
(
response
)
{
success
(
response
.
data
)
...
...
src/main/resources/static/views/receitp/receitp.js
View file @
5103c11b
...
...
@@ -11,6 +11,16 @@ angular.module('AvatarCheck.receitp', ['ngRoute', 'AvatarCheck.http'])
.
controller
(
'receitpCtrl'
,
function
(
$scope
,
$rootScope
,
$timeout
,
HttpService
,
ngDialog
,
MessageService
,
$filter
)
{
//Date picker
$
(
'#datepicker'
).
datetimepicker
({
minView
:
"month"
,
//选择日期后,不会再跳转去选择时分秒
language
:
'zh-CN'
,
format
:
'yyyy-mm-dd'
,
todayBtn
:
1
,
autoclose
:
1
});
$scope
.
choseDate
=
$filter
(
"date"
)(
new
Date
(),
"yyyy-MM-dd"
);
});
\ No newline at end of file
src/main/resources/static/views/tagPrint/tagPrint.html
View file @
5103c11b
<!--<style>-->
<!--.table th, .table td {-->
<!--text-align: center;-->
<!--vertical-align: middle!important;-->
<!--}-->
<!--.ul li{-->
<!--cursor: pointer;-->
<!--}-->
<!--.page-list .pagination {float:left;}-->
<!--.page-list .pagination span {cursor: pointer;}-->
<!--.page-list .pagination .separate span{cursor: default; border-top:none;border-bottom:none;}-->
<!--.page-list .pagination .separate span:hover {background: none;}-->
<!--.page-list .page-total {float:left; margin: 25px 20px;}-->
<!--.page-list .page-total input, .page-list .page-total select{height: 26px; border: 1px solid #ddd;}-->
<!--.page-list .page-total input {width: 40px; padding-left:3px;}-->
<!--.page-list .page-total select {width: 50px;}-->
<!--.page-list:after {-->
<!--display: block;-->
<!--clear: both;-->
<!--content: ""-->
<!--}-->
<!--.page-list{-->
<!--zoom: 1-->
<!--}-->
<!--</style>-->
<style>
form
input
{
border
:
0
;
...
...
@@ -37,7 +11,7 @@
}
</style>
<section
class=
"content"
>
<section
class=
"content
row
"
>
<div
class=
"col-md-12 no-padding"
style=
"margin-top:20px;"
>
<div
class=
"box box-primary "
>
<div
class=
"box-header with-border"
>
...
...
src/main/resources/static/views/tagPrint/tagPrint.js
View file @
5103c11b
...
...
@@ -1017,35 +1017,6 @@ angular.module('AvatarCheck.tagPrint', ['ngRoute', 'AvatarCheck.http', 'tm.pagin
isPrint
:
1
,
isEwrite
:
1
}
]
}
...
...
@@ -1054,6 +1025,7 @@ angular.module('AvatarCheck.tagPrint', ['ngRoute', 'AvatarCheck.http', 'tm.pagin
$scope
.
searchTagPrintData
=
function
(){
HttpService
.
selectTagPrintData
(
$scope
.
idCard
,
function
(
data
){
$scope
.
tagPrintData
=
data
;
console
.
log
(
$scope
.
tagPrintData
)
})
}
...
...
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