I get error:
我收到错误:
',' or ')' expected
','或')'预计
My MonitorQueryWsImpl :
我的MonitorQueryWsImpl:
@WebService(endpointInterface = "com.cinsoft.smart3.monitor.ws.MonitorQueryWs",targetNamespace = "http://ws.monitor.smart3.cinsoft.com/")
public class MonitorQueryWsImpl implements MonitorQueryWs {
@Autowired
private MonitorQueryService monitorQueryService;
/**
* 监控滚动信息接口 (I_D_TraceFlowInfo)
*
* @param projectNo 项目编号
* @param areaNo 行政区划编号字符串
* @param secrectKey 密钥
* @return
*/
@Override
public String traceFlowInfo(String projectNo, String areaNo, String secrectKey) {
return monitorQueryService.traceFlowInfo(String projectNo, String areaNo, String secrectKey); // Here I got the error.
}
}
In my MonitorQueryService:
在我的MonitorQueryService中:
public interface MonitorQueryService extends BaseService {
/**
* 监控滚动信息接口 (I_D_TraceFlowInfo)
*
* @param projectNo 项目编号
* @param areaNo 行政区划编号字符串
* @param secrectKey 密钥
* @return
*/
public String traceFlowInfo(String projectNo, String areaNo, String secrectKey);
}
So, I think my code is no mistake, but why I get the error, strange?
所以,我认为我的代码没有错,但为什么我得到错误,奇怪?
1 个解决方案
#1
3
You don't call methods with types, just variables
您不会使用类型调用方法,只调用变量
return monitorQueryService.traceFlowInfo(projectNo, areaNo, secrectKey);
#1
3
You don't call methods with types, just variables
您不会使用类型调用方法,只调用变量
return monitorQueryService.traceFlowInfo(projectNo, areaNo, secrectKey);