guoyujie
22 小时以前 91b61fe723df498d62c596372521d426299f0f8b
north-glass-erp/src/main/java/com/example/erp/mapper/pp/FlowCardMapper.java
@@ -2,6 +2,7 @@
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.erp.entity.pp.FlowCard;
import com.example.erp.entity.sd.OrderDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
@@ -15,10 +16,10 @@
@Mapper
public interface FlowCardMapper extends BaseMapper<FlowCard> {
    //流程卡管理查询
    List<FlowCard> selectFlowCard(Integer offset, Integer pageSize, Date selectTime1, Date selectTime2, FlowCard flowCard);
    List<FlowCard> selectFlowCard(Integer offset, Integer pageSize, String selectTime1, String selectTime2, FlowCard flowCard);
    //分页查询
    Map<String, Integer> getPageTotal(Integer offset, Integer pageSize, Date selectTime1, Date selectTime2, FlowCard flowCard);
    Map<String, Integer> getPageTotal(Integer offset, Integer pageSize, String selectTime1, String selectTime2, FlowCard flowCard);
    //分架数据查询
    List<FlowCard> selectFlowCardMp(Date selectTime1, Date selectTime2, FlowCard flowCard);
@@ -39,6 +40,8 @@
    //查询报工表内是否存在对应流程卡的数据
    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);
@@ -66,8 +69,9 @@
    List<Map<String, String>> flowCardDetailMp(String processId, FlowCard flowCard);
    Boolean deleteReportingWork(String processId);
    Boolean deleteReportingWorkByOrderId(String orderId);
    List<Map<String, String>> selectPrintFlowCardMp(Date selectTime1, Date selectTime2, String orderId, String project, FlowCard flowCard);
    List<Map<String, String>> selectPrintFlowCardMp(Date selectTime1, Date selectTime2, String orderId, String project, Integer state, FlowCard flowCard);
    List<Map<String, String>> selectPrintFlowCard(Date selectTime1, Date selectTime2);
@@ -87,6 +91,8 @@
    Boolean updateComposing(String processId);
    Boolean updateProcessCardRack(String processId,String technologyNumber,String rack);
    List<Map<String, String>> getPrintLabel(String projectNo);
    List<Map<String, String>> getPrintLabel2(String projectNo);
@@ -105,13 +111,15 @@
    List<Map<String, Object>> getCustomLabelDetailMp(String name, String form, String id, FlowCard flowCard);
    List<Map<String, Object>>  getPrintCustomData(String processId, String technologyNumber);
    List<Map<String, Object>>  getPrintCustomData(String processId, Integer orderNumber);
    List<Map<String, Object>>  getPrintCustomData2(String processId);
    Integer getPrintLabelCount(String processId, String technologyNumber);
    List<Map<String, String>> selectReplenishPrintMp(Date selectTime1, Date selectTime2, FlowCard flowCard);
    List<Map<String, Object>> getRepairPrintCustomData(String processId, String technologyNumber, String reportingWorkId);
    List<Map<String, Object>> getRepairPrintCustomData(String processId, String technologyNumber, String reportingWorkId, Integer orderNumber);
    List<Map<String, Object>> getGlassNumber(String technologyNumber, String processId);
@@ -128,6 +136,8 @@
    List<Map<String, String>> selectReworkPrintMp(Date selectTime1, Date selectTime2, FlowCard flowCard);
    List<Map<String, Object>> getDetailListLike(String processId, String technologyNumber, String process);
    List<Map<String, Object>> getDetailListMerge(String processId, String process);
    List<Map<String, Object>> getDetailListLikes(String processId, String technologyNumber, String process,String printProject,Integer quantity);
@@ -153,7 +163,7 @@
    List<Map<String, String>> selectPrintNotMergeMp(String orderId);
    List<Map<String, String>> getRepairPrintCustomDataSemi(String processId, String technologyNumber, String reportingWorkId);
    List<Map<String, String>> getRepairPrintCustomDataSemi(String processId, String technologyNumber, String reportingWorkId, Integer orderNumber);
    List<Map<String, String>> selectPrintAllMp(String orderId);
@@ -188,6 +198,7 @@
    Boolean updateFlowCardMerge(String processId,List<Integer> technologyNumbers,Integer index);
    Boolean deleteflowCardSort(String orderId, String processId);
    Boolean deleteflowCardSortByOrderId(String orderId);
    List<Map<String, Object>> getPrintProjectDetailsMp(String projectNo);
@@ -204,4 +215,40 @@
    Boolean updateOrderProcessMp(String orderId, String number, String technologyNumber, String orderprocess);
    List<FlowCard> getFlowCardListPrintProject(String printProject);
    Integer updateProjectLabelPrintCount(String projectNo);
    Integer selectProjectLabelPrintCount(String projectNo);
    Integer updateProjectProcessPrintCount(String projectNo);
    Integer selectProjectProcessPrintCount(String projectNo);
    int flowCardToOptimizeCount(String orderId);
    List<Map<String, Object>> getFlowCardDetail(String processId);
    Map<String,Object> getGlassThicknessByProdutionId(String orderId,String productionId);
    List<OrderDetail>  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<Map<String, String>> selectPrintDetailsMp2(String orderId);
    List<Map<String, Object>> 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<Map<String, Object>> getProcessNameList();
}