package com.qianwen.smartman.modules.cps.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.cps.dto.DeviceSimpleDTO;
|
import com.qianwen.smartman.modules.cps.dto.MachineExtDTO;
|
import com.qianwen.smartman.modules.cps.entity.Machine;
|
import com.qianwen.smartman.modules.cps.vo.MachineDetailVO;
|
import com.qianwen.smartman.modules.cps.vo.MachineListVO;
|
import com.qianwen.smartman.modules.cps.vo.MachineSelectVO;
|
import com.qianwen.smartman.modules.cps.vo.MachineVO;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/cps/mapper/MachineMapper.class */
|
public interface MachineMapper extends BaseMapper<Machine> {
|
void changeCollectSwitch(Long workstationId, Integer collectSwitch, String tenantId);
|
|
MachineDetailVO selectMachineDetail(Long id);
|
|
List<MachineDetailVO> 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<MachineListVO> pageMachine(IPage<Machine> 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<DeviceSimpleDTO> deviceListByDeviceTypeId(@Param("deviceTypeId") Long deviceTypeId);
|
|
List<DeviceSimpleDTO> deviceListByDeviceIdList(@Param("deviceIdList") List<Long> deviceIdList);
|
|
List<MachineExtDTO> getMachineByWorkStation(@Param("workstationIds") List<Long> workstationIds);
|
|
String queryDateTypeState(@Param("code") Integer code, @Param("workstationId") Long workstationId);
|
|
MachineDetailVO selectMachineDetailByCode(@Param("machineCode") String machineCode);
|
|
IPage<MachineListVO> pageMachineByParam(IPage<Machine> page, @Param("machineSelectVO") MachineSelectVO machineSelectVO);
|
|
List<MachineVO> listNoBand();
|
|
List<MachineVO> listHaveBand();
|
|
Integer typeAndonRecord(@Param("ids") List<Long> ids);
|
}
|