| | |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.ruoyi.device.dto.DeviceRepairDto; |
| | | import com.ruoyi.device.pojo.DeviceRepair; |
| | | 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.util.Collection; |
| | | import java.util.List; |
| | | |
| | | |
| | |
| | | |
| | | IPage<DeviceRepairDto> queryPage(Page page, DeviceRepairDto deviceRepairDto); |
| | | |
| | | AjaxResult saveDeviceRepair(DeviceRepair deviceRepair); |
| | | Long saveDeviceRepair(DeviceRepair deviceRepair); |
| | | |
| | | AjaxResult updateDeviceRepair(DeviceRepair deviceRepair); |
| | | void updateDeviceRepair(DeviceRepair deviceRepair); |
| | | |
| | | void submitDeviceMaintain(DeviceRepair deviceRepair); |
| | | |
| | | void acceptDeviceRepair(DeviceRepair deviceRepair); |
| | | |
| | | void export(HttpServletResponse response, Long[] ids); |
| | | |
| | | DeviceRepairDto detailById(Long id); |
| | | |
| | | void uploadFile(MultipartFile file, Long deviceRepairId); |
| | | void uploadFile(MultipartFile file, Long deviceRepairId, Integer fileType); |
| | | |
| | | List<CommonFile> getFiles(Long deviceRepairId); |
| | | |
| | | void deleteFile(Long fileId); |
| | | |
| | | boolean deleteRepairAndFiles(Collection<Long> ids); |
| | | |
| | | } |