加盟商编码

This commit is contained in:
苏竹红
2024-04-08 19:28:11 +08:00
parent 7193807f2e
commit 3abec41269
7 changed files with 93 additions and 1 deletions

View File

@@ -1,6 +1,7 @@
package com.cool.store.service;
import com.cool.store.context.LoginUserInfo;
import com.cool.store.dto.PendingCountDTO;
import com.cool.store.entity.HyPartnerLabelDO;
import com.cool.store.entity.LineInfoDO;
import com.cool.store.vo.BaseInfoVO;
@@ -98,4 +99,11 @@ public interface DeskService {
*/
Map<Long, HyPartnerLabelDO> getUserPortraitMap(List<LineInfoDO> lineInfoDOList);
/**
* 待处理数据
* @param user
* @return
*/
PendingCountDTO getPendingCount(LoginUserInfo user);
}

View File

@@ -3,6 +3,7 @@ package com.cool.store.service.impl;
import cn.hutool.core.bean.BeanUtil;
import com.cool.store.context.LoginUserInfo;
import com.cool.store.dao.*;
import com.cool.store.dto.PendingCountDTO;
import com.cool.store.entity.*;
import com.cool.store.enums.InterviewTypeEnum;
import com.cool.store.enums.WorkflowSubStageStatusEnum;
@@ -295,4 +296,10 @@ public class DeskServiceImpl implements DeskService {
return hyPartnerLabelDOS.stream().collect(Collectors.toMap(HyPartnerLabelDO::getId, x -> x));
}
@Override
public PendingCountDTO getPendingCount(LoginUserInfo user) {
PendingCountDTO pendingCount = lineInfoDAO.pendingCount(user.getUserId());
return pendingCount;
}
}