药品目录up

This commit is contained in:
liuhongrui
2025-03-27 21:20:26 +08:00
parent e71f6e361a
commit 4d4fd87aaa
3 changed files with 7 additions and 4 deletions

View File

@@ -210,6 +210,7 @@ public class MedicationManageAppServiceImpl implements IMedicationManageAppServi
Medication medication = new Medication(); Medication medication = new Medication();
BeanUtils.copyProperties(medicationManageUpDto, medication); // 子表信息 BeanUtils.copyProperties(medicationManageUpDto, medication); // 子表信息
BeanUtils.copyProperties(medicationManageUpDto, medicationDefinition);// 主表信息 BeanUtils.copyProperties(medicationManageUpDto, medicationDefinition);// 主表信息
medicationDefinition.setId(medicationManageUpDto.getMedicationDefId());
// 拼音码 // 拼音码
medicationDefinition.setPyStr(ChineseConvertUtils.toPinyinFirstLetter(medicationDefinition.getName())); medicationDefinition.setPyStr(ChineseConvertUtils.toPinyinFirstLetter(medicationDefinition.getName()));
medicationDefinition medicationDefinition

View File

@@ -51,6 +51,7 @@
T6.skin_test_flag, T6.skin_test_flag,
T6.inject_flag, T6.inject_flag,
T6.manufacturer_id, T6.manufacturer_id,
T6.manufacturer_text,
T6.supply_id, T6.supply_id,
T6.restricted_flag, T6.restricted_flag,
T6.restricted_scope, T6.restricted_scope,
@@ -122,6 +123,7 @@
T1.skin_test_flag, T1.skin_test_flag,
T1.inject_flag, T1.inject_flag,
T1.manufacturer_id, T1.manufacturer_id,
T1.manufacturer_text,
T1.supply_id, T1.supply_id,
T1.restricted_flag, T1.restricted_flag,
T1.restricted_scope, T1.restricted_scope,

View File

@@ -15,10 +15,10 @@ import lombok.Getter;
@AllArgsConstructor @AllArgsConstructor
public enum SplitPropertyCode implements HisEnumInterface { public enum SplitPropertyCode implements HisEnumInterface {
OUTPATIENT_NON_SPLITTABLE(1, "outpatient_non_splittable", "门诊不可拆分包装单位"), OUTPATIENT_MIN_UNIT_CEIL(1, "outpatient_min_unit_ceil", "门诊按最小单位每次量向上取整"),
INPATIENT_SPLITTABLE(2, "inpatient_splittable", "住院可拆分包装单位"), OUTPATIENT_PACKAGE_NON_SPLITTABLE(2, "outpatient_package_non_splittable", "门诊按包装单位不可拆分"),
EMERGENCY_SPLITTABLE(3, "emergency_splittable", "急诊可拆分包装单位"), OUTPATIENT_MIN_UNIT_TOTAL_CEIL(3, "outpatient_min_unit_total_ceil", "门诊按最小单位总量向上取整"),
PHARMACY_NON_SPLITTABLE(4, "pharmacy_non_splittable", "药房不可拆分包装单位"); OUTPATIENT_PACKAGE_UNIT_CEIL(4, "outpatient_package_unit_ceil", "门诊按包装单位每次量向上取整");
@EnumValue @EnumValue
private final Integer value; private final Integer value;