IZhiMaCertDao.java
638 Bytes
package com.yohoufo.dal.user;
import com.yohoufo.dal.user.model.ZhiMaCert;
import org.apache.ibatis.annotations.Param;
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);
}