doum
3 天以前 7ec3683c8e41460f4bb0bd3a6677198742313e2b
server/visits/dmvisit_service/src/main/java/com/doumee/service/business/YwDeviceService.java
@@ -1,9 +1,17 @@
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.YwDeviceParentCateDataVO;
import com.doumee.dao.business.vo.YwDeviceStatusDataVO;
import org.springframework.web.multipart.MultipartFile;
import java.util.List;
import java.util.Set;
/**
 * 运维设备信息表Service定义
@@ -25,7 +33,7 @@
     *
     * @param id 主键
     */
    void deleteById(Integer id);
    void deleteById(Integer id, LoginUserInfo user);
    /**
     * 删除
@@ -39,7 +47,7 @@
     *
     * @param ids 主键集
     */
    void deleteByIdInBatch(List<Integer> ids);
    void deleteByIdInBatch(List<Integer> ids, LoginUserInfo user);
    /**
     * 主键更新
@@ -94,4 +102,20 @@
     * @return long
     */
    long count(YwDevice ywDevice);
    YwDevice getDetail(Integer id);
    YwDeviceDataVO getYwDeviceData();
    YwDevice findByCode(String deviceCode);
    Set<YwDeviceParentCateDataVO> getDeviceCateData(YwDevice model);
    YwDeviceStatusDataVO getDeviceStatus(YwDevice model);
    /**
     * 批量导入设备
     */
    String importBatch(MultipartFile file, LoginUserInfo user);
}