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.
81 lines
2.6 KiB
81 lines
2.6 KiB
package com.epmet.dao;
|
|
|
|
import com.epmet.commons.mybatis.dao.BaseDao;
|
|
import com.epmet.dto.IcNatDTO;
|
|
import com.epmet.dto.IcVaccineDTO;
|
|
import com.epmet.dto.form.MyNatListFormDTO;
|
|
import com.epmet.dto.form.VaccineListFormDTO;
|
|
import com.epmet.dto.result.IcVaccineListResultDTO;
|
|
import com.epmet.dto.result.MyNatListResultDTO;
|
|
import com.epmet.dto.result.RelationAndNatResultDTO;
|
|
import com.epmet.entity.IcVaccineEntity;
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
import org.apache.ibatis.annotations.Param;
|
|
|
|
import java.util.List;
|
|
|
|
/**
|
|
* 疫苗接种记录
|
|
*
|
|
* @author generator generator@elink-cn.com
|
|
* @since v1.0.0 2022-04-06
|
|
*/
|
|
@Mapper
|
|
public interface IcVaccineDao extends BaseDao<IcVaccineEntity> {
|
|
/**
|
|
* @Author sun
|
|
* @Description 核酸检测-按条件查询核酸记录
|
|
**/
|
|
List<MyNatListResultDTO> getMyNatList(MyNatListFormDTO formDTO);
|
|
|
|
/**
|
|
* @Author sun
|
|
* @Description 【核酸】本辖区核酸检测信息列表
|
|
*
|
|
* @param formDTO*/
|
|
List<IcVaccineListResultDTO> getIcVaccineList(VaccineListFormDTO formDTO);
|
|
|
|
/**
|
|
* @Author sun
|
|
* @Description 【核酸】客户下核酸检测信息列表
|
|
*
|
|
* @param formDTO*/
|
|
List<IcVaccineListResultDTO> getCustomerIcVaccineList(VaccineListFormDTO formDTO);
|
|
|
|
/**
|
|
* @Author sun
|
|
* @Description 删除操作--物理删除业务数据
|
|
**/
|
|
int delById(@Param("icVaccineId") String icVaccineId);
|
|
|
|
/**
|
|
* @Author sun
|
|
* @Description 按条件查询业务数据
|
|
**/
|
|
IcNatDTO getNatDTO(@Param("customerId") String customerId, @Param("icNatId") String icNatId, @Param("idCard") String idCard, @Param("natTime") String natTime, @Param("natResult") String natResult);
|
|
|
|
/**
|
|
* desc:根据客户id 更新是否居民状态
|
|
*
|
|
* @param customerId
|
|
* @param icResiUserId 如果为空则更新全部
|
|
* @return
|
|
*/
|
|
int updateIsResiFlag(@Param("customerId") String customerId, @Param("icResiUserId") String icResiUserId);
|
|
|
|
IcVaccineDTO getVaccineDTO(@Param("customerId") String customerId, @Param("icVaccineId") String icVaccineId, @Param("idCard") String idCard, @Param("inoculateTime") String inoculateTime);
|
|
|
|
/**
|
|
* 根据身份证号以及接种时间查询接种信息
|
|
* @param idCard
|
|
* @param time
|
|
* @return
|
|
*/
|
|
List<IcVaccineEntity> getVaccineListByIdCard(@Param("idCard") String idCard,@Param("time") String time);
|
|
|
|
List<RelationAndNatResultDTO> initVaccineLocal();
|
|
|
|
void updateRelation(List<RelationAndNatResultDTO> list);
|
|
|
|
void updateRelationOther(@Param("isLocalResiUser") String isLocalResiUser);
|
|
}
|
|
|