import { request } from '../config'

export const getMapList = (kingdeeCommonConfigId?: number, pageNo?: number, pageSize?: number) => {
    return request({
        url: '/api/kingdee/field/mapping/list',
        method: 'get',
        params: { kingdeeCommonConfigId, pageNo, pageSize }
    })
}

export const createMap = (data: any) => {
    return request({
        url: '/api/kingdee/field/mapping/create',
        method: 'post',
        data
    })
}