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
757a83a7
Commit
757a83a7
authored
Mar 06, 2019
by
dahai
Browse files
Options
Browse Files
Download
Plain Diff
Merge remote-tracking branch 'origin/dev' into dev
parents
1c225209
19fbecc3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
6 deletions
+4
-6
SelectApi.java
src/main/java/com/yxproject/start/api/SelectApi.java
+1
-3
SelectSerialNumberMapper.java
.../com/yxproject/start/mapper/SelectSerialNumberMapper.java
+3
-3
No files found.
src/main/java/com/yxproject/start/api/SelectApi.java
View file @
757a83a7
...
...
@@ -18,7 +18,7 @@ import java.util.Map;
@RequestMapping
(
"specialCardInfo"
)
public
class
SelectApi
{
/**
* 根据 组号8、受理号10、身份证号18、任务单号
查询11
* 根据 组号8、受理号10、身份证号18、任务单号
11查询
*
*/
@Autowired
...
...
@@ -31,7 +31,6 @@ public class SelectApi {
if
(
id
.
length
()
==
11
)
{
List
<
Map
<
String
,
Object
>>
workOrderData
=
selectSerialNumberService
.
selectByWorkOrderFromYX
(
id
);
List
<
Map
<
String
,
Object
>>
ACCdata
=
new
ArrayList
<>();
List
<
Map
<
String
,
Object
>>
PRODData
=
new
ArrayList
<>();
resultMap
.
put
(
"workOrderData"
,
workOrderData
);
resultMap
.
put
(
"ACCdata"
,
ACCdata
);
...
...
@@ -49,7 +48,6 @@ public class SelectApi {
List
<
Map
<
String
,
Object
>>
workOrderData
=
selectSerialNumberService
.
selectByAcceptNoOrCardIdFromTaskList
(
id
);
List
<
Map
<
String
,
Object
>>
ACCdata
=
selectSerialNumberService
.
selectByAcceptNoOrCardIdFromACC
(
id
);
List
<
Map
<
String
,
Object
>>
PRODData
=
selectSerialNumberService
.
selectByAcceptNoOrCardIdFromPROD
(
id
);
resultMap
.
put
(
"workOrderDate"
,
workOrderData
);
resultMap
.
put
(
"ACCdata"
,
ACCdata
);
resultMap
.
put
(
"PRODData"
,
PRODData
);
...
...
src/main/java/com/yxproject/start/mapper/SelectSerialNumberMapper.java
View file @
757a83a7
...
...
@@ -9,7 +9,7 @@ import java.util.Map;
@Mapper
public
interface
SelectSerialNumberMapper
{
@Select
(
"select TASK.TASK_ID,COUNTY_DIC.COUNTYNAME,CARD_TYPE_DIC.CARD_TYPE,TASK.ISSUED_DATE,TASK.
DOWNLOAD
_DATE,TASK.PRINT_OUT_DATE,TASK.POSITION_DATE,TASK.SORT_OUT_DATE,TASK.QUALITY_TEST_DATE,TASK.OUT_STORAGE_DATE\n"
+
@Select
(
"select TASK.TASK_ID,COUNTY_DIC.COUNTYNAME,CARD_TYPE_DIC.CARD_TYPE,TASK.ISSUED_DATE,TASK.
SUBMIT
_DATE,TASK.PRINT_OUT_DATE,TASK.POSITION_DATE,TASK.SORT_OUT_DATE,TASK.QUALITY_TEST_DATE,TASK.OUT_STORAGE_DATE\n"
+
" from TASK \n"
+
" LEFT JOIN COUNTY_DIC ON TASK.COUNTY_CODE =COUNTY_DIC.COUNTY_CODE\n"
+
" LEFT JOIN CARD_TYPE_DIC ON TASK.CARD_TYPE = CARD_TYPE_DIC.CARD_TYPE_ID\n"
+
...
...
@@ -17,7 +17,7 @@ public interface SelectSerialNumberMapper {
public
List
<
Map
<
String
,
Object
>>
selectByWorkOrder
(
String
id
);
@Select
(
"select GROUP_NO.TASK_ID,COUNTY_DIC.COUNTYNAME,CARD_TYPE_DIC.CARD_TYPE,TASK.ISSUED_DATE,TASK.
DOWNLOAD
_DATE,TASK.PRINT_OUT_DATE,TASK.POSITION_DATE,TASK.SORT_OUT_DATE,TASK.QUALITY_TEST_DATE,TASK.OUT_STORAGE_DATE\n"
+
@Select
(
"select GROUP_NO.TASK_ID,COUNTY_DIC.COUNTYNAME,CARD_TYPE_DIC.CARD_TYPE,TASK.ISSUED_DATE,TASK.
SUBMIT
_DATE,TASK.PRINT_OUT_DATE,TASK.POSITION_DATE,TASK.SORT_OUT_DATE,TASK.QUALITY_TEST_DATE,TASK.OUT_STORAGE_DATE\n"
+
"from TASK\n"
+
"LEFT JOIN COUNTY_DIC ON TASK.COUNTY_CODE =COUNTY_DIC.COUNTY_CODE\n"
+
"LEFT JOIN CARD_TYPE_DIC ON TASK.CARD_TYPE = CARD_TYPE_DIC.CARD_TYPE_ID\n"
+
...
...
@@ -25,7 +25,7 @@ public interface SelectSerialNumberMapper {
"WHERE GROUP_NO =#{id}"
)
public
List
<
Map
<
String
,
Object
>>
selectByGroupNo
(
String
id
);
@Select
(
"select GROUP_NO.TASK_ID,COUNTY_DIC.COUNTYNAME,CARD_TYPE_DIC.CARD_TYPE,TASK.ISSUED_DATE,TASK.
DOWNLOAD
_DATE,TASK.PRINT_OUT_DATE,TASK.POSITION_DATE,TASK.SORT_OUT_DATE,TASK.QUALITY_TEST_DATE,TASK.OUT_STORAGE_DATE\n"
+
@Select
(
"select GROUP_NO.TASK_ID,COUNTY_DIC.COUNTYNAME,CARD_TYPE_DIC.CARD_TYPE,TASK.ISSUED_DATE,TASK.
SUBMIT
_DATE,TASK.PRINT_OUT_DATE,TASK.POSITION_DATE,TASK.SORT_OUT_DATE,TASK.QUALITY_TEST_DATE,TASK.OUT_STORAGE_DATE\n"
+
"from TASK\n"
+
"LEFT JOIN COUNTY_DIC ON TASK.COUNTY_CODE =COUNTY_DIC.COUNTY_CODE\n"
+
"LEFT JOIN CARD_TYPE_DIC ON TASK.CARD_TYPE = CARD_TYPE_DIC.CARD_TYPE_ID\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