|
@ -27,6 +27,7 @@ import org.apache.ibatis.annotations.MapKey; |
|
|
import org.apache.ibatis.annotations.Mapper; |
|
|
import org.apache.ibatis.annotations.Mapper; |
|
|
import org.apache.ibatis.annotations.Param; |
|
|
import org.apache.ibatis.annotations.Param; |
|
|
|
|
|
|
|
|
|
|
|
import java.math.BigDecimal; |
|
|
import java.util.List; |
|
|
import java.util.List; |
|
|
import java.util.Map; |
|
|
import java.util.Map; |
|
|
import java.util.Set; |
|
|
import java.util.Set; |
|
@ -65,109 +66,111 @@ public interface IcResiUserDao extends BaseDao<IcResiUserEntity> { |
|
|
* 查询主表 |
|
|
* 查询主表 |
|
|
* |
|
|
* |
|
|
* @param icResiUserId |
|
|
* @param icResiUserId |
|
|
* @return java.util.List<java.util.Map<java.lang.String,java.lang.Object>> |
|
|
* @return java.util.List<java.util.Map < java.lang.String, java.lang.Object>> |
|
|
* @author yinzuomei |
|
|
* @author yinzuomei |
|
|
* @date 2021/10/28 11:20 上午 |
|
|
* @date 2021/10/28 11:20 上午 |
|
|
*/ |
|
|
*/ |
|
|
List<Map<String, Object>> selectListMapById(@Param("customerId") String customerId, |
|
|
List<Map<String, Object>> selectListMapById(@Param("customerId") String customerId, |
|
|
@Param("icResiUserId")String icResiUserId); |
|
|
@Param("icResiUserId") String icResiUserId); |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* 根据ic_resi_user.id去查询各个子表记录,动态传入表名 |
|
|
* 根据ic_resi_user.id去查询各个子表记录,动态传入表名 |
|
|
* |
|
|
* |
|
|
* @param icResiUserId |
|
|
* @param icResiUserId |
|
|
* @param subTableName |
|
|
* @param subTableName |
|
|
* @return java.util.List<java.util.Map<java.lang.String,java.lang.Object>> |
|
|
* @return java.util.List<java.util.Map < java.lang.String, java.lang.Object>> |
|
|
* @author yinzuomei |
|
|
* @author yinzuomei |
|
|
* @date 2021/10/28 11:19 上午 |
|
|
* @date 2021/10/28 11:19 上午 |
|
|
*/ |
|
|
*/ |
|
|
List<Map<String, Object>> selectSubTableRecords(@Param("customerId")String customerId, |
|
|
List<Map<String, Object>> selectSubTableRecords(@Param("customerId") String customerId, |
|
|
@Param("icResiUserId") String icResiUserId, |
|
|
@Param("icResiUserId") String icResiUserId, |
|
|
@Param("subTableName") String subTableName); |
|
|
@Param("subTableName") String subTableName); |
|
|
|
|
|
|
|
|
int updateToDel(String icResiUserId); |
|
|
int updateToDel(String icResiUserId); |
|
|
|
|
|
|
|
|
int updateSubTableToDel(@Param("subTalbeName") String subTalbeName, @Param("icResiUserId")String icResiUserId); |
|
|
int updateSubTableToDel(@Param("subTalbeName") String subTalbeName, @Param("icResiUserId") String icResiUserId); |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* 接口名称 |
|
|
* 接口名称 |
|
|
* |
|
|
* |
|
|
* @param customerId 客户id |
|
|
* @param customerId 客户id |
|
|
* @param resultTableName 获取哪个表的数据??? |
|
|
* @param resultTableName 获取哪个表的数据??? |
|
|
* @param conditions 前端传入的查询入参 |
|
|
* @param conditions 前端传入的查询入参 |
|
|
* @return java.util.List<java.util.Map<java.lang.String,java.lang.Object>> |
|
|
* @return java.util.List<java.util.Map < java.lang.String, java.lang.Object>> |
|
|
* @author yinzuomei |
|
|
* @author yinzuomei |
|
|
* @date 2021/11/2 10:35 上午 |
|
|
* @date 2021/11/2 10:35 上午 |
|
|
*/ |
|
|
*/ |
|
|
List<Map<String,Object>> dynamicQuery(@Param("customerId")String customerId, |
|
|
List<Map<String, Object>> dynamicQuery(@Param("customerId") String customerId, |
|
|
@Param("resultTableName")String resultTableName, |
|
|
@Param("resultTableName") String resultTableName, |
|
|
@Param("conditions") List<ResiUserQueryValueDTO> conditions, |
|
|
@Param("conditions") List<ResiUserQueryValueDTO> conditions, |
|
|
@Param("subTables") List<String> subTables, |
|
|
@Param("subTables") List<String> subTables, |
|
|
@Param("currentStaffAgencyId")String currentStaffAgencyId, |
|
|
@Param("currentStaffAgencyId") String currentStaffAgencyId, |
|
|
@Param("staffOrgPath")String staffOrgPath); |
|
|
@Param("staffOrgPath") String staffOrgPath); |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* @Description 查询个人信息 |
|
|
|
|
|
* @param userId |
|
|
* @param userId |
|
|
|
|
|
* @Description 查询个人信息 |
|
|
* @author zxc |
|
|
* @author zxc |
|
|
* @date 2021/11/3 10:28 上午 |
|
|
* @date 2021/11/3 10:28 上午 |
|
|
*/ |
|
|
*/ |
|
|
PersonDataResultDTO personData(@Param("userId") String userId); |
|
|
PersonDataResultDTO personData(@Param("userId") String userId); |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* @Description 根据名字,组织查询人 |
|
|
|
|
|
* @param name |
|
|
* @param name |
|
|
* @param agencyId |
|
|
* @param agencyId |
|
|
|
|
|
* @Description 根据名字,组织查询人 |
|
|
* @author zxc |
|
|
* @author zxc |
|
|
* @date 2021/11/3 2:05 下午 |
|
|
* @date 2021/11/3 2:05 下午 |
|
|
*/ |
|
|
*/ |
|
|
List<SearchByNameResultDTO> searchByName(@Param("name")String name, @Param("agencyId")String agencyId,@Param("pageNo")Integer pageNo); |
|
|
List<SearchByNameResultDTO> searchByName(@Param("name") String name, @Param("agencyId") String agencyId, @Param("pageNo") Integer pageNo); |
|
|
|
|
|
|
|
|
Set<String> selectUserDemandCode(String icResiUserId); |
|
|
Set<String> selectUserDemandCode(String icResiUserId); |
|
|
String selectCategoryNames(@Param("customerId") String customerId,@Param("codeSet") Set<String> codeSet); |
|
|
|
|
|
|
|
|
String selectCategoryNames(@Param("customerId") String customerId, @Param("codeSet") Set<String> codeSet); |
|
|
|
|
|
|
|
|
@MapKey("HOME_ID") |
|
|
@MapKey("HOME_ID") |
|
|
Map<String, Map<String, String>> getHomeUserCategoryCount(@Param("buildId") String buildId); |
|
|
Map<String, Map<String, String>> getHomeUserCategoryCount(@Param("buildId") String buildId); |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* @Description 根据userId查询志愿者 |
|
|
|
|
|
* @param userId |
|
|
* @param userId |
|
|
|
|
|
* @Description 根据userId查询志愿者 |
|
|
* @author zxc |
|
|
* @author zxc |
|
|
* @date 2021/11/5 5:44 下午 |
|
|
* @date 2021/11/5 5:44 下午 |
|
|
*/ |
|
|
*/ |
|
|
List<String> selectVolunteerByUserId(@Param("userId")String userId); |
|
|
List<String> selectVolunteerByUserId(@Param("userId") String userId); |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* @Description 查询人员类别 |
|
|
|
|
|
* @param columns |
|
|
* @param columns |
|
|
|
|
|
* @Description 查询人员类别 |
|
|
* @author zxc |
|
|
* @author zxc |
|
|
* @date 2021/11/8 1:50 下午 |
|
|
* @date 2021/11/8 1:50 下午 |
|
|
*/ |
|
|
*/ |
|
|
Map<String,String> selectPersonType(@Param("columns")List<String> columns,@Param("customerId")String customerId, |
|
|
Map<String, String> selectPersonType(@Param("columns") List<String> columns, @Param("customerId") String customerId, |
|
|
@Param("tableName")String tableName,@Param("userId")String userId); |
|
|
@Param("tableName") String tableName, @Param("userId") String userId); |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* @Author sun |
|
|
* @Author sun |
|
|
* @Description 查询居民信息 |
|
|
* @Description 查询居民信息 |
|
|
**/ |
|
|
**/ |
|
|
IcResiUserDTO getResiUser(IcResiUserDTO dto); |
|
|
IcResiUserDTO getResiUser(IcResiUserDTO dto); |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* |
|
|
|
|
|
* @param agencyId |
|
|
* @param agencyId |
|
|
* @param gridId |
|
|
* @param gridId |
|
|
* @param name |
|
|
* @param name |
|
|
* @return |
|
|
* @return |
|
|
*/ |
|
|
*/ |
|
|
List<DemandUserResDTO> selectDemandUsers(@Param("agencyId") String agencyId, |
|
|
List<DemandUserResDTO> selectDemandUsers(@Param("agencyId") String agencyId, |
|
|
@Param("gridId")String gridId, |
|
|
@Param("gridId") String gridId, |
|
|
@Param("name")String name); |
|
|
@Param("name") String name); |
|
|
|
|
|
|
|
|
IcResiUserDTO selectIdByIdCard(@Param("customerId") String customerId, |
|
|
IcResiUserDTO selectIdByIdCard(@Param("customerId") String customerId, |
|
|
@Param("idNum")String idNum, |
|
|
@Param("idNum") String idNum, |
|
|
@Param("icResiUserId")String icResiUserId); |
|
|
@Param("icResiUserId") String icResiUserId); |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* 获取居民名称,家属名称和id |
|
|
* 获取居民名称,家属名称和id |
|
|
|
|
|
* |
|
|
* @param isResiUserId |
|
|
* @param isResiUserId |
|
|
* @return |
|
|
* @return |
|
|
*/ |
|
|
*/ |
|
@ -184,6 +187,7 @@ public interface IcResiUserDao extends BaseDao<IcResiUserEntity> { |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* 组织内党员年龄范围统计 |
|
|
* 组织内党员年龄范围统计 |
|
|
|
|
|
* |
|
|
* @Param orgType |
|
|
* @Param orgType |
|
|
* @Param orgId |
|
|
* @Param orgId |
|
|
* @Return {@link List< OptionDataResultDTO>} |
|
|
* @Return {@link List< OptionDataResultDTO>} |
|
@ -194,6 +198,7 @@ public interface IcResiUserDao extends BaseDao<IcResiUserEntity> { |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* 获取年龄范围内党员列表 |
|
|
* 获取年龄范围内党员列表 |
|
|
|
|
|
* |
|
|
* @Param orgType |
|
|
* @Param orgType |
|
|
* @Param orgId |
|
|
* @Param orgId |
|
|
* @Param min |
|
|
* @Param min |
|
@ -208,6 +213,7 @@ public interface IcResiUserDao extends BaseDao<IcResiUserEntity> { |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* 党员文化程度统计 |
|
|
* 党员文化程度统计 |
|
|
|
|
|
* |
|
|
* @Param orgType |
|
|
* @Param orgType |
|
|
* @Param orgId |
|
|
* @Param orgId |
|
|
* @Return {@link List< OptionDataResultDTO>} |
|
|
* @Return {@link List< OptionDataResultDTO>} |
|
@ -218,6 +224,7 @@ public interface IcResiUserDao extends BaseDao<IcResiUserEntity> { |
|
|
|
|
|
|
|
|
/** |
|
|
/** |
|
|
* 按教育程度获取党员列表 |
|
|
* 按教育程度获取党员列表 |
|
|
|
|
|
* |
|
|
* @Param orgType |
|
|
* @Param orgType |
|
|
* @Param orgId |
|
|
* @Param orgId |
|
|
* @Param code |
|
|
* @Param code |
|
@ -226,7 +233,7 @@ public interface IcResiUserDao extends BaseDao<IcResiUserEntity> { |
|
|
* @Date 2021/12/10 17:24 |
|
|
* @Date 2021/12/10 17:24 |
|
|
*/ |
|
|
*/ |
|
|
List<PartyMemberEducationResultDTO> getPartyMemberEducationList(@Param("orgType") String orgType, @Param("orgId") String orgId, |
|
|
List<PartyMemberEducationResultDTO> getPartyMemberEducationList(@Param("orgType") String orgType, @Param("orgId") String orgId, |
|
|
@Param("code") String code); |
|
|
@Param("code") String code); |
|
|
|
|
|
|
|
|
List<VolunteerDistributionResultDTO.Distribution> listIcResiInfosByUserIds(@Param("userIds") List<String> userIds); |
|
|
List<VolunteerDistributionResultDTO.Distribution> listIcResiInfosByUserIds(@Param("userIds") List<String> userIds); |
|
|
|
|
|
|
|
@ -239,4 +246,19 @@ public interface IcResiUserDao extends BaseDao<IcResiUserEntity> { |
|
|
List<String> icUserCustomerIds(); |
|
|
List<String> icUserCustomerIds(); |
|
|
|
|
|
|
|
|
List<Map<String, String>> getIcUserList(@Param("customerId") String customerId, @Param("columns")List<String> columns); |
|
|
List<Map<String, String>> getIcUserList(@Param("customerId") String customerId, @Param("columns")List<String> columns); |
|
|
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
|
* desc: 获取数据分析列中的 各类居民数据 |
|
|
|
|
|
* |
|
|
|
|
|
* @param customerId |
|
|
|
|
|
* @param tableName |
|
|
|
|
|
* @param columnList |
|
|
|
|
|
* @param id 非必填 leve有值时 必填 |
|
|
|
|
|
* @param level 非必填 |
|
|
|
|
|
* @return java.util.Map<java.lang.String,java.math.BigDecimal> 字段名:数量 |
|
|
|
|
|
* @author LiuJanJun |
|
|
|
|
|
* @date 2022/2/12 3:03 下午 |
|
|
|
|
|
*/ |
|
|
|
|
|
Map<String, BigDecimal> getDataAnalyseCount(@Param("customerId") String customerId, @Param("tableName") String tableName, |
|
|
|
|
|
@Param("columnList") List<String> columnList, @Param("id") String id, @Param("level") String level); |
|
|
} |
|
|
} |
|
|