/**   
 * Copyright © 2018 eSunny Info. Tech Ltd. All rights reserved.
 * 
 * 功能描述：
 * @Package: org.cs.webservice 
 * @author: <GZY>75166631@qq.com  
 * @date: 2018年6月20日 上午8:36:01 
 */
package org.cs.webservice;

import java.util.List;

import javax.jws.WebParam;
import javax.jws.WebService;

import org.cs.mgr.user.model.MgmUser;

import com.alibaba.fastjson.JSONObject;  
  
/** 
 * @author zhang 
 * @desc Interface 
 */  
@WebService  
public interface IUserService {
	
    public JSONObject discontinuationMgmUser(@WebParam(name="code")String code);
    
    public JSONObject insertMgmUser(@WebParam(name="code")String code, @WebParam(name="name")String name, @WebParam(name="idnumber")String idnumber,
                                    @WebParam(name="mail")String mail, @WebParam(name="qq")String qq, @WebParam(name="weixin")String weixin,
                                    @WebParam(name="province")String province, @WebParam(name="city")String city, @WebParam(name="area")String area,
                                    @WebParam(name="address")String address, @WebParam(name="deptcode")String deptcode, @WebParam(name="deptname")String deptname,
                                    @WebParam(name="deptpath")String deptpath);
    //String code,String name,String idnumber,String mail,String qq,String weixin,String province,String city,String area,String address
    
    public JSONObject updateMgmUser(@WebParam(name="code")String code, @WebParam(name="name")String name, @WebParam(name="idnumber")String idnumber,
                                    @WebParam(name="mail")String mail, @WebParam(name="qq")String qq, @WebParam(name="weixin")String weixin,
                                    @WebParam(name="province")String province, @WebParam(name="city")String city, @WebParam(name="area")String area,
                                    @WebParam(name="address")String address, @WebParam(name="deptcode")String deptcode, @WebParam(name="deptname")String deptname,
                                    @WebParam(name="deptpath")String deptpath);
} 
