<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Api id="__6cmqT9N3A2S9YAkbNAL">
  <name>获取考试审核状态</name>
  <parentId>__LgZds5MVHW3o08T7UcX</parentId>
  <applicationid>__LgZds5MVHW3o08T7UcX</applicationid>
  <status>published</status>
  <apiGroup></apiGroup>
  <encode>UTF-8</encode>
  <requestType>get</requestType>
  <requestUrl>/exam/examine</requestUrl>
  <tags></tags>
  <responseType>json</responseType>
  <responseScript><![CDATA[(function(){       

  var id = getParameter("examid");   
  if(isNotNull(id)){
    var sql=" select ITEM_EXAMINE"+   
        " from "+
        " tlk_system_exam_info where id = '"+id+"'";
    var datas = queryByDSName("tms",sql);
    if(datas!=null){
      for(var iterator = datas.iterator();iterator.hasNext();){
        var map1 = iterator.next();//取值
        var examine= map1.get("ITEM_EXAMINE");
      }
    }
    var result = new Packages.java.util.HashMap(); //创建指定类对象
    if(isNotNull(examine)){
      result.put("examine",examine)
    }else{
      result.put("error",-1);
    }
    return result;     
  }else{
    var result = new Packages.java.util.HashMap(); //创建指定类对象
    result.put("code", "-1");
    result.put("msg", "考试id不能为空");
    return result;
  }

})()]]></responseScript>
</Api>