|
@@ -282,7 +282,7 @@ public class VoteServiceImpl implements VoteService {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
Choice choice = new Choice();
|
|
Choice choice = new Choice();
|
|
|
- choice.setAssigneeId(passport.getId());
|
|
|
|
|
|
|
+ choice.setPassportId(passport.getId());
|
|
|
choice.setOptionId(dto.getOptionId());
|
|
choice.setOptionId(dto.getOptionId());
|
|
|
choice.setProxy(false);
|
|
choice.setProxy(false);
|
|
|
choice.setChooseTime(now);
|
|
choice.setChooseTime(now);
|
|
@@ -345,7 +345,7 @@ public class VoteServiceImpl implements VoteService {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
Choice choice = new Choice();
|
|
Choice choice = new Choice();
|
|
|
- choice.setAssigneeId(dto.getPrincipalId());
|
|
|
|
|
|
|
+ choice.setPassportId(dto.getPrincipalId());
|
|
|
choice.setOptionId(dto.getOptionId());
|
|
choice.setOptionId(dto.getOptionId());
|
|
|
choice.setAssigneeId(passport.getId());
|
|
choice.setAssigneeId(passport.getId());
|
|
|
choice.setProxy(true);
|
|
choice.setProxy(true);
|