¶Ô±ÈÐÂÎļþ |
| | |
| | | package org.jeecg.modules.dnc.service; |
| | | |
| | | import com.baomidou.mybatisplus.core.metadata.IPage; |
| | | import com.baomidou.mybatisplus.extension.service.IService; |
| | | import org.jeecg.common.api.vo.Result; |
| | | import org.jeecg.modules.dnc.entity.DeviceManagement; |
| | | import org.jeecg.modules.mdc.entity.MdcEquipment; |
| | | import org.jeecg.modules.system.entity.MdcProduction; |
| | | |
| | | import java.util.List; |
| | | |
| | | public interface IDeviceManagementService extends IService<DeviceManagement> { |
| | | |
| | | /** |
| | | * æ°å¢è®¾å¤ç±»ä¿¡æ¯ |
| | | * @param deviceManagement |
| | | * @return |
| | | */ |
| | | Result<?> add(DeviceManagement deviceManagement); |
| | | /** |
| | | * ç¼è¾è®¾å¤ç±»ä¿¡æ¯ |
| | | * @param deviceManagement |
| | | * @return |
| | | */ |
| | | Result<?> edit(DeviceManagement deviceManagement); |
| | | /** |
| | | * æ ¹æ®idå é¤è®¾å¤ç±»ä¿¡æ¯ |
| | | * @param id |
| | | * @return |
| | | */ |
| | | Result<?> delete(String id); |
| | | |
| | | /** |
| | | * æ¹éå é¤è®¾å¤ç±» |
| | | * @param ids |
| | | * @return |
| | | */ |
| | | Result<?> deleteBatch(List<String> ids); |
| | | |
| | | /** |
| | | * 设å¤ç±»ä¿¡æ¯å页æ¥è¯¢ |
| | | * @param deviceManagement |
| | | * @param pageNo |
| | | * @param pageSize |
| | | * @return |
| | | */ |
| | | Result<?> query(DeviceManagement deviceManagement, Integer pageNo, Integer pageSize); |
| | | |
| | | /** |
| | | * è·åç¨æ·æéæ¥æç车é´ä¿¡æ¯ |
| | | * @param userId |
| | | * @return |
| | | */ |
| | | List<MdcProduction> getProductionIdsByUserId(String userId); |
| | | |
| | | /** |
| | | * éè¿è½¦é´idæ¥è¯¢è®¾å¤åè¡¨ä¿¡æ¯ |
| | | * @param productionId |
| | | * @return |
| | | */ |
| | | IPage<MdcEquipment> getEquipmentListByProductionId(String productionId, String equipmentId, String equipmentName, Integer pageNo, Integer pageSize); |
| | | |
| | | /** |
| | | * éè¿è½¦é´idæ¥è¯¢è®¾å¤ç±»ç®¡çåè¡¨ä¿¡æ¯ |
| | | * @param productionId |
| | | * @return |
| | | */ |
| | | List<DeviceManagement> getDeviceManagementListByProductionId(String productionId); |
| | | |
| | | /** |
| | | * éè¿idæ¥è¯¢è®¾å¤åè¡¨ä¿¡æ¯ |
| | | * @param id |
| | | * @return |
| | | */ |
| | | List<MdcEquipment> getEquipmentListById(String id); |
| | | } |