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