SyncService.java 857 Bytes
/**
 * 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);




}