工作台待办缴纳加盟费分配给分部内勤
This commit is contained in:
@@ -43,6 +43,7 @@ public enum UserRoleEnum {
|
||||
TENT_PASS_CUSTOMER(380000000L,"营帐通客服"),
|
||||
DESIGN_CUSTOMER(390000000L,"设计客服"),
|
||||
CONSTRUCTION_CUSTOMER(400000000L,"施工客服"),
|
||||
BRANCH_OFFICE(1724233283449L,"分布内勤"),
|
||||
;
|
||||
|
||||
private Long code;
|
||||
|
||||
@@ -8,6 +8,7 @@ import com.cool.store.dto.PendingCountDTO;
|
||||
import com.cool.store.dto.DeskStageDTO;
|
||||
import com.cool.store.dto.openPreparation.PlanLineDTO;
|
||||
import com.cool.store.entity.*;
|
||||
import com.cool.store.enums.UserRoleEnum;
|
||||
import com.cool.store.enums.WorkflowSubStageStatusEnum;
|
||||
import com.cool.store.enums.point.PayBusinessTypeEnum;
|
||||
import com.cool.store.enums.point.ShopSubStageEnum;
|
||||
@@ -226,8 +227,12 @@ public class DeskServiceImpl implements DeskService {
|
||||
|
||||
@Override
|
||||
public PageInfo<PreparationCommonPendingVO> payFranchiseFeesPendingList(Integer pageNum, Integer pageSize, LoginUserInfo user) {
|
||||
List<Long> userRoleIds = enterpriseUserRoleMapper.getUserRoleIds(user.getUserId());
|
||||
if (CollectionUtils.isEmpty(userRoleIds)|| !userRoleIds.contains(UserRoleEnum.BRANCH_OFFICE.getCode())){
|
||||
return new PageInfo<>();
|
||||
}
|
||||
PageInfo<PreparationCommonPendingVO> pageInfo = commonPendingVOPageInfo(pageNum, pageSize, user, ShopSubStageEnum.SHOP_STAGE_7,
|
||||
Arrays.asList(SHOP_SUB_STAGE_STATUS_70.getShopSubStageStatus(), SHOP_SUB_STAGE_STATUS_72.getShopSubStageStatus()), Boolean.FALSE);
|
||||
Arrays.asList(SHOP_SUB_STAGE_STATUS_70.getShopSubStageStatus(), SHOP_SUB_STAGE_STATUS_72.getShopSubStageStatus()), Boolean.TRUE);
|
||||
List<PreparationCommonPendingVO> list = pageInfo.getList();
|
||||
if (CollectionUtils.isEmpty(list)){
|
||||
return pageInfo;
|
||||
|
||||
Reference in New Issue
Block a user