You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
udi-wms-java/src/main/java/com/glxp/api/dao/dev/DeviceInfoMapper.java

37 lines
1.3 KiB
Java

package com.glxp.api.dao.dev;
import com.glxp.api.dao.BaseMapperPlus;
import com.glxp.api.entity.dev.DeviceInfoEntity;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.glxp.api.enums.dev.DeviceStatusEnum;
import com.glxp.api.req.dev.DeviceInfoDetailByDeptCodeQuery;
import com.glxp.api.req.dev.DeviceInfoDetailQuery;
import com.glxp.api.req.dev.DeviceInfoQuery;
import com.glxp.api.vo.dev.DeviceInfoVo;
import org.apache.ibatis.annotations.Param;
import java.util.List;
import java.util.Set;
/**
* 针对表【device_info(设备表)】的数据库操作Mapper
*/
public interface DeviceInfoMapper extends BaseMapperPlus<DeviceInfoMapper,DeviceInfoEntity,DeviceInfoEntity> {
List<DeviceInfoVo> pageVo(@Param("param") DeviceInfoQuery query, @Param("deptCode") String locDeptCode);
List<DeviceInfoVo> allPageVo(@Param("param") DeviceInfoQuery query);
List<DeviceInfoVo> detail(@Param("param") DeviceInfoDetailQuery query);
List<DeviceInfoVo> detail(@Param("param") DeviceInfoDetailByDeptCodeQuery query);
List<DeviceInfoVo> listVoByProductIdAndStatus(@Param("productId")Long productId, @Param("status")DeviceStatusEnum status);
List<DeviceInfoVo> listVoByCodes(@Param("list") List<String> deviceCodes,@Param("deptCode") String deptCode,@Param("status") List<DeviceStatusEnum> status);
}