Просмотр исходного кода

修改菜单权限表和字段

wangliang 3 лет назад
Родитель
Сommit
1b7dce3d4f

+ 5 - 3
distributed-print-business/src/main/java/com/qmth/distributed/print/business/templete/execute/AsyncScorePushService.java

@@ -22,9 +22,11 @@ import java.util.Map;
 import java.util.StringJoiner;
 
 /**
- * @Description: 成绩查询推送模板(异步任务)
- * @Author: CaoZixuan
- * @Date: 2021-10-31
+ * @Description: 成绩查询推送模板
+ * @Param:
+ * @return:
+ * @Author: wangliang
+ * @Date: 2021/11/2
  */
 @Service
 public class AsyncScorePushService extends AsyncPushTaskTemplate {

+ 1 - 1
distributed-print-business/src/main/java/com/qmth/distributed/print/business/templete/service/impl/PushLogicServiceImpl.java

@@ -106,7 +106,7 @@ public class PushLogicServiceImpl implements PushLogicService {
                 }
             }
             map.computeIfAbsent("count", v -> totalCount);
-            map.computeIfAbsent("correct", v -> 0);
+            map.computeIfAbsent("correct", v -> totalCount);
         } catch (Exception e) {
             log.info("云阅卷:接口调用失败:{}", e.getMessage());
             throw new RuntimeException("云阅卷:接口调用失败:" + e.getMessage());