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
38d830d1
Commit
38d830d1
authored
Apr 04, 2019
by
dahai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
push
parent
d35f9dc0
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
22 additions
and
13 deletions
+22
-13
ReceiptApi.java
src/main/java/com/yxproject/start/api/ReceiptApi.java
+0
-2
SelectApi.java
src/main/java/com/yxproject/start/api/SelectApi.java
+0
-1
ReceiptServiceImpl.java
.../com/yxproject/start/service/impl/ReceiptServiceImpl.java
+12
-1
autoCheck.html
src/main/resources/static/views/autoCheck/autoCheck.html
+9
-9
autoCheck.js
src/main/resources/static/views/autoCheck/autoCheck.js
+1
-0
No files found.
src/main/java/com/yxproject/start/api/ReceiptApi.java
View file @
38d830d1
...
@@ -99,8 +99,6 @@ public class ReceiptApi {
...
@@ -99,8 +99,6 @@ public class ReceiptApi {
if
(
countGroup
==
0
)
{
if
(
countGroup
==
0
)
{
//生成交接单
//生成交接单
receiptService
.
createReceiptList
(
receiptListEntity
);
receiptService
.
createReceiptList
(
receiptListEntity
);
//todo 查询交接单对应的详单 循环遍历 是否生成对应详单 生成 不做操作 没有生成 遍历插入
for
(
int
n
=
0
;
n
<
receiptListDate
.
size
();
n
++)
{
for
(
int
n
=
0
;
n
<
receiptListDate
.
size
();
n
++)
{
// receiptService.
// receiptService.
//查询这个身份证是否生成了详单
//查询这个身份证是否生成了详单
...
...
src/main/java/com/yxproject/start/api/SelectApi.java
View file @
38d830d1
package
com
.
yxproject
.
start
.
api
;
package
com
.
yxproject
.
start
.
api
;
import
com.yxproject.start.service.GroupNoService
;
import
com.yxproject.start.service.SelectSerialNumberService
;
import
com.yxproject.start.service.SelectSerialNumberService
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
...
...
src/main/java/com/yxproject/start/service/impl/ReceiptServiceImpl.java
View file @
38d830d1
...
@@ -177,14 +177,25 @@ public class ReceiptServiceImpl implements ReceiptService {
...
@@ -177,14 +177,25 @@ public class ReceiptServiceImpl implements ReceiptService {
@Override
@Override
public
List
<
Map
<
String
,
Object
>>
selectReceiptListDate2
(
String
id
)
{
public
List
<
Map
<
String
,
Object
>>
selectReceiptListDate2
(
String
id
)
{
List
<
Map
<
String
,
Object
>>
mapList
=
receiptMapper
.
selectReceiptListDate2
(
id
);
List
<
Map
<
String
,
Object
>>
mapList
=
new
ArrayList
<>();
if
(
id
==
null
){
}
else
{
mapList
=
receiptMapper
.
selectReceiptListDate2
(
id
);
}
return
mapList
;
return
mapList
;
}
}
@Override
@Override
public
String
selectGroupNoById
(
String
id
)
{
public
String
selectGroupNoById
(
String
id
)
{
List
<
Map
<
String
,
Object
>>
mapList
=
receiptMapper
.
selectGroupNoById
(
id
);
List
<
Map
<
String
,
Object
>>
mapList
=
receiptMapper
.
selectGroupNoById
(
id
);
if
(
mapList
.
size
()>
0
){
return
mapList
.
get
(
0
).
get
(
"GROUPNO"
).
toString
();
return
mapList
.
get
(
0
).
get
(
"GROUPNO"
).
toString
();
}
else
{
return
null
;
}
}
}
@Override
@Override
...
...
src/main/resources/static/views/autoCheck/autoCheck.html
View file @
38d830d1
...
@@ -59,28 +59,28 @@
...
@@ -59,28 +59,28 @@
<td>
{{item.NAME}}
</td>
<td>
{{item.NAME}}
</td>
<td>
{{item.CARD_ID}}
</td>
<td>
{{item.CARD_ID}}
</td>
<td>
<td>
<span
ng-if=
"item.
downloadDate
==null"
<span
ng-if=
"item.
DOWNLOAD_DATE
==null"
style=
"color: red"
style=
"color: red"
class=
"glyphicon glyphicon-remove"
>
class=
"glyphicon glyphicon-remove"
>
</span>
</span>
<span
ng-if=
"item.
downloadDate
!=null"
<span
ng-if=
"item.
DOWNLOAD_DATE
!=null"
style=
"size: 6px"
>
{{item.
downloadDate
| date:'MM-dd hh:mm'}}
</span>
style=
"size: 6px"
>
{{item.
DOWNLOAD_DATE
| date:'MM-dd hh:mm'}}
</span>
</td>
</td>
<td>
<td>
<span
ng-if=
"item.
electricDate
==null"
<span
ng-if=
"item.
ELECTRIC_WRITE_DATE
==null"
style=
"color: red"
style=
"color: red"
class=
"glyphicon glyphicon-remove"
>
class=
"glyphicon glyphicon-remove"
>
</span>
</span>
<span
ng-if=
"item.
electricDate
!=null"
<span
ng-if=
"item.
ELECTRIC_WRITE_DATE
!=null"
style=
"size: 6px"
>
{{item.
electricDate
| date:'MM-dd hh:mm'}}
</span>
style=
"size: 6px"
>
{{item.
ELECTRIC_WRITE_DATE
| date:'MM-dd hh:mm'}}
</span>
</td>
</td>
<td>
<td>
<span
ng-if=
"item.
checkDate
==null"
<span
ng-if=
"item.
CHECK_DATE
==null"
style=
"color: red"
style=
"color: red"
class=
"glyphicon glyphicon-remove"
>
class=
"glyphicon glyphicon-remove"
>
</span>
</span>
<span
ng-if=
"item.
checkDate
!=null"
<span
ng-if=
"item.
CHECK_DATE
!=null"
style=
"size: 6px"
>
{{item.
checkDate
| date:'MM-dd hh:mm'}}
</span>
style=
"size: 6px"
>
{{item.
CHECK_DATE
| date:'MM-dd hh:mm'}}
</span>
</td>
</td>
<td
rowspan=
"{{policeCardsList.length}}"
ng-if=
"item.STATE==0&&$index==0"
></td>
<td
rowspan=
"{{policeCardsList.length}}"
ng-if=
"item.STATE==0&&$index==0"
></td>
<td
class=
"bg-green"
rowspan=
"{{policeCardsList.length}}"
ng-if=
"item.STATE==1&&$index==0"
></td>
<td
class=
"bg-green"
rowspan=
"{{policeCardsList.length}}"
ng-if=
"item.STATE==1&&$index==0"
></td>
...
...
src/main/resources/static/views/autoCheck/autoCheck.js
View file @
38d830d1
...
@@ -24,6 +24,7 @@ angular.module('AvatarCheck.autoCheck', ['ngRoute', 'AvatarCheck.http', 'tm.pagi
...
@@ -24,6 +24,7 @@ angular.module('AvatarCheck.autoCheck', ['ngRoute', 'AvatarCheck.http', 'tm.pagi
$scope
.
policeCardsList
[
i
].
styleClass
=
''
;
$scope
.
policeCardsList
[
i
].
styleClass
=
''
;
}
}
}
}
console
.
log
(
$scope
.
policeCardsList
)
})
})
}
}
var
emptyList
=
function
()
{
var
emptyList
=
function
()
{
...
...
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