派生自 projectDept/qhighschool

Administrator
2022-11-29 8c99e2d8b6c1e0d9cde6abbe80b4df75be19f6d1
src/main/java/com/qxueyou/scc/admin/progress/service/impl/ProgressService.java
@@ -84,7 +84,7 @@
   }
   @Override
   public Result addProgress(String type, String targetId, Double start, Double end, String userId) {
   public Result addProgress(String type, String targetId, int start, int end, String userId) {
      String userId_ = StringUtils.isBlank(userId) ? ClientUtils.getUserId() : userId;
      return resItemServiceMap.get(type).addProgress(targetId, userId_, start, end);
   }
@@ -109,7 +109,7 @@
         BigDecimal progressValue = new BigDecimal(itemProgress.get("progressValue").toString());
         if (progress == null) {
            String nodeType = subjectProgressTreeV.getNodeType();
            this.addProgress(nodeType, nodeId, 0.0, 0.0, userId);
            this.addProgress(nodeType, nodeId, 0, 0, userId);
            cacheService.lstRightPush(SUBJECT_PROGRESS_STATISTIC, nodeIdOrUserId);
            return;
         }