2022-10-18 17:32:45 +08:00
|
|
|
package com.rzyc.mapper;
|
|
|
|
|
|
|
|
|
|
import com.rzyc.model.EntDevice;
|
|
|
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
|
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
|
import org.springframework.stereotype.Repository;
|
|
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* <p>
|
|
|
|
|
* 设备 Mapper 接口
|
|
|
|
|
* </p>
|
|
|
|
|
*
|
|
|
|
|
* @author
|
|
|
|
|
* @since 2022-10-18
|
|
|
|
|
*/
|
|
|
|
|
@Repository
|
|
|
|
|
public interface EntDeviceMapper extends BaseMapper<EntDevice> {
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 查询企业设备表
|
|
|
|
|
* @param enterpriseId 企业id
|
|
|
|
|
* @param typeId 设备类型id
|
|
|
|
|
* @return list
|
|
|
|
|
* */
|
|
|
|
|
List<EntDevice>selectEntEquipmentList(@Param("enterpriseId") String enterpriseId,@Param("typeId") String typeId);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 企业设备保养和维修检查记录统计
|
|
|
|
|
* @param enterpriseId 企业id
|
|
|
|
|
* @param deviceId 设备id
|
|
|
|
|
* @return EntDevice
|
|
|
|
|
* */
|
2022-10-31 17:33:15 +08:00
|
|
|
EntDevice entEquipmentStatistic(@Param("enterpriseId") String enterpriseId, @Param("deviceId")String deviceId);
|
2022-10-18 17:32:45 +08:00
|
|
|
|
2022-10-20 17:30:09 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 企业设备修改
|
|
|
|
|
* @param entDevice 企业id
|
|
|
|
|
* @return EntDevice
|
|
|
|
|
* */
|
|
|
|
|
int updateEntDevice(@Param("entDevice") EntDevice entDevice);
|
|
|
|
|
|
2022-10-18 17:32:45 +08:00
|
|
|
}
|