zhuangpei-mesbackend/DOAN.Service/Mobile/IService/IPreparationTaskService.cs

46 lines
1.4 KiB
C#
Raw Normal View History

2024-09-18 09:46:38 +08:00
using DOAN.Model.MES.base_;
2024-09-18 10:43:57 +08:00
using DOAN.Model.MES.mm;
2024-09-18 09:46:38 +08:00
using DOAN.Model.MES.product;
2024-09-18 13:08:36 +08:00
using DOAN.Model.Mobile.Dto;
2024-09-18 10:43:57 +08:00
using DOAN.Service.MES.mm;
2024-09-18 13:08:36 +08:00
using Microsoft.AspNetCore.Mvc;
2024-09-18 09:46:38 +08:00
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DOAN.Service.Mobile.IService
{
public interface IPreparationTaskService
{
2024-09-18 09:54:14 +08:00
List<BaseWorkRoute> GetLines();
2024-09-18 09:46:38 +08:00
2024-09-18 10:43:57 +08:00
List<ProWorkorder> GetWorkOrderList(DateTime HandleDate, string route_code);
2024-09-18 13:08:36 +08:00
MaterialModel ParseMaterialCode(string materialCode);
2024-09-18 10:45:13 +08:00
List<MmPreparationTask> GetWorkorderTask(string workorder);
2024-09-18 10:43:57 +08:00
2024-09-20 13:26:39 +08:00
List<MmTaskMaterialInfo> GetTaskInfos(string task_code);
2024-09-18 09:46:38 +08:00
2024-09-20 13:26:39 +08:00
int GenerateIngredientTask(IngredientTaskRequestForm form);
2024-09-18 13:08:36 +08:00
2024-09-20 13:20:15 +08:00
List<MmPreparationTaskLine> SearchTaskByLine(string lineCode, DateTime hadleDate);
bool CheckAnyPerationMaterialRequirement(DateTime handleDate, string line_code);
List<CheckMaterialResult> CheckMaterialIsInDateAndLine(CheckMaterialDto checkMaterial);
2024-09-20 13:26:39 +08:00
List<MmTaskMaterialInfoByLine> GetTaskInfosByLine(string task_code);
2024-09-20 13:34:00 +08:00
int GenerateIngredientTaskByline(IngredientTaskRequestForm2 form);
2024-09-30 10:26:17 +08:00
int DeletePreparationMaterialTask(string task_code);
2024-09-30 09:09:05 +08:00
int DeletePreparationMaterialInfo(string id);
2024-09-30 10:35:41 +08:00
int UpdatePreParationMaterialNum(string id, decimal num);
2024-09-30 09:09:05 +08:00
2024-09-18 09:46:38 +08:00
}
}