package com.engine.htsc.ReimbursementFlow.Dao;

import jxl.read.biff.Record;
import weaver.conn.RecordSet;
import weaver.general.Util;

public class TravelreimDaoImpl {

    public String GetTypeToId(String fileid,String value){
        String retvalue="";
        RecordSet rs=new RecordSet();
        String sql="select selectvalue from workflow_selectitem where fieldid='"+fileid+"' and selectname like '%"+value+"%'";
        rs.executeQuery(sql);
        if(rs.next()){
            retvalue= Util.null2String(rs.getString("selectvalue"));
        }
        return  retvalue;

    }
}
