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
cf45fc12
Commit
cf45fc12
authored
Mar 12, 2019
by
suichenguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
交接单5.0
parent
559ff0b7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
6 deletions
+6
-6
ReceiptMapper.java
src/main/java/com/yxproject/start/mapper/ReceiptMapper.java
+6
-6
No files found.
src/main/java/com/yxproject/start/mapper/ReceiptMapper.java
View file @
cf45fc12
...
...
@@ -53,21 +53,21 @@ public interface ReceiptMapper {
//根据组号查询特证表
@Select
(
"SELECT count(*) FROM SPECIAL_CARD WHERE subStr(ACCEPT_NO,0,8) =#{GROUP_NO}"
)
public
int
selectSpecialCard
(
String
GROUP_NO
);
public
int
selectSpecialCard
(
@Param
(
"GROUP_NO"
)
String
GROUP_NO
);
@Select
(
"select FINISH_COUNT from RECEIPT_LIST where QR_CODE=#{GROUP_NO}"
)
public
int
selectCount
(
String
GROUP_NO
);
public
int
selectCount
(
@Param
(
"GROUP_NO"
)
String
GROUP_NO
);
@Update
(
"update RECEIPT_LIST set FINISH_COUNT=#{count} where QR_CODE=#{GROUP_NO}"
)
public
boolean
updateFinishCount
(
String
GROUP_NO
,
int
count
);
public
boolean
updateFinishCount
(
@Param
(
"GROUP_NO"
)
String
GROUP_NO
,
@Param
(
"count"
)
int
count
);
//根据身份证号查询特证表count
@Select
(
"select count(*) from SPECIAL_CARD \n"
+
"left join prod_card_t@prod_link on special_card.accept_no = prod_card_t.accept_no\n"
+
"where prod_card_t.id_no = #{id}"
)
public
int
selectSpecialCardByAcceptNo
(
String
id
);
public
int
selectSpecialCardByAcceptNo
(
@Param
(
"id"
)
String
id
);
...
...
@@ -79,7 +79,7 @@ public interface ReceiptMapper {
@Select
(
"SELECT RECEIPT_LIST.* FROM RECEIPT_LIST \n"
+
"LEFT JOIN PROD_CARD_T@PROD_LINK ON subStr(PROD_CARD_T.ACCEPT_NO,0,8) =RECEIPT_LIST.QR_CODE\n"
+
"WHERE PROD_CARD_T.ID_NO =#{id}"
)
public
Map
<
String
,
Object
>
selectReceiptList
(
String
id
);
public
Map
<
String
,
Object
>
selectReceiptList
(
@Param
(
"id"
)
String
id
);
//根据交接单号查详单信息
...
...
@@ -123,7 +123,7 @@ public interface ReceiptMapper {
"count(prod_trace_t.ELECTRIC_WRITER_NO)as electricCount\n"
+
"from prod_trace_t@PROD_LINK \n"
+
"WHERE subStr(ACCEPT_NO,0,8) = #{groupNo} or ACCEPT_NO=#{groupNo}"
)
public
Map
<
String
,
Object
>
selectCountTime
(
String
groupNo
);
public
Map
<
String
,
Object
>
selectCountTime
(
@Param
(
"groupNo"
)
String
groupNo
);
@Select
(
"select \n"
+
"prod_trace_t.DOWNLOAD_DATE as downloadDate,\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