|
|
@ -18,7 +18,7 @@ |
|
|
|
package com.epmet.dao; |
|
|
|
|
|
|
|
import com.epmet.commons.mybatis.dao.BaseDao; |
|
|
|
import com.epmet.dto.CustomerAgencyDTO; |
|
|
|
import com.epmet.commons.tools.utils.Result; |
|
|
|
import com.epmet.dto.CustomerGridDTO; |
|
|
|
import com.epmet.dto.UserIdAndPidDTO; |
|
|
|
import com.epmet.dto.UserIdDTO; |
|
|
@ -60,11 +60,11 @@ public interface CustomerGridDao extends BaseDao<CustomerGridEntity> { |
|
|
|
List<CustomerGridForStrangerResultDTO> selectRestGridWithoutGivenAreaCode(Map<String, Object> paramsMap); |
|
|
|
|
|
|
|
/** |
|
|
|
* @Description 通过gridId查询网格信息,网格名称格式: 上级组织名称-网格名称 |
|
|
|
* @param customerGridFormDTO |
|
|
|
* @Description 通过gridId查询网格信息,网格名称格式: 上级组织名称-网格名称 |
|
|
|
* @author wangc |
|
|
|
* @date 2020.04.30 13:57 |
|
|
|
**/ |
|
|
|
**/ |
|
|
|
CustomerGridDTO getCustomerGridByGridId(CustomerGridFormDTO customerGridFormDTO); |
|
|
|
|
|
|
|
/** |
|
|
@ -156,8 +156,8 @@ public interface CustomerGridDao extends BaseDao<CustomerGridEntity> { |
|
|
|
List<AllGridsByUserIdResultDTO> selectGridByIds(@Param("gridIdList") List<String> gridIdList); |
|
|
|
|
|
|
|
/** |
|
|
|
* @Description 获取所属网格 |
|
|
|
* @param formDTO |
|
|
|
* @Description 获取所属网格 |
|
|
|
* @author zxc |
|
|
|
* @date 2020/5/11 18:50 |
|
|
|
*/ |
|
|
@ -178,12 +178,12 @@ public interface CustomerGridDao extends BaseDao<CustomerGridEntity> { |
|
|
|
List<CustomerGridDTO> selectGridListByIds(@Param("gridIdList") List<String> gridIdList); |
|
|
|
|
|
|
|
/** |
|
|
|
* @Description 通过网格Id获取网格所需要的数据权限信息 |
|
|
|
* @param gridId |
|
|
|
* @Description 通过网格Id获取网格所需要的数据权限信息 |
|
|
|
* @author wangc |
|
|
|
* @date 2020.05.13 11:01 |
|
|
|
**/ |
|
|
|
CommonDataFilterResultDTO getGridDataFilterMsg(@Param("gridId")String gridId); |
|
|
|
CommonDataFilterResultDTO getGridDataFilterMsg(@Param("gridId") String gridId); |
|
|
|
|
|
|
|
/** |
|
|
|
* @param agencyId |
|
|
@ -218,41 +218,55 @@ public interface CustomerGridDao extends BaseDao<CustomerGridEntity> { |
|
|
|
List<PublicCustomerGridForStrangerResultDTO> selectThirdRestGridWithoutGivenAreaCode(Map<String, Object> map); |
|
|
|
|
|
|
|
/** |
|
|
|
* @Description 查询当前客户已有网格数量 |
|
|
|
* @param customerId |
|
|
|
* @Description 查询当前客户已有网格数量 |
|
|
|
* @author zxc |
|
|
|
* @date 2020/8/12 5:10 下午 |
|
|
|
*/ |
|
|
|
Integer selectGridCount(@Param("customerId")String customerId); |
|
|
|
Integer selectGridCount(@Param("customerId") String customerId); |
|
|
|
|
|
|
|
/** |
|
|
|
* 删除工作人员与网格关联 |
|
|
|
* @author zhaoqifeng |
|
|
|
* @date 2020/8/28 15:32 |
|
|
|
* |
|
|
|
* @param staffId |
|
|
|
* @return void |
|
|
|
* @author zhaoqifeng |
|
|
|
* @date 2020/8/28 15:32 |
|
|
|
*/ |
|
|
|
void deleteGridStaff(@Param("staffId") String staffId); |
|
|
|
|
|
|
|
/** |
|
|
|
* 查询工作人员所在网格 |
|
|
|
* @author zhaoqifeng |
|
|
|
* @date 2020/8/28 15:41 |
|
|
|
* |
|
|
|
* @param staffId |
|
|
|
* @return java.util.List<com.epmet.entity.CustomerGridEntity> |
|
|
|
* @author zhaoqifeng |
|
|
|
* @date 2020/8/28 15:41 |
|
|
|
*/ |
|
|
|
List<CustomerGridEntity> selectGridByStaff(@Param("staffId") String staffId); |
|
|
|
|
|
|
|
List<OrgInfoResultDTO> selectOrgInfoByAgency(@Param("orgIds")List<String> orgIds); |
|
|
|
List<OrgInfoResultDTO> selectOrgInfoByGrid(@Param("orgIds")List<String> orgIds); |
|
|
|
List<OrgInfoResultDTO> selectOrgInfoByDept(@Param("orgIds")List<String> orgIds); |
|
|
|
List<OrgInfoResultDTO> selectOrgInfoByAgency(@Param("orgIds") List<String> orgIds); |
|
|
|
|
|
|
|
List<OrgInfoResultDTO> selectOrgInfoByGrid(@Param("orgIds") List<String> orgIds); |
|
|
|
|
|
|
|
List<OrgInfoResultDTO> selectOrgInfoByDept(@Param("orgIds") List<String> orgIds); |
|
|
|
|
|
|
|
/** |
|
|
|
* @param gridId |
|
|
|
* @return com.epmet.commons.tools.utils.Result<java.util.List<java.lang.String>> |
|
|
|
* @return com.epmet.commons.tools.utils.Result<java.util.List < java.lang.String>> |
|
|
|
* @Author zy |
|
|
|
* @Description 根据 网格id,查询同属于一个社区下的所有网格id |
|
|
|
* @Date 2020/12/28 23:16 |
|
|
|
**/ |
|
|
|
List<String> selectListGridIdsInCommunity(@Param("gridId") String gridId); |
|
|
|
|
|
|
|
/** |
|
|
|
* desc: 根据网格Id获取网格基础信息 单表查询 |
|
|
|
* |
|
|
|
* @param gridId |
|
|
|
* @return com.epmet.commons.tools.utils.Result<com.epmet.dto.CustomerGridDTO> |
|
|
|
* @author LiuJanJun |
|
|
|
* @date 2021/4/19 11:56 上午 |
|
|
|
*/ |
|
|
|
Result<CustomerGridDTO> getGridBaseInfoById(@Param("gridId") String gridId); |
|
|
|
} |
|
|
|