| | |
| | | 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; |
| | |
| | | |
| | | private void validateDevRentExists(Long id) { |
| | | if (devRentMapper.selectById(id) == null) { |
| | | throw exception(DEV_RENT_NOT_EXISTS); |
| | | throw exception(DEV_INSTALL_NOT_EXISTS); |
| | | } |
| | | } |
| | | |