eight
2024-11-12 50765d4a02bbe1eddc6802697c6f89433afef565
update
已修改3个文件
7 ■■■■ 文件已修改
jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/devrent/vo/DevRentSaveReqVO.java 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/devrent/vo/DevRentSearchReqVO.java 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/dal/mysql/devrent/DevRentMapper.java 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/devrent/vo/DevRentSaveReqVO.java
@@ -28,7 +28,6 @@
    private String patName;
    @Schema(description = "检查类型", requiredMode = Schema.RequiredMode.REQUIRED, example = "芋艿")
    @NotEmpty(message = "检查类型不能为空")
    private Integer checkType;
    @Schema(description = "装机时间")
jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/controller/admin/devrent/vo/DevRentSearchReqVO.java
@@ -28,6 +28,9 @@
    @Schema(description = "患者名称", example = "芋艿")
    private String patName;
    @Schema(description = "检查类型", example = "100")
    private Integer checkType;
    @Schema(description = "状态")
    private List<Integer> stateList;
}
jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/dal/mysql/devrent/DevRentMapper.java
@@ -49,6 +49,9 @@
            "  <if test=\"patId != null and patId != ''\"> " +
            "    and pat_id = #{patId} " +
            "  </if> " +
            "  <if test=\"checkType != null and checkType != ''\"> " +
            "    and check_type = #{checkType} " +
            "  </if> " +
            "</where> " +
            "order by create_time desc " +
            "limit 1 " +