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.
106 lines
3.6 KiB
106 lines
3.6 KiB
package com.epmet.service;
|
|
|
|
import com.epmet.bean.PersonSpecialTypeBean;
|
|
import com.epmet.commons.tools.page.PageData;
|
|
import com.epmet.dto.form.lingshan.LingShanSpecialTypeSaveFormDTO;
|
|
import com.epmet.dto.form.lingshan.LingShanSpecialTypeSaveResultDTO;
|
|
import com.epmet.dto.result.LingShanSpecialCrowdListResultDTO;
|
|
import com.epmet.entity.*;
|
|
import com.epmet.excel.data.LingShanSpecialCrowdDetailAzbjExcelData;
|
|
import com.epmet.excel.data.LingShanSpecialCrowdDetailBaseExcelData;
|
|
import com.epmet.excel.handler.AbstractLingShanSpecialCrowdExcelImportListener;
|
|
import com.sun.org.apache.xpath.internal.operations.Bool;
|
|
import org.apache.poi.ss.formula.functions.T;
|
|
|
|
import java.util.List;
|
|
|
|
/**
|
|
* 灵山特殊人群service
|
|
*/
|
|
public interface LingShanSpecialCrowdService {
|
|
|
|
/**
|
|
* @description: 导入特殊人群
|
|
* @param crowdCategory:
|
|
* @param fileSavePath:
|
|
* @return taskId 导入任务id
|
|
* @author: WangXianZhang
|
|
* @date: 2023/4/18 5:42 PM
|
|
*/
|
|
String importSpecialCrowd(String crowdCategory, String fileSavePath, String originFilename);
|
|
|
|
/**
|
|
* @description: 数据校验
|
|
* @param row:
|
|
* @returns
|
|
* @author: WangXianZhang
|
|
* @date: 2023/4/18 4:49 PM
|
|
*/
|
|
String validate(LingShanSpecialCrowdDetailBaseExcelData row);
|
|
|
|
/**
|
|
* @description:
|
|
* @param personTypes:
|
|
* @param hard: 是否硬性写入。true:会覆盖现有的,用于页面的修改。false:会与现有的合并,用户导入
|
|
* @return
|
|
* @author: WangXianZhang
|
|
* @date: 2023/4/24 3:25 PM
|
|
*/
|
|
void savePersonAndTypes(List<PersonSpecialTypeBean> personTypes, Boolean hard);
|
|
|
|
/**
|
|
* @description: 安置帮教-导入
|
|
* @return
|
|
* @author: WangXianZhang
|
|
* @date: 2023/4/18 4:11 PM
|
|
*/
|
|
void saveBatch(List<LingshanSpecialCrowdDetailAzbjEntity> entities, LingshanSpecialCrowdDetailAzbjEntity e);
|
|
void saveBatch(List<LingshanSpecialCrowdDetailJdryEntity> entities, LingshanSpecialCrowdDetailJdryEntity e);
|
|
void saveBatch(List<LingshanSpecialCrowdDetailJzhzEntity> entities, LingshanSpecialCrowdDetailJzhzEntity e);
|
|
void saveBatch(List<LingshanSpecialCrowdDetailSqjzEntity> entities, LingshanSpecialCrowdDetailSqjzEntity e);
|
|
void saveBatch(List<LingshanSpecialCrowdDetailXfryEntity> entities, LingshanSpecialCrowdDetailXfryEntity e);
|
|
|
|
// /**
|
|
// * @description: 新增-安置帮教
|
|
// * @param azbjData:
|
|
// * @return
|
|
// * @author: WangXianZhang
|
|
// * @date: 2023/4/20 2:51 PM
|
|
// */
|
|
// void createSpecialCrowd(LingShanSpecialCrowdDetailBaseExcelData azbjData, String specialType);
|
|
|
|
/**
|
|
* @description: 特殊人群详情
|
|
* @param idCard:
|
|
* @return
|
|
* @author: WangXianZhang
|
|
* @date: 2023/4/20 3:45 PM
|
|
*/
|
|
LingShanSpecialTypeSaveResultDTO getPersonSpecialTypeDetail(String resiId);
|
|
|
|
/**
|
|
* @description: 列表查询
|
|
* @param orgId:
|
|
* @param orgType:
|
|
* @param specialType:
|
|
* @param name:
|
|
* @param mobile:
|
|
* @param idCard:
|
|
* @return
|
|
* @author: WangXianZhang
|
|
* @date: 2023/4/20 5:44 PM
|
|
*/
|
|
PageData<LingShanSpecialCrowdListResultDTO> listSpecialCrowds(String orgId, String orgType, String specialType, String name, String mobile,
|
|
String idCard, Integer pageNo, Integer pageSize);
|
|
|
|
void deleteByResi(String resiId);
|
|
|
|
/**
|
|
* @description: 保存或修改
|
|
* @param input:
|
|
* @return
|
|
* @author: WangXianZhang
|
|
* @date: 2023/4/23 11:06 AM
|
|
*/
|
|
void saveSpecialCrowd(LingShanSpecialTypeSaveFormDTO input);
|
|
}
|
|
|