jiangping
2023-12-21 83c7cfa4ecd5d59106b09efff26be43141e38386
server/dmvisit_service/src/main/java/com/doumee/core/haikang/model/HKTools.java
@@ -455,6 +455,72 @@
      saveInterfaceLog(body,result,path);
      return  result;
   }
   /**
    *   创建一卡通权限下载任务
    * @param body
    * @return
    */
   public static String taskAddition(String body) {
      Map<String, String> path = getPath(HKConstants.InterfacePath.taskAddition);
      String result = ArtemisHttpUtil.doPostStringArtemis(path, body, null, null, "application/json", null);// post请求application/json类型参数
      saveInterfaceLog(body,result,path);
      return  result;
   }
   /**
    *   查询一卡通权限查询设备通道的人员权限下载详情总数v2
    * @param body
    * @return
    */
   public static String taskProgress(String body) {
      Map<String, String> path = getPath(HKConstants.InterfacePath.taskProgress);
      String result = ArtemisHttpUtil.doPostStringArtemis(path, body, null, null, "application/json", null);// post请求application/json类型参数
      saveInterfaceLog(body,result,path);
      return  result;
   }
   /**
    *   查询一卡通权限下载任务进度
    * @param body
    * @return
    */
   public static String taskProgressNum(String body) {
      Map<String, String> path = getPath(HKConstants.InterfacePath.taskProgressNum);
      String result = ArtemisHttpUtil.doPostStringArtemis(path, body, null, null, "application/json", null);// post请求application/json类型参数
      saveInterfaceLog(body,result,path);
      return  result;
   }
   /**
    *   一卡通权限下载任务中添加数据_根据人员与设备通道指定下载
    * @param body
    * @return
    */
   public static String taskDataAddition(String body) {
      Map<String, String> path = getPath(HKConstants.InterfacePath.taskDataAddition);
      String result = ArtemisHttpUtil.doPostStringArtemis(path, body, null, null, "application/json", null);// post请求application/json类型参数
      saveInterfaceLog(body,result,path);
      return  result;
   }
   /**
    *   一卡通开始下载任务
    * @param body
    * @return
    */
   public static String taskStart(String body) {
      Map<String, String> path = getPath(HKConstants.InterfacePath.taskStart);
      String result = ArtemisHttpUtil.doPostStringArtemis(path, body, null, null, "application/json", null);// post请求application/json类型参数
      saveInterfaceLog(body,result,path);
      return  result;
   }
   /**
    * 查询权限条目列表
    * @param body
    * @return
    */
   public static String authItemList(String body) {
      Map<String, String> path = getPath(HKConstants.InterfacePath.authItemList);
      String result = ArtemisHttpUtil.doPostStringArtemis(path, body, null, null, "application/json", null);// post请求application/json类型参数
      saveInterfaceLog(body,result,path);
      return  result;
   }