package cn.ksource.web.facade.uc.login;
|
|
import java.util.List;
|
import java.util.Map;
|
|
import javax.servlet.http.HttpServletRequest;
|
|
import cn.ksource.core.web.WebLoginUser;
|
|
public interface UcFacade {
|
|
/**
|
* 修改用户的初始化密码
|
* @param userId 用户名
|
* @param newPassword 新密码
|
* @return
|
*/
|
String updateUserPwd(String userId, String newPassword);
|
|
/**
|
* 修改用户密码
|
* @param userId 用户名
|
* @param oldPassword 原密码
|
* @param newPassword 新密码
|
* @return
|
*/
|
String updateUserOldPwd(String userId, String oldPassword, String newPassword);
|
|
/**
|
* 绑定用户手机号码
|
* @param userId
|
* @param mobile
|
* @return
|
*/
|
String updateUserMobile(String userId, String mobile);
|
/**
|
* 判断该手机号是否已经绑定过
|
* @param userId
|
* @param mobile
|
* @return
|
*/
|
boolean isPhone(String userId, String mobile);
|
/**
|
* 绑定用户手机号码
|
* @param userId
|
* @param mobile
|
* @return
|
*/
|
String updateUserEmail(String userId, String email);
|
/**
|
* 判断该邮箱是否已经绑定过
|
* @param userId
|
* @param mobile
|
* @return
|
*/
|
boolean isEmail(String userId, String email);
|
|
/**
|
* 获取客户基本信息
|
* @param customer_Id
|
* @return
|
*/
|
Map getCusMsgByCusId(String customer_Id);
|
|
/**
|
* 获取客户满意度分数
|
* @param customer_Id
|
* @return
|
*/
|
String getCusSatisByCusId(String customer_Id);
|
|
/**
|
* 获取客户人员数量
|
* @param customer_Id
|
* @return
|
*/
|
int getZcUserByCusId(String customer_Id);
|
|
/**
|
* 获取客户工单数量
|
* @param customer_Id
|
* @return
|
*/
|
List<Map> getOrderNumByCusId(String customer_Id);
|
|
/**
|
* 获取客户工单
|
* @param customer_Id
|
* @param i
|
* @return
|
*/
|
List<Map> getOrderListByCusId(String customer_Id, int i);
|
|
/**
|
* 获取客户日常巡检次数
|
* @param customer_Id
|
* @return
|
*/
|
int getZcxjCount(String customer_Id);
|
|
/**
|
* 获取角色对应人数
|
* @param customer_Id
|
* @return
|
*/
|
int getUserByRole(String rolemark);
|
|
/**
|
* 查看密码是否正确
|
* @param userId
|
* @param pwd
|
* @return
|
*/
|
int getUserByPwd(String userId, String pwd);
|
|
/**
|
* 一键报修
|
* @param params
|
* @author chenlong
|
*/
|
void doSubRepair(Map<String, String> params);
|
|
}
|