|
@@ -26,6 +26,7 @@ import com.ruoyi.postCheck.domain.homePage.PostCheckedProblemView;
|
26
|
26
|
import com.ruoyi.postCheck.domain.homePage.PostCheckedUnCheckedView;
|
27
|
27
|
import com.ruoyi.postCheck.domain.homePage.PostTotalView;
|
28
|
28
|
import com.ruoyi.postCheck.domain.join.PostPlanJoinProblem;
|
|
29
|
+import com.ruoyi.postCheck.domain.problemStatistics.CheckedProblemDeptDetaailView;
|
29
|
30
|
import com.ruoyi.postCheck.domain.problemStatistics.CoverageRateView;
|
30
|
31
|
import com.ruoyi.postCheck.domain.problemStatistics.DutyTypeProblemStatisticsView;
|
31
|
32
|
import com.ruoyi.postCheck.domain.problemStatistics.FunctionDeptProblemContrastView;
|
|
@@ -746,16 +747,16 @@ public class PostCheckedProblemServiceImpl extends ServiceImpl<PostCheckedProble
|
746
|
747
|
if (postCheckedProblems != null && postCheckedProblems.size() > 0) {
|
747
|
748
|
for (PostCheckedProblem postCheckedProblem : postCheckedProblems) {
|
748
|
749
|
problemTotal++;
|
749
|
|
- if (postCheckedProblem.getProblemAttribute() == 1){
|
|
750
|
+ if (postCheckedProblem.getProblemAttribute() == 1) {
|
750
|
751
|
problemComplete++;
|
751
|
752
|
}
|
752
|
|
- if (postCheckedProblem.getProblemAttribute() == 2){
|
|
753
|
+ if (postCheckedProblem.getProblemAttribute() == 2) {
|
753
|
754
|
problemEffective++;
|
754
|
755
|
}
|
755
|
|
- if (postCheckedProblem.getProblemAttribute() == 3){
|
|
756
|
+ if (postCheckedProblem.getProblemAttribute() == 3) {
|
756
|
757
|
problemSuitable++;
|
757
|
758
|
}
|
758
|
|
- if (postCheckedProblem.getProblemCategory() == null )
|
|
759
|
+ if (postCheckedProblem.getProblemCategory() == null)
|
759
|
760
|
continue;
|
760
|
761
|
if (postCheckedProblem.getProblemCategory().equals("1"))
|
761
|
762
|
problemCategoryOne++;
|
|
@@ -790,8 +791,8 @@ public class PostCheckedProblemServiceImpl extends ServiceImpl<PostCheckedProble
|
790
|
791
|
// status = 40 状态:1-待指定整改人(问题录入完成时);2-待填写方案(部门管理员指定整改人后);3-方案填写完成;10-部门审核通过;11-部门审核驳回;20-专业部门人审核(非必填)通过;21-专业部门人审核驳回(非必填);30-整改人待上传实施(整改人上传实施图片);31-上传实施照片完成;40-复查部门人审核通过;41-复查部门人审核驳回
|
791
|
792
|
// is_rectification_completed = 1 整改情况-是否完成(1-Yes;2-No;)
|
792
|
793
|
List<Map<String, Object>> deptIdListByType = postAssessmentRatingOtherMapper.getDeptIdListByType(type);
|
793
|
|
- if (deptIdListByType == null && deptIdListByType.size() == 0){
|
794
|
|
- throw new IllegalArgumentException("查询职能部门个数为:0");
|
|
794
|
+ if (deptIdListByType == null || deptIdListByType.size() == 0) {
|
|
795
|
+ return new ArrayList<>();
|
795
|
796
|
}
|
796
|
797
|
List<String> deptIds = deptIdListByType.stream().map(d -> d.get("deptId").toString()).distinct().collect(Collectors.toList());
|
797
|
798
|
// 查询职能问题数量
|
|
@@ -799,10 +800,10 @@ public class PostCheckedProblemServiceImpl extends ServiceImpl<PostCheckedProble
|
799
|
800
|
.in(PostCheckedProblem::getCheckedDeptId, deptIds)
|
800
|
801
|
);
|
801
|
802
|
List<CoverageRateView> list = new ArrayList<>();
|
802
|
|
- if (postCheckedProblems!=null && postCheckedProblems.size()>0){
|
|
803
|
+ if (postCheckedProblems != null && postCheckedProblems.size() > 0) {
|
803
|
804
|
CoverageRateView data = new CoverageRateView();
|
804
|
805
|
data.setProblemTotal(postCheckedProblems.size());
|
805
|
|
- List<PostCheckedProblem> collect = postCheckedProblems.stream().filter(d -> d.getIsRectificationCompleted().equals(1)).collect(Collectors.toList());
|
|
806
|
+ List<PostCheckedProblem> collect = postCheckedProblems.stream().filter(d -> d.getIsRectificationCompleted() != null && d.getIsRectificationCompleted().equals(1)).collect(Collectors.toList());
|
806
|
807
|
data.setProblemComplete(collect.size());
|
807
|
808
|
list.add(data);
|
808
|
809
|
}
|
|
@@ -812,8 +813,8 @@ public class PostCheckedProblemServiceImpl extends ServiceImpl<PostCheckedProble
|
812
|
813
|
@Override
|
813
|
814
|
public List<DutyTypeProblemStatisticsView> dutyTypeProblemStatisticsView(Integer type) {
|
814
|
815
|
List<Map<String, Object>> deptIdListByType = postAssessmentRatingOtherMapper.getDeptIdListByType(type);
|
815
|
|
- if (deptIdListByType == null && deptIdListByType.size() == 0){
|
816
|
|
- throw new IllegalArgumentException("查询职能部门个数为:0");
|
|
816
|
+ if (deptIdListByType == null || deptIdListByType.size() == 0) {
|
|
817
|
+ return new ArrayList<>();
|
817
|
818
|
}
|
818
|
819
|
List<String> deptIds = deptIdListByType.stream().map(d -> d.get("deptId").toString()).distinct().collect(Collectors.toList());
|
819
|
820
|
// 查询职能问题数量
|
|
@@ -821,18 +822,18 @@ public class PostCheckedProblemServiceImpl extends ServiceImpl<PostCheckedProble
|
821
|
822
|
.in(PostCheckedProblem::getCheckedDeptId, deptIds)
|
822
|
823
|
);
|
823
|
824
|
List<DutyTypeProblemStatisticsView> list = new ArrayList<>();
|
824
|
|
- if (postCheckedProblems!=null && postCheckedProblems.size()>0){
|
|
825
|
+ if (postCheckedProblems != null && postCheckedProblems.size() > 0) {
|
825
|
826
|
// @ApiModelProperty("业务职责")
|
826
|
|
- Integer dutyTypeOne = 0;
|
|
827
|
+ Integer dutyTypeOne = 0;
|
827
|
828
|
|
828
|
829
|
// @ApiModelProperty("党建及党风廉政")
|
829
|
|
- Integer dutyTypeTwo = 0;
|
|
830
|
+ Integer dutyTypeTwo = 0;
|
830
|
831
|
|
831
|
832
|
// @ApiModelProperty("安全环保职责")
|
832
|
|
- Integer dutyTypeThree = 0;
|
|
833
|
+ Integer dutyTypeThree = 0;
|
833
|
834
|
|
834
|
835
|
// @ApiModelProperty("合规保密职")
|
835
|
|
- Integer dutyTypeFour = 0;
|
|
836
|
+ Integer dutyTypeFour = 0;
|
836
|
837
|
for (PostCheckedProblem postCheckedProblem : postCheckedProblems) {
|
837
|
838
|
if (postCheckedProblem.getDutyType() == 1)
|
838
|
839
|
dutyTypeOne++;
|
|
@@ -861,8 +862,8 @@ public class PostCheckedProblemServiceImpl extends ServiceImpl<PostCheckedProble
|
861
|
862
|
// select * from "public"."post_checked_problem";
|
862
|
863
|
// group by problem_level 问题等级(一般、重要)
|
863
|
864
|
List<Map<String, Object>> deptIdListByType = postAssessmentRatingOtherMapper.getDeptIdListByType(type);
|
864
|
|
- if (deptIdListByType == null && deptIdListByType.size() == 0){
|
865
|
|
- throw new IllegalArgumentException("查询职能部门个数为:0");
|
|
865
|
+ if (deptIdListByType == null || deptIdListByType.size() == 0) {
|
|
866
|
+ return new ArrayList<>();
|
866
|
867
|
}
|
867
|
868
|
List<String> deptIds = deptIdListByType.stream().map(d -> d.get("deptId").toString()).distinct().collect(Collectors.toList());
|
868
|
869
|
// 查询职能问题数量
|
|
@@ -870,7 +871,7 @@ public class PostCheckedProblemServiceImpl extends ServiceImpl<PostCheckedProble
|
870
|
871
|
.in(PostCheckedProblem::getCheckedDeptId, deptIds)
|
871
|
872
|
);
|
872
|
873
|
List<ProblemLevelView> list = new ArrayList<>();
|
873
|
|
- if (postCheckedProblems!=null && postCheckedProblems.size()>0){
|
|
874
|
+ if (postCheckedProblems != null && postCheckedProblems.size() > 0) {
|
874
|
875
|
List<PostCheckedProblem> collect = postCheckedProblems.stream().filter(d -> d.getProblemLevel() != null && d.getProblemLevel().equals("2")).collect(Collectors.toList());
|
875
|
876
|
ProblemLevelView data = new ProblemLevelView();
|
876
|
877
|
data.setProblemLeveOne(collect.size());
|
|
@@ -882,15 +883,15 @@ public class PostCheckedProblemServiceImpl extends ServiceImpl<PostCheckedProble
|
882
|
883
|
}
|
883
|
884
|
|
884
|
885
|
@Override
|
885
|
|
- public List<ProblemAttributeCategoryView> problemAttributeCategoryView(Integer type) {
|
|
886
|
+ public List<ProblemAttributeCategoryView> problemAttributeCategoryView(Integer type) {
|
886
|
887
|
// 查询问题表
|
887
|
888
|
// select * from "public"."post_checked_problem";
|
888
|
889
|
// GROUP BY problem_attribute -- 问题属性(1-完整问题;2-有效性问题;3-适宜性问题;)
|
889
|
890
|
// GROUP BY problem_category -- 问题类别(职责权限问题、工作内容问题、工作标准问题、考核奖励问题、任职资格问题、其他)
|
890
|
891
|
|
891
|
892
|
List<Map<String, Object>> deptIdListByType = postAssessmentRatingOtherMapper.getDeptIdListByType(type);
|
892
|
|
- if (deptIdListByType == null && deptIdListByType.size() == 0){
|
893
|
|
- throw new IllegalArgumentException("查询职能部门个数为:0");
|
|
893
|
+ if (deptIdListByType == null || deptIdListByType.size() == 0) {
|
|
894
|
+ return new ArrayList<>();
|
894
|
895
|
}
|
895
|
896
|
List<String> deptIds = deptIdListByType.stream().map(d -> d.get("deptId").toString()).distinct().collect(Collectors.toList());
|
896
|
897
|
// 查询职能问题数量
|
|
@@ -898,35 +899,35 @@ public class PostCheckedProblemServiceImpl extends ServiceImpl<PostCheckedProble
|
898
|
899
|
.in(PostCheckedProblem::getCheckedDeptId, deptIds)
|
899
|
900
|
);
|
900
|
901
|
List<ProblemAttributeCategoryView> list = new ArrayList<>();
|
901
|
|
- if(postCheckedProblems!=null && postCheckedProblems.size() >0){
|
|
902
|
+ if (postCheckedProblems != null && postCheckedProblems.size() > 0) {
|
902
|
903
|
Map<String, List<PostCheckedProblem>> collect = postCheckedProblems.stream().collect(Collectors.groupingBy(PostCheckedProblem::getProblemCategory));
|
903
|
904
|
// 问题类别(职责权限问题、工作内容问题、工作标准问题、考核奖励问题、任职资格问题、其他)
|
904
|
905
|
for (Map.Entry<String, List<PostCheckedProblem>> stringListEntry : collect.entrySet()) {
|
905
|
906
|
List<PostCheckedProblem> value = stringListEntry.getValue();
|
906
|
|
- if (value!=null&&value.size()>0){
|
|
907
|
+ if (value != null && value.size() > 0) {
|
907
|
908
|
|
908
|
909
|
ProblemAttributeCategoryView data = new ProblemAttributeCategoryView();
|
909
|
|
- if(stringListEntry.getKey().equals("1")){
|
|
910
|
+ if (stringListEntry.getKey().equals("1")) {
|
910
|
911
|
data.setProblemCategoryType(1);
|
911
|
912
|
data.setProblemCategoryTypeView("职责权限问题");
|
912
|
913
|
}
|
913
|
|
- if(stringListEntry.getKey().equals("2")){
|
|
914
|
+ if (stringListEntry.getKey().equals("2")) {
|
914
|
915
|
data.setProblemCategoryType(2);
|
915
|
916
|
data.setProblemCategoryTypeView("工作内容问题");
|
916
|
917
|
}
|
917
|
|
- if(stringListEntry.getKey().equals("3")){
|
|
918
|
+ if (stringListEntry.getKey().equals("3")) {
|
918
|
919
|
data.setProblemCategoryType(3);
|
919
|
920
|
data.setProblemCategoryTypeView("工作标准问题");
|
920
|
921
|
}
|
921
|
|
- if(stringListEntry.getKey().equals("4")){
|
|
922
|
+ if (stringListEntry.getKey().equals("4")) {
|
922
|
923
|
data.setProblemCategoryType(4);
|
923
|
924
|
data.setProblemCategoryTypeView("考核奖励问题");
|
924
|
925
|
}
|
925
|
|
- if(stringListEntry.getKey().equals("5")){
|
|
926
|
+ if (stringListEntry.getKey().equals("5")) {
|
926
|
927
|
data.setProblemCategoryType(5);
|
927
|
928
|
data.setProblemCategoryTypeView("任职资格问题");
|
928
|
929
|
}
|
929
|
|
- if(stringListEntry.getKey().equals("6")){
|
|
930
|
+ if (stringListEntry.getKey().equals("6")) {
|
930
|
931
|
data.setProblemCategoryType(6);
|
931
|
932
|
data.setProblemCategoryTypeView("其他");
|
932
|
933
|
}
|
|
@@ -938,13 +939,13 @@ public class PostCheckedProblemServiceImpl extends ServiceImpl<PostCheckedProble
|
938
|
939
|
int problemEffective = 0;
|
939
|
940
|
|
940
|
941
|
for (PostCheckedProblem postCheckedProblem : value) {
|
941
|
|
- if (postCheckedProblem.getProblemAttribute() == 1){
|
|
942
|
+ if (postCheckedProblem.getProblemAttribute() == 1) {
|
942
|
943
|
problemComplete++;
|
943
|
944
|
}
|
944
|
|
- if (postCheckedProblem.getProblemAttribute() == 2){
|
|
945
|
+ if (postCheckedProblem.getProblemAttribute() == 2) {
|
945
|
946
|
problemEffective++;
|
946
|
947
|
}
|
947
|
|
- if (postCheckedProblem.getProblemAttribute() == 3){
|
|
948
|
+ if (postCheckedProblem.getProblemAttribute() == 3) {
|
948
|
949
|
problemSuitable++;
|
949
|
950
|
}
|
950
|
951
|
}
|
|
@@ -968,7 +969,7 @@ public class PostCheckedProblemServiceImpl extends ServiceImpl<PostCheckedProble
|
968
|
969
|
// data.set其他
|
969
|
970
|
|
970
|
971
|
|
971
|
|
- return null;
|
|
972
|
+ return list;
|
972
|
973
|
}
|
973
|
974
|
|
974
|
975
|
@Override
|
|
@@ -980,8 +981,8 @@ public class PostCheckedProblemServiceImpl extends ServiceImpl<PostCheckedProble
|
980
|
981
|
|
981
|
982
|
|
982
|
983
|
List<Map<String, Object>> deptIdListByType = postAssessmentRatingOtherMapper.getDeptIdListByType(type);
|
983
|
|
- if (deptIdListByType == null && deptIdListByType.size() == 0){
|
984
|
|
- throw new IllegalArgumentException("查询职能部门个数为:0");
|
|
984
|
+ if (deptIdListByType == null || deptIdListByType.size() == 0) {
|
|
985
|
+ return new ArrayList<>();
|
985
|
986
|
}
|
986
|
987
|
List<String> deptIds = deptIdListByType.stream().map(d -> d.get("deptId").toString()).distinct().collect(Collectors.toList());
|
987
|
988
|
// 查询职能问题数量
|
|
@@ -989,7 +990,7 @@ public class PostCheckedProblemServiceImpl extends ServiceImpl<PostCheckedProble
|
989
|
990
|
.in(PostCheckedProblem::getCheckedDeptId, deptIds)
|
990
|
991
|
);
|
991
|
992
|
List<HistoryProblemNumberView> list = new ArrayList<>();
|
992
|
|
- if (postCheckedProblems!=null && postCheckedProblems.size()>0){
|
|
993
|
+ if (postCheckedProblems != null && postCheckedProblems.size() > 0) {
|
993
|
994
|
SimpleDateFormat adf = new SimpleDateFormat("yyyy-MM-dd");
|
994
|
995
|
Map<String, List<PostCheckedProblem>> collect = postCheckedProblems.stream().collect(Collectors.groupingBy(d -> adf.format(d.getCreateTime()), Collectors.toList()));
|
995
|
996
|
HistoryProblemNumberView data = new HistoryProblemNumberView();
|
|
@@ -1016,19 +1017,19 @@ public class PostCheckedProblemServiceImpl extends ServiceImpl<PostCheckedProble
|
1016
|
1017
|
int problemCategorySix = 0;
|
1017
|
1018
|
for (Map.Entry<String, List<PostCheckedProblem>> stringListEntry : collect.entrySet()) {
|
1018
|
1019
|
List<PostCheckedProblem> value = stringListEntry.getValue();
|
1019
|
|
- if (value!=null && value.size()>0){
|
|
1020
|
+ if (value != null && value.size() > 0) {
|
1020
|
1021
|
for (PostCheckedProblem postCheckedProblem : value) {
|
1021
|
1022
|
problemTotal++;
|
1022
|
|
- if (postCheckedProblem.getProblemAttribute() == 1){
|
|
1023
|
+ if (postCheckedProblem.getProblemAttribute() == 1) {
|
1023
|
1024
|
problemComplete++;
|
1024
|
1025
|
}
|
1025
|
|
- if (postCheckedProblem.getProblemAttribute() == 2){
|
|
1026
|
+ if (postCheckedProblem.getProblemAttribute() == 2) {
|
1026
|
1027
|
problemEffective++;
|
1027
|
1028
|
}
|
1028
|
|
- if (postCheckedProblem.getProblemAttribute() == 3){
|
|
1029
|
+ if (postCheckedProblem.getProblemAttribute() == 3) {
|
1029
|
1030
|
problemSuitable++;
|
1030
|
1031
|
}
|
1031
|
|
- if (postCheckedProblem.getProblemCategory() == null )
|
|
1032
|
+ if (postCheckedProblem.getProblemCategory() == null)
|
1032
|
1033
|
continue;
|
1033
|
1034
|
if (postCheckedProblem.getProblemCategory().equals("1"))
|
1034
|
1035
|
problemCategoryOne++;
|
|
@@ -1059,5 +1060,101 @@ public class PostCheckedProblemServiceImpl extends ServiceImpl<PostCheckedProble
|
1059
|
1060
|
}
|
1060
|
1061
|
return list;
|
1061
|
1062
|
}
|
|
1063
|
+
|
|
1064
|
+ @Override
|
|
1065
|
+ public List<CheckedProblemDeptDetaailView> deptDetaailView(Integer type) {
|
|
1066
|
+ List<Map<String, Object>> deptIdListByType = postAssessmentRatingOtherMapper.getDeptIdListByType(type);
|
|
1067
|
+ if (deptIdListByType == null || deptIdListByType.size() == 0) {
|
|
1068
|
+ return new ArrayList<>();
|
|
1069
|
+ }
|
|
1070
|
+ List<String> deptIds = deptIdListByType.stream().map(d -> d.get("deptId").toString()).distinct().collect(Collectors.toList());
|
|
1071
|
+ // 查询职能问题数量
|
|
1072
|
+ List<PostCheckedProblem> postCheckedProblems = postCheckedProblemMapper.selectList(Wrappers.<PostCheckedProblem>lambdaQuery()
|
|
1073
|
+ .in(PostCheckedProblem::getCheckedDeptId, deptIds)
|
|
1074
|
+ );
|
|
1075
|
+
|
|
1076
|
+ List<CheckedProblemDeptDetaailView> list = new ArrayList<>();
|
|
1077
|
+
|
|
1078
|
+ //TODO 第一步:得到各个部门ID、部门名称、问题总数量、重要问题数量、一般问题数量、统计时间
|
|
1079
|
+ //TODO 第二步:得到4个职责类别的问题数量及整改完成数量(1-业务职责;2-党建及党风廉政;3-安全环保职责;4-合规保密职;)
|
|
1080
|
+ //TODO 第三步:设置部门的整改率:遍历职责类别计算整改率
|
|
1081
|
+ if (postCheckedProblems != null && postCheckedProblems.size() > 0) {
|
|
1082
|
+ Map<Long, List<PostCheckedProblem>> deptMap = postCheckedProblems.stream().collect(Collectors.groupingBy(PostCheckedProblem::getCheckedDeptId));
|
|
1083
|
+ for (Map.Entry<Long, List<PostCheckedProblem>> longListEntry : deptMap.entrySet()) {
|
|
1084
|
+ Long key = longListEntry.getKey();
|
|
1085
|
+ List<PostCheckedProblem> value = longListEntry.getValue();
|
|
1086
|
+ CheckedProblemDeptDetaailView data1 = new CheckedProblemDeptDetaailView();
|
|
1087
|
+ data1.setDeptId(key); //部门ID
|
|
1088
|
+ data1.setDeptName(postAssessmentRatingMapper.getSysDeptName(key));// 部门名称
|
|
1089
|
+ int problemTotal = 0;
|
|
1090
|
+// @ApiModelProperty("一般")
|
|
1091
|
+ Integer problemLeveOne = 0;
|
|
1092
|
+// @ApiModelProperty("重要")
|
|
1093
|
+ Integer problemLeveTwo = 0;
|
|
1094
|
+ for (PostCheckedProblem postCheckedProblem : value) {
|
|
1095
|
+ problemTotal++;
|
|
1096
|
+ if (postCheckedProblem.getProblemLevel().equals("1")){
|
|
1097
|
+ problemLeveOne++;
|
|
1098
|
+ }
|
|
1099
|
+ if (postCheckedProblem.getProblemLevel().equals("2")){
|
|
1100
|
+ problemLeveTwo++;
|
|
1101
|
+ }
|
|
1102
|
+ }
|
|
1103
|
+ data1.setProblemTotal(problemTotal); //问题数量
|
|
1104
|
+ data1.setProblemLeveTwo(problemLeveTwo); //重要问题
|
|
1105
|
+ data1.setProblemLeveOne(problemLeveOne); //一般问题
|
|
1106
|
+ Map<Integer, List<PostCheckedProblem>> dutyMap = value.stream().collect(Collectors.groupingBy(PostCheckedProblem::getDutyType));
|
|
1107
|
+
|
|
1108
|
+
|
|
1109
|
+ for (Map.Entry<Integer, List<PostCheckedProblem>> integerListEntry : dutyMap.entrySet()) {
|
|
1110
|
+ // @ApiModelProperty("完整性数量")
|
|
1111
|
+ int problemComplete = 0;
|
|
1112
|
+// @ApiModelProperty("适宜性数量")
|
|
1113
|
+ int problemSuitable = 0;
|
|
1114
|
+// @ApiModelProperty("有效性数量")
|
|
1115
|
+ int problemEffective = 0;
|
|
1116
|
+ Integer duty = integerListEntry.getKey();
|
|
1117
|
+ CheckedProblemDeptDetaailView.ProblemAttributeInner child1 = new CheckedProblemDeptDetaailView.ProblemAttributeInner();
|
|
1118
|
+ child1.setDutyType(duty);
|
|
1119
|
+ List<PostCheckedProblem> postCheckedProblemList = integerListEntry.getValue();
|
|
1120
|
+ for (PostCheckedProblem postCheckedProblem : postCheckedProblemList) {
|
|
1121
|
+ if (postCheckedProblem.getProblemAttribute() == 1) {
|
|
1122
|
+ problemComplete++;
|
|
1123
|
+ }
|
|
1124
|
+ if (postCheckedProblem.getProblemAttribute() == 2) {
|
|
1125
|
+ problemEffective++;
|
|
1126
|
+ }
|
|
1127
|
+ if (postCheckedProblem.getProblemAttribute() == 3) {
|
|
1128
|
+ problemSuitable++;
|
|
1129
|
+ }
|
|
1130
|
+ }
|
|
1131
|
+ child1.setProblemComplete(problemComplete);
|
|
1132
|
+ child1.setProblemEffective(problemEffective);
|
|
1133
|
+ child1.setProblemSuitable(problemSuitable);
|
|
1134
|
+ }
|
|
1135
|
+ list.add(data1);
|
|
1136
|
+ }
|
|
1137
|
+ }
|
|
1138
|
+
|
|
1139
|
+
|
|
1140
|
+// data1.setDeptId(1l); //部门ID
|
|
1141
|
+// data1.setDeptName("测试部门名称1");// 部门名称
|
|
1142
|
+// data1.setProblemTotal(10); //问题数量
|
|
1143
|
+// data1.setProblemLeveTwo(2); //重要问题
|
|
1144
|
+// data1.setProblemLeveOne(8); //一般问题
|
|
1145
|
+// data1.setStatisticsTime(new Date());// 统计时间
|
|
1146
|
+//
|
|
1147
|
+// List<CheckedProblemDeptDetaailView.ProblemAttributeInner> children1 = new ArrayList<>();
|
|
1148
|
+// CheckedProblemDeptDetaailView.ProblemAttributeInner child1 = new CheckedProblemDeptDetaailView.ProblemAttributeInner();
|
|
1149
|
+// child1.setProblemComplete(1); //child1.set完整性数量
|
|
1150
|
+// child1.setProblemSuitable(2); //child1.set适宜性数量
|
|
1151
|
+// child1.setProblemEffective(3);//child1.set有效性数量
|
|
1152
|
+// //children1.add(child1);
|
|
1153
|
+// //data1.setChildren(children1);
|
|
1154
|
+// data1.getChildren().add(child1);
|
|
1155
|
+
|
|
1156
|
+
|
|
1157
|
+ return null;
|
|
1158
|
+ }
|
1062
|
1159
|
}
|
1063
|
1160
|
|