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
faee3e88
Commit
faee3e88
authored
Mar 15, 2019
by
suichenguang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
搜索框更改
parent
cc1a77df
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
51 additions
and
14 deletions
+51
-14
TaskListApi.java
src/main/java/com/yxproject/start/api/TaskListApi.java
+51
-14
No files found.
src/main/java/com/yxproject/start/api/TaskListApi.java
View file @
faee3e88
...
@@ -431,41 +431,78 @@ public class TaskListApi {
...
@@ -431,41 +431,78 @@ public class TaskListApi {
int
count
=
0
;
int
count
=
0
;
int
count1
;
int
count1
;
int
count2
;
int
count2
;
String
c1
;
String
c2
;
switch
(
state
){
switch
(
state
){
case
"1"
:
case
"1"
:
count1
=
Integer
.
parseInt
(
taskListService
.
selectCountIssue
(
date
));
c1
=
taskListService
.
selectCountIssue
(
date
);
count2
=
Integer
.
parseInt
(
taskListService
.
selectCountIssue2
(
date
));
c2
=
taskListService
.
selectCountConcora2
(
date
);
if
(
c2
==
null
||
c2
.
equals
(
""
)){
c2
=
"0"
;
}
count1
=
Integer
.
parseInt
(
c1
);
count2
=
Integer
.
parseInt
(
c2
);
count
=
count1
+
count2
;
count
=
count1
+
count2
;
return
count
;
return
count
;
case
"2"
:
case
"2"
:
count1
=
Integer
.
parseInt
(
taskListService
.
selectCountPrintOut
(
date
));
c1
=
taskListService
.
selectCountPrintOut
(
date
);
count2
=
Integer
.
parseInt
(
taskListService
.
selectCountPrintOut2
(
date
));
c2
=
taskListService
.
selectCountPrintOut2
(
date
);
if
(
c2
==
null
||
c2
.
equals
(
""
)){
c2
=
"0"
;
}
count1
=
Integer
.
parseInt
(
c1
);
count2
=
Integer
.
parseInt
(
c2
);
count
=
count1
+
count2
;
count
=
count1
+
count2
;
return
count
;
return
count
;
case
"3"
:
case
"3"
:
count1
=
Integer
.
parseInt
(
taskListService
.
selectCountPosition
(
date
));
c1
=
taskListService
.
selectCountPosition
(
date
);
count2
=
Integer
.
parseInt
(
taskListService
.
selectCountPosition2
(
date
));
c2
=
taskListService
.
selectCountPosition2
(
date
);
if
(
c2
==
null
||
c2
.
equals
(
""
)){
c2
=
"0"
;
}
count1
=
Integer
.
parseInt
(
c1
);
count2
=
Integer
.
parseInt
(
c2
);
count
=
count1
+
count2
;
count
=
count1
+
count2
;
return
count
;
return
count
;
case
"4"
:
case
"4"
:
count1
=
Integer
.
parseInt
(
taskListService
.
selectCountConcora
(
date
));
c1
=
taskListService
.
selectCountConcora
(
date
);
count2
=
Integer
.
parseInt
(
taskListService
.
selectCountConcora2
(
date
));
c2
=
taskListService
.
selectCountConcora2
(
date
);
if
(
c2
==
null
||
c2
.
equals
(
""
)){
c2
=
"0"
;
}
count1
=
Integer
.
parseInt
(
c1
);
count2
=
Integer
.
parseInt
(
c2
);
count
=
count1
+
count2
;
count
=
count1
+
count2
;
return
count
;
return
count
;
case
"5"
:
case
"5"
:
count1
=
Integer
.
parseInt
(
taskListService
.
selectCountPunching
(
date
));
c1
=
taskListService
.
selectCountPunching
(
date
);
count2
=
Integer
.
parseInt
(
taskListService
.
selectCountPunching2
(
date
));
c2
=
taskListService
.
selectCountPunching2
(
date
);
if
(
c2
==
null
||
c2
.
equals
(
""
)){
c2
=
"0"
;
}
count1
=
Integer
.
parseInt
(
c1
);
count2
=
Integer
.
parseInt
(
c2
);
count
=
count1
+
count2
;
count
=
count1
+
count2
;
return
count
;
return
count
;
case
"6"
:
case
"6"
:
count1
=
Integer
.
parseInt
(
taskListService
.
selectCountSorting
(
date
));
c1
=
taskListService
.
selectCountSorting
(
date
);
count2
=
Integer
.
parseInt
(
taskListService
.
selectCountSorting2
(
date
));
c2
=
taskListService
.
selectCountSorting2
(
date
);
if
(
c2
==
null
||
c2
.
equals
(
""
)){
c2
=
"0"
;
}
count1
=
Integer
.
parseInt
(
c1
);
count2
=
Integer
.
parseInt
(
c2
);
count
=
count1
+
count2
;
count
=
count1
+
count2
;
return
count
;
return
count
;
case
"7"
:
case
"7"
:
count1
=
Integer
.
parseInt
(
taskListService
.
selectCountQuality
(
date
));
c1
=
taskListService
.
selectCountQuality
(
date
);
count2
=
Integer
.
parseInt
(
taskListService
.
selectCountQuality2
(
date
));
c2
=
taskListService
.
selectCountQuality2
(
date
);
if
(
c2
==
null
||
c2
.
equals
(
""
)){
c2
=
"0"
;
}
count1
=
Integer
.
parseInt
(
c1
);
count2
=
Integer
.
parseInt
(
c2
);
count
=
count1
+
count2
;
count
=
count1
+
count2
;
return
count
;
return
count
;
}
}
...
...
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