guoyuji
2024-05-23 ef5a518c3e2c1fe41aa60f56ca31ddafa0cb1561
north-glass-erp/src/main/java/com/example/erp/mapper/pp/ReportingWorkMapper.java
@@ -1,16 +1,16 @@
package com.example.erp.mapper.pp;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.example.erp.entity.pp.BasicDataProduce;
import com.example.erp.entity.pp.ReportingWork;
import com.example.erp.entity.pp.ReportingWorkDetail;
import com.example.erp.entity.sd.OrderGlassDetail;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import java.time.LocalDate;
import java.sql.Date;
import java.util.List;
import java.util.Map;
@Mapper
public interface ReportingWorkMapper {
public interface ReportingWorkMapper extends BaseMapper<ReportingWork> {
    ReportingWork AddSelectLastWorkMp(String processIdStr, String technologyStr,String previousProcess,String nextProcess,String process);
@@ -23,9 +23,9 @@
    String SelectWorkTechnologyMp(String processIdStr);
    List<Map<String,String>> SelectTechnologicalNumMp(String processIdStr, String technologyStr);
    List<Map<String,String>> SelectTechnologicalNumMp(String processIdStr, String technologyStr,String process);
    List<Map<String,String>> SelectReworlDetailMp(String processIdStr, String technologyStr, String previousProcess);
    List<Map<String,String>> SelectReworlDetailMp(String processIdStr, String technologyStr, String process);
    List<Map<String,String>> SelectProcessMp();
@@ -33,5 +33,46 @@
    List<Map<String,String>> historyDeviceMp(String historyProcess, String process);
    List<Map<String,String>> historyTeamsMp(String historyProcess, String process);
    List<Map<String,String>> historyTeamsMp(String processIdStr, String process);
    List<Map<String,String>> SelectHistoryProcessMp(String historyProcess, String process);
    List<Map<String,BasicDataProduce>>  selectBasicNameByType(String type);
    Integer selectMaxReportingWorkId();
    int selectGlassProcessNum(String orderNumber, String technologyNumber, String processId, String thisProcess);
    int selectFlowCardNum(String orderNumber, String technologyNumber, String processId, String thisProcess);
    List<Map<String,Object>> selectByReportingWorkId(String reportingWorkId,String nextProcess);
    Map<String, Integer> getPageTotal(Integer offset, Integer pageSize, Date selectTime1, Date selectTime2, String orderId, ReportingWork reportingWork);
    String selectNextProcess(String reportingWorkId);
    Integer selectCountByProcessId(String processId, String nextProcess);
    List<Map<String, Object>> reportingWorkDate(String reportingWorkId);
    Boolean updateWorkProcess(String processId, Object orderNumber, Object technologyNumber, Object completedQuantity, Object breakageQuantity, String thisProcess);
    Boolean deleteWork(String reportingWorkId);
    String selectLastProcess(String processId);
    Map<String, Object> selectReceiptQuantity(String processId);
    Integer selectCompletedQuantity(String reportingWorkId);
    Boolean updateInventoryQuantity(String processId, Object orderNumber, Object technologyNumber, Object completedQuantity);
    List<ReportingWork> selectReportingWorkMp(Integer offset, Integer pageSize, Date selectTime1, Date selectTime2, String orderId, ReportingWork reportingWork);
    List<ReportingWork> selectQualityTestingMp(Integer offset, Integer pageSize, Date selectTime1, Date selectTime2, Integer state, String processId, ReportingWork reportingWork);
    Map<String, Integer> getQualityPageTotal(Integer offset, Integer pageSize, Date selectTime1, Date selectTime2, Integer state, String processId, ReportingWork reportingWork);
    Boolean updateQualityStatusMp(String reportingWorkId,String username);
    List<Map<String,String>> detailsQualityMp(String reportingWorkId, ReportingWork reportingWork);
}