|
@@ -2,6 +2,8 @@ package com.keao.edu.user.service.impl;
|
|
|
|
|
|
import com.keao.edu.common.dal.BaseDAO;
|
|
|
import com.keao.edu.common.exception.BizException;
|
|
|
+import com.keao.edu.common.page.PageInfo;
|
|
|
+import com.keao.edu.common.page.QueryInfo;
|
|
|
import com.keao.edu.common.service.impl.BaseServiceImpl;
|
|
|
import com.keao.edu.common.tenant.TenantContextHolder;
|
|
|
import com.keao.edu.user.dao.ExamOrganizationRelationDao;
|
|
@@ -11,6 +13,7 @@ import com.keao.edu.user.entity.ExaminationBasic;
|
|
|
import com.keao.edu.user.enums.ExamStatusEnum;
|
|
|
import com.keao.edu.user.enums.YesOrNoEnum;
|
|
|
import com.keao.edu.user.service.ExamOrganizationRelationService;
|
|
|
+import com.keao.edu.user.service.OrganizationService;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Service;
|
|
@@ -29,6 +32,8 @@ public class ExamOrganizationRelationServiceImpl extends BaseServiceImpl<Long, E
|
|
|
private ExamOrganizationRelationDao examOrganizationRelationDao;
|
|
|
@Autowired
|
|
|
private ExaminationBasicDao examinationBasicDao;
|
|
|
+ @Autowired
|
|
|
+ private OrganizationService organizationService;
|
|
|
|
|
|
@Override
|
|
|
public BaseDAO<Long, ExamOrganizationRelation> getDAO() {
|
|
@@ -36,6 +41,11 @@ public class ExamOrganizationRelationServiceImpl extends BaseServiceImpl<Long, E
|
|
|
}
|
|
|
|
|
|
@Override
|
|
|
+ public PageInfo<ExamOrganizationRelation> queryPage(QueryInfo queryInfo) {
|
|
|
+ return super.queryPage(queryInfo);
|
|
|
+ }
|
|
|
+
|
|
|
+ @Override
|
|
|
@Transactional(rollbackFor = Exception.class, isolation = Isolation.READ_COMMITTED)
|
|
|
public void updateExamOrganizationRelation(ExamOrganizationRelation examOrganizationRelation) {
|
|
|
if(Objects.isNull(examOrganizationRelation.getExaminationBasicId())){
|