标签:
slq-service
pom.xml
依赖siq-common,slq-user
dao
db
ServiceDBDAOImpl.java(客服信息DB DAO)
redis
ServiceRedisDAOImpl.java(客服信息redis DAO实现类)
void initOrder(Long serviceId);(初始化客服)
void initOrder(Long serviceId, int orders);(初始化客服)
void deleteOrder(Long serviceId);(删除客服)
void increOrder(Long serviceId);(增加客服忙碌度)
void increOrder(Long serviceId, int orders);(增加客服忙碌度)
void reduceOrder(Long serviceId);(降低客服忙碌度)
void reduceOrder(Long serviceId, int orders);(降低客服忙碌度)
Long getRelaxService();(获取空闲客服ID)
void addSubChatService(Long mainServiceId,Long subServiceId);(增加主客服对应的子客服)
List<String> getSubChatService(Long mainServiceId);(获取主客服对应的所有子客服)
business
ServiceInfoManagerImpl.java(客服信息管理实现类)
UserInfo relaxService();(获取忙碌程度较低的客服)
标签:
原文地址:http://www.cnblogs.com/Crow00/p/4502833.html