package com.chushang.inspection.work.service;

import com.chushang.inspection.work.dto.ImageDTO;
import com.chushang.inspection.work.po.WrkImg;
import com.baomidou.mybatisplus.extension.service.IService;
import com.chushang.inspection.work.vo.WrkImgVO;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;
import java.util.Set;

/**
 * @auther: zhao
 * @date: 2024/6/28 11:25
 */
public interface WrkImgService extends IService<WrkImg> {


    String uploadPicture(MultipartFile file, Integer imgType, Long wrkId, String locationAddress);

    void removeImg(ImageDTO image);

    List<WrkImgVO> listImgByWrkIds(Set<Long> wrkIds);
}
