1
huanghongfeng
2024-11-26 87d873ad509b4c927ac19aebaa3622fe9374626b
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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
#region << 版 本 注 释 >>
/*----------------------------------------------------------------
 * 命名空间:WIDESEA_ITaskInfoService
 * 创建者:胡童庆
 * 创建时间:2024/8/2 16:13:36
 * 版本:V1.0.0
 * 描述:
 *
 * ----------------------------------------------------------------
 * 修改人:
 * 修改时间:
 * 版本:V1.0.1
 * 修改说明:
 * 
 *----------------------------------------------------------------*/
#endregion << 版 本 注 释 >>
 
using Microsoft.AspNetCore.Mvc;
using Microsoft.AspNetCore.Mvc.RazorPages;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Diagnostics.CodeAnalysis;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WIDESEA_Core;
using WIDESEA_Core.BaseServices;
using WIDESEA_Core.Enums;
using WIDESEA_DTO.Stock;
using WIDESEA_ITaskInfoRepository;
using WIDESEA_Model.Models;
 
namespace WIDESEA_ITaskInfoService
{
    public interface ITaskService : IService<Dt_Task>
    {
        ITaskRepository Repository { get; }
 
        WebResponseContent GenerateInboundTask(string stationCode, int taskType, string palletCode);
        WebResponseContent InboundRequest(string stationCode, string palletCode);
 
        WebResponseContent TaskCompleted(int taskNum);
 
        WebResponseContent GenerateOutboundTask(int orderDetailId, List<StockSelectViewDTO> stockSelectViews);
 
        WebResponseContent GenerateOutboundTask(int[] keys);
 
        WebResponseContent PalletOutboundTask(string roadwayNo, string endStation);
 
        WebResponseContent CallMateriel(string endPoint);
 
        WebResponseContent MaterielCarry(string startPoint);
        WebResponseContent IsRelocations(int TaskNum, string SourceAddress);
 
        WebResponseContent GenerateInventoryInformation(GenerateInv generate);
        WebResponseContent ManualOutbound(SaveModel saveModel);
        WebResponseContent ManualOutbound2(SaveModel saveModel);
        WebResponseContent ManualOutboundDeleteinventory(SaveModel saveModel);
        WebResponseContent Empty_outbound(GenerateInv generate);
        WebResponseContent Queryinventory(GenerateInv generate);
        WebResponseContent PalletQueryinventory();
        WebResponseContent RelocationTaskCompleted(GenerateInv2 generate);
        WebResponseContent Rawmaterialout(GenerateInv3 generate);
        WebResponseContent Cancelinventory(int taskNum);
 
        public class GenerateInv
        {
            public string SourceAddress { get; set; }
            public string PalletCode { get; set; }
        }
 
        public class GenerateInv2
        {
            public string PalletCode { get; set; }
            public string SourceAddress { get; set; }
            public string TargetAddress { get; set; }
        }
 
        public class GenerateInv3
        {
            public string PalletCode { get; set; }
            public int outCount { get; set; }
            public string TargetAddress { get; set; }
        }
    }
}