package com.qianwen.smartman.modules.smis.mapper; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.baomidou.mybatisplus.core.metadata.IPage; import java.util.List; import org.apache.ibatis.annotations.Param; import com.qianwen.smartman.modules.smis.dto.DeviceSimpleDTO; import com.qianwen.smartman.modules.smis.dto.MachineExtDTO; import com.qianwen.smartman.modules.smis.entity.Machine; import com.qianwen.smartman.modules.smis.vo.MachineDetailVO; import com.qianwen.smartman.modules.smis.vo.MachineListVO; import com.qianwen.smartman.modules.smis.vo.MachineSelectVO; import com.qianwen.smartman.modules.smis.vo.MachineVO; public interface MachineMapper extends BaseMapper { void changeCollectSwitch(Long workstationId, Integer collectSwitch, String tenantId); MachineDetailVO selectMachineDetail(Long id); List listMachineDetail(@Param("machineName") String machineName, @Param("machineCode") String machineCode, @Param("machineTypeId") Long machineTypeId, @Param("groupId") Long groupId, @Param("allMachineId") Long allMachineId, @Param("status") Integer status); IPage pageMachine(IPage page, @Param("machineName") String machineName, @Param("machineCode") String machineCode, @Param("machineTypeId") Long machineTypeId, @Param("groupId") Long groupId, @Param("allMachineId") Long allMachineId, @Param("status") Integer status); List deviceListByDeviceTypeId(@Param("deviceTypeId") Long deviceTypeId); List deviceListByDeviceIdList(@Param("deviceIdList") List deviceIdList); List getMachineByWorkStation(@Param("workstationIds") List workstationIds); String queryDateTypeState(@Param("code") Integer code, @Param("workstationId") Long workstationId); MachineDetailVO selectMachineDetailByCode(@Param("machineCode") String machineCode); IPage pageMachineByParam(IPage page, @Param("machineSelectVO") MachineSelectVO machineSelectVO); List listNoBand(); List listHaveBand(); Integer typeAndonRecord(@Param("ids") List ids); }