zouxuan 2 år sedan
förälder
incheckning
1c51c06504

+ 3 - 5
mec-biz/src/main/java/com/ym/mec/biz/service/impl/StudentVisitServiceImpl.java

@@ -300,11 +300,9 @@ public class StudentVisitServiceImpl extends BaseServiceImpl<Integer, StudentVis
                             sb.append("第" + rowNum).append("行数据导入失败:问题状态不可为空;");
                             continue valueIsNull;
                         } else {
-                            for (HumanCostTypeEnum costTypeEnum : HumanCostTypeEnum.values()) {
-                                if (costTypeEnum.getMsg().equals(row.get(s).toString())) {
-                                    objectMap.put(columnValue, costTypeEnum);
-                                    break;
-                                }
+                            if ("已解决".equals(row.get(s).toString())) {
+                                objectMap.put(columnValue, 1);
+                                break;
                             }
                         }
                     }