wenminjie
2026-08-06 02c7bf03fa071325c201d29353330152d35ac71a
talent-card-server/src/main/java/com/talentcard/server/response/DependentCardApplyAdminResponse.java
@@ -5,7 +5,7 @@
import com.talentcard.server.entity.DependentCardApply;
import io.swagger.v3.oas.annotations.media.Schema;
@Schema(name = "DependentCardApplyAdminResponse", description = "\u7ba1\u7406\u540e\u53f0\u5bb6\u5c5e\u9644\u5c5e\u5361\u7533\u8bf7\u4fe1\u606f")
@Schema(name = "DependentCardApplyAdminResponse", description = "管理后台家属附属卡申请信息")
public record DependentCardApplyAdminResponse(
        Long id,
        String applyNo,
@@ -38,13 +38,13 @@
    }
    private static String statusText(Integer status) {
        if (status == null) return "\u672a\u77e5";
        if (status == null) return "未知";
        return switch (status) {
            case DependentCardApply.STATUS_PENDING_REVIEW -> "\u5f85\u5ba1\u6838";
            case DependentCardApply.STATUS_APPROVED -> "\u5df2\u901a\u8fc7";
            case DependentCardApply.STATUS_REJECTED -> "\u5df2\u9a73\u56de";
            case DependentCardApply.STATUS_CANCELLED -> "\u5df2\u89e3\u7ed1";
            default -> "\u672a\u77e5";
            case DependentCardApply.STATUS_PENDING_REVIEW -> "待审核";
            case DependentCardApply.STATUS_APPROVED -> "已通过";
            case DependentCardApply.STATUS_REJECTED -> "已驳回";
            case DependentCardApply.STATUS_CANCELLED -> "已解绑";
            default -> "未知";
        };
    }
}