| | |
| | | package com.sinata.system.service; |
| | | |
| | | import com.sinata.common.entity.PageDTO; |
| | | import com.sinata.system.domain.MwProtectionEquipment; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import com.sinata.system.domain.dto.MwProtectionEquipmentDTO; |
| | | import com.sinata.system.domain.dto.MwProtectionEquipmentRecordDTO; |
| | | import com.sinata.system.domain.query.MwProtectionEquipmentQuery; |
| | | import com.sinata.system.domain.query.MwProtectionEquipmentRecordQuery; |
| | | import com.sinata.system.domain.vo.MwProtectionEquipmentRecordVO; |
| | | import com.sinata.system.domain.vo.MwProtectionEquipmentVO; |
| | | |
| | | import java.util.List; |
| | | |
| | | /** |
| | | * <p> |
| | |
| | | * @since 2024-12-02 |
| | | */ |
| | | public interface MwProtectionEquipmentService extends IService<MwProtectionEquipment> { |
| | | /** |
| | | * 防护器具分页列表 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | PageDTO<MwProtectionEquipmentVO> pageList(MwProtectionEquipmentQuery query); |
| | | |
| | | /** |
| | | * 详情 |
| | | * |
| | | * @param id |
| | | * @return |
| | | */ |
| | | MwProtectionEquipmentVO detail(Long id); |
| | | |
| | | /** |
| | | * 新增防护器具 |
| | | * |
| | | * @param dto |
| | | * @return |
| | | */ |
| | | void add(MwProtectionEquipmentDTO dto); |
| | | |
| | | /** |
| | | * 编辑 |
| | | * |
| | | * @param dto |
| | | * @return |
| | | */ |
| | | void edit(MwProtectionEquipmentDTO dto); |
| | | |
| | | /** |
| | | * 增加库存 |
| | | * |
| | | * @param dto |
| | | */ |
| | | void addStock(MwProtectionEquipmentRecordDTO dto); |
| | | |
| | | /** |
| | | * 增减记录分页列表 |
| | | * |
| | | * @param query |
| | | * @return |
| | | */ |
| | | PageDTO<MwProtectionEquipmentRecordVO> recordPage(MwProtectionEquipmentRecordQuery query); |
| | | |
| | | /** |
| | | * 删除 |
| | | * |
| | | * @param id |
| | | * @return |
| | | */ |
| | | void delete(Long id); |
| | | |
| | | /** |
| | | * 防护器具列表 |
| | | * |
| | | * @return |
| | | */ |
| | | List<MwProtectionEquipmentVO> queryList(); |
| | | } |