|
@@ -301,7 +301,7 @@ public class TempleteLogicServiceImpl implements TempleteLogicService {
|
|
|
* @param createId
|
|
|
*/
|
|
|
public void dataVerify(Long examId, String userName, String roomCode, String roomName, Long orgId, Long createId) {
|
|
|
- if (!checkRoomCodeExist(examId, roomCode, orgId)) {
|
|
|
+ if (checkRoomCodeExist(examId, roomCode, orgId)) {
|
|
|
throw new BusinessException("考场代码 " + roomCode + " 不存在");
|
|
|
}
|
|
|
if (Objects.nonNull(userName)) {
|