Commit cc774337 authored by wdy's avatar wdy

数据统计

parent a9ac1c9a
...@@ -25,7 +25,7 @@ public class DataStatistics extends ServiceImpl<TaskMapper, Task> { ...@@ -25,7 +25,7 @@ public class DataStatistics extends ServiceImpl<TaskMapper, Task> {
List<ReviewDetails> details = getDetailsByStandard(standard); List<ReviewDetails> details = getDetailsByStandard(standard);
boolean isPass = false; boolean isPass = true;
for(ReviewDetails reviewDetails : details) { for(ReviewDetails reviewDetails : details) {
...@@ -38,7 +38,6 @@ public class DataStatistics extends ServiceImpl<TaskMapper, Task> { ...@@ -38,7 +38,6 @@ public class DataStatistics extends ServiceImpl<TaskMapper, Task> {
isPass = false; isPass = false;
} }
// isPass = passed == ReviewStandard.PASSED;
} }
if(isPass) { if(isPass) {
...@@ -57,7 +56,7 @@ public class DataStatistics extends ServiceImpl<TaskMapper, Task> { ...@@ -57,7 +56,7 @@ public class DataStatistics extends ServiceImpl<TaskMapper, Task> {
for(ReviewStandard standard : standards) { for(ReviewStandard standard : standards) {
List<ReviewDetails> details = getDetailsByStandard(standard); List<ReviewDetails> details = getDetailsByStandard(standard);
boolean isPass = false; boolean isPass = true;
for(ReviewDetails reviewDetails : details) { for(ReviewDetails reviewDetails : details) {
...@@ -71,7 +70,6 @@ public class DataStatistics extends ServiceImpl<TaskMapper, Task> { ...@@ -71,7 +70,6 @@ public class DataStatistics extends ServiceImpl<TaskMapper, Task> {
} }
// isPass = passed == ReviewStandard.NO_PASSED;
} }
if(isPass) { if(isPass) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment