Commit 112cc0aebcca8db56d12eb45ea2f753c22e77115
1 parent
99ab1fa9
推送master
Showing
1 changed file
with
0 additions
and
8 deletions
src/main/java/com/cnlive/shenhe/serviceImpl/CommentsServiceImpl.java
| @@ -120,14 +120,6 @@ public class CommentsServiceImpl { | @@ -120,14 +120,6 @@ public class CommentsServiceImpl { | ||
| 120 | } | 120 | } |
| 121 | } | 121 | } |
| 122 | 122 | ||
| 123 | - //if (CommonUtils.isNotNull(commentsDTO.getState())) { | ||
| 124 | - // Example.Criteria criteria1 = example.createCriteria(); | ||
| 125 | - // String[] stas = String.valueOf(commentsDTO.getState()).split(","); | ||
| 126 | - // for (String s : stas) { | ||
| 127 | - // criteria1.orEqualTo("state", s); | ||
| 128 | - // } | ||
| 129 | - // example.and(criteria1); | ||
| 130 | - //} | ||
| 131 | 123 | ||
| 132 | if (CommonUtils.isNotNull(commentsDTO.getState()) && commentsDTO.getState() != 3) { | 124 | if (CommonUtils.isNotNull(commentsDTO.getState()) && commentsDTO.getState() != 3) { |
| 133 | criteria.andEqualTo("state", commentsDTO.getState()); | 125 | criteria.andEqualTo("state", commentsDTO.getState()); |