|
@@ -29,9 +29,13 @@ import cn.com.ty.lift.ud.operation.mapper.entity.OtherSettingEntity;
|
|
|
import cn.com.ty.lift.ud.operation.service.ICommissionSettingService;
|
|
|
import cn.com.ty.lift.ud.payment.mapper.UserBillMapper;
|
|
|
import cn.com.ty.lift.ud.payment.mapper.entity.UserBillEntity;
|
|
|
+import cn.com.ty.lift.ud.question.mapper.QuestionBankMapper;
|
|
|
import cn.com.ty.lift.ud.question.mapper.entity.QuestionBankEntity;
|
|
|
import cn.com.ty.lift.ud.question.service.IQuestionBankService;
|
|
|
+import cn.com.ty.lift.ud.recruitmentInfos.mapper.RecruitmentInfoMapper;
|
|
|
import cn.com.ty.lift.ud.redis.RedisUtils;
|
|
|
+import cn.com.ty.lift.ud.schoolVideo.mapper.SchoolVideoMapper;
|
|
|
+import cn.com.ty.lift.ud.schoolVideo.mapper.SchoolVideoOperateMapper;
|
|
|
import cn.com.ty.lift.ud.userAccount.mapper.UserAccountMapper;
|
|
|
import cn.com.ty.lift.ud.userAccount.mapper.entity.UserAccount;
|
|
|
import cn.com.ty.lift.ud.userAccount.service.IUserAccountService;
|
|
@@ -56,7 +60,9 @@ import java.math.BigDecimal;
|
|
|
import java.time.LocalDateTime;
|
|
|
import java.time.ZoneOffset;
|
|
|
import java.util.ArrayList;
|
|
|
+import java.util.HashMap;
|
|
|
import java.util.List;
|
|
|
+import java.util.Map;
|
|
|
import java.util.Optional;
|
|
|
|
|
|
import static org.springframework.boot.actuate.trace.http.Include.SESSION_ID;
|
|
@@ -122,6 +128,14 @@ public class LiftCaseServiceImpl extends ServiceImpl<LiftCaseMapper, LiftCaseEnt
|
|
|
private ILiftCaseAppealService liftCaseAppealService;
|
|
|
@Autowired
|
|
|
private IQuestionBankService questionBankService;
|
|
|
+
|
|
|
+ @Autowired
|
|
|
+ private SchoolVideoMapper schoolVideoMapper;
|
|
|
+
|
|
|
+ private @Autowired RecruitmentInfoMapper recruitmentInfoMapper;
|
|
|
+
|
|
|
+ @Autowired
|
|
|
+ private QuestionBankMapper questionBankMapper;
|
|
|
|
|
|
@Override
|
|
|
public RestResponse createLiftCase(LiftCaseReq req) {
|
|
@@ -1126,4 +1140,18 @@ public class LiftCaseServiceImpl extends ServiceImpl<LiftCaseMapper, LiftCaseEnt
|
|
|
int undealedCaseNum = caseMapper.getUndealedCaseNum(userId);
|
|
|
return RestResponse.success(undealedCaseNum);
|
|
|
}
|
|
|
+
|
|
|
+ @Override
|
|
|
+ public RestResponse getTodeal() {
|
|
|
+ Map<String,Object> result = new HashMap<>();
|
|
|
+ int caseTodealCount = caseMapper.getTodealCount();
|
|
|
+ int videoTodealCount = schoolVideoMapper.getVideoTodealCount();
|
|
|
+ int recruitmentInfoTodealCount = recruitmentInfoMapper.getRecruitmentInfoTodealCount();
|
|
|
+ int questionTodealCount = questionBankMapper.getQuestionTodealCount();
|
|
|
+ result.put("caseTodealCount", caseTodealCount);
|
|
|
+ result.put("videoTodealCount", videoTodealCount);
|
|
|
+ result.put("recruitmentInfoTodealCount", recruitmentInfoTodealCount);
|
|
|
+ result.put("questionTodealCount", questionTodealCount);
|
|
|
+ return RestResponse.success(result);
|
|
|
+ }
|
|
|
}
|