微信判断入场出场只需要check 不用加锁
This commit is contained in:
@@ -128,7 +128,7 @@ public class VenueController extends BaseApiController {
|
||||
if (join.getFlg() == 0) {
|
||||
String barcode = barcodeService.newBarcode(doorSn, EnterEnum.ENTER, venueId, memberId);
|
||||
join.setBarcode(barcode);
|
||||
doorLockUtil.lockDoor(doorSn);
|
||||
// doorLockUtil.lockDoor(doorSn);
|
||||
}
|
||||
return ResponseDTO.ok().addAttribute("join", join);
|
||||
}
|
||||
@@ -158,7 +158,7 @@ public class VenueController extends BaseApiController {
|
||||
if (out.getFlg() == 0) {
|
||||
String barcode = barcodeService.newBarcode(doorSn,EnterEnum.OUT,venueId,memberId);
|
||||
out.setBarcode(barcode);
|
||||
doorLockUtil.lockDoor(doorSn);
|
||||
// doorLockUtil.lockDoor(doorSn);
|
||||
}
|
||||
return ResponseDTO.ok().addAttribute("out", out);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user