| | |
| | | package com.vci.ubcs.code.service; |
| | | import javax.jws.WebService; |
| | | |
| | | /** |
| | | * 统一接口 |
| | | * |
| | | * @author xiejun |
| | | * @date 2022-11-27 |
| | | */ |
| | | |
| | | @WebService(targetNamespace = "http://code.ubcs.vci.com/",name = "universalInterface") |
| | | public interface UniversalInterfaceI { |
| | | /** |
| | | *统一申请编码接口 |
| | | * @param data 传递的数据参数 |
| | | * @param dataType 标识data是xml格式还是json格式,接口返回数据也是按照这个格式,以下接口类同 |
| | | * @return xml格式/json格式 |
| | | * @throws Throwable |
| | | */ |
| | | public String applyCode(String data,String dataType)throws Throwable; |
| | | |
| | | /*** |
| | | * 统一更新接口 |
| | | * @param data |
| | | * @param dataType |
| | | * @return |
| | | * @throws Throwable |
| | | */ |
| | | public String syncEditData(String data,String dataType)throws Throwable; |
| | | |
| | | /*** |
| | | * 查询分类口 |
| | | * @param data |
| | | * @param dataType |
| | | * @throws Throwable |
| | | */ |
| | | public String queryClassify(String data,String dataType)throws Throwable; |
| | | |
| | | /*** |
| | | * 查询数据 |
| | | * @param data |
| | | * @param dataType |
| | | * @throws Throwable |
| | | */ |
| | | public String queryData(String data,String dataType)throws Throwable; |
| | | |
| | | /*** |
| | | * 返回编码规则接口 |
| | | */ |
| | | public String queryClassifyRule(String data,String datatype)throws Throwable; |
| | | |
| | | } |