1
This commit is contained in:
parent
328c865bb6
commit
b0df9941d9
@ -64,7 +64,7 @@ public enum RecordTypeEnum {
|
|||||||
* @param code code
|
* @param code code
|
||||||
* @return cn.iocoder.yudao.common.SystemEnum
|
* @return cn.iocoder.yudao.common.SystemEnum
|
||||||
**/
|
**/
|
||||||
public static RecordTypeEnum getRepairRole(String code) {
|
public static RecordTypeEnum getEnumByCode(String code) {
|
||||||
for (RecordTypeEnum thisEnum : RecordTypeEnum.values()) {
|
for (RecordTypeEnum thisEnum : RecordTypeEnum.values()) {
|
||||||
if (thisEnum.getCode().equalsIgnoreCase(code)) {
|
if (thisEnum.getCode().equalsIgnoreCase(code)) {
|
||||||
// 找到对应的枚举
|
// 找到对应的枚举
|
||||||
|
Loading…
Reference in New Issue
Block a user