package com.cool.store.mapper;

import com.cool.store.dao.QualificationsInfoDAO;
import com.cool.store.entity.MemberQuestionDO;
import com.cool.store.entity.QualificationsInfoDO;
import org.apache.ibatis.annotations.Param;
import tk.mybatis.mapper.common.Mapper;

public interface QualificationsInfoMapper extends Mapper<QualificationsInfoDO> {


    /**
     * 新增与更新
     * @param request
     * @return
     */
    boolean insertOrUpdate(@Param("request") QualificationsInfoDO request);

    void updateAuditIdByLineId(@Param("auditId") Long auditId,
                               @Param("lineId") Long id);

    QualificationsInfoDO getByLineId(@Param("lineId") Long lineId);


}