151 门诊医生站的诊断TAB页通过维护的个人/科室诊断内容双击开单诊断类型字段显示数字11

This commit is contained in:
sindir
2026-03-10 16:33:47 +08:00
parent e46e2be830
commit b26ad75299
4 changed files with 143 additions and 12 deletions

View File

@@ -28,7 +28,19 @@ public enum YbDiagType {
/**
* 中医主证诊断
*/
TCM_MAIN_SYNDROME_DIAGNOSIS(3, "中医主证诊断");
TCM_MAIN_SYNDROME_DIAGNOSIS(3, "中医主证诊断"),
/**
* 初诊诊断
*/
INITIAL_DIAGNOSIS(4, "初诊诊断"),
/**
* 修正诊断
*/
REVISED_DIAGNOSIS(5, "修正诊断"),
/**
* 补充诊断
*/
SUPPLEMENTARY_DIAGNOSIS(6, "补充诊断");
private Integer value;
private String description;
@@ -38,7 +50,7 @@ public enum YbDiagType {
return null;
}
for (YbDiagType val : values()) {
if (val.getValue().equals(value)) {
if (val.getValue().toString().equals(value)) {
return val;
}
}