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
35444211
Commit
35444211
authored
Apr 18, 2019
by
dahai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
push
parent
6ab15a8e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
3 deletions
+2
-3
FailedCardApi.java
src/main/java/com/yxproject/start/api/FailedCardApi.java
+0
-1
TaskListMapper.java
src/main/java/com/yxproject/start/mapper/TaskListMapper.java
+2
-2
No files found.
src/main/java/com/yxproject/start/api/FailedCardApi.java
View file @
35444211
...
@@ -175,7 +175,6 @@ public class FailedCardApi {
...
@@ -175,7 +175,6 @@ public class FailedCardApi {
JSONObject
jsonObject
=
(
JSONObject
)
jsonarray
.
get
(
i
);
JSONObject
jsonObject
=
(
JSONObject
)
jsonarray
.
get
(
i
);
//查询生成任务单需要的数据
//查询生成任务单需要的数据
Map
<
String
,
Object
>
dataMap
=
failedCardService
.
selectTaskListById
(
jsonObject
.
getString
(
"idCard"
));
Map
<
String
,
Object
>
dataMap
=
failedCardService
.
selectTaskListById
(
jsonObject
.
getString
(
"idCard"
));
// TODO 会报空指针异常
String
countyCode
=
dataMap
.
get
(
"COUNTY_CODE"
).
toString
();
String
countyCode
=
dataMap
.
get
(
"COUNTY_CODE"
).
toString
();
Long
cardType
=
(
Long
)
dataMap
.
get
(
"CARD_TYPE_ID"
);
Long
cardType
=
(
Long
)
dataMap
.
get
(
"CARD_TYPE_ID"
);
taskEntity
.
setCountyCode
(
countyCode
);
taskEntity
.
setCountyCode
(
countyCode
);
...
...
src/main/java/com/yxproject/start/mapper/TaskListMapper.java
View file @
35444211
...
@@ -467,7 +467,7 @@ public interface TaskListMapper {
...
@@ -467,7 +467,7 @@ public interface TaskListMapper {
"sum(decode(prod_trace_t.CHECK_DATE,null,0,1)) CHECK_count, task.submit_date, task.task_id,\n"
+
"sum(decode(prod_trace_t.CHECK_DATE,null,0,1)) CHECK_count, task.submit_date, task.task_id,\n"
+
"CARD_TYPE_DIC.CARD_TYPE, CARD_TYPE_DIC.CARD_TYPE_ID,COUNTY_DIC.COUNTY_CODE, COUNTY_DIC.COUNTYNAME, \n"
+
"CARD_TYPE_DIC.CARD_TYPE, CARD_TYPE_DIC.CARD_TYPE_ID,COUNTY_DIC.COUNTY_CODE, COUNTY_DIC.COUNTYNAME, \n"
+
"group_no.VALID_COUNT,group_no.INVALID_COUNT, group_no.SPECIAL_CARD_COUNT,group_no.GROUP_NO, \n"
+
"group_no.VALID_COUNT,group_no.INVALID_COUNT, group_no.SPECIAL_CARD_COUNT,group_no.GROUP_NO, \n"
+
"
fc.faileCount
faileCount from group_no \n"
+
"
nvl(fc.faileCount,0)
faileCount from group_no \n"
+
"left join task on group_no.task_id= task.TASK_ID \n"
+
"left join task on group_no.task_id= task.TASK_ID \n"
+
"left join CARD_TYPE_DIC on CARD_TYPE_DIC.CARD_TYPE_ID = task.CARD_TYPE \n"
+
"left join CARD_TYPE_DIC on CARD_TYPE_DIC.CARD_TYPE_ID = task.CARD_TYPE \n"
+
"left join COUNTY_DIC on COUNTY_DIC.COUNTY_CODE = task.COUNTY_CODE \n"
+
"left join COUNTY_DIC on COUNTY_DIC.COUNTY_CODE = task.COUNTY_CODE \n"
+
...
@@ -1172,7 +1172,7 @@ public interface TaskListMapper {
...
@@ -1172,7 +1172,7 @@ public interface TaskListMapper {
"sum(decode(prod_trace_t.CHECK_DATE,null,0,1)) CHECK_count,\n"
+
"sum(decode(prod_trace_t.CHECK_DATE,null,0,1)) CHECK_count,\n"
+
"task.submit_date,FAILED_CARD.failed_card_id task_id,'废证' CARD_TYPE,'100' CARD_TYPE_ID,COUNTY_DIC.COUNTY_CODE,\n"
+
"task.submit_date,FAILED_CARD.failed_card_id task_id,'废证' CARD_TYPE,'100' CARD_TYPE_ID,COUNTY_DIC.COUNTY_CODE,\n"
+
"COUNTY_DIC.COUNTYNAME, 1 VALID_COUNT, 0 INVALID_COUNT,0 SPECIAL_CARD_COUNT,\n"
+
"COUNTY_DIC.COUNTYNAME, 1 VALID_COUNT, 0 INVALID_COUNT,0 SPECIAL_CARD_COUNT,\n"
+
"FAILED_CARD.ACCEPT_NO group_No,
0
faileCount\n"
+
"FAILED_CARD.ACCEPT_NO group_No,
'0'
faileCount\n"
+
"from FAILED_CARD left join task on FAILED_CARD.task_id= task.TASK_ID\n"
+
"from FAILED_CARD left join task on FAILED_CARD.task_id= task.TASK_ID\n"
+
"left join CARD_TYPE_DIC on CARD_TYPE_DIC.CARD_TYPE_ID = task.CARD_TYPE\n"
+
"left join CARD_TYPE_DIC on CARD_TYPE_DIC.CARD_TYPE_ID = task.CARD_TYPE\n"
+
"left join COUNTY_DIC on COUNTY_DIC.COUNTY_CODE = task.COUNTY_CODE\n"
+
"left join COUNTY_DIC on COUNTY_DIC.COUNTY_CODE = task.COUNTY_CODE\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