diff options
author | Vitaly Takmazov | 2018-03-30 17:52:53 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2018-03-30 17:52:53 +0300 |
commit | bda2d764a9c187da5aa8cd74fb8c4a9574d3996e (patch) | |
tree | 2d5bc98a5744f8f6a0ec4e7f9893c2355235267c /juick-server-jdbc/src/main/java/com/juick/service | |
parent | 7eb13edc1720b13924d7cbe715be67a535f0e02e (diff) |
xmpp integration tests
Diffstat (limited to 'juick-server-jdbc/src/main/java/com/juick/service')
-rw-r--r-- | juick-server-jdbc/src/main/java/com/juick/service/MessagesServiceImpl.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/juick-server-jdbc/src/main/java/com/juick/service/MessagesServiceImpl.java b/juick-server-jdbc/src/main/java/com/juick/service/MessagesServiceImpl.java index 31731466..97db10ec 100644 --- a/juick-server-jdbc/src/main/java/com/juick/service/MessagesServiceImpl.java +++ b/juick-server-jdbc/src/main/java/com/juick/service/MessagesServiceImpl.java @@ -869,7 +869,7 @@ public class MessagesServiceImpl extends BaseJdbcService implements MessagesServ , sqlParameterSource) > 0; } if (result) { - getNamedParameterJdbcTemplate().update("UPDATE replies SET replies=replies-1 WHERE message_id=:mid", sqlParameterSource); + getNamedParameterJdbcTemplate().update("UPDATE messages SET replies=replies-1 WHERE message_id=:mid", sqlParameterSource); updateRepliesBy(mid); return true; } |