package com.ktg.system.service;


import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.ktg.common.vo.FaceCutVO;
import com.ktg.system.domain.SysUserCharacteristic;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;

/**
 * 用户特征(指纹、面部)Service接口
 *
 * @author cgj
 * @date 2025-03-10
 */
public interface ISysUserCharacteristicService extends IService<SysUserCharacteristic> {

    Page<SysUserCharacteristic> getSysUserCharacteristicPage(Page<SysUserCharacteristic> page, SysUserCharacteristic sysUserCharacteristic);

    Long insertUserFingerprintDat(MultipartFile file, String userName, String sysAttrValue, String url, String group) throws IOException;

    FaceCutVO insertUserCutFace(MultipartFile file, String userName, String sysAttrValue, String url) throws IOException;

    FaceCutVO insertUserFace(MultipartFile file, String userName, String sysAttrValue, String url) throws IOException;

    Boolean deleteSysUserCharacteristicByRecordIds(String recordIds);

}
