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
3590708c
Commit
3590708c
authored
Apr 10, 2019
by
dahai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
push
parent
73ee54f0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
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
-2
No files found.
src/main/java/com/yxproject/start/api/ReceiptApi.java
View file @
3590708c
...
...
@@ -81,6 +81,7 @@ public class ReceiptApi {
map
.
put
(
"state"
,
2
);
map
.
put
(
"msg"
,
"已生成交接单"
);
map
.
put
(
"id"
,
mapList
.
get
(
0
).
get
(
"ID"
));
map
.
put
(
"checkName"
,
mapList
.
get
(
0
).
get
(
"CHECK_NAME"
));
return
map
;
}
}
else
{
...
...
@@ -142,6 +143,7 @@ public class ReceiptApi {
map
.
put
(
"msg"
,
"已生成交接单"
);
map
.
put
(
"state"
,
2
);
map
.
put
(
"id"
,
mapList
.
get
(
0
).
get
(
"ID"
));
map
.
put
(
"checkName"
,
mapList
.
get
(
0
).
get
(
"CHECK_NAME"
));
return
map
;
}
}
...
...
src/main/java/com/yxproject/start/mapper/ReceiptMapper.java
View file @
3590708c
...
...
@@ -42,7 +42,7 @@ public interface ReceiptMapper {
public
List
<
Map
<
String
,
Object
>>
selectReceiptListDate2
(
String
id
);
//查询这个组号是否已经生成交接单
@Select
(
"select id from receipt_list where QR_CODE=#{groupNo}"
)
@Select
(
"select id
,check_name
from receipt_list where QR_CODE=#{groupNo}"
)
public
List
<
Map
<
String
,
Object
>>
selectByGroupNo
(
String
groupNo
);
//生成交接单
...
...
@@ -142,7 +142,7 @@ public interface ReceiptMapper {
public
boolean
updateReceiptDateByReceiptId
(
@Param
(
"receiptId"
)
String
receiptId
);
//根据输入id查询交接单是否生成
@Select
(
"select id from RECEIPT_LIST where QR_CODE=(select accept_no from prod_card_t@prod_link where id_no=#{id}) "
)
@Select
(
"select id
,CHECK_NAME
from RECEIPT_LIST where QR_CODE=(select accept_no from prod_card_t@prod_link where id_no=#{id}) "
)
public
List
<
Map
<
String
,
Object
>>
selectCountById
(
@Param
(
"id"
)
String
id
);
//根据输入id查询是否生成详单
...
...
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