package com.engine.htsc.lhhtsq.Dao;

import weaver.interfaces.htsc.GlobatTools.JAVATools;

import java.util.HashMap;
import java.util.Map;

/**
 * @author xf
 * @version 1.0.0
 * @ClassName LhhtsqbaseDao.java
 * @createTime 2021年12月15日 09:44:00
 */
public class LhhtsqbaseDao {

    public static Map<String,Object> getmodelvalue(String htlx){
        String sql="    select tzyddx,htlx from uf_lhhtsqmrtzyd where 1=1 ";
        Map<String,String> map=new HashMap<>();
        map.put("htlx",htlx);
        return JAVATools.GetTableToMap(sql,map);
    }


    public static Map<String,Object> gettablemap(String tablename,String requestid){
        String sql=" select * from "+tablename+"  where 1=1 ";
        Map<String,String> map=new HashMap<>();
        map.put("requestid",requestid);
        return JAVATools.GetTableToMap(sql,map);
    }
}
