Parcourir la source

Merge branch 'bug-branch' of chchen/exercise into master

加工打回问题修改
chchen il y a 5 ans
Parent
commit
fbc9cf755b

+ 2 - 0
ssj-kmt-exercise-service-impl/src/main/java/com/ssj/service/kmt/kmt/service/impl/KmtExerciseServiceImpl.java

@@ -276,6 +276,7 @@ public class KmtExerciseServiceImpl implements KmtExerciseService {
         int type = 0;
         if (StringUtil.isBlank(bookId)){
             switch (dealStatus){
+                case 0: type = 5;break;
                 case 1: type = 5;break;
                 case 3: type = 6; break;
                 case 7: type = 6; break;
@@ -283,6 +284,7 @@ public class KmtExerciseServiceImpl implements KmtExerciseService {
             }
         } else {
             switch (dealStatus){
+                case 0: type = 1; break;
                 case 1: type = 1;break;
                 case 2: type = 9; break;
                 case 3: type = 2; break;