You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
admin-client-temperature/src/main/java/com/rehome/mqttclienttemperature/webservice/AgencyService.java

38 lines
2.0 KiB
Java

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

package com.rehome.mqttclienttemperature.webservice;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
/**
* 单位信息 webService 远程接口
* 1、@javax.jws.WebService 定义接口为 webservice 服务。
* @author HuangWenfei
* @version 1.0
* @date 2025/04/15 13:44
*/
@WebService(targetNamespace = "http://webservice.mqttclienttemperature.rehome.com/")
public interface AgencyService {
/**
* 查询单位信息
* 1、@WebMethod 定义方法为 webservice 方法。写或不写,服务端都会将 @WebService 中的所有方法提供给客户端调用。建议全部写上。
* * operationName操作名称默认为方法名称。
* 2、@WebParam 定义方法参数用于定义wsdl中的参数映射名称方便查看与调用否则会是 arg0、arg1 ...。建议写上。
* 3、@WebResult 定义 wsdl 文件中,服务端方法返回值名称,默认为 result方便查看与调用。建议写上。
* @param paramJson Json 对象字符串,复杂对象统一转成 json 对象字符串进行传输,双方接收后再转成 Json 对象
* @return Json 对象字符串,复杂对象统一转成 json 对象字符串进行传输,双方接收后再转成 Json 对象 或者自己需要的实体对象。
*/
@WebMethod(operationName = "queryAgencyStatInfo")
@WebResult(name = "queryResult")
String queryAgencyStatInfo(@WebParam(name = "paramBody") String paramJson);
/**
* 更正单位信息
* @param paramJson Json 对象字符串,复杂对象统一转成 json 对象字符串进行传输,双方接收后再转成 Json 对象
* @return Json 对象字符串,复杂对象统一转成 json 对象字符串进行传输,双方接收后再转成 Json 对象 或者自己需要的实体对象。
*/
@WebMethod(operationName = "syncAgencyStatInfo")
@WebResult(name = "syncResult")
String syncAgencyStatInfo(@WebParam(name = "paramBody") String paramJson);
}