public string GetDTType([FromBody] string desk_ID) { string str_sql = "select b.DT_type from tb_DeskType b,tb_Desk a where a.TypeId=b.Id and Id='" + desk_ID + "'"; var result = new tb_DeskBLL().ExecuteScalarString(str_sql); return(result.ToSerialize()); }
public string Get(string sql) { var result = new tb_DeskBLL().GetDataSet(sql, null); return(result.ToSerialize()); }