| | |
| | | package com.sinata.system.service; |
| | | |
| | | import com.sinata.common.entity.PageDTO; |
| | | import com.sinata.system.domain.MwProtectionTask; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.sinata.system.domain.dto.MwProtectionTaskDTO; |
| | | import com.sinata.system.domain.query.MwProtectionTaskQuery; |
| | | import com.sinata.system.domain.vo.MwProtectionTaskVO; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | * @since 2024-12-02 |
| | | */ |
| | | public interface MwProtectionTaskService extends IService<MwProtectionTask> { |
| | | /** |
| | | * 防护作业分页列表 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | PageDTO<MwProtectionTaskVO> pageList(MwProtectionTaskQuery query); |
| | | |
| | | /** |
| | | * 防护作业详情 |
| | | * |
| | | * @param id |
| | | * @return |
| | | */ |
| | | MwProtectionTaskVO detail(Long id); |
| | | |
| | | /** |
| | | * 新增防护作业 |
| | | * |
| | | * @param dto |
| | | * @return |
| | | */ |
| | | void add(MwProtectionTaskDTO dto); |
| | | |
| | | /** |
| | | * 编辑防护作业 |
| | | * |
| | | * @param dto |
| | | * @return |
| | | */ |
| | | void edit(MwProtectionTaskDTO dto); |
| | | |
| | | /** |
| | | * 删除 |
| | | * |
| | | * @param id |
| | | */ |
| | | void delete(Long id); |
| | | } |