廖井涛
2024-02-27 926a1e8b90381c7aa085d5462d78de9d2cc6034d
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
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(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 SelectLayoutStatus(String processId);
 
    Integer ReportingWorkCount(String processId);
 
    Boolean AddFlowCardMp(String processId, Integer orderNumber, Integer landingSequence, Integer quantity, String productionId, String userName);
 
    Boolean UpdateFlowState(String productionId, Integer orderNumber);
 
    Integer SelectFlowCount(String productionId);
 
 
    Boolean UpdateProcessingCard(String productionId, int state);
 
    Boolean UpdateDeleteState(String orderId, String processId);
}