mirror of
https://codeup.aliyun.com/67c68d4e484ca2f0a13ac3c1/ydc/jsowell-charger-web.git
synced 2026-04-20 19:15:35 +08:00
新增 运营商财务管理页面
This commit is contained in:
@@ -77,4 +77,11 @@ public interface PileMerchantInfoMapper {
|
||||
* @return
|
||||
*/
|
||||
PileMerchantInfo queryInfoByDeptId(@Param("deptId") String deptId);
|
||||
|
||||
/**
|
||||
* 通过ids查询信息列表
|
||||
* @param ids
|
||||
* @return
|
||||
*/
|
||||
List<PileMerchantInfo> queryInfoListByIds(@Param("deptIds") List<String> deptIds);
|
||||
}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
package com.jsowell.pile.service;
|
||||
|
||||
import com.jsowell.common.core.domain.vo.AuthorizedDeptVO;
|
||||
import com.jsowell.pile.domain.PileMerchantInfo;
|
||||
import com.jsowell.pile.dto.CreateMerchantDTO;
|
||||
import com.jsowell.pile.vo.base.MerchantInfoVO;
|
||||
@@ -73,4 +74,11 @@ public interface IPileMerchantInfoService {
|
||||
List<String> queryByMerchantDeptIds(List<String> merchantDeptIds);
|
||||
|
||||
PileMerchantInfo queryInfoByDeptId(String deptId);
|
||||
|
||||
/**
|
||||
* 通过ids查询信息列表
|
||||
* @param authorizedMap
|
||||
* @return
|
||||
*/
|
||||
List<PileMerchantInfo> queryInfoListByIds(AuthorizedDeptVO authorizedMap);
|
||||
}
|
||||
|
||||
@@ -6,10 +6,7 @@ import com.jsowell.common.core.domain.entity.SysDept;
|
||||
import com.jsowell.common.core.domain.entity.SysUser;
|
||||
import com.jsowell.common.core.domain.vo.AuthorizedDeptVO;
|
||||
import com.jsowell.common.exception.BusinessException;
|
||||
import com.jsowell.common.util.DateUtils;
|
||||
import com.jsowell.common.util.DictUtils;
|
||||
import com.jsowell.common.util.SecurityUtils;
|
||||
import com.jsowell.common.util.StringUtils;
|
||||
import com.jsowell.common.util.*;
|
||||
import com.jsowell.pile.domain.PileMerchantInfo;
|
||||
import com.jsowell.pile.dto.CreateMerchantDTO;
|
||||
import com.jsowell.pile.mapper.PileMerchantInfoMapper;
|
||||
@@ -250,4 +247,22 @@ public class PileMerchantInfoServiceImpl implements IPileMerchantInfoService {
|
||||
public PileMerchantInfo queryInfoByDeptId(String deptId) {
|
||||
return pileMerchantInfoMapper.queryInfoByDeptId(deptId);
|
||||
}
|
||||
|
||||
/**
|
||||
* 通过ids查询信息列表
|
||||
* @param authorizedMap
|
||||
* @return
|
||||
*/
|
||||
@Override
|
||||
public List<PileMerchantInfo> queryInfoListByIds(AuthorizedDeptVO authorizedMap) {
|
||||
String parentId = authorizedMap.getParentId();
|
||||
List<String> deptIds = Lists.newArrayList();
|
||||
// 父级id为100表示为 thinkgem 账号, 0为 jskf 账号
|
||||
if (!StringUtils.equals("100", parentId) && !StringUtils.equals("0", parentId)) {
|
||||
String deptId = authorizedMap.getDeptId();
|
||||
deptIds.add(deptId);
|
||||
}
|
||||
PageUtils.startPage();
|
||||
return pileMerchantInfoMapper.queryInfoListByIds(deptIds);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user