版本更新
This commit is contained in:
@@ -307,7 +307,11 @@ public enum AssignSeqEnum {
|
||||
* b
|
||||
* 病历文书
|
||||
*/
|
||||
PURCHASE_DOCUMENT("63", "病历文书", "DOC");
|
||||
PURCHASE_DOCUMENT("63", "病历文书", "DOC"),
|
||||
/**
|
||||
* 调价单
|
||||
*/
|
||||
CHANGE_PRICE_BUZ("64", "调整零售价", "CPB");
|
||||
private final String code;
|
||||
private final String info;
|
||||
private final String prefix;
|
||||
|
||||
@@ -1,49 +0,0 @@
|
||||
package com.openhis.common.enums;
|
||||
|
||||
/**
|
||||
* medCategoryCode
|
||||
*
|
||||
* @author Wuser
|
||||
* @date 2025/4/21
|
||||
*/
|
||||
|
||||
import com.github.pagehelper.util.StringUtil;
|
||||
|
||||
import lombok.AllArgsConstructor;
|
||||
import lombok.Getter;
|
||||
|
||||
/**
|
||||
* 药品分类枚举
|
||||
*
|
||||
* @author YourName
|
||||
* @date 2025-04-21
|
||||
*/
|
||||
@Getter
|
||||
@AllArgsConstructor
|
||||
public enum MedCategoryCode {
|
||||
|
||||
TRADITIONAL_CHINESE_MEDICINE("1", "中成药"),
|
||||
|
||||
WESTERN_MEDICINE("2", "西药"),
|
||||
|
||||
EXTERNAL_PURCHASE_MEDICINE("3", "外购药品"),
|
||||
|
||||
CHINESE_HERBAL_MEDICINE("4", "中草药"),
|
||||
|
||||
OTHER("9", "其他");
|
||||
|
||||
private String value;
|
||||
private String description;
|
||||
|
||||
public static MedCategoryCode getByValue(String value) {
|
||||
if (StringUtil.isEmpty(value)) {
|
||||
return null;
|
||||
}
|
||||
for (MedCategoryCode code : values()) {
|
||||
if (code.getValue().equals(value)) {
|
||||
return code;
|
||||
}
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user