|
|
@@ -319,7 +319,8 @@ public class MessageServiceImpl extends BaseMybatisDao<MessageFromSystemMapper>
|
|
|
|
|
|
@Override
|
|
|
public int updateMessageConsumer(String messageId) {
|
|
|
- return messageFromSystemMapper.updateMessageConsumer(messageId, TokenManager.getUserId() , new Date());
|
|
|
+// return messageFromSystemMapper.updateMessageConsumer(messageId, TokenManager.getUserId() , new Date());
|
|
|
+ return messageFromSystemMapper.updateMessageConsumer(messageId, "71a05e9c-a392-480d-817e-678be136cddc" , new Date());
|
|
|
}
|
|
|
|
|
|
@SuppressWarnings("unchecked")
|
|
|
@@ -363,13 +364,12 @@ public class MessageServiceImpl extends BaseMybatisDao<MessageFromSystemMapper>
|
|
|
@Override
|
|
|
public Pagination<MessageListBo> listPersonalMessage(Integer subject, Integer resourceType,Integer pageNo,Integer pageSize) {
|
|
|
Map<String,Object> params = new HashMap<String, Object>();
|
|
|
- if(subject == SubjectType.KE_HU.getTypeCode() || subject == SubjectType.TUI_JIAN.getTypeCode()){
|
|
|
- if(null != subject) params.put("subject", subject);
|
|
|
+// if(subject == SubjectType.KE_HU.getTypeCode() || subject == SubjectType.TUI_JIAN.getTypeCode()){
|
|
|
+// if(null != subject) params.put("subject", subject);
|
|
|
if(null != resourceType) params.put("resourceType", resourceType);
|
|
|
params.put("uid", TokenManager.getUserId());
|
|
|
+// params.put("uid","71a05e9c-a392-480d-817e-678be136cddc");
|
|
|
return (Pagination<MessageListBo>)findPage("listPersonalMessageByPage", "listPersonalMessageCount", params, pageNo, pageSize);
|
|
|
- }
|
|
|
- return null;
|
|
|
}
|
|
|
|
|
|
@Override
|