|  |  |  | 
|---|
|  |  |  | package com.doumee.service.business; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import com.doumee.core.model.LoginUserInfo; | 
|---|
|  |  |  | import com.doumee.core.model.PageData; | 
|---|
|  |  |  | import com.doumee.core.model.PageWrap; | 
|---|
|  |  |  | import com.doumee.dao.business.model.YwDevice; | 
|---|
|  |  |  | import com.doumee.dao.business.vo.YwDeviceCateDataVO; | 
|---|
|  |  |  | import com.doumee.dao.business.vo.YwDeviceDataVO; | 
|---|
|  |  |  | import com.doumee.dao.business.vo.YwDeviceStatusDataVO; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import java.util.List; | 
|---|
|  |  |  | import java.util.Set; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 运维设备信息表Service定义 | 
|---|
|  |  |  | 
|---|
|  |  |  | * | 
|---|
|  |  |  | * @param id 主键 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | void deleteById(Integer id); | 
|---|
|  |  |  | void deleteById(Integer id, LoginUserInfo user); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 删除 | 
|---|
|  |  |  | 
|---|
|  |  |  | * | 
|---|
|  |  |  | * @param ids 主键集 | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | void deleteByIdInBatch(List<Integer> ids); | 
|---|
|  |  |  | void deleteByIdInBatch(List<Integer> ids, LoginUserInfo user); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | /** | 
|---|
|  |  |  | * 主键更新 | 
|---|
|  |  |  | 
|---|
|  |  |  | * @return long | 
|---|
|  |  |  | */ | 
|---|
|  |  |  | long count(YwDevice ywDevice); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | YwDevice getDetail(Integer id); | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | YwDeviceDataVO getYwDeviceData(); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | YwDevice findByCode(String deviceCode); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | Set<YwDeviceCateDataVO> getDeviceCateData(YwDevice model); | 
|---|
|  |  |  |  | 
|---|
|  |  |  | YwDeviceStatusDataVO getDeviceStatus(YwDevice model); | 
|---|
|  |  |  | } | 
|---|