<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<Api id="__lifg1eTNJL4w0oDsPU6">
  <name>模拟考试记录</name>
  <parentId>__LgZds5MVHW3o08T7UcX</parentId>
  <applicationid>__LgZds5MVHW3o08T7UcX</applicationid>
  <status>published</status>
  <apiGroup></apiGroup>
  <encode>UTF-8</encode>
  <requestType>post</requestType>
  <requestUrl>/mock/record</requestUrl>
  <tags></tags>
  <responseType>json</responseType>
  <responseScript><![CDATA[(function () {
  var result = new Packages.java.util.HashMap(); //创建指定类对象
    
    var sql="select  item_time,item_person_name,item_person_id,item_true_count,item_false_count,item_null_count,item_score from tlk_mock_exam_record where  item_person_id='"+getWebUser().getId()+"' order by created desc "
    var datas = queryByDSName("tms",sql);
  result.put("total", datas.size());
    result.put("date", datas);
    result.put("code", 200);

  return result;
})()]]></responseScript>
</Api>