package io.hmit.modules.serviceOrder.dao;

import io.hmit.common.dao.BaseDao;
import io.hmit.modules.serviceOrder.dto.PensionOrderDocumentDTO;
import io.hmit.modules.serviceOrder.entity.PensionOrderDocumentEntity;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 订单及相关图片附件关联表
 *
 * @author zsh 408538940@qq.com
 * @since 1.0.0 2021-03-11
 */
@Mapper
public interface PensionOrderDocumentDao extends BaseDao<PensionOrderDocumentEntity> {

    List<PensionOrderDocumentDTO> findByOrderIdAndRemark(Long orderId, String remark);

    PensionOrderDocumentDTO findStaffVoiceId(Long orderId);

}