08.06.01.tiptop webserver接口篇(收集接口:查询接口)

  • 1、EF OA的接口
    • 测试区:http://erp2.waichi.com/web/ws/r/aws_efsrv_toptest?wsdl
    • 正式区:http://erp2.waichi.com/web/ws/r/aws_efsrv?wsdl
  • 2、ERP日常接口
    • 测试区:http://erp2.waichi.com/web/ws/r/aws_ttsrv2_toptest?wsdl
    • 正式区:http://erp.waichi.com/web/ws/r/aws_ttsrv2?wsdl
  • 3、字段说明
    • user:erp账号
    • password:erp的密码
    • application:呼叫端系統代號
      • 后台代码:g_access.application 可以获取
    • source:呼叫端來源 IP or Host
    • Organization: 填写ERP运营中心代号
    • language:zh_tw(繁體) / zh_cn(簡體) / en_us(英文)

本页目录:

  • 1、单表查询
    • 1.1、ima_file
    • 1.2、smy_file
    • 1.3、pmc_file
    • 1.4、gen_file
    • 1.5、gem_file
    • 1.6、gec_file
    • 1.7、azi_file
    • 1.8、mse_file
  • 2、多表查询
    • pja_file(一) 对 pjb_file(多)
  • 3、自定义查询

单表查询

  • 使用Apipost工具进行http接口访问
在这里插入图片描述

ima_file

  • 源代码:
    • 注册服务接口案例:/u1/topprod/tiptop/aws/4gl/aws_ttsrv2_service.4gl
    • GetItemData接口案例代码:/u1/topprod/tiptop/aws/4gl/aws_get_item_data.4gl
  • 请求参数
    • url:http://erp2.waichi.com/web/ws/r/aws_ttsrv2_toptest?wsdl
    • 请求方式:POST
    • Header
Content-Type:text/xml;charset=UTF-8 SOAPAction:""
- Body - raw 选xml 
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tip="http://www.dsc.com.tw/tiptop/TIPTOPServiceGateWay"><soapenv:Header/><soapenv:Body><tip:GetItemDataRequest><tip:request><![CDATA[<Request><Access><Authentication user="xxx"password="xxxx" /><Connection application="tiptop"source="erp2.waichi.com" /><Organization name="BLPROD" /><Locale language="zh_tw" /></Access><RequestContent><Parameter><Record><Field name="condition"value="ima01 = 'FFB-WS8762NNN-05'" /></Record></Parameter><Document /></RequestContent></Request>]]></tip:request></tip:GetItemDataRequest></soapenv:Body></soapenv:Envelope>

‵说明:Field标签key是condition的value可模糊查询 value=“xxx LIKE ‘xxx%’” `

smy_file

  • 源代码:
    • 注册服务接口案例:/u1/topprod/tiptop/aws/4gl/aws_ttsrv2_service.4gl
    • GetMFGDocument接口案例代码:/u1/topprod/tiptop/aws/4gl/aws_get_mfg_document.4gl
  • 请求参数
    • url:http://erp2.waichi.com/web/ws/r/aws_ttsrv2_toptest?wsdl
    • 请求方式:POST
    • Header
Content-Type:text/xml;charset=UTF-8 SOAPAction:""
- Body - raw 选xml 
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tip="http://www.dsc.com.tw/tiptop/TIPTOPServiceGateWay"><soapenv:Header/><soapenv:Body><tip:GetMFGDocumentRequest><tip:request><![CDATA[<Request><Access><Authentication user="xxx"password="xxxx" /><Connection application="tiptop"source="erp2.waichi.com" /><Organization name="BLPROD" /><Locale language="zh_tw" /></Access><RequestContent><Parameter><Record><Field name="condition"value="1=1" /><Field name="sys"value="asf" /><Field name="kind"value="1" /></Record></Parameter><Document /></RequestContent></Request>]]></tip:request></tip:GetMFGDocumentRequest></soapenv:Body></soapenv:Envelope>

‵说明:Field标签key是condition的value可模糊查询 value=“xxx LIKE ‘xxx%’” `

pmc_file

  • 源代码:
    • 注册服务接口案例:/u1/topprod/tiptop/aws/4gl/aws_ttsrv2_service.4gl
    • GetSupplierData接口案例代码:/u1/topprod/tiptop/aws/4gl/aws_get_supplier_data.4gl
  • 请求参数
    • url:http://erp2.waichi.com/web/ws/r/aws_ttsrv2_toptest?wsdl
    • 请求方式:POST
    • Header
Content-Type:text/xml;charset=UTF-8 SOAPAction:""
- Body - raw 选xml 
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tip="http://www.dsc.com.tw/tiptop/TIPTOPServiceGateWay"><soapenv:Header/><soapenv:Body><tip:GetSupplierDataRequest><tip:request><![CDATA[<Request><Access><Authentication user="xxx"password="xxxx" /><Connection application="tiptop"source="erp2.waichi.com" /><Organization name="BLPROD" /><Locale language="zh_tw" /></Access><RequestContent><Parameter><Record><Field name="condition"value="pmc01 LIKE 'WC-%'" /></Record></Parameter><Document /></RequestContent></Request>]]></tip:request></tip:GetSupplierDataRequest></soapenv:Body></soapenv:Envelope>

‵说明:Field标签key是condition的value可模糊查询 value=“xxx LIKE ‘xxx%’” `

gen_file

  • 源代码:
    • 注册服务接口案例:/u1/topprod/tiptop/aws/4gl/aws_ttsrv2_service.4gl
    • GetEmployeeData接口案例代码:/u1/topprod/tiptop/aws/4gl/aws_get_employee_data.4gl
  • 请求参数
    • url:http://erp2.waichi.com/web/ws/r/aws_ttsrv2_toptest?wsdl
    • 请求方式:POST
    • Header
Content-Type:text/xml;charset=UTF-8 SOAPAction:""
- Body - raw 选xml 
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tip="http://www.dsc.com.tw/tiptop/TIPTOPServiceGateWay"><soapenv:Header/><soapenv:Body><tip:GetEmployeeDataRequest><tip:request><![CDATA[<Request><Access><Authentication user="xxx"password="xxxx" /><Connection application="tiptop"source="erp2.waichi.com" /><Organization name="BLPROD" /><Locale language="zh_tw" /></Access><RequestContent><Parameter><Record><Field name="condition"value="gen01 LIKE 'BL076%'" /></Record></Parameter><Document /></RequestContent></Request>]]></tip:request></tip:GetEmployeeDataRequest></soapenv:Body></soapenv:Envelope>

‵说明:Field标签key是condition的value可模糊查询 value=“xxx LIKE ‘xxx%’” `

gem_file

  • 源代码:
    • 注册服务接口案例:/u1/topprod/tiptop/aws/4gl/aws_ttsrv2_service.4gl
    • GetEmployeeData接口案例代码:/u1/topprod/tiptop/aws/4gl/aws_get_department_data.4gl
  • 请求参数
    • url:http://erp2.waichi.com/web/ws/r/aws_ttsrv2_toptest?wsdl
    • 请求方式:POST
    • Header
Content-Type:text/xml;charset=UTF-8 SOAPAction:""
- Body - raw 选xml 
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tip="http://www.dsc.com.tw/tiptop/TIPTOPServiceGateWay"><soapenv:Header/><soapenv:Body><tip:GetDepartmentDataRequest><tip:request><![CDATA[<Request><Access><Authentication user="xxx"password="xxxx" /><Connection application="tiptop"source="erp2.waichi.com" /><Organization name="BLPROD" /><Locale language="zh_tw" /></Access><RequestContent><Parameter><Record><Field name="condition"value="gem01 LIKE 'NFC%'" /></Record></Parameter><Document /></RequestContent></Request>]]></tip:request></tip:GetDepartmentDataRequest></soapenv:Body></soapenv:Envelope>

‵说明:Field标签key是condition的value可模糊查询 value=“xxx LIKE ‘xxx%’” `

gec_file

  • 源代码:
    • 注册服务接口案例:/u1/topprod/tiptop/aws/4gl/aws_ttsrv2_service.4gl
    • GetTaxTypeData接口案例代码:/u1/topprod/tiptop/aws/4gl/aws_get_tax_type_data.4gl
  • 请求参数
    • url:http://erp2.waichi.com/web/ws/r/aws_ttsrv2_toptest?wsdl
    • 请求方式:POST
    • Header
Content-Type:text/xml;charset=UTF-8 SOAPAction:""
- Body - raw 选xml 
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tip="http://www.dsc.com.tw/tiptop/TIPTOPServiceGateWay"><soapenv:Header/><soapenv:Body><tip:GetTaxTypeDataRequest><tip:request><![CDATA[<Request><Access><Authentication user="xxx"password="xxxx" /><Connection application="tiptop"source="erp2.waichi.com" /><Organization name="BLPROD" /><Locale language="zh_tw" /></Access><RequestContent><Parameter><Record><Field name="condition"value="gec01 LIKE 'T1%'" /></Record></Parameter><Document /></RequestContent></Request>]]></tip:request></tip:GetTaxTypeDataRequest></soapenv:Body></soapenv:Envelope>

‵说明:Field标签key是condition的value可模糊查询 value=“xxx LIKE ‘xxx%’” `

azi_file

  • 源代码:
    • 注册服务接口案例:/u1/topprod/tiptop/aws/4gl/aws_ttsrv2_service.4gl
    • GetCurrencyData接口案例代码:/u1/topprod/tiptop/aws/4gl/aws_get_currency_data.4gl
  • 请求参数
    • url:http://erp2.waichi.com/web/ws/r/aws_ttsrv2_toptest?wsdl
    • 请求方式:POST
    • Header
Content-Type:text/xml;charset=UTF-8 SOAPAction:""
- Body - raw 选xml 
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tip="http://www.dsc.com.tw/tiptop/TIPTOPServiceGateWay"><soapenv:Header/><soapenv:Body><tip:GetCurrencyDataRequest><tip:request><![CDATA[<Request><Access><Authentication user="xxx"password="xxxx" /><Connection application="tiptop"source="erp2.waichi.com" /><Organization name="BLPROD" /><Locale language="zh_tw" /></Access><RequestContent><Parameter><Record><Field name="condition"value="azi01 LIKE '%B%'" /></Record></Parameter><Document /></RequestContent></Request>]]></tip:request></tip:GetCurrencyDataRequest></soapenv:Body></soapenv:Envelope>

‵说明:Field标签key是condition的value可模糊查询 value=“xxx LIKE ‘xxx%’” `

mse_file

  • 源代码:
    • 注册服务接口案例:/u1/topprod/tiptop/aws/4gl/aws_ttsrv2_service.4gl
    • GetBrandData接口案例代码:/u1/topprod/tiptop/aws/4gl/aws_get_brand_data.4gl
  • 请求参数
    • url:http://erp2.waichi.com/web/ws/r/aws_ttsrv2_toptest?wsdl
    • 请求方式:POST
    • Header
Content-Type:text/xml;charset=UTF-8 SOAPAction:""
- Body - raw 选xml 
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tip="http://www.dsc.com.tw/tiptop/TIPTOPServiceGateWay"><soapenv:Header/><soapenv:Body><tip:GetBrandDataRequest><tip:request><![CDATA[<Request><Access><Authentication user="xxx"password="xxxx" /><Connection application="tiptop"source="erp2.waichi.com" /><Organization name="BLPROD" /><Locale language="zh_tw" /></Access><RequestContent><Parameter><Record><Field name="condition"value="mse01 LIKE '%' " /></Record></Parameter><Document /></RequestContent></Request>]]></tip:request></tip:GetBrandDataRequest></soapenv:Body></soapenv:Envelope>

‵说明:Field标签key是condition的value可模糊查询 value=“xxx LIKE ‘xxx%’” `

多表查询

pja_file(一) 对 pjb_file(多)

  • 源代码:
    • 注册服务接口案例:/u1/topprod/tiptop/aws/4gl/aws_ttsrv2_service.4gl
    • GetProjectWBSData接口案例代码:/u1/topprod/tiptop/aws/4gl/aws_get_project_wbs_data.4gl
  • 请求参数
    • url:http://erp2.waichi.com/web/ws/r/aws_ttsrv2_toptest?wsdl
    • 请求方式:POST
    • Header
Content-Type:text/xml;charset=UTF-8 SOAPAction:""
- Body - raw 选xml 
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tip="http://www.dsc.com.tw/tiptop/TIPTOPServiceGateWay"><soapenv:Header/><soapenv:Body><tip:GetProjectWBSDataRequest><tip:request><![CDATA[<Request><Access><Authentication user="xxx"password="xxxx" /><Connection application="tiptop"source="erp2.waichi.com" /><Organization name="BLPROD" /><Locale language="zh_tw" /></Access><RequestContent><Parameter><Record><Field name="condition"value="pja01='2015ITEM06' AND pjb02='0043-0001-0002'" /></Record></Parameter><Document /></RequestContent></Request>]]></tip:request></tip:GetProjectWBSDataRequest></soapenv:Body></soapenv:Envelope>

‵说明:Field标签key是condition的value可模糊查询 value=“xxx LIKE ‘xxx%’” `

自定义查询

  • 源代码:
    • 注册服务接口案例:/u1/topprod/tiptop/aws/4gl/aws_ttsrv2_service.4gl
    • CustomizeQueryData接口案例代码:/u1/topprod/tiptop/aws/4gl/aws_customize_query_data.4gl
  • 请求参数
    • url:http://erp2.waichi.com/web/ws/r/aws_ttsrv2_toptest?wsdl
    • 请求方式:POST
    • Header
Content-Type:text/xml;charset=UTF-8 SOAPAction:""
- Body - raw 选xml 
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:tip="http://www.dsc.com.tw/tiptop/TIPTOPServiceGateWay"><soapenv:Header/><soapenv:Body><tip:CustomizeQueryDataRequest><tip:request><![CDATA[<Request><Access><Authentication user="xxx"password="xxxx" /><Connection application="tiptop"source="erp2.waichi.com" /><Organization name="BLPROD" /><Locale language="zh_tw" /></Access><RequestContent><Parameter><Record><Field name="setFields"value="pmn33,pmn01,pmn02,pmn09,pmn37,pmnud10" /><Field name="setSql"value="SELECT pmn33,pmn01,pmn02,pmn09,pmn37,pmnud10 FROM pmn_file WHERE pmn01 ='VFU22-22100017' AND pmn02 IN ('1','2','3') " /><Field name="setType"value="Single" /></Record></Parameter><Document /></RequestContent></Request>]]></tip:request></tip:CustomizeQueryDataRequest></soapenv:Body></soapenv:Envelope>

Read more

WorkBuddy 使用指南:从零开始配置 QQ 机器人,解锁桌面智能体新玩法

WorkBuddy 使用指南:从零开始配置 QQ 机器人,解锁桌面智能体新玩法

文章目录 * 前言 * 下载 WorkBuddy * 认识 WorkBuddy * 插件类型 * 配置 QQ 机器人 * 登录 QQ 开放平台并注册激活账号 * 配置超级管理员、主体及认证信息 * 创建 QQ 机器人 * 获取 AppID 和 AppSecret * 从 Claw 中获取 Webhook * 在 QQ 开发平台配置回调地址 * 开始使用 WorkBuddy Claw * 总结 前言 在大家还在沉迷于如何搭建 OpenClaw 的时候,腾讯竟然悄悄公测了 WorkBuddy。这是一款面向全角色的桌面智能体,下达指令即可自动生成文档、表格、图表及 PPT 等可视化成果,能够自主规划并交付多模态复杂任务结果,支持多 Agents 并行工作,极致提效,

【OpenHarmony】鸿蒙Flutter智能家居应用开发实战指南

【OpenHarmony】鸿蒙Flutter智能家居应用开发实战指南

鸿蒙Flutter智能家居应用开发实战指南 概述 智能家居是鸿蒙全场景生态的重要应用场景。本文讲解如何基于鸿蒙Flutter框架,开发一套完整的智能家居应用,实现设备发现、控制、场景联动、语音交互等核心功能。 欢迎加入开源鸿蒙跨平台社区:https://openharmonycrossplatform.ZEEKLOG.net 系统架构设计 整体架构图 ┌────────────────────────────────────────────────────────────┐ │ 用户交互层 (Flutter) │ │ ┌─────────────┐ ┌─────────────┐ ┌─────────────┐ │ │ │ 设备控制面板 │ │ 场景编排 │ │ 语音交互 │ │ │ └─────────────┘ └─────────────┘ └─────────────┘ │ └───────────────────────┬────────────────────────────────────┘ │ RPC/事件总线 ┌────────────────────

ROS 2从入门到精通系列(十六):自主导航机器人 - 系统架构与SLAM

ROS 2从入门到精通系列(十六):自主导航机器人 - 系统架构与SLAM 构建完整的自主导航系统,从建图到导航的端到端实现。 引言 自主导航是机器人最经典的应用之一。它涉及: * 感知:LIDAR扫描、里程计 * 建图:SLAM建立环境地图 * 规划:生成无碰撞路径 * 控制:执行运动命令 本篇将从0到1构建一个完整的导航系统。 一、自主导航系统架构 1.1 完整的系统架构 硬件层 控制模块 运动控制 PID Control 安全监督 Emergency Stop 规划模块 全局规划 Dijkstra/A* 局部规划 DWA/TEB 可行性检查 Feasibility Check 感知模块 扫描匹配 Scan Matching 里程计 Odometry

SmolVLA高算力适配:TensorRT加速可行性分析与ONNX导出实操

SmolVLA高算力适配:TensorRT加速可行性分析与ONNX导出实操 1. 项目背景与核心价值 SmolVLA作为一款专为经济实惠机器人技术设计的紧凑型视觉-语言-动作模型,在资源受限环境下展现出了令人印象深刻的性能。这个约5亿参数的模型能够同时处理视觉输入、语言指令和动作输出,为机器人控制提供了端到端的解决方案。 在实际部署中,我们经常面临一个关键挑战:如何在保持模型精度的同时,进一步提升推理速度以满足实时控制需求?这就是TensorRT加速技术发挥作用的地方。通过将SmolVLA模型转换为TensorRT引擎,我们有望获得显著的性能提升,特别是在NVIDIA GPU硬件上。 本文将带你深入了解SmolVLA模型的TensorRT加速可行性,并提供详细的ONNX导出实操指南,帮助你在自己的机器人项目中实现更高效的推理性能。 2. TensorRT加速技术解析 2.1 TensorRT的核心优势 TensorRT是NVIDIA推出的高性能深度学习推理优化器和运行时库,它通过多种技术手段提升模型推理效率: * 图层融合:将多个连续的操作层合并为单个内核,减少内