IZhiMaCertDao.java
778 Bytes
package com.yohoufo.dal.user;
import com.yohoufo.dal.user.model.ZhiMaCert;
import org.apache.ibatis.annotations.Param;
import java.util.List;
public interface IZhiMaCertDao {
//int insert(ZhiMaCert zhiMaCert);
int insertAndGetID(ZhiMaCert zhiMaCert);
int updateValidStatusByPrimaryKey(int id);
int updateBizNoByByPrimaryKey(@Param("id")int id, @Param("bizNo")String bizNo);
//获取生效的认证信息
ZhiMaCert selectByPrimaryKey(int id);
ZhiMaCert selectValidByUid(int uid);
ZhiMaCert selectValidByCertNo(String certNo);
//根据业务编号查询
ZhiMaCert selectByBizNo(@Param("bizNo")String bizNo);
int deleteByUid(int id);
int insertbak(ZhiMaCert zhiMaCert);
List<ZhiMaCert> selectByUid(int uid);
}