package com.example.erp.mapper.pp; import com.baomidou.dynamic.datasource.annotation.DS; import com.baomidou.mybatisplus.core.mapper.BaseMapper; import com.example.erp.dto.pp.FlowCardDTO; import com.example.erp.entity.pp.FlowCard; import com.example.erp.entity.sd.OrderDetail; import com.example.erp.entity.sd.OrderProcessDetail; import org.apache.ibatis.annotations.Mapper; import org.apache.ibatis.annotations.Param; import java.sql.Date; import java.time.LocalDate; import java.util.List; import java.util.Map; /** * @author SNG-016 */ @Mapper public interface FlowCardMapper extends BaseMapper { //流程卡管理查询 List selectFlowCard(Integer offset, Integer pageSize, String selectTime1, String selectTime2, FlowCard flowCard); //分页查询 Map getPageTotal(Integer offset, Integer pageSize, String selectTime1, String selectTime2, FlowCard flowCard); //分架数据查询 List selectFlowCardMp(String selectTime1, String selectTime2, FlowCard flowCard); //分架明细查询 List> detailsSelectMp(String orderId, FlowCard flowCard); //删除流程卡 Boolean deleteFlowCardMp(String orderId, String processId); //分架新增明细查询 List> selectNoCardMp(String orderId, String productionId, FlowCard flowCard); //修改排版状态 Boolean updateLayoutStatusMp(String processId,Integer state); Integer selectLayoutStatus(String processId); //查询报工表内是否存在对应流程卡的数据 Integer reportingWorkCount(String processId); Integer reportingWorkCountByOrderId(String orderId); //插入Flow_card表 Boolean addFlowCardMp(String processId, Integer orderNumber, Integer landingSequence, Integer quantity, String productionId, String userName, Integer layer); Boolean updateFlowState(String productionId, Integer orderNumber); Integer selectFlowCount(String orderId); Boolean updateProcessingCard(String productionId, int state); Boolean updateDeleteState(String orderId, String processId); List selectOkSchedulingMp(String selectTime1, String selectTime2, String orderId, String processes, FlowCard flowCard); List selectNoSchedulingMp(String selectTime1, String selectTime2, String orderId, String processes, FlowCard flowCard); List> selectLastSchedulingMp(String selectTime1, String selectTime2, FlowCard flowCard); Integer selectLayer(String productionId, Integer orderNumber); Integer selectFlowCardCount(String orderId); List> flowCardDetailMp(String processId, FlowCard flowCard); Boolean deleteReportingWork(String processId); Boolean deleteReportingWorkByOrderId(String orderId); List> selectPrintFlowCardMp(String selectTime1, String selectTime2, String orderId, String project, Integer state, FlowCard flowCard); List> selectPrintFlowCard(String selectTime1, String selectTime2); List> selectPrintMp(String orderId); List> getPrimaryList(String processId, String technologyNumber, String glassChild, String process, String orderId); List> getPrimaryLists(String processId, String technologyNumber, String glassChild, String process, String orderId,Integer quantity); List> getDetailList(String processId, String technologyNumber, String process, String flashback, String landingSequence); List> getDetailLists(String processId, String technologyNumber, String process,Integer orderNumber); List> getProcessList(String processId, String technologyNumber); Boolean updateInventory(String processId, String orderNumber, String technologyNumber, Integer completedQuantity); Boolean updateComposing(String processId); Boolean updateProcessCardRack(String processId,String technologyNumber,String rack); List> getPrintLabel(String projectNo); List> getPrintLabel2(String projectNo); List> getPrintLabel1(String processId,String technologyNumber); List> getPrintLabelDetail(@Param("flowCard") FlowCard flowCard); List> printFlowCardDetailsMp(String processId, String technologyNumber, String process, FlowCard flowCard); Boolean printSortMp(String processId, Integer orderNumber, String technologyNumber, Integer sort); List> selectType(); List> getPrintTitle(String type); List> getCustomLabelDetailMp(String name, String form, String id, FlowCard flowCard); List> getPrintCustomData(String processId, Integer orderNumber, Integer printQuantity); List> getPrintCustomData2(String processId); Integer getPrintLabelCount(String processId, String technologyNumber); List> selectReplenishPrintMp(Date selectTime1, Date selectTime2, FlowCard flowCard); List> getRepairPrintCustomData(String processId, String technologyNumber, String reportingWorkId, Integer orderNumber); List> getReworkPrintCustomData(String processId, String technologyNumber, String reportingWorkId, Integer orderNumber); List> getGlassNumber(String technologyNumber, String processId); Boolean updatePrintStateMp(Integer printState, String processId, String technologyNumber); List> printFlowCardOrderSortMp(String orderId, FlowCard flowCard); Boolean printOrderSortMp(String processId, Integer orderNumber, String technologyNumber, Integer sort); List> getPrimaryListMerge(String processId, String technologyNumber, String orderId); List> selectorderOtherMoney(); List> selectReworkPrintMp(Date selectTime1, Date selectTime2, FlowCard flowCard); List> getDetailListLike(String processId, String technologyNumber, String process, String flashback, String landingSequence); List> getDetailListMerge(String processId, String process, String flashback, String landingSequence); List> getDetailListLikes(String processId, String technologyNumber, String process,String printProject,Integer quantity); List> getPrimaryListMergeRefund(String processId, String technologyNumber, Integer orderNumber, String orderId); List> getDetailListRefund(String processId, String technologyNumber, Integer orderNumber, String reportingWorkId, String patchReason); List> getPrimaryListRefund(String processId, String technologyNumber, Integer orderNumber, String reportingWorkId, String mergeTechnologyNumber, String patchReason, String orderId); List> getDetailListLikeRefund(String processId, String technologyNumber, Integer orderNumber, String reportingWorkId); List> getPrimaryListRework(String processId, String technologyNumber, Integer orderNumber, String reportingWorkId, String orderId); List> getDetailListRework(String processId, String technologyNumber, Integer orderNumber, String reportingWorkId); List> getPrimaryListMergeRework(String processId, String printMerge, Integer orderNumber, String orderId); List> getDetailListLikeRework(String processId, String printMerge, Integer orderNumber, String reportingWorkId); List> getPrintCustomDataSemi(String processId, String technologyNumber, String process, Integer orderNumber, Integer printQuantity); List> getgetPrintCustomDataSemiSp(String processId, String technologyNumber, Integer orderNumber); List> selectPrintNotMp(String orderId); List> selectPrintNotMergeMp(String orderId); List> getRepairPrintCustomDataSemi(String processId, String technologyNumber, String reportingWorkId, Integer orderNumber); List> getReworkPrintCustomDataSemi(String processId, String technologyNumber, String reportingWorkId, Integer orderNumber); List> selectPrintAllMp(String orderId); Boolean printAddSortMp(String processId, Integer orderNumber, String technologyNumber, Integer sort, String process); Integer printAddSortCountMp(String processId, Integer orderNumber, String technologyNumber, Integer sort, String process); Boolean printUpdateSortMp(String processId, Integer orderNumber, String technologyNumber, Integer sort, String process); List> getPrimaryListLimt(String processId, String technologyNumber, String glassChild, String process, String orderId); List> selectPrintDetailsMp(String orderId); List> selectPrintDetailsMp1(String orderId); List> getPrintCustomDataDetails(String processId, Integer orderNumber, Integer printQuantity); List> getPrintCustomDataProjectNo(String projectNo); String selectUserMp(String userId); List> selectSortTableMp(String orderId); String countFlowCard(String orderId); List> remakList(String processId); List> selectMaxFlowCard(String orderId, String productionId); List> selectFlowCardMerge(String processId); Boolean updateFlowCardMerge(String processId,List technologyNumbers,Integer index); Boolean deleteflowCardSort(String orderId, String processId); Boolean deleteflowCardSortByOrderId(String orderId); List> getPrintProjectDetailsMp(String projectNo); List> getPrintProjectDetailsMpSp(String projectNo,List stockId); List> getPrintCustomDataProjectDetail(String projectNo, String stockId,Integer polysId); List> getPrintCustomDataProject(String projectNo); List> getPrintLabel3(String projectNo); Boolean updateProcessMp(String processId, String technologyNumber, String process, String number); Boolean deleteProcessMp(String processId, String technologyNumber); Boolean updateOrderProcessMp(String orderId, String number, String technologyNumber, String orderprocess); List getFlowCardListPrintProject(String printProject); Integer updateProjectLabelPrintCount(String projectNo); Integer selectProjectLabelPrintCount(String projectNo); Integer updateProjectProcessPrintCount(String projectNo); Integer selectProjectProcessPrintCount(String projectNo); int flowCardToOptimizeCount(String orderId); List> getFlowCardDetail(String processId); Map getGlassThicknessByProdutionId(String orderId,String productionId); List getOrderDetailByProductionId(String orderId, String productionId, String type, Float inLenMax, Float inLenMin, Float inShortMax, Float inShortMin, Float glassThickness); Boolean revokeComposing(String processId); Integer selectProjectNo(String processId); List> selectPrintDetailsMp2(String orderId); List> getPrintOrderDataDetails(String orderId, Integer orderNumber, Integer printQuantity); Boolean updatePrintNumberMp(String processId, Integer orderNumber); String getOrderIdByProcessId(String processId); Boolean updateFlowCardIsMerge(String processId); Integer flowCardDetailMergeMp(String processId); String getProcessName(String processSub); List> getProcessNameList(); List exportDateProcessMp(List date); Integer getSumQuantity(String orderId); List> getDetailCompoundList(String processId, String technologyNumber, String process, String flashback, String compound, String landingSequence); List> getDetailListLikeCompound(String processId, String s, String process, String flashback, String compound, String landingSequence); List> getPrintCustomDataSemiTj(String processId, String technologyNumber, String process, Integer printQuantity); Integer getLayoutStatus(String processId); List> selectSortingCardMp(String orderId, String productionId, String flashback, String optionVal, FlowCard flowCard); Boolean updateTerminationMp(String processId, Integer orderNumber, Integer value); Integer selectCompletedMp(String processId, Integer orderNumber, String interceptProcess); String getProcessOk(String processId,String orderNumber, String technologyNumber); List getProcessDetail(String processId,String orderNumber, String technologyNumber, String process); Boolean updateOrderProcessDetail(String processId, String orderNumber, Integer technologyNumber, int reportingWorkNumCount, int reportingWorkNum, int brokenNum, String process); List> getPrimaryListRefundHB(String processId, String technologyNumber, Integer orderNumber, String reportingWorkId, String mergeTechnologyNumber, String patchReason, String orderId); Map getTerminationQuantity(String processId, Integer orderNumber); Boolean updateTerminationStatus(String processId, Integer orderNumber); Boolean updateTerminationNoMp(String processId, Integer orderNumber); }