public interface AuditCommonService
| 限定符和类型 | 方法和说明 |
|---|---|
void |
addHuanXinIMUser(String username)
向环信后台添加用户
|
List<Storage> |
getEsrStorageList(Long venderTaskId)
根据传入的venderTaskId获得在途已售报告记录的storage list
esr表示enrouteStorageReport
|
String[] |
getHuanXinToken()
获取环信的token,用于验证
|
Map<String,Vender> |
judgeCurrentManager(com.ptteng.haichuan.pub.model.Manager manager)
用来判断当前的账号是厂家账号或是第三方账号
map中的key分三种情况: "vender"对应厂家账号且非禁用 "thirdParty"对应第三方账号 "forbidden"对应厂家账号但被禁用 这三个字符常量的定义在 Manager中 |
void |
pushHuanXinMsg(String username,
String content)
给某个环信后台已录入的用户推送消息
|
Map<String,Vender> judgeCurrentManager(com.ptteng.haichuan.pub.model.Manager manager) throws com.gemantic.common.exception.ServiceDaoException, com.gemantic.common.exception.ServiceException
Manager中manager - com.gemantic.common.exception.ServiceDaoExceptioncom.gemantic.common.exception.ServiceExceptionvoid addHuanXinIMUser(String username) throws com.gemantic.common.exception.ServiceDaoException, com.gemantic.common.exception.ServiceException
username - 用户名com.gemantic.common.exception.ServiceDaoExceptioncom.gemantic.common.exception.ServiceExceptionvoid pushHuanXinMsg(String username, String content) throws com.gemantic.common.exception.ServiceDaoException, com.gemantic.common.exception.ServiceException
username - 用户名,即member的account字段content - 推送的消息内容com.gemantic.common.exception.ServiceDaoExceptioncom.gemantic.common.exception.ServiceExceptionString[] getHuanXinToken()
List<Storage> getEsrStorageList(Long venderTaskId) throws com.gemantic.common.exception.ServiceDaoException, com.gemantic.common.exception.ServiceException
venderTaskId - 厂家idcom.gemantic.common.exception.ServiceDaoExceptioncom.gemantic.common.exception.ServiceExceptionCopyright © 2017. All rights reserved.