Browse Source

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

zhongwei
haungxing 1 year ago
parent
commit
2e442f2c00
  1. 2
      hzims-service/message/src/main/java/com/hnac/hzims/message/controller/MessagePushRecordController.java
  2. 2
      hzims-service/ticket/src/main/java/com/hnac/hzims/ticket/workTicket/service/impl/OfflineTicketServiceImpl.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")
@ApiOperation("批量处理消息")
@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()
.set(MessagePushRecordEntity::getStatus, MessageConstants.CONFIRM)
.set(MessagePushRecordEntity::getRespondTime, LocalDateTime.now())

2
hzims-service/ticket/src/main/java/com/hnac/hzims/ticket/workTicket/service/impl/OfflineTicketServiceImpl.java

@ -61,7 +61,7 @@ public class OfflineTicketServiceImpl extends BaseServiceImpl<WorkTicketInfoMapp
private final IWorkTicketContentService contentService;
private final IUserClient userClient;
private final IWorkTicketFlowService workTicketFlowService;
private Lock lock = new ReentrantLock();
private static Lock lock = new ReentrantLock();
/**
* 线下工作票开票

Loading…
Cancel
Save