Przeglądaj źródła

美术阅卷11月新增需求-自动打回和落档定差优化

wangliang 5 lat temu
rodzic
commit
b2ecffcfe9

+ 4 - 4
stmms-ms-log/src/main/java/cn/com/qmth/stmms/ms/log/aop/MarkLogAop.java

@@ -229,11 +229,11 @@ public class MarkLogAop {
             if (levelConfig.isAutoCallback()) {//为true则自动打回
                 List<MarkTask> markTasks = markTaskRepo.findByPaperIdAndStage(paper.getId(), markStage);
                 Map<Long, String> levelsMap = markTasks.stream().collect(Collectors.toMap(MarkTask::getMarkerId, o -> o.getResult().toUpperCase()));
-                LOGGER.info("this:{},markLogAop异步回调进来了", this);
+                LOGGER.info("this:{} markLogAop异步回调进来了", this);
                 arbitrateCallback.judge(levelsMap, markingConfig.getDeviation(), new ArbitrateResult() {
                     @Override
                     public void callback(List<ArbitrateCallback.Distance> list) {
-                        LOGGER.info("this:{},callback markLogAop异步回调进来了", this);
+                        LOGGER.info("this:{} callback markLogAop异步回调进来了", this);
                         String operResult = DEFAULT_RESULT;
                         //全部打回则不触发自动仲裁
                         if (Objects.nonNull(list) && list.size() > 0 && markTasks.size() != list.size()) {
@@ -259,10 +259,10 @@ public class MarkLogAop {
                             paperRepo.save(paper);
                             markLogRepo.save(markLogList);
                         }
-                        LOGGER.info("this:{},callback markLogAop异步回调结束了", this);
+                        LOGGER.info("this:{} callback markLogAop异步回调结束了", this);
                     }
                 });
-                LOGGER.info("this:{},markLogAop异步回调结束了", this);
+                LOGGER.info("this:{} markLogAop异步回调结束了", this);
             }
         }
         //20191107wangliang加入仲裁自动打回算法 end

+ 2 - 2
stmms-ms-marking/src/main/java/cn/com/qmth/stmms/ms/marking/service/MarkingService.java

@@ -172,7 +172,7 @@ public class MarkingService {
         arbitrateCallback.judge(levelsMap, paper.getLevel(), new ArbitrateResult() {
             @Override
             public void callback(List<ArbitrateCallback.Distance> list) {
-                LOG.info("this:{},callback levelsLog异步回调进来了", this);
+                LOG.info("this:{} callback levelsLog异步回调进来了", this);
                 String operResult = "-";
                 for (ArbitrateCallback.Distance d : list) {
                     for (MarkTask m : markTasks) {
@@ -199,7 +199,7 @@ public class MarkingService {
                 LOG.info("this:{},callback levelsLog异步回调结束了", this);
             }
         });
-        LOG.info("this:{}, levelsLog异步回调结束了", this);
+        LOG.info("this:{} levelsLog异步回调结束了", this);
     }
 
     /**