Commit d5e36370c24ebe86ad53dc7db0f247fbcfd7b503
1 parent
d20bf0ef4b
Exists in
dev
修改判断消息有没有值不为空的问题
Showing 1 changed file with 1 additions and 1 deletions
platform-operate-api/src/main/java/com/lyms/platform/operate/web/facade/CourseFacade.java
View file @
d5e3637
... | ... | @@ -1238,7 +1238,7 @@ |
1238 | 1238 | if (parentId!=null){ |
1239 | 1239 | String readCount = model.getReadCount(); |
1240 | 1240 | //判断此条信息有没有值 |
1241 | - if (readCount.isEmpty()){ | |
1241 | + if (readCount==null){ | |
1242 | 1242 | //如果没有值,直接添加数据 |
1243 | 1243 | model.setReadCount(parentId); |
1244 | 1244 | courseEvalService.updateMsgReadCount(model); |