服务管理查询调整

This commit is contained in:
Wang.Huan
2025-03-04 14:28:06 +08:00
parent cdf530856a
commit 0a5d2d9994
3 changed files with 29 additions and 3 deletions

View File

@@ -105,9 +105,12 @@ public class HealthcareServiceController {
new HashSet<>(Arrays.asList("name", "charge_name")), request); new HashSet<>(Arrays.asList("name", "charge_name")), request);
IPage<HealthcareServiceDto> healthcareServicePage = healthcareServiceBizMapper.getHealthcareServicePage( IPage<HealthcareServiceDto> healthcareServicePage = healthcareServiceBizMapper.getHealthcareServicePage(
new Page<>(pageNo, pageSize), CommonConstants.TableName.ADM_HEALTHCARE_SERVICE, queryWrapper); new Page<>(pageNo, pageSize), CommonConstants.TableName.ADM_HEALTHCARE_SERVICE, queryWrapper);
// 活动标记-枚举类回显赋值 healthcareServicePage.getRecords().forEach(e -> {
healthcareServicePage.getRecords().forEach(e -> // 活动标记-枚举类回显赋值
e.setActiveFlag_enumText(EnumUtils.getInfoByValue(AccountStatus.class, e.getActiveFlag())) e.setActiveFlag_enumText(EnumUtils.getInfoByValue(AccountStatus.class, e.getActiveFlag()));
// 预约要求-枚举类回显赋值
e.setAppointmentRequiredFlag_enumText(EnumUtils.getInfoByValue(WhetherContainUnknown.class, e.getAppointmentRequiredFlag()));
}
); );
return R.ok(healthcareServicePage, MessageUtils.createMessage(PromptMsgConstant.Common.M00009, null)); return R.ok(healthcareServicePage, MessageUtils.createMessage(PromptMsgConstant.Common.M00009, null));
} }

View File

@@ -82,6 +82,7 @@ public class HealthcareServiceDto {
* 预约要求 * 预约要求
*/ */
private Integer appointmentRequiredFlag; private Integer appointmentRequiredFlag;
private String appointmentRequiredFlag_enumText;
/** /**
* 名称 * 名称

View File

@@ -0,0 +1,22 @@
/*
* Copyright ©2023 CJB-CNIT Team. All rights reserved
*/
package com.openhis.web.outpatientservice.controller;
import lombok.AllArgsConstructor;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* 门诊挂号 controller
*/
@RestController
@RequestMapping("/outpatient-service/register")
@Slf4j
@AllArgsConstructor
public class OutpatientRegistrationController {
}