You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
666 B
C#
20 lines
666 B
C#
using System.Collections.Generic;
|
|
using System;
|
|
using CncModels.Entity;
|
|
|
|
namespace CncRepository.Interface
|
|
{
|
|
/// <summary>
|
|
/// cnc_production_segment 产量分段记录表 仓储接口
|
|
/// </summary>
|
|
public interface IProductionSegmentRepository
|
|
{
|
|
ProductionSegment GetById(long id);
|
|
ProductionSegment GetActiveSegment(int machineId);
|
|
List<ProductionSegment> GetByMachineAndDate(int machineId, DateTime date);
|
|
int Create(ProductionSegment entity);
|
|
bool CloseSegment(long id, decimal? endPartCount, decimal? quantity, string closeReason, DateTime endTime);
|
|
bool SettleByDate(DateTime date);
|
|
}
|
|
}
|