@Transactional(rollbackFor=java.lang.Exception.class) @Service public class CoreTongzxxServiceImpl extends BaseServiceImpl<CoreTongzxx> implements CoreTongzxxService
限定符和类型 | 类和说明 |
---|---|
static class |
CoreTongzxxServiceImpl.TongzxxVo |
限定符和类型 | 字段和说明 |
---|---|
javax.servlet.http.HttpServletRequest |
request |
(专用程序包) SqlExecutor |
sqlExecutor |
构造器和说明 |
---|
CoreTongzxxServiceImpl() |
限定符和类型 | 方法和说明 |
---|---|
CoreTongzxx |
addEntity(CoreTongzxx entity)
新增实体并返回实体
|
java.util.List<java.lang.String> |
findOnlineUserIds() |
void |
sendTongzxx()
发送那些未发送过的通知消息
|
void |
setReadStatus(java.lang.String rwid)
设置消息已读
|
void |
setSendStatus(java.lang.String rwid)
设置消息已发送
|
add, confirm, findAll, findList, getEntity, modify, removeById, removeByIds, saveJdbc, startProcess, startProcess
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
add, confirm, findAll, findList, getEntity, modify, removeById, removeByIds, startProcess, startProcess
@Autowired SqlExecutor sqlExecutor
@Autowired public javax.servlet.http.HttpServletRequest request
public CoreTongzxx addEntity(CoreTongzxx entity) throws java.lang.Exception
BaseService
addEntity
在接口中 BaseService<CoreTongzxx>
addEntity
在类中 BaseServiceImpl<CoreTongzxx>
entity
- 实体对象java.lang.Exception
- 出错会抛出异常public void setReadStatus(java.lang.String rwid) throws java.lang.Exception
CoreTongzxxService
setReadStatus
在接口中 CoreTongzxxService
rwid
- 消息唯一IDjava.lang.Exception
public void setSendStatus(java.lang.String rwid) throws java.lang.Exception
CoreTongzxxService
setSendStatus
在接口中 CoreTongzxxService
java.lang.Exception
public void sendTongzxx() throws java.lang.Exception
CoreTongzxxService
sendTongzxx
在接口中 CoreTongzxxService
java.lang.Exception
public java.util.List<java.lang.String> findOnlineUserIds()