chenlu
2024-03-12 855f1ab0148cbfc26bc365a8c46ab8b7d427c01e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
package com.example.erp.mapper.pp;
 
import com.example.erp.entity.pp.FlowCard;
import com.example.erp.entity.sd.Order;
import com.example.erp.entity.sd.OrderDetail;
import com.example.erp.entity.sd.OrderGlassDetail;
import org.apache.ibatis.annotations.Mapper;
 
import java.sql.Date;
import java.util.List;
import java.util.Map;
 
@Mapper
public interface FlowCardMapper {
    //流程卡管理查询
    List<FlowCard> selectFlowCard(Integer offset, Integer pageSize, Date selectTime1, Date selectTime2, FlowCard flowCard);
 
    //分页查询
    Map<String, Integer> getPageTotal(Integer offset, Integer pageSize, Date selectTime1, Date selectTime2, FlowCard flowCard);
 
    //分架数据查询
    List<FlowCard> selectFlowCardMp(Date selectTime1, Date selectTime2, FlowCard flowCard);
 
    //分架明细查询
    List<FlowCard> detailsSelectMp(String orderId, FlowCard flowCard);
 
    //删除流程卡
    Boolean deleteFlowCardMp(String orderId, String processId);
 
    //分架新增明细查询
    List<Map<String, String>> selectNoCardMp(String orderId, String productionId, FlowCard flowCard);
 
    //修改排版状态
    Boolean updateLayoutStatusMp(String processId,Integer state);
 
    Integer selectLayoutStatus(String processId);
 
    //查询报工表内是否存在对应流程卡的数据
    Integer reportingWorkCount(String processId);
 
    //插入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 productionId);
 
 
    Boolean updateProcessingCard(String productionId, int state);
 
    Boolean updateDeleteState(String orderId, String processId);
 
    List<FlowCard> selectOkSchedulingMp(String selectTime1, String selectTime2, String orderId, String processes, FlowCard flowCard);
 
    List<FlowCard> selectNoSchedulingMp(String selectTime1, String selectTime2, String orderId, String processes, FlowCard flowCard);
 
    List<Map<String, String>> selectLastSchedulingMp(String selectTime1, String selectTime2, FlowCard flowCard);
 
    Integer selectLayer(String productionId, Integer orderNumber);
 
 
    Integer selectFlowCardCount(String orderId);
 
    List<Map<String, String>> flowCardDetailMp(String processId, FlowCard flowCard);
}