From 7c94cd336bb31986d9744657f7a91cddfb34c21e Mon Sep 17 00:00:00 2001
From: wayne <wayne8692wayne8692@gmail.com>
Date: 星期一, 29 十一月 2021 12:07:00 +0800
Subject: [PATCH] [update]【todo 131166】修正customer detail命名,ID -> DB_ID

---
 pamapi/src/main/java/com/pollex/pam/enums/GenderEnum.java |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/pamapi/src/main/java/com/pollex/pam/enums/GenderEnum.java b/pamapi/src/main/java/com/pollex/pam/enums/GenderEnum.java
index f0dfa0a..0bcc63f 100644
--- a/pamapi/src/main/java/com/pollex/pam/enums/GenderEnum.java
+++ b/pamapi/src/main/java/com/pollex/pam/enums/GenderEnum.java
@@ -14,7 +14,7 @@
     @JsonCreator
     public static GenderEnum forName(String name) {
         for(GenderEnum c: values()) {
-            if(c.name().equals(name)) {
+            if(c.name().equals(name.toUpperCase())) {
                 return c;
             }
         }

--
Gitblit v1.8.0