商品调拨代码

This commit is contained in:
mayang
2025-03-31 10:24:42 +08:00
parent b1e560be64
commit 6e1204fbea
19 changed files with 1334 additions and 4 deletions

View File

@@ -0,0 +1,45 @@
/*
* Copyright ©2023 CJB-CNIT Team. All rights reserved
*/
package com.openhis.common.enums;
import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.AllArgsConstructor;
import lombok.Getter;
/**
* 药品类型
*
* @author zwh
* @date 2025-03-10
*/
@Getter
@AllArgsConstructor
public enum CategoryType implements HisEnumInterface {
/**
* 中药
*/
MEDICINE(1, "1", "中药"),
/**
* 西药
*/
CHEMICAL(2, "2", "西药"),
/**
* 中成药
*/
TRADITIONAL(3, "3", "中成药"),
/**
* 耗材
*/
DEVICE(4, "4", "耗材");
@EnumValue
private Integer value;
private String code;
private String info;
}

View File

@@ -0,0 +1,35 @@
/*
* Copyright ©2023 CJB-CNIT Team. All rights reserved
*/
package com.openhis.common.enums;
import com.baomidou.mybatisplus.annotation.EnumValue;
import lombok.AllArgsConstructor;
import lombok.Getter;
/**
* 仓库类型
*
* @author zwh
* @date 2025-03-10
*/
@Getter
@AllArgsConstructor
public enum InventoryType implements HisEnumInterface {
/**
* 仓库
*/
INVENTORY(1, "1", "仓库"),
/**
* 药房
*/
PHARMACY(2, "2", "药房");
@EnumValue
private Integer value;
private String code;
private String info;
}