Browse Source

# 消息中心批量已读功能bug修改

zhongwei
haungxing 1 year ago
parent
commit
67a94afc44
  1. 2
      hzims-service/message/src/main/java/com/hnac/hzims/message/controller/MessagePushRecordController.java

2
hzims-service/message/src/main/java/com/hnac/hzims/message/controller/MessagePushRecordController.java

@ -90,7 +90,7 @@ public class MessagePushRecordController extends BladeController {
@GetMapping("/readMessageBatch") @GetMapping("/readMessageBatch")
@ApiOperation("批量处理消息") @ApiOperation("批量处理消息")
@ApiOperationSupport(order = 7) @ApiOperationSupport(order = 7)
public R<Boolean> readMessageBatch(String businessClassify,String type) { public R<Boolean> readMessageBatch(@RequestParam(required = false) String businessClassify,@RequestParam(required = false) String type) {
LambdaUpdateWrapper<MessagePushRecordEntity> eq = Wrappers.<MessagePushRecordEntity>lambdaUpdate() LambdaUpdateWrapper<MessagePushRecordEntity> eq = Wrappers.<MessagePushRecordEntity>lambdaUpdate()
.set(MessagePushRecordEntity::getStatus, MessageConstants.CONFIRM) .set(MessagePushRecordEntity::getStatus, MessageConstants.CONFIRM)
.set(MessagePushRecordEntity::getRespondTime, LocalDateTime.now()) .set(MessagePushRecordEntity::getRespondTime, LocalDateTime.now())

Loading…
Cancel
Save