package cn.estsh.i3plus.ext.mes.pcn.apiservice.dao;

import cn.estsh.i3plus.ext.mes.pcn.pojo.model.MesNcProcessingPartAndLotModel;
import cn.estsh.i3plus.pojo.base.common.Pager;
import io.swagger.annotations.ApiOperation;

import java.util.List;

public interface IMesNcProcessingDao {

    @ApiOperation(value = "查询返工返修数据")
    int queryDefectRecordByPagerCount(String partNo, String lotNo, String org);

    @ApiOperation(value = "查询停工统计数据")
    List<MesNcProcessingPartAndLotModel> queryDefectRecordByPager(String partNo, String lotNo, String org, Pager pager);

    List<String> queryPartInspectionCreateUser(String organizeCode);

}
