From 4f3a98f19143865cdc1de4791e8a95d96bd40c65 Mon Sep 17 00:00:00 2001 From: maven <2163098428@qq.com> Date: 星期五, 01 八月 2025 13:27:59 +0800 Subject: [PATCH] yys 密码已重置 --- cnas-device/src/main/java/com/ruoyi/device/service/DeviceMaintenancePlanService.java | 79 +++++++++++++++++++++++++++++++++++++++ 1 files changed, 79 insertions(+), 0 deletions(-) diff --git a/cnas-device/src/main/java/com/ruoyi/device/service/DeviceMaintenancePlanService.java b/cnas-device/src/main/java/com/ruoyi/device/service/DeviceMaintenancePlanService.java new file mode 100644 index 0000000..46e50cf --- /dev/null +++ b/cnas-device/src/main/java/com/ruoyi/device/service/DeviceMaintenancePlanService.java @@ -0,0 +1,79 @@ +package com.ruoyi.device.service; + +import com.baomidou.mybatisplus.core.metadata.IPage; +import com.baomidou.mybatisplus.extension.plugins.pagination.Page; +import com.baomidou.mybatisplus.extension.service.IService; +import com.ruoyi.common.core.domain.Result; +import com.ruoyi.device.dto.DeviceMaintenancePlanDto; +import com.ruoyi.device.pojo.DeviceMaintenancePlan; + +import javax.servlet.http.HttpServletResponse; + +/** + * <p> + * 璁惧淇濆吇璁″垝琛� 鏈嶅姟绫� + * </p> + * + * @author 姹熻嫃榈烽洀缃戠粶绉戞妧鏈夐檺鍏徃 + * @since 2024-12-16 06:10:52 + */ +public interface DeviceMaintenancePlanService extends IService<DeviceMaintenancePlan> { + + /** + * 鍒嗛〉鏌ヨ璁惧淇濆吇璁″垝 + * @param page 褰撳墠椤� + * @param deviceMaintenancePlanDto 璁惧淇濆吇璁″垝 + * @return + */ + Result<IPage<DeviceMaintenancePlan>> selectDeviceMaintenancePlanByPage(Page page, DeviceMaintenancePlanDto deviceMaintenancePlanDto); + + /** + * 鏂板璁惧淇濆吇璁″垝 + * + * @param deviceMaintenancePlanDto 璁惧淇濆吇璁″垝 + */ + Result addMaintenancePlan(DeviceMaintenancePlanDto deviceMaintenancePlanDto); + + /** + * 淇敼璁惧淇濆吇璁″垝 + * + * @param deviceMaintenancePlanDto 璁惧淇濆吇璁″垝 + */ + Result updateMaintenancePlan(DeviceMaintenancePlanDto deviceMaintenancePlanDto); + + /** + * 鍒犻櫎璁惧淇濆吇璁″垝 + * @param deviceMaintenancePlanDto 璁惧淇濆吇璁″垝 + */ + Result deleteMaintenancePlan(DeviceMaintenancePlanDto deviceMaintenancePlanDto); + + /** + * 瀵煎嚭璁惧淇濆吇璁″垝 + * + * @param maintenancePlanId 璁惧淇濆吇璁″垝id + * @param response 鍝嶅簲 + */ + Result exportDeviceMaintenancePlanDto(Integer maintenancePlanId, HttpServletResponse response); + + /** + * 鏌ョ湅璁惧淇濆吇璁″垝璇︽儏 + * @param maintenancePlanId 璁惧淇濆吇璁″垝id + * @return + */ + Result<DeviceMaintenancePlanDto> getMaintenancePlanDetail(Integer maintenancePlanId); + + /** + * 鎻愪氦瀹℃牳 + * @param deviceMaintenancePlanDto + * @return + */ + Result submitReviewMaintenancePlanStatus(DeviceMaintenancePlanDto deviceMaintenancePlanDto); + + /** + * 瀹℃牳璁惧淇濆吇璁″垝鐘舵�� + * @param deviceMaintenancePlanDto 璁惧淇濆吇璁″垝 + * @return + */ + Result reviewMaintenancePlanStatus(DeviceMaintenancePlanDto deviceMaintenancePlanDto); + +} -- Gitblit v1.9.3