| | |
| | | } |
| | | |
| | | @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); |
| | | } |
| | |
| | | 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; |
| | | } |