SyncService.java
857 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
/**
* Copyright (C) 2004-2018 ALL Rights Reserved
*/
package com.example;
import com.model.UserInfo;
import javax.jws.WebMethod;
import javax.jws.WebService;
/**
*
* @author chenchao@HF
* @since 2018-04-03 17:59:40
*
*/
@WebService(
name = "SyncService",
targetNamespace = "http://webService.project.machinery.ctcemti.com")
public interface SyncService {
/**
* 同步组织接口
* @param userInfo 传递过来的组织数据
*/
@WebMethod
String syncOrganize(UserInfo userInfo);
/**
* 同步岗位接口
* @param positionData 传递过来的岗位数据
*/
@WebMethod
String syncPosition(String positionData);
/**
* 同步人员接口
* @param userInfo 传递过来的人员数据
*/
@WebMethod
String syncUser(String userInfo);
}