package com.yeejoin.amos.boot.module.ymt.api.mapper;

import com.yeejoin.amos.boot.module.common.api.mapper.CustomBaseMapper;
import com.yeejoin.amos.boot.module.ymt.api.entity.IdxBizJgOtherInfo;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

/**
 * 安全追溯-其他信息表 Mapper 接口
 *
 * @author system_generator
 * @date 2023-08-17
 */
public interface IdxBizJgOtherInfoMapper extends CustomBaseMapper<IdxBizJgOtherInfo> {
    @Select("select SUPERVISORY_CODE from idx_biz_jg_other_info where record = #{equipmentCode}")
    String getSupervisoryCodeByEquipmentCode(@Param("equipmentCode") String equipmentCode);
}
