eight
2024-09-20 1dde635cf9b539cd1971cfebe3c3984f13ed473e
开诊界面 患者顺序
已修改8个文件
25 ■■■■ 文件已修改
jh-module-ecg/jh-module-ecg-api/src/main/java/cn/lihu/jh/module/ecg/enums/QueueStatusEnum.java 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/callingscreen/CallingRespVO.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/doctor/DoctorController.java 3 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/queue/vo/QueuePageReqVO.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/queue/vo/QueueRespVO.java 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/queue/vo/QueueSaveReqVO.java 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/dal/dataobject/queue/QueueDO.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/dal/mysql/queue/queueMapper.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
jh-module-ecg/jh-module-ecg-api/src/main/java/cn/lihu/jh/module/ecg/enums/QueueStatusEnum.java
@@ -15,13 +15,13 @@
@AllArgsConstructor
public enum QueueStatusEnum implements IntArrayValuable {
    //10:排队中 15:已召回 20:候诊准备 30:就诊中 40:就诊完成 50:过号
    //5:过号 10:排队中 15:已召回 20:候诊准备 30:就诊中 40:就诊完成
    PASSED((byte)5, "过号"),
    WAITING((byte)10, "排队中"),
    RECALLED((byte)15, "已召回"),
    READY((byte)20, "候诊准备"),
    ONSTAGE((byte)30, "就诊中"),
    FINISH((byte)40, "就诊完成"),
    PASSED((byte)50, "过号");
    FINISH((byte)40, "就诊完成");
    public static final int[] ARRAYS = Arrays.stream(values()).mapToInt(QueueStatusEnum::getStatus).toArray();
jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/callingscreen/CallingRespVO.java
@@ -38,7 +38,7 @@
    private Integer seqNum;
    /**
     * 10:排队中 15:已召回 20:候诊准备 30:就诊中 40:就诊完成 50:过号
     * 5:过号 10:排队中 15:已召回 20:候诊准备 30:就诊中 40:就诊完成
     */
    @Schema(description = "排队状态", example = "1")
    @ExcelProperty("排队状态")
jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/doctor/DoctorController.java
@@ -29,6 +29,7 @@
import static cn.lihu.jh.framework.common.pojo.CommonResult.error;
import static cn.lihu.jh.framework.common.pojo.CommonResult.success;
import static cn.lihu.jh.module.ecg.enums.ErrorCodeConstants.ECG_INNER_ERROR;
import static cn.lihu.jh.module.ecg.enums.ErrorCodeConstants.PATIENT_NOT_EXISTS;
@Tag(name = "管理后台 - 医生叫号")
@RestController
@@ -252,7 +253,7 @@
    {
        Integer result = queueService.recallPatient(roomId, bedNo, patId);
        if (null == result || 0 == result)
            return error( new ErrorCode(201, "找不到患者") );
            return error(PATIENT_NOT_EXISTS);
        return success("success");
    }
jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/queue/vo/QueuePageReqVO.java
@@ -36,7 +36,7 @@
    @Schema(description = "排队序号")
    private Integer seqNum;
    @Schema(description = "10:排队中 15:已召回 20:候诊准备 30:就诊中 40:就诊完成 50:过号", example = "1")
    @Schema(description = "5:过号 10:排队中 15:已召回 20:候诊准备 30:就诊中 40:就诊完成 ", example = "1")
    private Byte status;
    @Schema(description = "过号标记")
jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/queue/vo/QueueRespVO.java
@@ -44,8 +44,8 @@
    @ExcelProperty("排队序号")
    private Integer seqNum;
    @Schema(description = "10:排队中 15:已召回 20:候诊准备 30:就诊中 40:就诊完成 50:过号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("10:排队中 15:已召回 20:候诊准备 30:就诊中 40:就诊完成 50:过号")
    @Schema(description = "5:过号 10:排队中 15:已召回 20:候诊准备 30:就诊中 40:就诊完成 ", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @ExcelProperty("5:过号 10:排队中 15:已召回 20:候诊准备 30:就诊中 40:就诊完成 ")
    private Byte status;
    @Schema(description = "过号标记", requiredMode = Schema.RequiredMode.REQUIRED)
jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/queue/vo/QueueSaveReqVO.java
@@ -41,8 +41,8 @@
    @NotNull(message = "排队序号不能为空")
    private Integer seqNum;
    @Schema(description = "10:排队中 15:已召回 20:候诊准备 30:就诊中 40:就诊完成 50:过号", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "10:排队中 15:已召回 20:候诊准备 30:就诊中 40:就诊完成 50:过号 不能为空")
    @Schema(description = "5:过号 10:排队中 15:已召回 20:候诊准备 30:就诊中 40:就诊完成 ", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "5:过号 10:排队中 15:已召回 20:候诊准备 30:就诊中 40:就诊完成 不能为空")
    private Byte status;
    @Schema(description = "过号标记", requiredMode = Schema.RequiredMode.REQUIRED)
jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/dal/dataobject/queue/QueueDO.java
@@ -55,7 +55,7 @@
     */
    private Integer seqNum;
    /**
     * 10:排队中 15:已召回 20:候诊准备 30:就诊中 40:就诊完成 50:过号
     * 5:过号 10:排队中 15:已召回 20:候诊准备 30:就诊中 40:就诊完成
     */
    private Byte status;
    /**
jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/dal/mysql/queue/queueMapper.java
@@ -100,7 +100,7 @@
            " <foreach collection='statusList' separator=',' item='status'>" +
            " #{status} " +
            " </foreach> )" +
            " order by seq_num" +
            " order by status desc, seq_num" +
            "</script>")
    List<QueueDO> getDoctorQueueByStatus(@Param("roomId")Long roomId, @Param("bedNo")String bedNo, @Param("statusList")List<Byte> statusList);