import request from '@/utils/request'

//根据metadataId查询得到元数据方案详情表
export const selectListByMetadataId = (params) => {
  return request({
    url: '/point-strategy/v/differenceMetadataEntityControl/selectListByMetadataId',
    method: 'post',
    params
  })
}
//查询得到元数据方案记录表
export const getRecordList = () => {
  return request({
    url: '/point-strategy/v/differenceMetadataEntityControl/getRecordList',
    method: 'post',
  })
}
//按照中文名称匹配设置进行关联元数据项和实体
export const compareByFieldChn = (params) => {
  return request({
    url: '/point-strategy/v/differenceMetadataEntityControl/matchByFieldChn',
    method: 'post',
    params
  })
}
//按照英文名称匹配设置进行关联元数据项和实体
export const compareByField = (params) => {
  return request({
    url: '/point-strategy/v/differenceMetadataEntityControl/matchByField',
    method: 'post',
    params
  })
}
//按照英文名称匹配设置进行关联元数据项和实体
export const selectMetadataEntityByClassId = (params) => {
  return request({
    url: '/point-strategy/v/differenceMetadataEntityControl/selectMetadataEntityByClassId',
    method: 'post',
    params
  })
}
