liusheng
2023-06-06 e975b2b18607732086feefe522c93b4b8d3391a5
smartor/src/main/java/com/smartor/service/IPatArchiveService.java
@@ -1,27 +1,30 @@
package com.smartor.service;
import java.util.List;
import com.smartor.domain.PatArchive;
import com.smartor.domain.PatUpInfoVO;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.multipart.MultipartFile;
/**
 * 患者档案Service接口
 *
 * @author ruoyi
 * @date 2023-02-22
 *
 * @author smartor
 * @date 2023-03-04
 */
public interface IPatArchiveService
{
public interface IPatArchiveService {
    /**
     * 查询患者档案
     *
     * @param PatID 患者档案主键
     *
     * @param patid 患者档案主键
     * @return 患者档案
     */
    public PatArchive selectPatArchiveByPatID(Long PatID);
    public PatArchive selectPatArchiveByPatid(Long patid);
    /**
     * 查询患者档案列表
     *
     *
     * @param patArchive 患者档案
     * @return 患者档案集合
     */
@@ -29,7 +32,7 @@
    /**
     * 新增患者档案
     *
     *
     * @param patArchive 患者档案
     * @return 结果
     */
@@ -37,7 +40,7 @@
    /**
     * 修改患者档案
     *
     *
     * @param patArchive 患者档案
     * @return 结果
     */
@@ -45,17 +48,25 @@
    /**
     * 批量删除患者档案
     *
     * @param PatIDs 需要删除的患者档案主键集合
     *
     * @param patids 需要删除的患者档案主键集合
     * @return 结果
     */
    public int deletePatArchiveByPatIDs(Long[] PatIDs);
    public int deletePatArchiveByPatids(Long[] patids);
    /**
     * 删除患者档案信息
     *
     * @param PatID 患者档案主键
     *
     * @param patid 患者档案主键
     * @return 结果
     */
    public int deletePatArchiveByPatID(Long PatID);
    public int deletePatArchiveByPatid(Long patid);
    /**
     * 患者信息批量插入
     *
     * @param title
     * @param file
     */
    public PatUpInfoVO fileHandle( String username, MultipartFile file);
}