65 lines
1.6 KiB
Java
65 lines
1.6 KiB
Java
package com.rzyc.mapper;
|
|
|
|
import com.rzyc.model.EntUserCredential;
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
import com.rzyc.model.dto.EntUserCredentialUpdateDto;
|
|
import org.apache.ibatis.annotations.Param;
|
|
import org.springframework.stereotype.Repository;
|
|
|
|
import java.util.List;
|
|
|
|
/**
|
|
* <p>
|
|
* Mapper 接口
|
|
* </p>
|
|
*
|
|
* @author
|
|
* @since 2022-10-09
|
|
*/
|
|
@Repository
|
|
public interface EntUserCredentialMapper extends BaseMapper<EntUserCredential> {
|
|
|
|
|
|
/**
|
|
* 企业用户证照表
|
|
* @param enterpriseId 企业id
|
|
* @param entUserId 企业用户id
|
|
* @param credentialState 证件
|
|
* @return EntUserCredential 企业用户证照
|
|
* */
|
|
List<EntUserCredential>selectEntUserCredential(@Param("enterpriseId") String enterpriseId, @Param("entUserId")String entUserId,@Param("credentialState") Integer credentialState);
|
|
|
|
|
|
/**
|
|
* 企业用户证件照修改
|
|
* @param entUserCredential 企业用户证件照对象
|
|
* @return int
|
|
* */
|
|
int updateEntUserCredential(@Param("data") EntUserCredential entUserCredential);
|
|
|
|
|
|
/**
|
|
* 企业用户证件照新增
|
|
* @param entUserCredential 企业用户证件照对象
|
|
* @return int
|
|
* */
|
|
int insertEntUserCredential(@Param("data") EntUserCredential entUserCredential);
|
|
|
|
|
|
/**
|
|
* 企业用户证件照删除
|
|
* @param credentialId 企业用户证件照id
|
|
* @return int
|
|
* */
|
|
int entUserCredentialDelete(@Param("credentialId") String credentialId);
|
|
|
|
|
|
/**
|
|
* 企业用户证件照删除
|
|
* @param userId 企业用户id
|
|
* @return int
|
|
* */
|
|
int delEntUserCredential(@Param("userId")String userId);
|
|
|
|
}
|