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
6b9136c1
Commit
6b9136c1
authored
Mar 12, 2019
by
suichenguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
交接单4.2
parent
9e4d35c9
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
ReceiptApi.java
src/main/java/com/yxproject/start/api/ReceiptApi.java
+2
-0
ReceiptMapper.java
src/main/java/com/yxproject/start/mapper/ReceiptMapper.java
+2
-4
No files found.
src/main/java/com/yxproject/start/api/ReceiptApi.java
View file @
6b9136c1
...
@@ -134,7 +134,9 @@ public class ReceiptApi {
...
@@ -134,7 +134,9 @@ public class ReceiptApi {
List
<
Map
<
String
,
Object
>>
resultMap
=
receiptService
.
selectReceiptListOfSpecialCard
();
List
<
Map
<
String
,
Object
>>
resultMap
=
receiptService
.
selectReceiptListOfSpecialCard
();
for
(
int
i
=
0
;
i
<
resultMap
.
size
();
i
++){
for
(
int
i
=
0
;
i
<
resultMap
.
size
();
i
++){
String
groupNo
=
(
String
)
resultMap
.
get
(
i
).
get
(
"QR_CODE"
);
String
groupNo
=
(
String
)
resultMap
.
get
(
i
).
get
(
"QR_CODE"
);
System
.
out
.
println
(
"1111111111111111111111111111"
+
groupNo
);
Map
<
String
,
Object
>
map
=
receiptService
.
selectCountTime
(
groupNo
);
Map
<
String
,
Object
>
map
=
receiptService
.
selectCountTime
(
groupNo
);
System
.
out
.
println
(
"22222222222222222222222222222"
+
map
.
get
(
"download"
));
resultMap
.
get
(
i
).
put
(
"download"
,
map
.
get
(
"download"
));
resultMap
.
get
(
i
).
put
(
"download"
,
map
.
get
(
"download"
));
resultMap
.
get
(
i
).
put
(
"checkerCount"
,
map
.
get
(
"checkerCount"
));
resultMap
.
get
(
i
).
put
(
"checkerCount"
,
map
.
get
(
"checkerCount"
));
resultMap
.
get
(
i
).
put
(
"electricCount"
,
map
.
get
(
"electricCount"
));
resultMap
.
get
(
i
).
put
(
"electricCount"
,
map
.
get
(
"electricCount"
));
...
...
src/main/java/com/yxproject/start/mapper/ReceiptMapper.java
View file @
6b9136c1
...
@@ -115,8 +115,7 @@ public interface ReceiptMapper {
...
@@ -115,8 +115,7 @@ public interface ReceiptMapper {
public
int
selectDetailCountByReceiptId
(
@Param
(
"receiptId"
)
String
receiptId
);
public
int
selectDetailCountByReceiptId
(
@Param
(
"receiptId"
)
String
receiptId
);
@Select
(
"SELECT RECEIPT_LIST.*FROM RECEIPT_LIST where state=0;\n"
+
@Select
(
"select \n"
+
"select \n"
+
"count(prod_trace_t.download_no)as download,\n"
+
"count(prod_trace_t.download_no)as download,\n"
+
"count(prod_trace_t.checker_no) as checkerCount,\n"
+
"count(prod_trace_t.checker_no) as checkerCount,\n"
+
"count(prod_trace_t.ELECTRIC_WRITER_NO)as electricCount\n"
+
"count(prod_trace_t.ELECTRIC_WRITER_NO)as electricCount\n"
+
...
@@ -124,8 +123,7 @@ public interface ReceiptMapper {
...
@@ -124,8 +123,7 @@ public interface ReceiptMapper {
"WHERE subStr(ACCEPT_NO,0,8) = #{groupNo} or ACCEPT_NO=#{groupNo}"
)
"WHERE subStr(ACCEPT_NO,0,8) = #{groupNo} or ACCEPT_NO=#{groupNo}"
)
public
Map
<
String
,
Object
>
selectCountTime
(
String
groupNo
);
public
Map
<
String
,
Object
>
selectCountTime
(
String
groupNo
);
@Select
(
"SELECT RECEIPT_LIST.*FROM RECEIPT_LIST where state=0;\n"
+
@Select
(
"select \n"
+
"select \n"
+
"prod_trace_t.DOWNLOAD_DATE as downloadDate,\n"
+
"prod_trace_t.DOWNLOAD_DATE as downloadDate,\n"
+
"prod_trace_t.CHECK_DATE as checkDate,\n"
+
"prod_trace_t.CHECK_DATE as checkDate,\n"
+
"prod_trace_t.ELECTRIC_WRITE_DATE as electricDate\n"
+
"prod_trace_t.ELECTRIC_WRITE_DATE as electricDate\n"
+
...
...
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