yangys
2024-03-28 23a939ed820ee32f9a4309f9c81b7bab5a566f30
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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);
}