Commit 8947b987 by shenjinzhu

同一个检测模板类似的消息只预警一次(未处理的)

parent 1ebe86a6
...@@ -31,7 +31,7 @@ public class MessageDaoImpl implements MessageDao { ...@@ -31,7 +31,7 @@ public class MessageDaoImpl implements MessageDao {
@Autowired @Autowired
private DbDepot dbDepot; private DbDepot dbDepot;
@SuppressWarnings("all")
@Override @Override
public String insert(Message message) { public String insert(Message message) {
Message msg = mongo.findOne(Query.query(Criteria.where("tempName").is(message.getTempName()).where("handle") Message msg = mongo.findOne(Query.query(Criteria.where("tempName").is(message.getTempName()).where("handle")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment