From 9b0eee07b3bb5f3fcddff5bc44c4fc61108eb25c Mon Sep 17 00:00:00 2001 From: eight <641137800@qq.com> Date: 星期一, 23 九月 2024 10:51:14 +0800 Subject: [PATCH] 新增 state @device @dev_rent --- jh-module-ecg/jh-module-ecg-biz/src/main/java/cn/lihu/jh/module/ecg/service/devrent/DevRentServiceImpl.java | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) 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 441c3c4..b37420b 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 @@ -12,11 +12,10 @@ import org.springframework.transaction.annotation.Transactional; import java.time.LocalDateTime; -import java.util.*; + import cn.lihu.jh.module.ecg.controller.admin.devrent.vo.*; import cn.lihu.jh.module.ecg.dal.dataobject.devrent.DevRentDO; import cn.lihu.jh.framework.common.pojo.PageResult; -import cn.lihu.jh.framework.common.pojo.PageParam; import cn.lihu.jh.framework.common.util.object.BeanUtils; import cn.lihu.jh.module.ecg.dal.mysql.devrent.DevRentMapper; @@ -267,7 +266,7 @@ private void validateDevRentExists(Long id) { if (devRentMapper.selectById(id) == null) { - throw exception(DEV_RENT_NOT_EXISTS); + throw exception(DEV_INSTALL_NOT_EXISTS); } } -- Gitblit v1.9.3