package com.sw.mes.sap.service;

import com.sw.mes.core.base.BaseService;
import com.sw.mes.core.response.Result;
import com.sw.mes.sap.dto.ReportErpOutputRecordDetailDto;
import com.sw.mes.sap.entity.ReportErpOutputRecordDetail;

import java.util.List;

/**
* @Author
* @Description：
* @Date:
* @Modified By:
*/
public interface ReportErpOutputRecordDetailService extends BaseService<ReportErpOutputRecordDetail> {

    List<ReportErpOutputRecordDetail> findByRid(Long id);

    ReportErpOutputRecordDetail findByCrystalNo(String crystalNo);

    Result writeOffAccountsMethod(ReportErpOutputRecordDetailDto dto);
}
