2022-10-09 17:33:16 +08:00
|
|
|
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
|
2022-10-10 15:57:14 +08:00
|
|
|
* @param page 页码
|
|
|
|
|
* @param pageSize 条数
|
2022-10-09 17:33:16 +08:00
|
|
|
* @return EntUserCredential 企业用户证照
|
|
|
|
|
* */
|
2022-10-10 15:57:14 +08:00
|
|
|
List<EntUserCredential>selectEntUserCredential(@Param("enterpriseId") String enterpriseId, @Param("entUserId")String entUserId,@Param("page") Integer page,@Param("pageSize")Integer pageSize);
|
2022-10-09 17:33:16 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 企业用户证件照修改
|
2022-10-10 15:57:14 +08:00
|
|
|
* @param entUserCredential 企业用户证件照对象
|
2022-10-09 17:33:16 +08:00
|
|
|
* @return int
|
|
|
|
|
* */
|
2022-10-10 15:57:14 +08:00
|
|
|
int updateEntUserCredential(@Param("data") EntUserCredential entUserCredential);
|
2022-10-09 17:33:16 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 企业用户证件照新增
|
2022-10-10 15:57:14 +08:00
|
|
|
* @param entUserCredential 企业用户证件照对象
|
2022-10-09 17:33:16 +08:00
|
|
|
* @return int
|
|
|
|
|
* */
|
2022-10-10 15:57:14 +08:00
|
|
|
int insertEntUserCredential(@Param("data") EntUserCredential entUserCredential);
|
2022-10-09 17:33:16 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 企业用户证件照删除
|
|
|
|
|
* @param credentialId 企业用户证件照id
|
|
|
|
|
* @return int
|
|
|
|
|
* */
|
|
|
|
|
int entUserCredentialDelete(@Param("credentialId") String credentialId);
|
|
|
|
|
|
|
|
|
|
}
|