| | |
| | | import com.panzhihua.common.controller.BaseController; |
| | | import com.panzhihua.common.interfaces.OperLog; |
| | | import com.panzhihua.common.model.vos.R; |
| | | import com.panzhihua.sangeshenbian.model.MessageNotification; |
| | | import com.panzhihua.sangeshenbian.model.SystemUser; |
| | | import com.panzhihua.sangeshenbian.model.entity.MessageNotification; |
| | | import com.panzhihua.sangeshenbian.model.entity.SystemUser; |
| | | import com.panzhihua.sangeshenbian.service.IMessageNotificationService; |
| | | import com.panzhihua.sangeshenbian.service.ISystemUserService; |
| | | import com.panzhihua.sangeshenbian.warpper.MessageNotificationList; |
| | |
| | | userId = id.toString(); |
| | | break; |
| | | } |
| | | Integer count = messageNotificationService.lambdaQuery() |
| | | long count = messageNotificationService.lambdaQuery() |
| | | .eq(MessageNotification::getReadStatus, 0) |
| | | .eq(MessageNotification::getUndertakerType, systemUser.getAccountLevel()) |
| | | .eq(MessageNotification::getUndertakerUserId, userId) |