Revert "套餐设置套餐管理完善"

This reverts commit 6c15f0d4d5.
This commit is contained in:
2026-02-03 15:30:47 +08:00
parent 97af9d5eee
commit a7602057e2
2 changed files with 9 additions and 15 deletions

View File

@@ -58,14 +58,12 @@ public class OrganizationLocationAppServiceImpl implements IOrganizationLocation
@Override
public R<?> organizationLocationInit() {
OrgLocInitDto initDto = new OrgLocInitDto();
// 位置类型:药库、药房、耗材库
// 位置类型
List<OrgLocInitDto.locationFormOption> chargeItemStatusOptions = new ArrayList<>();
chargeItemStatusOptions
.add(new OrgLocInitDto.locationFormOption(LocationForm.CABINET.getValue(), LocationForm.CABINET.getInfo()));
chargeItemStatusOptions.add(
new OrgLocInitDto.locationFormOption(LocationForm.PHARMACY.getValue(), LocationForm.PHARMACY.getInfo()));
chargeItemStatusOptions.add(
new OrgLocInitDto.locationFormOption(LocationForm.WAREHOUSE.getValue(), LocationForm.WAREHOUSE.getInfo()));
// 获取科室下拉选列表
List<Organization> organizationList = organizationService.getList(OrganizationType.DEPARTMENT.getValue(), null);
@@ -91,8 +89,6 @@ public class OrganizationLocationAppServiceImpl implements IOrganizationLocation
locationList = locationService.getCabinetList();
} else if (LocationForm.PHARMACY.getValue().equals(locationForm)) {
locationList = locationService.getPharmacyList();
} else if (LocationForm.WAREHOUSE.getValue().equals(locationForm)) {
locationList = locationService.getWarehouseList();
}
List<OrgLocInitDto.locationOption> locationOptions = locationList.stream()
.map(location -> new OrgLocInitDto.locationOption(location.getId(), location.getName()))