라벨 이관 로직 수정

This commit is contained in:
2026-01-05 14:13:24 +09:00
parent 3bc801053a
commit 0978842400
6 changed files with 48 additions and 23 deletions

View File

@@ -132,11 +132,11 @@ public class LabelAllocateService {
}
public ApiResponseDto.ResponseObj allocateMove(
String autoType,
Integer stage,
List<TargetUser> targetUsers,
Integer compareYyyy,
Integer targetYyyy) {
Integer targetYyyy,
String userId) {
Long lastId = null;
Long chargeCnt = targetUsers.stream().mapToLong(TargetUser::getDemand).sum();
@@ -147,7 +147,7 @@ public class LabelAllocateService {
List<Long> allIds =
labelAllocateCoreService.fetchNextMoveIds(
lastId, chargeCnt, compareYyyy, targetYyyy, stage);
lastId, chargeCnt, compareYyyy, targetYyyy, stage, userId);
int index = 0;
for (TargetUser target : targetUsers) {
int end = index + target.getDemand();