mingfu 1 tydzień temu
rodzic
commit
a8498ccd9d

+ 4 - 1
ie-admin/src/main/java/com/ruoyi/web/controller/dz/DzCardsController.java

@@ -438,8 +438,11 @@ public class DzCardsController extends BaseController
         if(!NumberUtils.isNumeric(type)) {
             return CardType.valueOf(type);
         }
-        if(Integer.parseInt(type) == 9) {
+        Integer cardType = Integer.parseInt(type);
+        if(cardType == 9) {
             return CardType.Experience;
+        } else if(cardType == 7) {
+            return CardType.ECard;
         }
         return (null == institutionId || institutionId.equals(101L)) ? CardType.Platform : CardType.Dept;
     }