Pārlūkot izejas kodu

更新

tags/V1.8.0^2
xiaoying pirms 1 gada
vecāks
revīzija
7b0660fbf2
1 mainītis faili ar 7 papildinājumiem un 0 dzēšanām
  1. +7
    -0
      tuoheng-api/src/main/java/com/tuoheng/api/service/impl/ThWestreamMessageServiceImpl.java

+ 7
- 0
tuoheng-api/src/main/java/com/tuoheng/api/service/impl/ThWestreamMessageServiceImpl.java Parādīt failu

@@ -101,6 +101,13 @@ public class ThWestreamMessageServiceImpl extends ServiceImpl<ThWestreamMessageM
*/
@Override
public JsonResult sum(WestreamMessageQuery query) {

if (StringUtils.isEmpty(query.getOpenId())) {
return JsonResult.error("openid为空");
}
if (StringUtils.isNull(query.getTenantId())) {
return JsonResult.error("TenantId为空");
}
//查询出所有未读的
List<ThWestreamMessage> list = this.list(Wrappers.<ThWestreamMessage>lambdaQuery()
.eq(ThWestreamMessage::getTenantId, query.getTenantId())

Notiek ielāde…
Atcelt
Saglabāt