package com.skr.mdm.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.skr.mdm.entity.SysChangeCertificateDO;
import com.skr.mdm.bean.vo.system.SysChangeCertificateVO;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

/**
 * @Author:     Tty
 * @Description:  服务器变更
 * @Date:    2020/11/30 17:19
 * @Version:    1.0
*/
@Repository
public interface SysChangeCertificateDao extends BaseMapper<SysChangeCertificateDO> {

	SysChangeCertificateVO selectMaxChangCertificate(@Param("companyId") Integer companyId);

	SysChangeCertificateDO queryChangeCertificate(@Param("ip") String ip, @Param("clientPort") Integer clientPort, @Param("socketPort") Integer socketPort, @Param("equipmentId") Integer equipmentId);
}