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
c7add34f
Commit
c7add34f
authored
Dec 23, 2020
by
zhangzhenbang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
搜索框查询任务单信息去除特证导致的重复,添加上分拣时间和质检时间;
废证登记添加重做返回原因
parent
3c575ec5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
17 additions
and
5 deletions
+17
-5
FailedCardMapper.java
...ain/java/com/yxproject/start/mapper/FailedCardMapper.java
+1
-1
ReceiptMapper.java
src/main/java/com/yxproject/start/mapper/ReceiptMapper.java
+10
-0
SelectSerialNumberMapper.java
.../com/yxproject/start/mapper/SelectSerialNumberMapper.java
+2
-1
ReceiptServiceImpl.java
.../com/yxproject/start/service/impl/ReceiptServiceImpl.java
+2
-0
searchCard.html
src/main/resources/static/views/searchCard/searchCard.html
+2
-3
No files found.
src/main/java/com/yxproject/start/mapper/FailedCardMapper.java
View file @
c7add34f
...
@@ -19,7 +19,7 @@ public interface FailedCardMapper {
...
@@ -19,7 +19,7 @@ public interface FailedCardMapper {
*
*
* @return
* @return
*/
*/
@Select
(
"select * from FAILED_CARD_REASON_DIC "
)
@Select
(
"select * from FAILED_CARD_REASON_DIC
ORDER BY FAILED_CARD_REASON_ID
"
)
public
List
<
FailedCardReasonDicEntity
>
selectFailedCardDic
();
public
List
<
FailedCardReasonDicEntity
>
selectFailedCardDic
();
/**
/**
...
...
src/main/java/com/yxproject/start/mapper/ReceiptMapper.java
View file @
c7add34f
...
@@ -163,6 +163,16 @@ public interface ReceiptMapper {
...
@@ -163,6 +163,16 @@ public interface ReceiptMapper {
"where id=#{receiptId}"
)
"where id=#{receiptId}"
)
public
boolean
updateReceiptList
(
@Param
(
"receiptId"
)
String
receiptId
,
@Param
(
"checkName"
)
String
checkName
,
@Param
(
"date"
)
Date
date
);
public
boolean
updateReceiptList
(
@Param
(
"receiptId"
)
String
receiptId
,
@Param
(
"checkName"
)
String
checkName
,
@Param
(
"date"
)
Date
date
);
@Select
(
"select GROUP_NO.TASK_ID from RECEIPT_LIST \n"
+
"left join GROUP_NO ON RECEIPT_LIST.QR_CODE = GROUP_NO.GROUP_NO \n"
+
"WHERE RECEIPT_LIST.ID = #{receiptId}\n"
)
public
String
selectTaskId
(
@Param
(
"receiptId"
)
String
receiptId
);
//回写任务单的质检时间
@Update
(
"update TASK set QUALITY_TEST_DATE = #{date},QUALITY_TEST_NAME = #{checkName} "
+
"where TASK.TASK_ID=#{taskId}"
)
public
boolean
updateTaskListWithZJSJ
(
@Param
(
"taskId"
)
String
taskId
,
@Param
(
"checkName"
)
String
checkName
,
@Param
(
"date"
)
Date
date
);
//根据传入的交接单ID和复核人ID插入复核人、复核时间
//根据传入的交接单ID和复核人ID插入复核人、复核时间
@Update
(
"update receipt_list set \n"
+
@Update
(
"update receipt_list set \n"
+
"RECEIPT_DATE = sysdate ,IS_PRINT=1 \n"
+
"RECEIPT_DATE = sysdate ,IS_PRINT=1 \n"
+
...
...
src/main/java/com/yxproject/start/mapper/SelectSerialNumberMapper.java
View file @
c7add34f
...
@@ -29,7 +29,8 @@ public interface SelectSerialNumberMapper {
...
@@ -29,7 +29,8 @@ public interface SelectSerialNumberMapper {
"CARD_TYPE_DIC.CARD_TYPE,CARD_TYPE_DIC.CARD_TYPE_ID,TASK.ISSUED_DATE,\n"
+
"CARD_TYPE_DIC.CARD_TYPE,CARD_TYPE_DIC.CARD_TYPE_ID,TASK.ISSUED_DATE,\n"
+
"TASK.PRINT_OUT_DATE,TASK.POSITION_DATE,TASK.CONCORA_CRUSH_DATE, TASK.PUNCHING_DATE,\n"
+
"TASK.PRINT_OUT_DATE,TASK.POSITION_DATE,TASK.CONCORA_CRUSH_DATE, TASK.PUNCHING_DATE,\n"
+
"TASK.SORTING_DATE,TASK.QUALITY_TEST_DATE,count(SPECIAL_CARD.ACCEPT_NO) valid_count ,task.WORK_GROUP\n"
+
"TASK.SORTING_DATE,TASK.QUALITY_TEST_DATE,count(SPECIAL_CARD.ACCEPT_NO) valid_count ,task.WORK_GROUP\n"
+
"from TASK \n"
+
"from SPECIAL_CARD \n"
+
"LEFT JOIN TASK on SPECIAL_CARD.TASK_ID = TASK.TASK_ID\n"
+
"LEFT JOIN COUNTY_DIC ON TASK.COUNTY_CODE =COUNTY_DIC.COUNTY_CODE \n"
+
"LEFT JOIN COUNTY_DIC ON TASK.COUNTY_CODE =COUNTY_DIC.COUNTY_CODE \n"
+
"LEFT JOIN SPECIAL_CARD on SPECIAL_CARD.TASK_ID = TASK.TASK_ID\n"
+
"LEFT JOIN SPECIAL_CARD on SPECIAL_CARD.TASK_ID = TASK.TASK_ID\n"
+
"LEFT JOIN CARD_TYPE_DIC ON TASK.CARD_TYPE = CARD_TYPE_DIC.CARD_TYPE_ID \n"
+
"LEFT JOIN CARD_TYPE_DIC ON TASK.CARD_TYPE = CARD_TYPE_DIC.CARD_TYPE_ID \n"
+
...
...
src/main/java/com/yxproject/start/service/impl/ReceiptServiceImpl.java
View file @
c7add34f
...
@@ -86,6 +86,8 @@ public class ReceiptServiceImpl implements ReceiptService {
...
@@ -86,6 +86,8 @@ public class ReceiptServiceImpl implements ReceiptService {
@Override
@Override
public
boolean
updateReceiptList
(
String
receiptId
,
String
checkName
,
Date
date
)
{
public
boolean
updateReceiptList
(
String
receiptId
,
String
checkName
,
Date
date
)
{
receiptMapper
.
updateReceiptList
(
receiptId
,
checkName
,
date
);
receiptMapper
.
updateReceiptList
(
receiptId
,
checkName
,
date
);
String
taskId
=
receiptMapper
.
selectTaskId
(
receiptId
);
receiptMapper
.
updateTaskListWithZJSJ
(
taskId
,
checkName
,
date
);
return
true
;
return
true
;
}
}
@Override
@Override
...
...
src/main/resources/static/views/searchCard/searchCard.html
View file @
c7add34f
...
@@ -44,8 +44,8 @@
...
@@ -44,8 +44,8 @@
<td>
{{item.ISSUED_DATE | date:'yyyy-MM-dd HH:mm:ss'}}
</td>
<td>
{{item.ISSUED_DATE | date:'yyyy-MM-dd HH:mm:ss'}}
</td>
<td>
{{item.PRINT_OUT_DATE | date:'yyyy-MM-dd HH:mm:ss'}}
</td>
<td>
{{item.PRINT_OUT_DATE | date:'yyyy-MM-dd HH:mm:ss'}}
</td>
<td>
{{item.POSITION_DATE | date:'yyyy-MM-dd HH:mm:ss'}}
</td>
<td>
{{item.POSITION_DATE | date:'yyyy-MM-dd HH:mm:ss'}}
</td>
<td>
{{item.SORTING_DATE | date:'yyyy-MM-dd HH:mm:ss'}}
</td>
<td>
{{item.QUALITY_TEST_DATE | date:'yyyy-MM-dd HH:mm:ss'}}
</td>
<td>
{{item.QUALITY_TEST_DATE | date:'yyyy-MM-dd HH:mm:ss'}}
</td>
<td>
{{item.OUT_STORAGE_DATE | date:'yyyy-MM-dd HH:mm:ss'}}
</td>
</tr>
</tr>
</tbody>
</tbody>
</table>
</table>
...
@@ -160,4 +160,4 @@
...
@@ -160,4 +160,4 @@
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
\ No newline at end of file
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