| | |
| | | import com.ruoyi.device.dto.DeviceLedgerDto; |
| | | import com.ruoyi.device.pojo.DeviceLedger; |
| | | import com.ruoyi.framework.web.domain.AjaxResult; |
| | | import com.ruoyi.sales.pojo.CommonFile; |
| | | import org.springframework.web.multipart.MultipartFile; |
| | | |
| | | import javax.servlet.http.HttpServletResponse; |
| | | import java.io.IOException; |
| | | import java.util.ArrayList; |
| | | import java.util.Collection; |
| | | import java.util.List; |
| | | |
| | | public interface IDeviceLedgerService extends IService<DeviceLedger> { |
| | | IPage<DeviceLedgerDto> queryPage(Page page, DeviceLedgerDto deviceLedger); |
| | |
| | | |
| | | AjaxResult updateDeviceLedger(DeviceLedger deviceLedger); |
| | | |
| | | DeviceLedger getDetailById(Long id); |
| | | |
| | | void export(HttpServletResponse response, Long[] ids); |
| | | |
| | | Boolean importData(MultipartFile file) throws IOException; |
| | | |
| | | void uploadFile(MultipartFile file, Long deviceLedgerId, Integer fileType); |
| | | |
| | | List<CommonFile> getFiles(Long deviceLedgerId); |
| | | |
| | | void deleteFile(Long fileId); |
| | | |
| | | boolean deleteLedgerAndFiles(Collection<Long> ids); |
| | | } |