From 048c7137a67c3209a81dea8c24a206195d49bf0b Mon Sep 17 00:00:00 2001 From: eight <641137800@qq.com> Date: 星期五, 29 十一月 2024 18:59:41 +0800 Subject: [PATCH] update --- jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/appointment/vo/AppointmentRespVO.java | 4 -- jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/devrent/vo/DevRentRespVO.java | 8 ++++ jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/devrent/vo/DevCancelReqVO.java | 6 +++ jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/devrent/vo/RoutineFinishReqVO.java | 6 +++ jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/devrent/vo/DevRentSaveReqVO.java | 6 +++ jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/dal/dataobject/devrent/DevRentDO.java | 8 ++++ sql/mysql/jh.sql | 1 jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/devrent/DevRentServiceImpl.java | 2 jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/appointment/AppointmentServiceImpl.java | 1 jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/dal/dataobject/patient/PatDetails.java | 5 -- jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/devrent/vo/DevRentSearchReqVO.java | 6 +++ jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/queue/QueueServiceImpl.java | 2 + jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/appointment/vo/AppointmentSaveReqVO.java | 4 -- jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/devrent/vo/DevRentPageReqVO.java | 7 +++ 14 files changed, 50 insertions(+), 16 deletions(-) diff --git a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/appointment/vo/AppointmentRespVO.java b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/appointment/vo/AppointmentRespVO.java index 01cd947..985bad8 100644 --- a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/appointment/vo/AppointmentRespVO.java +++ b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/appointment/vo/AppointmentRespVO.java @@ -83,10 +83,6 @@ @ExcelProperty("搴婂彿") private String patBedNo; - @Schema(description = "棰勭害缂栧彿", requiredMode = Schema.RequiredMode.REQUIRED, example = "27849") - @ExcelProperty("棰勭害缂栧彿") - private String bookId; - @Schema(description = "棰勭害鏃ユ湡", requiredMode = Schema.RequiredMode.REQUIRED) @ExcelProperty("棰勭害鏃ユ湡") private LocalDate bookDate; diff --git a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/appointment/vo/AppointmentSaveReqVO.java b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/appointment/vo/AppointmentSaveReqVO.java index f98f9d9..6dbc150 100644 --- a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/appointment/vo/AppointmentSaveReqVO.java +++ b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/appointment/vo/AppointmentSaveReqVO.java @@ -64,10 +64,6 @@ @Schema(description = "搴婂彿") private String patBedNo; - @Schema(description = "棰勭害缂栧彿", requiredMode = Schema.RequiredMode.REQUIRED, example = "27849") - //@NotEmpty(message = "棰勭害缂栧彿涓嶈兘涓虹┖") - private String bookId; - @Schema(description = "棰勭害鏃ユ湡", requiredMode = Schema.RequiredMode.REQUIRED) @NotNull(message = "棰勭害鏃ユ湡涓嶈兘涓虹┖") private LocalDateTime bookDate; diff --git a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/devrent/vo/DevCancelReqVO.java b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/devrent/vo/DevCancelReqVO.java index 0f36109..2ce1571 100644 --- a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/devrent/vo/DevCancelReqVO.java +++ b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/devrent/vo/DevCancelReqVO.java @@ -14,6 +14,12 @@ @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "26525") private Long id; + @Schema(description = "棰勭害鐢宠鍙�", example = "2024435") + private String applyNo; + + @Schema(description = "灏辫瘖娴佹按鍙�", example = "2024546") + private String episodeId; + @Schema(description = "璁惧缂栧彿", requiredMode = Schema.RequiredMode.REQUIRED, example = "3986") private String devId; diff --git a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/devrent/vo/DevRentPageReqVO.java b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/devrent/vo/DevRentPageReqVO.java index 350d7b7..c3bac85 100644 --- a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/devrent/vo/DevRentPageReqVO.java +++ b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/devrent/vo/DevRentPageReqVO.java @@ -16,6 +16,13 @@ @ToString(callSuper = true) public class DevRentPageReqVO extends PageParam { + @Schema(description = "棰勭害鐢宠鍙�", example = "2024435") + private String applyNo; + + @Schema(description = "灏辫瘖娴佹按鍙�", example = "2024546") + //@NotEmpty(message = "灏辫瘖娴佹按鍙�") + private String episodeId; + @Schema(description = "璁惧缂栧彿", example = "3986") private String devId; diff --git a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/devrent/vo/DevRentRespVO.java b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/devrent/vo/DevRentRespVO.java index 51ae3a5..5aed9ce 100644 --- a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/devrent/vo/DevRentRespVO.java +++ b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/devrent/vo/DevRentRespVO.java @@ -17,6 +17,14 @@ @ExcelProperty("id") private Long id; + @Schema(description = "棰勭害鐢宠鍙�", example = "2024435") + @ExcelProperty("棰勭害鐢宠鍙�") + private String applyNo; + + @Schema(description = "灏辫瘖娴佹按鍙�", example = "2024546") + @ExcelProperty("灏辫瘖娴佹按鍙�") + private String episodeId; + @Schema(description = "璁惧缂栧彿", requiredMode = Schema.RequiredMode.REQUIRED, example = "3986") @ExcelProperty("璁惧缂栧彿") private String devId; diff --git a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/devrent/vo/DevRentSaveReqVO.java b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/devrent/vo/DevRentSaveReqVO.java index 687a2e5..f1e7df7 100644 --- a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/devrent/vo/DevRentSaveReqVO.java +++ b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/devrent/vo/DevRentSaveReqVO.java @@ -17,6 +17,12 @@ @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "26525") private Long id; + @Schema(description = "棰勭害鐢宠鍙�", example = "2024435") + private String applyNo; + + @Schema(description = "灏辫瘖娴佹按鍙�", example = "2024546") + private String episodeId; + @Schema(description = "璁惧缂栧彿", requiredMode = Schema.RequiredMode.REQUIRED, example = "3986") @NotEmpty(message = "璁惧缂栧彿涓嶈兘涓虹┖") private String devId; diff --git a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/devrent/vo/DevRentSearchReqVO.java b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/devrent/vo/DevRentSearchReqVO.java index e78a359..b36218b 100644 --- a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/devrent/vo/DevRentSearchReqVO.java +++ b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/devrent/vo/DevRentSearchReqVO.java @@ -19,6 +19,12 @@ @ToString(callSuper = true) public class DevRentSearchReqVO extends PageParam { + @Schema(description = "棰勭害鐢宠鍙�", example = "2024435") + private String applyNo; + + @Schema(description = "灏辫瘖娴佹按鍙�", example = "2024546") + private String episodeId; + @Schema(description = "璁惧缂栧彿", example = "3986") private String devId; diff --git a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/devrent/vo/RoutineFinishReqVO.java b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/devrent/vo/RoutineFinishReqVO.java index a1a7473..f6a24ba 100644 --- a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/devrent/vo/RoutineFinishReqVO.java +++ b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/devrent/vo/RoutineFinishReqVO.java @@ -13,6 +13,12 @@ @Schema(description = "id", requiredMode = Schema.RequiredMode.REQUIRED, example = "26525") private Long id; + @Schema(description = "棰勭害鐢宠鍙�", example = "2024435") + private String applyNo; + + @Schema(description = "灏辫瘖娴佹按鍙�", example = "2024546") + private String episodeId; + @Schema(description = "璁惧缂栧彿", requiredMode = Schema.RequiredMode.REQUIRED, example = "3986") //@NotEmpty(message = "璁惧缂栧彿涓嶈兘涓虹┖") private String devId; diff --git a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/dal/dataobject/devrent/DevRentDO.java b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/dal/dataobject/devrent/DevRentDO.java index f0aa71f..5270773 100644 --- a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/dal/dataobject/devrent/DevRentDO.java +++ b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/dal/dataobject/devrent/DevRentDO.java @@ -33,6 +33,14 @@ @TableId private Long id; /** + * 鐢宠缂栧彿 + */ + private String applyNo; + /** + * 灏辫瘖娴佹按鍙� + */ + private String episodeId; + /** * 鎮h�呯紪鍙� */ private String patId; diff --git a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/dal/dataobject/patient/PatDetails.java b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/dal/dataobject/patient/PatDetails.java index cb3f84a..33c4b23 100644 --- a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/dal/dataobject/patient/PatDetails.java +++ b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/dal/dataobject/patient/PatDetails.java @@ -22,9 +22,4 @@ * 棰勭害鎮h�呮潵婧愶細 闂ㄨ瘖 鎬ヨ瘖 浣忛櫌 浣撴 */ Integer source; - /** - * 妫�鏌ョ敵璇峰彿 - * 鐢ㄤ簬 纭垂 鎿嶄綔 - */ - String applyNo; } diff --git a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/appointment/AppointmentServiceImpl.java b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/appointment/AppointmentServiceImpl.java index ce87113..4341ea1 100644 --- a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/appointment/AppointmentServiceImpl.java +++ b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/appointment/AppointmentServiceImpl.java @@ -325,7 +325,6 @@ patDetails.setWardDesc( appointment.getPatWardDesc() ); patDetails.setBedNo( appointment.getPatBedNo() ); patDetails.setSource( appointment.getPatSrc() ); - patDetails.setApplyNo( appointment.getApplyNo() ); return patDetails; } } diff --git a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/devrent/DevRentServiceImpl.java b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/devrent/DevRentServiceImpl.java index 50f0a29..d3722b7 100644 --- a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/devrent/DevRentServiceImpl.java +++ b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/devrent/DevRentServiceImpl.java @@ -748,7 +748,7 @@ item.setExeDateTime( getCurTimeString() ); // ExmRequest exmRequest = new ExmRequest(); exmRequest.setAuthorOrganization("47162057-2"); - exmRequest.setRequestId( patDetails.getApplyNo() ); // + exmRequest.setRequestId( devRentDO.getApplyNo() ); // exmRequest.setPatientType( getPatientType(patDetails.getSource()) ); // exmRequest.setItem(item); hisFeeConfirmReqBody.setExmRequest(exmRequest); diff --git a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/queue/QueueServiceImpl.java b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/queue/QueueServiceImpl.java index d44becf..978af4c 100644 --- a/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/queue/QueueServiceImpl.java +++ b/jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/queue/QueueServiceImpl.java @@ -331,6 +331,8 @@ queueMapper.insert(queue); DevRentDO devRent = BeanUtils.toBean(queueSaveReqVO, DevRentDO.class); + devRent.setApplyNo( queueSaveReqVO.getApplyNo() ); + devRent.setEpisodeId( queueSaveReqVO.getEpisodeId() ); devRent.setState( DevRentStateEnum.FREE.getState() ); devRent.setPatDetails( queueSaveReqVO.getPatDetails() ); devRent.setCheckType( queueSaveReqVO.getBookCheckType() ); diff --git a/sql/mysql/jh.sql b/sql/mysql/jh.sql index 609d300..b45e033 100644 --- a/sql/mysql/jh.sql +++ b/sql/mysql/jh.sql @@ -21,7 +21,6 @@ `pat_ward_code` varchar(45) DEFAULT '' COMMENT '鎮h�呮墍鍦ㄧ梾鍖轰唬鐮�', `pat_ward_desc` varchar(45) DEFAULT '' COMMENT '鎮h�呮墍鍦ㄧ梾鍖哄悕绉�', `pat_bed_no` varchar(45) DEFAULT '' COMMENT '搴婂彿', - `book_id` varchar(45) DEFAULT '' COMMENT '棰勭害缂栧彿', `book_date` date NOT NULL COMMENT '棰勭害鏃ユ湡', `book_timeslot` int NOT NULL COMMENT '棰勭害鏃堕棿娈�', `book_time` datetime NOT NULL COMMENT '棰勭害鍙戠敓鏃堕棿', -- Gitblit v1.9.3