Ver Fonte

Merge branch 'dev_v1.5.11_wh' of jianyu/datatools into feature/v1.5.11

王浩 há 1 ano atrás
pai
commit
5baea50558
1 ficheiros alterados com 9 adições e 2 exclusões
  1. 9 2
      clueSync/jobutil.go

+ 9 - 2
clueSync/jobutil.go

@@ -1100,6 +1100,13 @@ func autoDraw(mode, cluename, phone string, isGroup, isCommerce int) (positionId
 								noticePositionId = positionId
 								seatNumber = common.ObjToString(data["seatNumber"])
 								saleName = common.ObjToString(data["saleName"])
+								if isFull {
+									isFreeze = true
+									positionId = 0
+									noticePositionId = positionId
+									seatNumber = ""
+									saleName = ""
+								}
 								return
 							} else {
 								count := 0
@@ -1121,8 +1128,8 @@ func autoDraw(mode, cluename, phone string, isGroup, isCommerce int) (positionId
 								seatNumber = common.ObjToString(data["seatNumber"])
 								if isFull {
 									isFreeze = true
-									positionId = positionId
-									noticePositionId = 0
+									positionId = 0
+									noticePositionId = positionId
 									seatNumber = ""
 									saleName = ""
 								}