You can not select more than 25 topics
			Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
		
		
		
		
		
			
		
			
				
					
					
						
							84 lines
						
					
					
						
							3.4 KiB
						
					
					
				
			
		
		
		
			
			
			
				
					
				
				
					
				
			
		
		
	
	
							84 lines
						
					
					
						
							3.4 KiB
						
					
					
				| /** | |
|  * Copyright 2018 人人开源 https://www.renren.io | |
|  * <p> | |
|  * This program is free software: you can redistribute it and/or modify | |
|  * it under the terms of the GNU General Public License as published by | |
|  * the Free Software Foundation, either version 3 of the License, or | |
|  * (at your option) any later version. | |
|  * <p> | |
|  * This program is distributed in the hope that it will be useful, | |
|  * but WITHOUT ANY WARRANTY; without even the implied warranty of | |
|  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | |
|  * GNU General Public License for more details. | |
|  * <p> | |
|  * You should have received a copy of the GNU General Public License | |
|  * along with this program.  If not, see <http://www.gnu.org/licenses/>. | |
|  */ | |
| 
 | |
| package com.epmet.dao; | |
| 
 | |
| import com.epmet.commons.mybatis.dao.BaseDao; | |
| import com.epmet.dto.form.ResiUserQueryValueDTO; | |
| import com.epmet.dto.result.IcFormResColumnDTO; | |
| import com.epmet.entity.IcResiUserEntity; | |
| import org.apache.ibatis.annotations.Mapper; | |
| import org.apache.ibatis.annotations.Param; | |
| 
 | |
| import java.util.List; | |
| import java.util.Map; | |
| 
 | |
| /** | |
|  * 用户基础信息 | |
|  * | |
|  * @author generator generator@elink-cn.com | |
|  * @since v1.0.0 2021-10-26 | |
|  */ | |
| @Mapper | |
| public interface IcResiUserDao extends BaseDao<IcResiUserEntity> { | |
| 
 | |
|     /** | |
|      * @Author sun | |
|      * @Description 居民信息各表新增数据 | |
|      **/ | |
|     void add(@Param("tableName") String tableName, @Param("map") Map<String, String> map); | |
| 
 | |
|     /** | |
|      * @Author sun | |
|      * @Description 更新或新增居民信息各表数据 | |
|      **/ | |
|     void upTable(@Param("tableName") String tableName, @Param("id") String id, @Param("map") Map<String, String> map); | |
| 
 | |
|     List<Map<String,Object>> selectListResiMap(@Param("customerId") String customerId, | |
|                                                @Param("formCode") String formCode, | |
|                                                @Param("conditions") List<ResiUserQueryValueDTO> conditions, | |
|                                                @Param("resultColumns") List<IcFormResColumnDTO> resultColumns, | |
|                                                @Param("subTables") List<String> subTables); | |
|     /** | |
|      * 查询主表 | |
|      * | |
|      * @param icResiUserId | |
|      * @return  java.util.List<java.util.Map<java.lang.String,java.lang.Object>> | |
|      * @author yinzuomei | |
|      * @date 2021/10/28 11:20 上午 | |
|      */ | |
|     List<Map<String, Object>> selectListMapById(@Param("customerId") String customerId, | |
|                                                 @Param("icResiUserId")String icResiUserId); | |
| 
 | |
|     /** | |
|      * 根据ic_resi_user.id去查询各个子表记录,动态传入表名 | |
|      * | |
|      * @param icResiUserId | |
|      * @param subTableName | |
|      * @return  java.util.List<java.util.Map<java.lang.String,java.lang.Object>> | |
|      * @author yinzuomei | |
|      * @date 2021/10/28 11:19 上午 | |
|      */ | |
|     List<Map<String, Object>> selectSubTableRecords(@Param("customerId")String customerId, | |
|                                                     @Param("icResiUserId") String icResiUserId, | |
|                                                     @Param("subTableName") String subTableName); | |
| 
 | |
|     List<Map<String, Object>> selectListResiMapForExport(@Param("customerId") String customerId, | |
|                                                          @Param("formCode")String formCode, | |
|                                                          @Param("conditions")List<ResiUserQueryValueDTO> conditions, | |
|                                                          @Param("subTables")List<String> subTables); | |
| } |