日照智慧社区接口服务
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.

94 lines
1.9 KiB

package com.epmet.service;
import com.epmet.commons.mybatis.service.BaseService;
import com.epmet.commons.tools.page.PageData;
import com.epmet.dto.IcNatDTO;
import com.epmet.dto.form.AddIcNatFormDTO;
import com.epmet.dto.form.MyNatListFormDTO;
import com.epmet.dto.result.MyNatListResultDTO;
import com.epmet.entity.IcNatEntity;
import java.util.List;
import java.util.Map;
/**
* 核酸上报记录
*
* @author generator generator@elink-cn.com
* @since v1.0.0 2022-03-25
*/
public interface IcNatService extends BaseService<IcNatEntity> {
/**
* 默认分页
*
* @param params
* @return PageData<IcNucleinDTO>
* @author generator
* @date 2022-03-25
*/
PageData<IcNatDTO> page(Map<String, Object> params);
/**
* 默认查询
*
* @param params
* @return java.util.List<IcNucleinDTO>
* @author generator
* @date 2022-03-25
*/
List<IcNatDTO> list(Map<String, Object> params);
/**
* 单条查询
*
* @param id
* @return IcNucleinDTO
* @author generator
* @date 2022-03-25
*/
IcNatDTO get(String id);
/**
* 默认保存
*
* @param dto
* @return void
* @author generator
* @date 2022-03-25
*/
void save(IcNatDTO dto);
/**
* 默认更新
*
* @param dto
* @return void
* @author generator
* @date 2022-03-25
*/
void update(IcNatDTO dto);
/**
* 批量删除
*
* @param ids
* @return void
* @author generator
* @date 2022-03-25
*/
void delete(String[] ids);
/**
* @Author sun
* @Description 核酸检测-上报核酸记录
**/
void add(AddIcNatFormDTO formDTO);
/**
* @Author sun
* @Description 核酸检测-居民端我的上报
**/
List<MyNatListResultDTO> myNatList(MyNatListFormDTO formDTO);
}