package com.weaver.seconddev.chapanda.hrm.service.impl;

import com.weaver.seconddev.chapanda.hrm.dao.HrmFormFieldDao;
import com.weaver.seconddev.chapanda.hrm.service.HrmTableFieldService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
import java.util.Map;

/***
 * author:shil
 */

@Service
public class HrmTableFieldServiceImpl implements HrmTableFieldService{

    @Autowired
    HrmFormFieldDao hrmFormFieldDao;
    @Override
    public List<Map<String,Object>> queryTableDetailFieldByTableName(String tableName, String detailName) {
        List<Map<String,Object>> dataList = hrmFormFieldDao.queryTableDetailFieldByTableName(tableName,detailName);
        return dataList;
    }
}
